Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Re: Generating LaTeX code from more than one model


From   "Gindo Tampubolon" <[email protected]>
To   [email protected]
Subject   st: Re: Generating LaTeX code from more than one model
Date   Thu, 22 Jul 2004 09:39:43 +0100

Shige,

Try -estout-

here is an example i did recently [3models in three set of columns]:

logistic meet efemale highqual org persinc smgender diffage if 
estimates store Meet1

logistic meet efemale highqual org persinc smgender diffage Freq
estimates store Meet2

logistic meet efemale highqual org persinc smgender diffage Freq 
estimates store Meet3

estout Meet1 Meet2 Meet3 ///
using intext.txt, p wide stats(ll N) stfmt(%8.3f %8.0f) 
stlabels("loglikelihood" "N") eform ///
drop(_cons) label conslbl(Constant) style(tex) 
prehead("\begin{tabular}{lrrrrrrrr}" \hline) ///
 posthead(\hline) prefoot(\hline) postfoot(\hline "\end{tabular}") 
varwidth(22) modelwidth(6)

Hope this help.
gindo
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   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