Frequencies for first 10,000 rows of contsub6 variable in nhamcsed2009 dataset : for rx6, | controlled | substance | status code | Freq. Percent Cum. ------------+----------------------------------- 2 | 38 0.38 0.38 3 | 30 0.30 0.68 4 | 17 0.17 0.85 6 | 365 3.65 4.50 7 | 5 0.05 4.55 8 | 7 0.07 4.62 . | 9,538 95.38 100.00 ------------+----------------------------------- Total | 10,000 100.00 by Jean Roth , jroth@nber.org , 28 Mar 2016