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 &
Keeping variables from a listHello everyone, I'd like to know if there's a way to keep in my dataset, the observations that are …
Error in Difference-in-Difference methodHi everyone, I have panel data Array When I run the DID estimator, Array I get the following message…
Generate a local with a prefixI have two locals set up to help me run regressions over a variety of sample restrictions. From thes…
GMNL change distribution of random parameter to log-normalI am using the gmnl model in STATA and I am trying to change the distribution of one of the random p…
Categorical Overlay on Bar GraphsI'm having some trouble finding the right way to make this graph. I want to combine two bar charts a…
Subscribe to:
Post Comments (Atom)
0 Response to type mismatch in a regression with &
Post a Comment