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 &
Selected Graphs for Panel Data CategoriesHi, I'm new to Stata and I'm trying to get some panel-times series graphs for selected countries. Sp…
Calculate normalized euclidean distanceHi all, The Euclidean distance matrix could be obtained by using Code: use http://www.stata-press.…
Creating a new variable based on the value of other variablesHi all, I have created a categorical variable (values 1 through 5) in excel based on certain charac…
Frequency weight in a before and after graph (twoway pccapsym)Hi. I have a data set where I look at number of events before and after a certain time-point. I wan…
Bootstrap with 2 way fixed effects in panel data using reghdfeDear Statalist, I am estimating a model of House Price shocks on divorce rates. I am using the regh…
Subscribe to:
Post Comments (Atom)
0 Response to type mismatch in a regression with &
Post a Comment