Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: AW: RE: RE: Suppress col total in tab2, tabout?


From   Roy Wada <roywada@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: AW: RE: RE: Suppress col total in tab2, tabout?
Date   Thu, 5 Nov 2009 10:22:45 -0800

> My hope was that Stata is far more advanced in its usability for
> reporting descriptive statistics. Frmatting tables in any word processor
> (I do not know Tex) is very time consuming if it could not be well prepared
> from the statistics software. Even more if you have to deal with hundreds
> of tables as in our case.

Here's a solution for 2-way or n-way cross-tabulations.

sysuse auto, clear
outreg2 mpg trunk using myfile, cross replace side noparen tex exel

Limitation 1: the first variable must be integer. See the help file.
Limitation 2: the column titles are sketchy because wasn't meant to be
used with -side- option.

These things can be fixed but not high on my list. As Nick mentioned,
these are your problems.

You should hire somebody if you want customized solutions.

Roy

> For the Stata wishlist:
>
> Table
> Rowvar  colvar1 colvar2
>                1       2       1       2       3
>                n C%    n C%    n C%    n C%    n C%
> 1
> 2
> 3
> Total

*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index