# Using SPSS to Estimate a Logistic Regression Model

Nikki Kamouneh

Posted on
SPSS logit logisitic regression

This post outlines the steps for performing a logistic regression in SPSS. The data come from the 2016 American National Election Survey. Code for preparing the data can be found on our github page, and the cleaned data can be downloaded here.

The steps that will be covered are the following:

1. Check variable codings and distributions
2. Graphically review bivariate associations
3. Fit the logit model in SPSS
4. Interpret results in terms of odds ratios
5. Interpret results in terms of predicted probabilities

The variables used will be:

• vote: Whether the respondent voted for Clinton or Trump
• gender: Male or female
• age: The age (in years) of the respondent
• educ: The highest level of education attained

For simplicity, this demonstration will ignore the complex survey variables (weight, PSU, and strata).

## Univariate Summaries

The first step in any statistical analysis should be to perform a visual inspection of the data in order to check for coding errors, outliers, or funky distributions.

Click Analyze $$\rightarrow$$ Descriptive Statistics $$\rightarrow$$ Frequencies.