Action Principale : copulaViewStore
| 1 | DATA simdata; |
| 2 | call streaminit(123); |
| 3 | DO i = 1 to 1000; |
| 4 | u = rand('uniform'); |
| 5 | v = rand('uniform'); |
| 6 | OUTPUT; |
| 7 | END; |
| 8 | RUN; |
| 9 | |
| 10 | PROC CAS; |
| 11 | load DATA=simdata out={name='simdata', caslib='casuser', replace=true}; |
| 12 | copula.copulaFit / |
| 13 | TABLE={name='simdata'}, |
| 14 | copula={type='clayton'}, |
| 15 | var={'u', 'v'}, |
| 16 | store={name='myCopulaStore', caslib='casuser', replace=true}; |
| 17 | RUN; |