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 &
How to test coefficient equality with high dimensional fixed effect and IV?I have a panel dataset. My statistical model includes an exogenous variable X_1, an endogenous varia…
Regress only on fixed effects (residualize) without using dummiesI want to regress on only fixed effects to obtain dipersion of within-variation. However, I am using…
Regress only on fixed effects without using dummiesI want to regress on only fixed effects to obtain dipersion of within-variation. However, I am using…
Pseudo R2 for mprobit - Loglik with intercept-only modelI run both mlogit and mprobit regressions. Stata reports pseudo R2 for mlogit but not for mprobit. …
Merging Data - Isolate non-uniquely identified observationsDear all, I am currently working on matching two databases, that entail observations on about 600'0…
Subscribe to:
Post Comments (Atom)
0 Response to type mismatch in a regression with &
Post a Comment