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
Finding the sum of a variable within an ID is not workingHi all, For the following example data set below, I am trying to create a new variable (let's call …
how to get the coefficient of interation term after regression Code: xtset area_id year xtreg y i.dummy##c.GDP income xoijj i,year, fe r After running this r…
Problem with dummy variable in PMG modelHello, I'm running PMG model with one dummy veritable of (0 or 1) (xtpmg d.y d.x1 d.x2 d.x3 d.x4 DU…
plotI have quite a simple problem. But STATA is new to me. my code is : y age gender: egen UIdur_mean …
how to graph pie like this?Array As above, how to draw the concentric circles? Code: * Example generated by -dataex-. To ins…
Subscribe to:
Post Comments (Atom)
0 Response to Help with "variables out of order" error
Post a Comment