Action Principale : logisticLackfit
| 1 | DATA getheart; |
| 2 | INFILE DATALINES; |
| 3 | INPUT STATUS $ Age Weight; |
| 4 | DATALINES; |
| 5 | Dead 50 210 |
| 6 | Alive 60 170 |
| 7 | Dead 55 220 |
| 8 | Alive 65 160 |
| 9 | Dead 45 200 |
| 10 | Alive 58 175 |
| 11 | Dead 68 230 |
| 12 | Alive 70 150 |
| 13 | Dead 48 205 |
| 14 | Alive 62 165 |
| 15 | ; |
| 16 | PROC CASUTIL; load DATA=getheart outcaslib=casuser casout='getheart' replace; RUN; |