Frequencies for first 10,000 rows of PSYCH_UNIT_TRMNTN_CD variable in pos2011 dataset : Psychiatric | Unit | Termination | Code | Freq. Percent Cum. ------------+----------------------------------- | 9,687 96.87 96.87 0 | 177 1.77 98.64 1 | 97 0.97 99.61 2 | 1 0.01 99.62 3 | 2 0.02 99.64 4 | 6 0.06 99.70 5 | 3 0.03 99.73 7 | 27 0.27 100.00 ------------+----------------------------------- Total | 10,000 100.00 by Jean Roth , jroth@nber.org , 19 Apr 2019