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?
Compare hazard ratios from non-nested modelsDear Statalisters, A seemingly simple question that I have not been able to resolve by searching ol…
Question for the STATA staff regarding STATA 17Hello, I have a question regarding a new feature for DID regression in STATA 17, which is the estat …
recoding dummy variablesHow do I recode my dummy variables please? I have 3 categories 0,1,2 and I mistakenly coded 1 for 2 …
Export Confidence Intervals with PutexcelHi, I would like to export confidence intervals for means to excel. For exporting the mean of xxx I…
Regression across sub-samples vs by using interaction termDear all, I want to do regression across three sub-samples. However the result of regressing them s…
Subscribe to:
Post Comments (Atom)
0 Response to How to get Pseudo R2 for Heckman two stage model?
Post a Comment