Stata 6 included the -contract- command, which
may be useful to you.
Nick
[email protected]
[email protected]
> I am tabulating a variable in order to determine the
> frequency of observations for particular occurences.
>
> Question: How can I output the results of the tabulation
> (including the
> frequency of identical observations) into a new data set for
> statistical
> analysis? In particular I am attempting to analyze the
> 'Freq.' variable that
> appears in the tabulation output.
>
> Here is an example of what I am attempting to output to a new
> data set:
>
>
> MR . | Freq. Percent Cum.
> ------------+-----------------------------------
> B0000004395 | 1 0.03 0.03
> B0000004433 | 1 0.03 0.05
> B0000006672 | 1 0.03 0.08
> B0000006942 | 3 0.08 0.16
>
>
> P.S. Using version 6.0
*
* 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/