Scénario de test & Cas d'usage
Generating a larger dataset representing 10,000 shipping routes.
| 1 | |
| 2 | DATA mycas.logistics_data; |
| 3 | DO i = 1 to 10000; |
| 4 | delay = rand('Exponential'); |
| 5 | cost = delay * 1.5 + rand('Uniform'); |
| 6 | OUTPUT; |
| 7 | END; |
| 8 | |
| 9 | RUN; |
| 10 |
| 1 | |
| 2 | PROC CAS; |
| 3 | copula.copulaFit TABLE={name='logistics_data'} copula='CLAYTON' var={'delay', 'cost'} store={name='logisticsModel_v2', replace=true}; |
| 4 | |
| 5 | RUN; |
| 6 |
| 1 | |
| 2 | PROC CAS; |
| 3 | copula.copulaViewStore / instore={name='logisticsModel_v2'} viewOptions={all=true} display={names={'ModelDefinition'}}; |
| 4 | |
| 5 | RUN; |
| 6 |
The action accesses 'logisticsModel_v2' and prepares all model data internally (due to viewOptions={all=true}). However, in the user results, only the 'ModelDefinition' table is visually displayed, confirming the Clayton copula type and parameter constraints.