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
0 Response to Undiscovered mistake in regression with interaction term
Post a Comment