Predict the probability of a binary outcome from a set of predictors and interpret results as odds ratios.
Logistic regression models the probability that an observation belongs to a particular category (typically coded 0 or 1) as a function of one or more predictor variables. Because the outcome is binary, ordinary linear regression is inappropriate — its predictions can fall outside the 0–1 probability range. Logistic regression solves this by modelling the log-odds (logit) of the outcome, which maps any combination of predictor values to a valid probability.
The method is foundational in medicine (predicting disease diagnosis from patient characteristics), public health (modelling the probability of vaccine uptake), business (predicting customer churn or credit default), and psychology (predicting whether participants will choose one option over another). Coefficients are interpreted as changes in log-odds or, after exponentiation, as odds ratios — which describe how the odds of the outcome multiply for each unit increase in a predictor.
StatRyx runs binary logistic regression with maximum likelihood estimation, reports B coefficients, Wald chi-square statistics, p-values, odds ratios with 95% CIs, model chi-square, Nagelkerke R², Hosmer-Lemeshow goodness-of-fit test, and a classification table — all in APA 7 format. StatRyx also checks for multicollinearity and separation issues that can destabilise the model.
| Predictor | B | SE | Wald χ² | p | OR | 95% CI |
|---|---|---|---|---|---|---|
| GPA | −1.84 | 0.41 | 20.12 | < .001 | 0.16 | [0.07, 0.36] |
| Financial Stress | 0.63 | 0.18 | 12.30 | < .001 | 1.88 | [1.31, 2.70] |
| Social Support | −0.34 | 0.22 | 2.39 | .122 | 0.71 | [0.46, 1.10] |
Binary logistic regression was conducted to predict university dropout status from GPA, financial stress, and social support. The model was significant, χ²(3) = 41.22, p < .001, Nagelkerke R² = .31. GPA significantly predicted dropout (B = −1.84, OR = 0.16, 95% CI [0.07, 0.36], p < .001), as did financial stress (B = 0.63, OR = 1.88, 95% CI [1.31, 2.70], p < .001).
Yes. You can run it without an account (3 free analyses), and a free account adds 10 more — a one-time allowance, no payment needed. Every result includes the APA 7 write-up. Paid plans (Student from $9/month) add more analyses and Word, PDF and Excel export.
No coding required. Describe your binary outcome and predictors in plain English and StatRyx handles maximum likelihood estimation, assumption checks, and result formatting automatically.
A widely used guideline is at least 10–20 events (cases with outcome = 1) per predictor variable. Insufficient events relative to predictors leads to unstable coefficient estimates and inflated odds ratios.
An odds ratio (OR) greater than 1 means the predictor increases the odds of the outcome; less than 1 means it decreases the odds. For example, OR = 2.0 means the odds of the outcome are double for a one-unit increase in the predictor. OR = 0.5 means the odds are halved.
Nagelkerke R² is a pseudo-R² measure for logistic regression, ranging from 0 to 1. It approximates the proportion of variance in the outcome explained by the model, rescaled so that a perfect model gives R² = 1. Values of .10, .30, and .50 are generally considered small, medium, and large effects in this context.
Run a Logistic Regression on your data →