Frequencies for first 10,000 rows of prescr1 variable in namcs2012 dataset : Prescription status code | Freq. Percent Cum. ---------------------------------------+----------------------------------- Prescription drug | 5,214 52.14 52.14 Nonprescription drug | 211 2.11 54.25 Undetermined | 236 2.36 56.61 Both Prescription and Over-The-Counter | 1,178 11.78 68.39 . | 3,161 31.61 100.00 ---------------------------------------+----------------------------------- Total | 10,000 100.00 by Jean Roth , jroth@nber.org , 28 Mar 2016