The whas100 data set is used in this chapter.
Table 1.1, pages 4-5
proc format; value statusfmt 0 = "Alive" 1 = "Dead"; value genderfmt 0 = "Male" 1 = "Female"; run; proc print data = whas100 noobs; var id addate foldate hosstay foltime folstatus age gender bmi; format folstatus statusfmt. gender genderfmt.; run;
ID ADDATE FOLDATE HOSSTAY FOLTIME FOLSTATUS AGE GENDER BMI 1 3/13/95 3/19/95 4 6 Dead 65 Male 31.3813 2 1/14/95 1/23/96 5 374 Dead 88 Female 22.6579 3 2/17/95 10/4/01 5 2421 Dead 77 Male 27.8789 4 4/7/95 7/14/95 9 98 Dead 81 Female 21.4788 5 2/9/95 5/29/98 4 1205 Dead 78 Male 30.7060 6 1/16/95 9/11/00 7 2065 Dead 82 Female 26.4529 7 1/17/95 10/15/97 3 1002 Dead 66 Female 35.7115 8 11/15/94 11/24/00 56 2201 Dead 81 Female 28.2768 9 8/18/95 2/23/96 5 189 Dead 76 Male 27.1208 10 7/22/95 12/31/02 9 2719 Alive 40 Male 21.7897 11 10/11/95 12/31/02 6 2638 Alive 73 Female 28.4334 12 5/26/95 9/29/96 11 492 Dead 83 Male 24.6618 13 5/21/95 3/18/96 6 302 Dead 64 Female 27.4641 14 12/14/95 12/31/02 10 2574 Alive 58 Male 29.8376 15 11/8/95 12/31/02 7 2610 Alive 43 Male 22.9578 16 10/8/95 12/31/02 5 2641 Alive 39 Male 30.1088 17 10/17/95 5/12/00 6 1669 Dead 66 Male 31.9974 18 10/30/95 1/5/03 9 2624 Dead 61 Male 30.7142 19 12/10/95 12/31/02 6 2578 Alive 49 Male 25.6955 20 11/23/95 12/31/02 5 2595 Alive 53 Female 30.1202 21 10/5/95 2/5/96 6 123 Dead 85 Male 18.4104 22 11/5/95 12/31/02 8 2613 Alive 69 Female 37.6010 23 9/9/95 10/22/97 4 774 Dead 54 Male 28.9753 24 9/9/95 3/13/01 14 2012 Dead 82 Male 19.9009 25 12/15/95 12/31/02 4 2573 Alive 67 Female 28.3224 26 12/3/95 1/19/01 11 1874 Dead 89 Female 23.4361 27 10/18/95 12/31/02 2 2631 Alive 68 Male 26.4469 28 3/16/95 6/4/00 7 1907 Dead 78 Male 28.2059 29 10/25/95 4/15/97 5 538 Dead 56 Male 24.1200 30 10/6/95 1/18/96 4 104 Dead 85 Female 36.7165 31 9/3/95 9/9/95 4 6 Dead 72 Male 27.9791 32 6/30/95 5/1/99 5 1401 Dead 50 Male 20.3630 33 7/22/95 12/22/02 8 2710 Dead 81 Female 28.6490 34 9/17/95 1/5/98 4 841 Dead 85 Female 20.1777 35 3/21/97 8/16/97 6 148 Dead 84 Female 23.6187 36 2/23/97 12/31/02 12 2137 Alive 75 Male 23.6752 37 1/1/97 12/31/02 16 2190 Alive 61 Male 23.4314 38 1/18/97 12/31/02 5 2173 Alive 48 Male 33.4511 39 1/19/97 4/25/98 8 461 Dead 83 Female 19.5707 40 3/18/97 12/31/02 10 2114 Alive 82 Male 25.8275 41 2/3/97 12/31/02 4 2157 Alive 62 Male 30.8662 42 5/17/97 12/31/02 5 2054 Alive 39 Male 24.2108 43 3/8/97 12/31/02 5 2124 Alive 45 Male 31.6644 44 2/23/97 12/31/02 4 2137 Alive 65 Male 26.2208 45 6/14/97 1/5/03 18 2031 Dead 76 Female 32.4199 46 7/7/97 12/31/02 9 2003 Alive 77 Female 24.5634 47 4/27/97 12/31/02 9 2074 Alive 68 Male 21.3055 48 5/15/97 2/13/98 7 274 Dead 73 Male 26.4568 49 7/26/97 12/31/02 4 1984 Alive 64 Male 27.9798 50 7/17/97 12/31/02 6 1993 Alive 80 Male 36.0233 51 9/9/97 12/31/02 7 1939 Alive 84 Female 22.3142 52 6/19/97 9/3/00 4 1172 Dead 43 Female 25.3315 53 8/20/97 11/17/97 3 89 Dead 87 Female 18.7772 54 8/28/97 1/3/98 7 128 Dead 70 Female 18.6000 55 9/9/97 12/31/02 17 1939 Alive 80 Male 25.5020 56 9/1/97 9/15/97 11 14 Dead 64 Female 24.4125 57 9/3/97 6/10/00 5 1011 Dead 59 Female 29.8600 58 9/24/97 10/30/01 6 1497 Dead 92 Male 24.3664 59 9/19/97 12/31/02 3 1929 Alive 51 Male 34.7703 60 4/17/97 12/31/02 1 2084 Alive 41 Male 27.2623 61 10/21/97 2/5/98 6 107 Dead 90 Male 24.7842 62 10/2/97 12/27/98 4 451 Dead 83 Male 21.8099 63 1/8/97 12/31/02 3 2183 Alive 61 Male 27.3691 64 11/11/97 12/31/02 7 1876 Alive 64 Male 26.2208 65 11/7/97 5/31/00 3 936 Dead 82 Male 26.8868 66 4/20/97 4/18/98 5 363 Dead 91 Female 27.6184 67 6/18/97 5/1/00 5 1048 Dead 48 Male 31.5837 68 10/29/97 12/31/02 12 1889 Alive 63 Male 23.3327 69 4/29/97 12/31/02 5 2072 Alive 81 Male 28.3501 70 11/8/97 12/31/02 7 1879 Alive 52 Male 32.6362 71 11/17/97 12/31/02 4 1870 Alive 65 Male 31.9511 72 11/28/97 12/31/02 5 1859 Alive 74 Male 25.0178 73 5/19/97 12/31/02 5 2052 Alive 62 Male 30.2283 74 12/11/97 12/31/02 4 1846 Alive 60 Female 29.2881 75 5/10/97 12/31/02 7 2061 Alive 71 Male 32.3241 76 10/6/97 12/31/02 3 1912 Alive 73 Male 31.4744 77 12/21/97 12/31/02 5 1836 Alive 43 Male 28.5919 78 11/22/97 3/16/98 7 114 Dead 80 Male 33.3607 79 10/31/97 2/4/02 7 1557 Dead 72 Male 21.8099 80 6/28/97 12/27/00 5 1278 Dead 57 Male 23.5709 81 12/21/97 12/31/02 3 1836 Alive 80 Female 28.3501 82 10/2/97 12/31/02 6 1916 Alive 76 Male 28.0355 83 9/14/97 12/31/02 3 1934 Alive 53 Male 24.2108 84 9/25/97 12/31/02 10 1923 Alive 44 Male 32.6039 85 12/2/97 1/15/98 3 44 Dead 71 Male 23.0563 86 9/26/97 12/31/02 6 1922 Alive 64 Male 31.7502 87 10/24/97 7/25/98 5 274 Dead 86 Male 21.1096 88 11/27/97 12/31/02 7 1860 Alive 72 Female 25.2327 89 4/12/97 3/23/02 4 1806 Dead 73 Female 22.8670 90 2/15/97 12/31/02 6 2145 Alive 85 Female 26.0550 91 10/22/97 4/22/98 5 182 Dead 60 Male 23.1802 92 6/27/97 12/31/02 4 2013 Alive 63 Male 35.4895 93 1/17/97 12/31/02 5 2174 Alive 80 Female 20.5981 94 12/12/97 5/24/02 4 1624 Dead 74 Male 30.1321 95 11/4/97 5/10/98 10 187 Dead 79 Female 16.7861 96 11/4/97 12/31/02 4 1883 Alive 48 Female 32.1171 97 12/24/97 4/19/02 3 1577 Dead 32 Female 39.9384 98 11/26/97 1/27/98 8 62 Dead 86 Female 14.9188 99 8/10/97 12/31/02 16 1969 Alive 56 Male 29.0529 100 3/26/97 2/13/00 7 1054 Dead 74 Male 32.8909