P02
Macros for Model Building, Summarizing, and Displaying Results of Stepwise Logistic Regressions

Lori S. Parsons, Ovation Research Group


When performing stepwise logistic regressions with PROC LOGISTIC, analysts often want to summarize the results of the model without including the full selection procedure. Beginning with SAS 7.0, the Output Delivery System (ODS) provides users with a meth od to print a subset of the default output. There is additional information about the stepwise model that should be included in a summary, but cannot be obtained directly from ODS code. Graphical representations of the model are also helpful in a summary . When logistic regression models are built in a hierarchical manner, it becomes important, and far more efficient, to organize the model building code. This paper provides user-written macros, ODS code, and model building code to help SAS users organize , summarize, and display results of stepwise logistic regression models. Stepwise models are the focus, however the presented code and model building strategies can be used with any PROC LOGISTIC SELECTION.