Example: Model Selection

To create this example:
  1. Create the Work.getStarted data set. For more information, see GETSTARTED Data Set.
  2. In the Tasks section, expand the High-Performance Statistics folder, and then double-click Generalized Linear Models. The user interface for the Generalized Linear Models task opens.
  3. On the Data tab, select the WORK.GETSTARTED data set.
    Tip
    If the data set is not available from the drop-down list, click Select a table icon. In the Choose a Table window, expand the library that contains the data set that you want to use. Select the data set for the example and click OK. The selected data set should now appear in the drop-down list.
  4. Assign columns to these roles:
    Role or Option Name
    Column Name
    Distribution
    Poisson
    Response variable
    Y
    Classification variables
    C1
    C2
    C3
    C4
    C5
  5. On the Models tab, click Edit Icon to open the Model Effects Builder.
  6. In the Variables box, select C1–C5.
  7. Click Add. Then click OK to close the Model Effects Builder.
  8. Click the Selection tab. From the Selection method drop-down list, select Forward selection.
  9. To run the task, click Submit SAS Code Icon.
Here is a subset of the results:
Performance Information, Data Access Information, Model Information, and Selection Information