Hi all,
I am applying control function approach described in Wooldridge(2014) as follow:
regress End_var i.IV Control_variables
predict resid_1, residuals
probit Y End_var c.End_var##c.End_var resid_1 c.resid_1##c.resid_1 Control_variables, vce(bootstrap, reps(1000))
After two-stage estimation, I'd like to get the graph for the impact of End_var on Y. Can I use margins command as follows?
margins, at(End_var=(0(1)19)) atmeans
marginsplot
What if I do not write "atmeans"?
Thank you very much for your help!
I am applying control function approach described in Wooldridge(2014) as follow:
regress End_var i.IV Control_variables
predict resid_1, residuals
probit Y End_var c.End_var##c.End_var resid_1 c.resid_1##c.resid_1 Control_variables, vce(bootstrap, reps(1000))
After two-stage estimation, I'd like to get the graph for the impact of End_var on Y. Can I use margins command as follows?
margins, at(End_var=(0(1)19)) atmeans
marginsplot
What if I do not write "atmeans"?
Thank you very much for your help!
Comment