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
Using Log in a Box-Cox TransformationHi everyone, I have a question regarding statistics in general, rather than STATA- and was hoping I…
Issues with legend when exporting graphs as pdfHi, When I export the following graph to pdf, the legend section is getting distorted. I am using S…
Obtain the timestamp of a fileI am seeking guidance about how to fetch the timestamp of a file from the file system. Searches with…
Weighting with mixed commandHello, I am trying to weight observations when estimating growth models in Stata, and I am having t…
rangestat commandHello all, I need your help regarding rangestat command. I have a panel dataset with the panel dime…
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