Home › Statistics Homework Help › SPSS Help › Logistic Regression in SPSS
Run it, read it, report it

How do I run binary logistic regression in SPSS?

Go to Analyze > Regression > Binary Logistic, put your two-category outcome in the Dependent box and your predictors in Covariates, define any categorical predictors with the Categorical button, then run. This page shows the exact menu path, which output tables decide the result, and how to read Exp(B) as an odds ratio. When the model will not converge or the deadline is tight, a statistician can run and interpret it on your own file.

✓Correct output, the right row read ✓Exp(B) read as an odds ratio ✓Human statisticians, no AI

On this page

Menu path and setupCategorical predictorsOmnibus test Model SummaryHosmer-LemeshowClassification table Variables in the EquationExp(B) odds ratioAPA reporting
Since 2014statistics specialists
Any modelrun and interpreted
★★★★★rated by students
3 hrsfastest turnaround

Binary logistic regression predicts a two-category outcome, such as pass or fail, from one or more predictors. Instead of a mean it models the odds of the outcome, so the key result is an odds ratio rather than a slope. This guide is part of our statistics homework help and our SPSS help hub. It gives the exact menu path, the assumption checks, and the one value in each output table that decides the result, then shows how to report it. The single idea to hold onto is that Exp(B) is an odds ratio, not a probability.

When you use it. Use binary logistic regression when the dependent variable has exactly two outcomes coded zero and one, and you have continuous or categorical predictors, or a mix of both. For an ordered outcome with three or more categories you need ordinal regression, and for three or more unordered outcomes you need multinomial regression.

How to run binary logistic regression in SPSS

Menu path, the setup that trips people up, then the five output tables to read in order. Example values follow a teaching dataset that predicts whether a student passes an exam.

Step 1: set up the model and define categorical predictors

The result depends on coding the outcome correctly and telling SPSS which predictors are categorical.

Analyze > Regression > Binary Logistic. Move your two-category outcome into the Dependent box and your predictors into Covariates. Click Categorical, move any categorical predictors into the Categorical Covariates box, choose the Reference Category (First or Last), click Change, then Continue. Click Options and tick Hosmer-Lemeshow goodness-of-fit and CI for exp(B) 95%. Continue, then OK.

Code the outcome as zero and one. SPSS models the probability of the category coded one, so decide which outcome is the event of interest. If pass is the event, code pass as one and fail as zero, or the odds ratios describe the wrong direction. Laerd and Kent State both stress that a binary outcome and independent observations are requirements, not options.

Define categorical predictors, and pick the reference. A categorical predictor such as attended revision (yes or no) must go through the Categorical button so SPSS creates the indicator coding. The Exp(B) for that predictor is then the odds relative to the reference category you chose, which is why a stated reference group is part of any correct interpretation.

Assumptions to check. A binary outcome, independent observations, little multicollinearity among predictors, a linear relationship between each continuous predictor and the log odds of the outcome (the Box-Tidwell approach), and a large enough sample, with a common guide of at least 10 cases of the rarer outcome per predictor. There is no normality or equal-variance assumption, because the outcome is not continuous.

Step 2: is the model significant? Omnibus Tests of Model Coefficients

Tells you whether the predictors as a set improve on a model with no predictors.

What to read. The Omnibus Tests of Model Coefficients table, the Model row. It gives a chi-square, its degrees of freedom (which equals the number of predictors) and a Sig. value. You want this Sig. below .05, which means the model with your predictors fits significantly better than the intercept-only model. This is the logistic equivalent of the overall F test.

Omnibus Tests of Model Coefficients
Chi-squaredfSig.
Step27.4022.000
Block27.4022.000
Model27.4022.000
Report it (APA)A binary logistic regression was run to predict exam success from hours studied and revision attendance. The model was statistically significant, χ²(2) = 27.40, p < .001, indicating that the predictors reliably distinguished students who passed from those who failed.

Step 3: how much does the model explain? Model Summary

Reports overall fit through the log likelihood and two pseudo R square measures.

What to read. The Model Summary table gives the -2 Log likelihood, where a smaller value means a better fit, and two pseudo R square values. Cox & Snell R Square cannot reach one, so Nagelkerke R Square rescales it to a zero-to-one range and is the one usually reported. Read these as approximate, not as the R square from linear regression.

Model Summary
Step-2 Log likelihoodCox & Snell R SquareNagelkerke R Square
141.335.436.582
Report it (APA)The model explained a substantial share of the variance in exam success (Cox and Snell R² = .44, Nagelkerke R² = .58).

Step 4: does the model fit? Hosmer and Lemeshow Test

A goodness-of-fit test that compares predicted probabilities with observed outcomes.

The rule that reverses. Here you want a Sig. above .05. A non-significant result means the predicted and observed values are close, which is good fit. A Sig. of .05 or below flags poor fit. This is the opposite of the Omnibus test, where you want significance, so read the two tables with their different goals in mind.

Hosmer and Lemeshow Test
StepChi-squaredfSig.
14.2198.837
Report it (APA)The Hosmer and Lemeshow test indicated the model was a good fit to the data, χ²(8) = 4.22, p = .837.

Step 5: how accurate is it? Classification Table

Shows how many cases the model classifies correctly using a 0.5 cut value.

What to read. The Classification Table (the one for Block 1, not Block 0) gives the Overall Percentage correct in the bottom right. Compare it against the Block 0 baseline, which classifies everyone into the larger group, to see how much the predictors add. Also glance at the two group percentages to check the model is not accurate for one outcome only.

Classification Table (Block 1)
ObservedPredicted: PassPercentage Correct
Fail (0)Pass (1)
Fail (0)17385.0
Pass (1)31785.0
Overall Percentage85.0
Report it (APA)The model correctly classified 85.0% of cases, an improvement on the 50.0% baseline of the intercept-only model.

Step 6: the key table, Variables in the Equation

Holds the coefficients, the significance of each predictor, and the odds ratios.

What to read. The Variables in the Equation table is where the interpretation lives. For each predictor, B is the log-odds coefficient, S.E. its standard error, Wald the test statistic, df its degrees of freedom, and Sig. tells you whether that single predictor is significant at .05. The column that matters most is Exp(B), the odds ratio, with its 95% CI for EXP(B). An odds ratio above one means each one-unit rise in the predictor multiplies the odds of the outcome upward, below one means the odds fall, and near one means little effect. If the 95% confidence interval crosses one, the effect is not reliable.

Variables in the Equation (Exp(B) is the odds ratio; Sig. tests each predictor)
BS.E.WalddfSig.Exp(B)95% CI Lower95% CI Upper
Hours studied1.152.4297.2101.0073.1641.3657.334
Revision(1)1.560.7823.9801.0464.7591.02822.030
Constant-5.1201.61010.1141.001.006

Reading Exp(B) as an odds ratio. For hours studied, Exp(B) = 3.164 means each extra hour of study multiplies the odds of passing by about 3.2, holding revision constant. For revision attendance, Exp(B) = 4.759 means students who attended revision have almost five times the odds of passing compared with the reference group of non-attenders. Both intervals stay above one, so both effects are reliable.

Report it (APA)Hours studied significantly predicted exam success, Wald χ²(1) = 7.21, p = .007, with each additional hour associated with 3.16 times higher odds of passing (95% CI [1.37, 7.33]). Attending revision was also significant, Wald χ²(1) = 3.98, p = .046, with attenders showing 4.76 times the odds of passing relative to non-attenders (95% CI [1.03, 22.03]).

Common mistakes

  • Treating Exp(B) as a probability. It is an odds ratio, so 3.16 means the odds are multiplied by 3.16, not a 3.16 percent or 316 percent chance.
  • Ignoring the reference category, so an odds ratio for a categorical predictor is reported with no group to compare against.
  • Reversing the outcome coding, which flips every odds ratio, so an effect that raises the odds of passing looks like it lowers them.
  • Reading the Block 0 output, the intercept-only step, instead of the Block 1 results with your predictors in the model.
  • Calling a predictor significant when its 95% confidence interval for Exp(B) crosses one.

Your model will not converge, a predictor has a huge standard error, or the odds ratios look wrong on your own dataset? Our statisticians will run the correct model and interpret it. Get a quote →

The six tables in the order you read them

Binary logistic regression produces a long output. These six tables, read in this order, carry the marks. Everything else supports them.

TableWhat it answersThe value to read
Omnibus Tests of Model CoefficientsIs the model significant overall?Model row Sig., want below .05
Model SummaryHow much does it explain?Nagelkerke R Square, and -2 Log likelihood
Hosmer and Lemeshow TestDoes the model fit?Sig., want above .05
Classification TableHow accurate is it?Overall Percentage correct
Variables in the EquationWhich predictors matter, and by how much?Sig. and Exp(B) with its 95% CI
Categorical Variables CodingsWhich group is the reference?The row coded 0 is the reference

Reading logistic output: the mistakes that change the grade

The procedure on this page was checked against the IBM SPSS Statistics documentation and the UCLA statistical computing SPSS guides, alongside the Laerd Statistics and Kent State University binary logistic regression tutorials.

Or hand the analysis to a statistician

When the model will not converge, a predictor behaves strangely, or the deadline is unforgiving, a specialist runs the binary logistic regression in SPSS on your file and explains the output so you can defend it.

What one order includes: the outcome coded correctly, categorical predictors and reference groups defined, the model run in SPSS on your data, the Omnibus test, Model Summary, Hosmer-Lemeshow test, classification table and odds ratios reported, a plain-language interpretation, and the result written in your required reporting style. A syntax file is included so the analysis is reproducible.
1

Send your SPSS task

Upload your data file, the assignment brief and your deadline, then get a free quote from support.

2

Pay securely

Approve the price and a statistician who works in SPSS every day starts right away.

3

Download the analysis

Get the output, interpretation and write-up in your account, with free revisions if you need them.

Vetted and safe

Real statisticians, and your data protected

Your work goes to a specialist who passed a subject-specific statistics test and a background check, and who works in SPSS every day. What we deliver is a model answer and study aid for reference, and many students use it to learn the method and check their own analysis.

Everything stays private. Your data and details are confidential, we never contact your school, payments are secure, and the work is original and plagiarism-checked.

Get SPSS help you can trust →

Every order includes

Right model for the designOutput and interpretation Odds ratios explainedSyntax file included Data kept confidentialFree revisions
★★★★★
What students say
★★★★★

"If there was a 6 rating I would choose it. First of all customer service was better than I even expected and I expected top notch customer service."

Sean D.
Verified review
★★★★★

"They were very professional in which they handled all work correctly. Id definitely come back in the future"

Tieneal M.
Verified review

Binary logistic regression FAQ

Exp(B) is the odds ratio for a predictor in the Variables in the Equation table. It is the exponentiated B coefficient and tells you how the odds of the outcome change for a one-unit increase in that predictor, holding the others constant. A value above one means the odds increase, a value below one means they decrease, and a value near one means little effect. It is an odds ratio, not a probability.

Read the Omnibus Tests of Model Coefficients table. The Model row gives a chi-square, its degrees of freedom and a Sig. value. If that Sig. is below .05 the model with your predictors is a significantly better fit than the intercept-only model, so the predictors as a set help explain the outcome.

Nagelkerke R Square is a pseudo R square in the Model Summary table. It rescales the Cox and Snell R Square so it can reach a maximum of one, and it gives an approximate sense of how much variation in the outcome the model accounts for. It is not the same as the R square from linear regression, so report it as a pseudo R square.

It checks how well the model fits. Here you want a Sig. above .05, because a non-significant result means the predicted probabilities are close to the observed outcomes, which is good fit. A Sig. of .05 or below suggests the model does not fit well.

The reference category is the group a categorical predictor is compared against. When you define a predictor as categorical in SPSS you choose First or Last as the reference. Every Exp(B) for that predictor is the odds relative to the reference group, so you cannot interpret the odds ratio without knowing which category it is measured against.

Yes. Send your data set and the assignment and a statistician runs the model in SPSS, defines the categorical predictors and reference groups correctly, reports the Omnibus test, Model Summary, Hosmer-Lemeshow test and the odds ratios, and interprets the output in full before your deadline, with free revisions.

Get your SPSS logistic regression done right

Hand it to a statistician and get accurate output and a clear interpretation of the odds ratios before your deadline.

Get my free quote →

Related homework help

We use cookies to improve your experience. See our cookie policy.