Frequencies for first 10,000 rows of clintype variable in nhamcsopd2007 dataset : clinic type | Freq. Percent Cum. ----------------------+----------------------------------- general medicine | 3,366 33.66 33.66 surgery | 1,576 15.76 49.42 pediatrics | 1,422 14.22 63.64 obstetrics/gynecology | 1,372 13.72 77.36 substance abuse | 264 2.64 80.00 other | 2,000 20.00 100.00 ----------------------+----------------------------------- Total | 10,000 100.00 by Jean Roth , jroth@nber.org , 28 Mar 2016