Action Principale : copulaSimulate
| 1 | DATA mycas.corr_data; |
| 2 | _TYPE_ = 'CORR'; _NAME_ = 'y1'; y1=1; y2=0.5; y3=0.2; OUTPUT; |
| 3 | _TYPE_ = 'CORR'; _NAME_ = 'y2'; y1=0.5; y2=1; y3=0.6; OUTPUT; |
| 4 | _TYPE_ = 'CORR'; _NAME_ = 'y3'; y1=0.2; y2=0.6; y3=1; OUTPUT; |
| 5 | RUN; |
| 6 | |
| 7 | DATA mycas.mydata; |
| 8 | call streaminit(456); |
| 9 | DO i = 1 to 2000; |
| 10 | y1 = rand('NORMAL'); |
| 11 | y2 = rand('NORMAL'); |
| 12 | y3 = rand('NORMAL'); |
| 13 | OUTPUT; |
| 14 | END; |
| 15 | RUN; |