Frequencies for first 10,000 rows of prescr1 variable in nhamcsopd2007 dataset : for rx1, | prescription status | code | Freq. Percent Cum. ---------------------+----------------------------------- prescription drug | 5,617 56.17 56.17 nonprescription drug | 1,001 10.01 66.18 undetermined | 176 1.76 67.94 illicit | 1 0.01 67.95 . | 3,205 32.05 100.00 ---------------------+----------------------------------- Total | 10,000 100.00 by Jean Roth , jroth@nber.org , 28 Mar 2016