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)
Related Posts with Obtaining marginal effects for all possible predicts
Panel data: Multiple IDs, partly duplicatedI have received panel data that need lots of cleaning. The most substantial challenge is finding a u…
Coefficient of the interaction term of AFT modelDear Statalist, I have a question about the explanation of coefficients of interactions terms of the…
List of observations in regressionHello, I am running a regression in STATA (xtgee). xtgee Profit number_employees company_size , li…
How to increase decimal in league table for network meta-analysisThe league table of network meta-analysis shows only two decimal. I try to increase decimal. Try to …
page break between two tables generated by -esttab-?Dear all, Is there a way to add a page break between two tables when using -esttab-? I want my code…
Subscribe to:
Post Comments (Atom)
0 Response to Obtaining marginal effects for all possible predicts
Post a Comment