Frequencies for first 10,000 rows of specr_17 variable in namcs2012 dataset : Physician specialty - 17 | groups | Freq. Percent Cum. --------------------------+----------------------------------- General/family practice | 1,573 15.73 15.73 Internal medicine | 897 8.97 24.70 Pediatrics | 1,451 14.51 39.21 General surgery | 198 1.98 41.19 Obstetrics and gynecology | 704 7.04 48.23 Orthopedic surgery | 420 4.20 52.43 Cardiovascular diseases | 319 3.19 55.62 Dermatology | 500 5.00 60.62 Urology | 219 2.19 62.81 Psychiatry | 595 5.95 68.76 Neurology | 238 2.38 71.14 Ophthalmology | 494 4.94 76.08 Otolaryngology | 236 2.36 78.44 Other specialties | 1,589 15.89 94.33 Oncology | 106 1.06 95.39 Allergy | 260 2.60 97.99 Pulmonology | 201 2.01 100.00 --------------------------+----------------------------------- Total | 10,000 100.00 by Jean Roth , jroth@nber.org , 28 Mar 2016