Hi,
I am currently using the following code to export the marginal effects from my logit regression results to a word document:
However, I want to add the pseudo r-squared to my document but I'm not sure how to do it. I would normally use:
if I was just exporting the logit regression results, but this code does not work for the marginal effects.
Thanks,
Amy
I am currently using the following code to export the marginal effects from my logit regression results to a word document:
Code:
logit y x margins, dydx (*) atmeans post outreg2 using output.doc, replace
However, I want to add the pseudo r-squared to my document but I'm not sure how to do it. I would normally use:
Code:
addstat(Pseudo R-squared, e(r2_p))
Thanks,
Amy
Comment