model output

To check what outputs are available from a model, turn on the trace.

ods trace on;

proc logistic data=work.sample-data;

  model prediction(event='1') = XXX YYYY ZZZ; 

  roc;

run;

ods trace off;

Run the code and the log will show available outputs and the name of the dataset.

For example, adding the "roc;" to the model returns the ROCAssociation dataset.

 Output Added:

 -------------

 Name:       ParameterEstimates

 Label:      Parameter Estimates

 Template:   Stat.Logistic.ParameterEstimates

 Path:       Logistic.ROC1.ParameterEstimates

 -------------

 Output Added:

 -------------

 Name:       ROCAssociation

 Label:      ROC Association Statistics

 Template:   Stat.Logistic.ROCAssociation

 Path:       Logistic.ROCComparisons.ROCAssociation

 -------------

To export an output to a library for futher use, use the ods output

proc logistic data=work.sample-data;

  model prediction(event='1') = XXX YYYY ZZZ; 

  roc;

  ods output ParameterEstimates = work.logit_param_estimates ROCassociation=work.logit_roc_info;

run;