Frequencies for first 10,000 rows of contsub7 variable in namcs2015 dataset : Controlled | substance | code for | medication | #7 | Freq. Percent Cum. ------------+----------------------------------- 2 | 21 0.21 0.21 3 | 26 0.26 0.47 4 | 33 0.33 0.80 5 | 4 0.04 0.84 6 | 1,569 15.69 16.53 7 | 28 0.28 16.81 8 | 4 0.04 16.85 . | 8,315 83.15 100.00 ------------+----------------------------------- Total | 10,000 100.00 by Jean Roth , jroth@nber.org , 25 Oct 2017