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
RE model with AR(1), heteroskedasticity, and serial correlationHello everyone! My name is Evgeny and i want to ask you to help me. In my panel data a RE model was …
Missing value generated from exp() function !?Hello Stata experts ! I have an issue with exponentiation of big numbers with Stata so i can make s…
inquire about reversing codesHi, I have variables that are currently coded as 1=agree, 2=neutral, 3=disagree. I want these varia…
Reshaping to wide with a string j variableI am looking to reshape a dataset with courses done by each of the observation. Each individual has …
create unique county ID for each stateI have a panel data. I want to assign a unique ID to each county within each state. For example, for…
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