[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: RE: summary statistics
In essence, you must prepare
your percent variable upstream
of either -table- or -tabstat-.
But if you do that, it is usually
easier to use -tabdisp- or -list-
to display the percents.
There are various ways to proceed,
and indeed as said it is often easier
to work independently of -table- or -tabstat-.
One is by preparing a reduced dataset
by using Roger Newson's -pcontract- or
-xcontract-. That is aimed at doing the
calculations; the display is up to you.
An alternative is to use -groups-, which
does calculate and display the percents,
but in list form.
All these extras are on SSC.
A more general issue is this: A single
command to do almost all conceivable
tables would presumably be massively
complicated. (Or you might say that it
exists: it is called Stata.) The
alternative we have is a variety of
tabulation commands, each focused in
particular ways, and each with limits.
Naturally neither situation
is optimal from all points of view.
There is further discussion in Stata
Journal 3(3) and 3(4) 2003.
> Tabulate allows for row and column percentages to be
> calculated. Is there a way to do the same with table
> and tabstat?
* For searches and help try: