A logistic regression
attempts to predict the value of a binary response variable. A logistic
regression analysis models the natural logarithm of the odds ratio
as a linear combination of the explanatory variables.
To create the logistic
regression for this example, complete the following steps:
-
Click
to create a new visualization.
-
Click
to specify that this visualization is a logistic
regression. Maximize the visualization.
-
Drag and drop the variable Vehicle
Type into the Response field
on the Roles tab.
-
On the Roles tab,
beside the Response field, click Advanced.
Select TRUCK as your event level. Click OK.
-
Drag and drop the variables Vehicle
Clusters, Emission of Total Hydrocarbons
(g/mi), Vehicle Axle Ratio, Vehicle
Cylinders, Vehicle EngineSize (l), Vehicle
Gears, Vehicle Horsepower, Vehicle
MPG, and Vehicle Weight (lbs) onto
the visualization. SAS Visual Analytics automatically creates a logistic
regression model using these variables as the effects.
-
Select the Properties tab
in the right pane. Select Informative missingness.
-