Example: Classifying Email as Junk
To create this example:
-
In the
Tasks section,
expand the
Statistics folder, and then double-click
Binary
Logistic Regression. The user interface for the Binary
Logistic Regression task opens.
-
On the
Data tab,
select the
SASHELP.JUNKMAIL data set.
-
Assign columns to these
roles and specify these options:
Role
|
Column Name
|
Response
|
Class
|
Event of
interest
|
1
|
Continuous
variables
|
Exclamation
CapAvg
|
-
On the
Model tab,
click

. The
Model Effects Builder opens.
-
In the
Variables pane,
select
Exclamation and
CapAvg .
-
Click
Add to
add these as main effects. Click
OK to close
the
Model Effects Builder.
-
To run the task, click

.
Copyright © SAS Institute Inc. All rights reserved.