Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: -tabout- equivilent that reports standard errors
From
Eric Booth <[email protected]>
To
"<[email protected]>" <[email protected]>
Subject
Re: st: -tabout- equivilent that reports standard errors
Date
Mon, 8 Aug 2011 01:50:57 +0000
<>
One solution would be to use -collapse- to get the means/se means/etc and then use the user-written program -texsave- from SSC to create your tex table:
****************!
sysuse auto, clear
**get texsave from SSC
cap which texsave
if _rc ssc install texsave
preserve
collapse (mean) price mpg (semean) se_price=price se_mpg=mpg, by(rep78)
texsave * using "mytable", replace title("Means and SE of Price & MPG")
restore
****************!
- Eric
On Aug 7, 2011, at 8:15 PM, Michael Crain wrote:
> I need to create multiple tables that report standard errors of
> means in each table and in tex format to include in a LaTeX
> document.
>
> -tabout- would be ideal for producing tables in Tex format except it
> doesn't report standard errors. (My data set is not survey data.) Is
> there an alternative to -tabout- that reports SEs? I hope to find
> something that produces tables in tex format, which Stata's -table-
> doesn't seem to do.
>
> *
> * 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/
*
* 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/