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?
Using forloop to cycle through multiple variables and create a count variableHello Statalisters, I am working with data on election data over six years per individual. And I wa…
Help with portfolio indicatorHi everyone, I am kinda lost at the moment and thus would like to ask for your advice. I am evalua…
Which panel model should i choice when using the lag of independent variable.Dear Stata members, I have a question about using lag of independent variables in my panel data mod…
How to get a table that count the frequency and percentage of two variables by yearHello! I have a dataset with the following variables: Year, Symbol (to identify which firm it is), …
What does "matrix median = J(1,3,.)" mean?I am trying to draw a graph based on imported coefficients and confident intervals, thanks to the he…
Subscribe to:
Post Comments (Atom)
0 Response to How to get Pseudo R2 for Heckman two stage model?
Post a Comment