Hey everyone.
I'm having troubles with the outcome of a linear regression model, since I expected something completely different:
This ist how I coded the interaction:
g number_younger_siblings_female=number_younger_sibl ings*(sex-1)
The variable sex is coded 1 for males and 2 for females. (sex-1) makes it 0 for males and 1 for females.
I expected the outcome to be a larger negative number for females, but what I found is a lower negative effect for females, what is unlikely according to the literature. It would make sense to have an negative coefficient of the interaction So I think there must be a mistake and I just can't find it. I would be super grateful if someone would find the mistake!
This is my output: Array
Related Posts with Undiscovered mistake in regression with interaction term
Selecting a subset of a large datasetI'm attempting to utilize HSLS:09 data in Stata. However, the entire dataset is too large for my ver…
Rounding, multiple decimals off and LocalsI have been trying to get the round function to feed some locals that I use to create graphs labels,…
fracregI am using fracreg logit to model a proportion. My data set is a time series. Do I need to test for …
Compounding Panel DataDear all, I am trying to analyse the effect of Incentives on Electric Vehicle adoption (Panel Data)…
GraphHello, any guidance or where to start if I want to build a graph similar to this one? Thanks …
Subscribe to:
Post Comments (Atom)
0 Response to Undiscovered mistake in regression with interaction term
Post a Comment