Action Principale : cox
| 1 | DATA mycas.heart; |
| 2 | call streaminit(123); |
| 3 | DO i = 1 to 100; |
| 4 | Time = rand('UNIFORM') * 10; |
| 5 | STATUS = (rand('UNIFORM') > 0.5); |
| 6 | Age = 50 + rand('NORMAL') * 10; |
| 7 | Cholesterol = 200 + rand('NORMAL') * 30; |
| 8 | BP = 120 + rand('NORMAL') * 15; |
| 9 | OUTPUT; |
| 10 | END; |
| 11 | RUN; |