Hello,
When I run this regression :
xi: areg z_educ i.stateid hhsize highest_maleeduc highest_femeduc men_age women_age hh_total_income if hindu ==1 & urban == 0 & hhsize <=15 & hh_total_income >1000 & hh_total_income < 160000 & landowner == 1 [pweight = weight], absorb(districtid) cluster (districtid)
I get type mismatch r(109). Variables after "if are numerical
i think the problem comes from & since when I run :
xi: areg z_educ i.stateid hhsize highest_maleeduc highest_femeduc men_age women_age hh_total_income if hindu ==1,
it works !
Thanks for your answer
Related Posts with type mismatch in a regression with &
Interpreting interaction term in random effects modelHello! I am investigating whether implementing GSCMP (green practices) and EMS (environmental manag…
ppml_panel_sg collapse datadear all, I use ppml_panel_sg for gravity model the matter is that I use monthly data so it has diff…
How do I loop through parts of the observations and impute missing valuesDear Statalist, My data looks like this id hypertension visit 1 . 1 1 0 2 2 . 1 2 . 2 2 1 3 3 . 1 …
nonlinear difference-in-differences with non-integer interaction termHi everyone ! I'm currently working on the effect of the german minimum wage of 2015 (8.5 EUR per h…
nonlinear difference-in-differences with non-integer interaction termHi everyone ! I'm currently working on the effect of the german minimum wage of 2015 (8.5 EUR per h…
Subscribe to:
Post Comments (Atom)
0 Response to type mismatch in a regression with &
Post a Comment