Frequencies for first 10,000 rows of prescr6 variable in nhamcsopd2008 dataset : for rx6, | prescription status | code | Freq. Percent Cum. ---------------------+----------------------------------- prescription drug | 1,231 12.31 12.31 nonprescription drug | 69 0.69 13.00 undetermined | 37 0.37 13.37 5 | 267 2.67 16.04 . | 8,396 83.96 100.00 ---------------------+----------------------------------- Total | 10,000 100.00 by Jean Roth , jroth@nber.org , 28 Mar 2016