Create a Logistic Regression

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:
  1. Click New Visualization to create a new visualization.
  2. Click logistic regression to specify that this visualization is a logistic regression. Maximize the visualization.
  3. Drag and drop the variable Vehicle Type into the Response field on the Roles tab.
  4. On the Roles tab, beside the Response field, click Advanced. Select TRUCK as your event level. Click OK.
  5. 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.
  6. Select the Properties tab in the right pane. Select Informative missingness.
  7. Save the exploration.