Frequencies for first 10,000 rows of prescr1 variable in namcs2011 dataset : Medication #1 - Prescription status | code | Freq. Percent Cum. ---------------------------------------+----------------------------------- Prescription drug | 6,293 62.93 62.93 Nonprescription drug | 204 2.04 64.97 Undetermined | 165 1.65 66.62 Both Prescription and Over-The-Counter | 1,268 12.68 79.30 . | 2,070 20.70 100.00 ---------------------------------------+----------------------------------- Total | 10,000 100.00 by Jean Roth , jroth@nber.org , 28 Mar 2016