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?
CSAD and herdingDear all, I am new to Stata. and I am seeking help from experienced users. I am looking for evidenc…
Rstudent residual errorHi, I am trying to generate a variable for the studentized residuals of a mixed effect model I am r…
Adding string values separated by comma as new variablesHi all, as the title suggests I would like to add as new observations string values included in a s…
issue with replacing values with bysortHi all, I have the following situation: Code: +--------------------------------+ | pi…
Interpreting Average Marginal EffectsHi all, I have a question about interpreting average marginal effects. So, I am looking at the foll…
Subscribe to:
Post Comments (Atom)
0 Response to How to get Pseudo R2 for Heckman two stage model?
Post a Comment