Frequencies for first 10,000 rows of prescr7 variable in namcs2011 dataset : Medication #7 - Prescription status | code | Freq. Percent Cum. ---------------------------------------+----------------------------------- Prescription drug | 943 9.43 9.43 Nonprescription drug | 43 0.43 9.86 Undetermined | 22 0.22 10.08 Both Prescription and Over-The-Counter | 311 3.11 13.19 . | 8,681 86.81 100.00 ---------------------------------------+----------------------------------- Total | 10,000 100.00 by Jean Roth , jroth@nber.org , 28 Mar 2016