Action Principale : exploreData
| 1 | |
| 2 | DATA mycas.sample_data; |
| 3 | call streaminit(123); |
| 4 | DO i = 1 to 1000; |
| 5 | x1 = rand('Normal', 50, 10); |
| 6 | x2 = rand('Uniform'); |
| 7 | IF rand('Uniform') > 0.5 THEN cat1 = 'A'; |
| 8 | ELSE cat1 = 'B'; |
| 9 | IF x1 + 10*x2 > 55 THEN target = 1; |
| 10 | ELSE target = 0; |
| 11 | OUTPUT; |
| 12 | END; |
| 13 | |
| 14 | RUN; |
| 15 |