- I would like to estimate the treatment effect on crop yields using endogenous switching regression for farmers who participated in Farmer
Field Schools and those who did not. However, whenever I execute the movestay-command, I get a notification that some variables are
naturally coded and omitted. Some variables are also not found yet they are in the data set.
My command is:
global Yields Yeild_per_acre i.Sexhhd agehhd Agehhd2 i.eduhhd i.edusps i.District landsize hhsize Improved_seed Hired_labor
global select_eqn FFS_membership i.Sexhhd agehh Agehhd2 i.eduhhd i.edusps hhsize i.Credit_org i.District crop_bags_bf
xi:movestay ($Yields), select($select_eqn)
Please help me overcome this problem.
How do I also use the heckam syntax to estimate the effect please.
Thanks
Laurine
-
Login or Register
- Log in with
Comment