Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Ouputting tabulated data


From   Christopher.Romano@asu.edu
To   statalist@hsphsun2.harvard.edu, wpoling@valleyanesth.org
Subject   st: Ouputting tabulated data
Date   Fri, 11 Nov 2005 15:33:49 -0700 (MST)

Hi!

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

Thanks in advance!!

-Chris

*
*   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/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index