Stata does not provide Pseudo R2 when I run hackman two stage model, could anyone help me how to generate r square or pseudo r square? the current code I have:
/*two steps*/
heckman donat_amount age_diff education_diff , select (donate=age_diff education_diff age_diff education_diff ) twostep
/* default prediction linear predictor*/
margins,dydx(*)
/*marginal effect for probit model can use in Heckman -heckman postestimation*/
margins,dydx(*) predict (psel)
if I want to get marginal effect for both of the stage, am I right for the code above?
Thank you!
Related Posts with How to get Pseudo R2 for Heckman two stage model?
Error: Option Dynamic Not Allowed in the Command PredictHi, I am doing ex-ante out of sample forecasting for rail freight. Based on the results of the ADF …
Making a square boxHi all, I have a problem with the image attached. In particular, I do not understand why the scale …
How to do tabstat varlist with all variablesDear Stata users, I have data with long variable names. When I want to use "summarize", it abbrevia…
Line graphsHi STATALIST, Using line cp50_CTDI cp50_CTDI_withIR cp50_CTDI_withoutIR p50_CTDI I produced …
Need help on the Margins and marginsplotDear experts, I am a beginner of Stata and I need your help desperately. I have the panel data from…
Subscribe to:
Post Comments (Atom)
0 Response to How to get Pseudo R2 for Heckman two stage model?
Post a Comment