Frequencies for first 10,000 rows of clintype variable in nhamcsopd2008 dataset : clinic type | Freq. Percent Cum. ----------------------+----------------------------------- general medicine | 3,707 37.07 37.07 surgery | 1,880 18.80 55.87 pediatrics | 1,339 13.39 69.26 obstetrics/gynecology | 1,305 13.05 82.31 substance abuse | 175 1.75 84.06 other | 1,594 15.94 100.00 ----------------------+----------------------------------- Total | 10,000 100.00 by Jean Roth , jroth@nber.org , 28 Mar 2016