xcontract foreign rep78, list(, sepby(foreign))
is evidently legal. Does that solve part of the problem?
Nick
[email protected]
Roger Newson
>
> The reason I wanted to drop "(e)" was that it was causing
> confusing output
> to come from my -xcollapse- and -xcontract- packages,
> downloadable from SSC
> or from my website. These are extended versions of -collapse- and
> -contract-, respectively, and create output data sets that
> can be listed
> and/or saved to disk and/or saved to memory (overwriting
> any existing
> data). If the user types, in Stata 8,
>
> sysuse auto, clear
> regress mpg weight
> xcontract foreign rep78, list(*, sepby(foreign))
>
> then -xcontract- lists the frequencies of each combination
> of -foreign- and
> -rep78-, both as numbers and as a percentage of all cars,
> and also lists
> the variable "(e)", which could be confusing for naive
> users. It is helpful
> to know that this will be fixed, and that, in the meantime,
> "(e)" will not
> be saved to the output data set produced by the -saving()-
> option of
> -xcontract- or -xcollapse-.
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/