Dear Statalisters,
I am trying to run two schooling regressions: one for boys and one for girls. In none iv-regressions, I know how to run it correctly. But in the instrumental variable case, I am lost.
My code:
gen group = cond(SEX== 0, 0, 1) xtivreg MATH c.AGE#i.group c.HEALTHRESTRICTIONS#i.group c.PARENTALCARE#i.group c.PARENTALEDUCATION#i.group c.PARENTALINCOME#i.group c.YEAR#i.group (ACTIVE = c.summary#i.group), re test 1.group#c.ACTIVE = 0.group#c.ACTIVE The error is:
regressor I1.group#C.ACTIVE not found
Does anyone know how to compare the second stage results?
Thank you very much for your appreciate help.
Related Posts with Statistical Significance of the difference between two estimates from two separate instrumental variable regressions
"i." Command: Omitted dummy variable due to collinearity (NOT the baseline omission)Hi all, When I use the i.command to run the regression as follows: Code: reg coverage i.year i.p…
How to get legend content equals the variable valueHello everyone, I am trying to plot data on covid-19 cases by country. Here my data: Code: * Exam…
Panel cointegration with I(0) and I(1) variablesHi all! I need to run a cointegration test with the indipendent variables of the model I(1) and the…
Interpreting conditional logit model in StataDear all, I am a student analysing a choice experiment in Stata with the clogit command (conditiona…
Conversion of dates in STATAI have a date variable in STATA in the format 13jul2000. I want to convert it into a date with gen …
Subscribe to:
Post Comments (Atom)
0 Response to Statistical Significance of the difference between two estimates from two separate instrumental variable regressions
Post a Comment