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
ovtestHi all I got the result in ovtest as below: How should I interpret it? . reg lwage edu exper tenure …
Warning message for -permute- and -ritest- in Difference-in-Differences designHi Statalisters I'm doing a difference-in-differences (DiD) on a small sample (N=6, T=24) and I'm t…
Dividing lots of variables by one column.Hi, I currently have data that looks like this Code: * Example generated by -dataex-. To install…
log transformation of a ratio variable with small valuesI log-transformed a ratio variable (sem), which ranged from 5.73e-10 to .0001021 (mean: 1.72e-06, s.…
Unable to open a file in STATAI need to use the data from https://admin.nber.org/data/current-...rvey-data.html for March 2018. It…
Subscribe to:
Post Comments (Atom)
0 Response to Undiscovered mistake in regression with interaction term
Post a Comment