Frequencies for first 10,000 rows of psych_unit_trmntn_cd variable in pos1994 dataset : psychiatric | unit | termination | code | Freq. Percent Cum. ------------+----------------------------------- | 9,787 97.87 97.87 0 | 167 1.67 99.54 1 | 19 0.19 99.73 2 | 1 0.01 99.74 5 | 3 0.03 99.77 7 | 23 0.23 100.00 ------------+----------------------------------- Total | 10,000 100.00 by Jean Roth , jroth@nber.org , 17 May 2017