Frequencies for first 10,000 rows of clintype variable in nhamcsopd2005 dataset : clinic type | Freq. Percent Cum. ----------------------+----------------------------------- general medicine | 3,402 34.02 34.02 surgery | 1,649 16.49 50.51 pediatrics | 1,474 14.74 65.25 obstetrics/gynecology | 1,572 15.72 80.97 substance abuse | 249 2.49 83.46 other | 1,654 16.54 100.00 ----------------------+----------------------------------- Total | 10,000 100.00 by Jean Roth , jroth@nber.org , 28 Mar 2016