Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | ann montgomery <ann.montgomery@cghr.org> |
To | statalist@hsphsun2.harvard.edu |
Subject | Re: st: generating Latex Odds ratio and CI table using esttab |
Date | Tue, 1 Feb 2011 07:38:40 -0500 |
I got a bit further...but not quite there yet. I would like to generate a Latex table of univariate OR and CI: basically a 3 x n table where; column 1 describes the explanatory variable (var2-var_n) versus the outcome variable1 column 2 provides the OR column 3 provides the 95%CI for the ORs I generated a Latex table which is nxn, where each variables' OR has it's own column...how can I make the ORs line up under column 2 and teh CIs under column 3? My do_file is: eststo clear svy: logistic var1 var2 eststo model1 svy:logistic var1 var3 eststo model2 svy: logistic var1 var4 eststo model3 esttab model1 model2 model3 using example.tex, replace /// eform b(1) ci(1) /// label nostar noconstant page booktab /// titel(My Tables\label{tab1} addnote("Source:datafile.dta") * * 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/