Hi everyone,
I was wondering to know how can I combine the below four margins commands in a single one. I would like to use outreg2 command after the margins to obtain the marginal effects in a word document. Running the below commands separately gives me four separate outputs and I would like to avoid it. Thanks.
Nader
*marginal effects
margins, dydx(*) predict(p00) post // healthy and alive
margins, dydx(*) predict(p01) post //healthy and dead
margins, dydx(*) predict(p10) post //unhealthy and alive
margins, dydx(*) predict(p11) post //unhealthy and dead
*outreg2 command
outreg2 using margins.doc, word se dec(2) replace ctitle(Marginal effects)
0 Response to Obtaining marginal effects for all possible predicts
Post a Comment