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
Using -cmp- to estimate and interpret a three-stage Heckman modelGood morning all, I am using the -cmp- package developed by Roodman to estimate a three-stage Heckm…
Hyperlink to the file generated/modified by putexcelThis is a very minor request/question. Several of the user-made commands I use (e.g. estout, and ieb…
grouped variablesHi I currently have a variables for income following this structure: Therefore when I run summary s…
questions about model selection with lassopackDear STATA users, Sorry to ask you 3 simple questions. 1.When we used lassopack for selecting predi…
Standard errors using Frisch-Waugh-Lovell theoremHi, I need to implement the Frisch Waugh-Lovell-theorem in Stata 15 MP (64-bit) in the context of a …
Subscribe to:
Post Comments (Atom)
0 Response to Obtaining marginal effects for all possible predicts
Post a Comment