Frequencies for first 10,000 rows of paytype variable in nhamcsopd1999 dataset : primary expected | source of payment | for this visit | Freq. Percent Cum. ------------------+----------------------------------- Private insurance | 3,123 31.23 31.23 Medicare | 1,272 12.72 43.95 Medicaid | 2,994 29.94 73.89 4 | 72 0.72 74.61 Self-pay | 1,034 10.34 84.95 No charge | 319 3.19 88.14 Other | 513 5.13 93.27 Unknown | 538 5.38 98.65 Blank | 135 1.35 100.00 ------------------+----------------------------------- Total | 10,000 100.00 by Jean Roth , jroth@nber.org , 28 Mar 2016