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
help with xtsetHello, I have a panel data. So, I am analysing firm's earnings. However, these firm's are in differ…
System GMM: does it includes fixed effects?Hello everyone, I have a panel of 97 countries over 18 years and I would like to estimate a model wi…
adding a legend for xlineHello, I am trying something like below to add a legend for the green vertical xline that I added o…
Why there are omitted variables after I run a regression?Dear Stata Users, Please, help me with the following issue. I have the following regression: Code:…
creating quarter of birth dummyHow can i create a quarter of birth dummy with a variable expressed as 01jan1999 ? thank you …
Subscribe to:
Post Comments (Atom)
0 Response to Undiscovered mistake in regression with interaction term
Post a Comment