Herve STOLOWY wrote:
> I use the -tab3way- command to cross-tabulate 3 variables. Do
> you know if there is an easy way to get the output in a
> tab-delimited format (something equivalent to -tabout- for a
> two-way table or -estout- for a regression)?
What you are looking for might be -xcontract- (downloadable from SSC),
which can produce output Stata datasets with 1 obs per combination of
variable values (from 1, 2, 3, 4 or more variables) and data on frequencies
and/or percentages. The output datasets (or resultssets) may be listed,
written to a disk file, or written to memory, overwriting the pre-existing
data. The resultsset can be converted to tab-delimited form by the official
Stata -outsheet- command, or converted to tab-delimited or
ampersand-delimited or HTML or TeX form by -listtex- (also downloadable
from SSC).