Frequencies for first 10,000 rows of psych_unit_trmntn_cd variable in pos2005 dataset : psychiatric | unit | termination | code | Freq. Percent Cum. ------------+----------------------------------- | 9,709 97.09 97.09 0 | 162 1.62 98.71 1 | 88 0.88 99.59 2 | 1 0.01 99.60 3 | 2 0.02 99.62 4 | 8 0.08 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 , 17 May 2017