Frequencies for first 10,000 rows of clintype variable in nhamcsopd2009 dataset : clinic type | Freq. Percent Cum. ----------------------+----------------------------------- general medicine | 3,641 36.41 36.41 surgery | 1,714 17.14 53.55 pediatrics | 1,239 12.39 65.94 obstetrics/gynecology | 1,569 15.69 81.63 substance abuse | 109 1.09 82.72 other | 1,728 17.28 100.00 ----------------------+----------------------------------- Total | 10,000 100.00 by Jean Roth , jroth@nber.org , 28 Mar 2016