Frequencies for first 10,000 rows of specr variable in namcs1997 dataset : physician specialty | recode | Freq. Percent Cum. --------------------------+----------------------------------- General/family practice | 1,996 19.96 19.96 Internal medicine | 1,198 11.98 31.94 Pediatrics | 1,193 11.93 43.87 General surgery | 324 3.24 47.11 Obstetrics and gynecology | 572 5.72 52.83 Orthopedic surgery | 277 2.77 55.60 Cardiovascular diseases | 859 8.59 64.19 Dermatology | 599 5.99 70.18 Urology | 258 2.58 72.76 Psychiatry | 647 6.47 79.23 Neurology | 300 3.00 82.23 Ophthalmology | 423 4.23 86.46 Otolaryngology | 388 3.88 90.34 Other specialties | 966 9.66 100.00 --------------------------+----------------------------------- Total | 10,000 100.00 by Jean Roth , jroth@nber.org , 28 Mar 2016