How to Interpret Binary Logistic Regression in SPSS

A worked example of adjusted odds ratios, confidence intervals and predicted probabilities.

Binary logistic regression models an outcome with two categories, such as whether a customer purchased again within 30 days. The results are easier to read once you identify which category the model treats as the event, what each predictor compares and which other variables are included.

1. Define the outcome and state the hypothesis

Worked question. Among customers of a hypothetical retailer, is receiving a follow-up reminder associated with making a repeat purchase within 30 days after accounting for purchase history? The counts below are simulated. No customers were assigned to receive reminders for this example, so the model addresses association.

Outcome. Repeat purchase within 30 days (1 = yes, 0 = no). The predictors are reminder receipt (1 = received, 0 = none) and purchase history (1 = had bought before the index order, 0 = first-time customer). The model includes both predictors and no interaction.

H0. After adjusting for purchase history, the reminder coefficient is zero, or equivalently, its adjusted odds ratio is 1.

H1. After adjusting for purchase history, reminder status is associated with repeat purchase. The worked example uses a two-sided test.

ReminderPurchase historyCustomersRepeat purchases
NoFirst-time6513
YesFirst-time7026
NoReturning6828
YesReturning7245

Table 1. Simulated customer counts. To recreate the model, enter one row per customer, or enter two outcome rows per predictor combination and use the corresponding counts as frequency weights. For example, the first group has 13 yes and 52 no.

2. Fit the model in SPSS

Choose Analyze → Regression → Binary Logistic. Put repeat purchase in Dependent. Enter the two 0/1 predictors as covariates and retain the Enter method so both are included. With this coding, each coefficient compares 1 with 0. In Options, request a 95% confidence interval for Exp(B). Use the saved probabilities option if you want case-level fitted probabilities. Check your installed edition if the procedure is unavailable.

Before interpreting the coefficients, check dependent variable encoding and the number of cases included. Record how missing values were treated. Check that each row represents a distinct customer and inspect cells for sparse outcomes, convergence warnings or separation. If your data contain repeated orders by the same customer, use a method that accounts for that dependence.

3. Read the “Variables in the Equation” table

PredictorBS.E.WaldSig.Exp(B)95% CI for Exp(B)
Reminder received0.860.2610.97< .0012.371.42 to 3.96
Returning customer1.030.2615.68< .0012.811.69 to 4.69

Table 2. Recreated SPSS-style results for the simulated counts. Coefficients and Wald intervals were calculated from the example data. The model includes an intercept, which is omitted from this table. N = 275.

B is the coefficient on the log-odds scale. Exp(B) is the odds ratio, and the confidence interval shows the precision of that estimate. Sig. is the two-sided p-value for the Wald test in this table.

Interpret the reminder coefficient. Holding purchase history fixed, the estimated odds of buying again were 2.37 times as high for customers who received a reminder as for customers who did not. The 95% confidence interval runs from 1.42 to 3.96. The odds ratio does not tell you how many percentage points the purchase probability changed.

4. Compare model-estimated probabilities

With purchase history held at first-time customer, the model estimates a 20.0% probability without a reminder and 37.2% with a reminder. For returning customers, the corresponding estimates are 41.2% and 62.5%. The same adjusted odds ratio can correspond to different absolute probability differences.

Figure 1. Fitted probabilities for four customer profiles. The bars show point estimates from the model.
Figure 1. Fitted probabilities for four customer profiles. The bars show point estimates from the model.

5. Write up the result

Sample results paragraph. In the simulated sample of 275 customers, reminder receipt was associated with higher odds of a repeat purchase within 30 days after adjustment for purchase history (adjusted OR = 2.37, 95% CI 1.42 to 3.96, p < .001). The model estimates a higher purchase probability for customers with reminders in both purchase-history groups. Because reminder receipt was not randomly assigned, the association does not establish a causal effect.

For a prediction study, also examine how well probabilities match observed outcomes and how well the model ranks cases in validation data. A classification table at a single cutoff cannot answer both questions. For an association study, report why variables were included and which alternative explanations remain plausible.

Documentation and further reading

IBM. Binary logistic regression, data considerations and output.

IBM. Logistic Regression Options, including confidence intervals for Exp(B).

Explore WIStat Research data analysis services.