Action Principale : logisticCode
| 1 | /* Load Hmeq data into CAS */ |
| 2 | DATA mycas.hmeq; |
| 3 | SET sampsio.hmeq; |
| 4 | RUN; |
| 5 | |
| 6 | /* Fit a logistic regression model and save the model state */ |
| 7 | PROC CAS; |
| 8 | regression.logistic TABLE='hmeq' class={'job', 'reason'} model={depvar='bad', effects={'job', 'reason', 'loan', 'value'}} store={name='myModelStore', replace=true}; |
| 9 | RUN; |
| 10 | QUIT; |