Hello everyone,
I am trying to estimate a treatment effect model using the Heckman's sample selection model.
Here is my code:
treatreg depressed debt_other healthgl_dum limit_work_10 Inc_10_cpi debt_Inc_V debt_educ_limit grad_cont married work_2010 insured_dum female age black BA_dum rural child_under_2010,treat (debt_educ_dum= Neg_paren_W healthgl_dum97 disable_97 paren_health_dum paren_Inc_dum tuition_ch private for-private)
When I run the regression it gives the following errors: "variables out of order r(111)"
I have double checked the order of Heckman selection model and the way I ordered my variables seems to be right.
Please, can anyone help me understand what is wrong with my code?
Thank you so much.
Related Posts with Help with "variables out of order" error
convert string to date: some observations are missing valuesDear Stata Users I am converting string to date variable running the following code: Code: gen da…
Finding difference in prevalence between yearsI have a dataset of all cases of a specific disease, pemphigus, for 10 years and am using survey wei…
How to edit the height of a bar graph ?Hello dear community, I would like to edit the height of a stacked bar graph I construct. Here is th…
outreg2 drop supress model number (1) (2) etc.Dear all, I am generating tables to go in a paper for publication and I am using outreg2 to group a…
Issues with Float VariablesHello everyone, I'm currently working with an imported .csv dataset containing information about pe…
Subscribe to:
Post Comments (Atom)
0 Response to Help with "variables out of order" error
Post a Comment