Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: export marginal effects to LaTex


From   Roy Wada <[email protected]>
To   <[email protected]>
Subject   st: export marginal effects to LaTex
Date   Mon, 8 Sep 2008 17:29:01 -0700

>I am trying to export marginal effects from a xi:logit regression into
>LaTex to produce a table. Is there a command such as est2tex that
>can do it?
>
>Marguerite

You can use -est2tex- to report marginal effects if you combine it
with -mfx2- or -margeff-, also available from SSC. They will save
the marginal effects in the proper format.

ssc install mfx2
sysuse auto, clear
xi: logit foreign mpg trunk i.head
mfx2, replace
est2vec table, replace
matrix list table_b
est2tex table, preserve path("C:\Program Files\Stata9") mark(stars) fancy replace

_________________________________________________________________
See how Windows connects the people, information, and fun that are part of your life.
http://clk.atdmt.com/MRT/go/msnnkwxp1020093175mrt/direct/01/
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index