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 &
Should we winsorize the interaction variables ?I have two variable, a and b a is a normal vari b is a dummy ( 0 and 1) c = a*b c is for interation …
How to interpret non-standardised coefficients?Hi all, I am looking at the effect of gender inequality (measured by GII which is a 0 to 1 scale, w…
Education Calculation!Good Afternoon Everyone, I wonder if someone can help me to find a right command. I need to calcul…
Problem with delimitDear All, I have a master file from where I invoke other auxiliary files, the code being: Code: …
Whether to include squared terms with OLS or notHi all, I am running a regression on logged hourly pay and was wondering how to test whether I shou…
Subscribe to:
Post Comments (Atom)
0 Response to type mismatch in a regression with &
Post a Comment