Example: Model Selection
To create this example:
-
-
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.
-
On the
Data tab,
select the
WORK.GETSTARTED data set.
Tip
If the data set is
not available from the drop-down list, click
. 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.
-
Assign columns to these
roles:
Role or Option Name
|
Column Name
|
Distribution
|
Poisson
|
Response
variable
|
Y
|
Classification
variables
|
C1
C2
C3
C4
C5
|
-
On the
Models tab,
click
to open the
Model Effects Builder.
-
In the
Variables box,
select
C1–C5.
-
Click
Add.
Then click
OK to close the
Model
Effects Builder.
-
Click the
Selection tab.
From the
Selection method drop-down list,
select
Forward selection.
-
To run the task, click
.
Copyright © SAS Institute Inc. All rights reserved.