Action Principale : exploreCorrelation
| 1 | |
| 2 | PROC CAS; |
| 3 | dataStep.runCode / code=" |
| 4 | data casuser.analysis_data; |
| 5 | do i=1 to 1000; |
| 6 | x=rand('normal'); |
| 7 | y=2*x + rand('normal'); |
| 8 | c=ifc(rand('uniform')>0.5, 'A', 'B'); |
| 9 | target=ifc(x+y>0, 1, 0); |
| 10 | output; |
| 11 | end; |
| 12 | "; |
| 13 | |
| 14 | RUN; |
| 15 |