Opening your learning space
Starting the app …
Opening your learning space
Starting the app …
Logistic regression models the log odds of a binary outcome as a linear function of predictors.
Free to browse · flashcards or a multiple-choice quiz · import from Essential
Formula
p is a fraction 0…1 · log odds dimensionless · coefficient units depend on predictor
| Symbol | Meaning | Unit |
|---|---|---|
| Modeled event probability | fraction | |
| Intercept of the logit equation | dimensionless | |
| Regression coefficient for predictor xk | per unit of xk | |
| Value of the kth explanatory variable | predictor unit |
\log\frac{p}{1-p}=\beta_0+\sum_{k=1}^{m}\beta_k x_kThe inverse logit p=1/(1+e^(−η)) converts a linear predictor to a probability. Holding other variables fixed, e^βk is the modeled odds ratio per predictor unit. Nonlinear effects are not automatic; functional form, interactions, separation, sample size and calibration require checks. Coefficients are associations, not causal effects without an appropriate design.
Binary outcome with independent observations and adequately specified predictor effects; assess calibration, separation and confounding.
The logit maps probability to an unbounded scale where predictors enter linearly.
Solve for a quantity
Inverse logit for linear predictor η.
η=0: what probability follows?
p=1/(1+1)=0.5.
Reading β directly as a probability change.
β changes log odds; e^β is the odds multiplier.
Formula cluster
An adjusted association is not automatically causal without causal design.
With η=−2+0.8x and x=2, η=−0.4 and p=1/(1+e^0.4)≈0.401. Each one-unit increase in x multiplies modeled odds by e^0.8≈2.23. Check: p stays between zero and one.
Modeling binary outcomes in biological and epidemiological observational data
Here is how to work through a typical Logistic regression (logit(p) = β₀ + Σβk·xk) task step by step:
Task
η=0: what probability follows?
Solution path
p=1/(1+1)=0.5.
A coefficient β is the change in log odds for one additional predictor unit, holding other model variables constant. Exponentiating gives the corresponding odds ratio e^β. It is not a direct percent change in probability; that depends on starting p. For categorical predictors, interpretation is relative to the chosen reference category, which should be stated explicitly. Report outcome coding, reference groups, covariates, model checks and uncertainty. An adjusted coefficient does not imply an intervention effect without causal design. With common outcomes, odds ratios can also differ substantially from risk ratios.
The linear predictor η can take any real value. The inverse logit p=1/(1+e^(−η)) maps that unbounded scale smoothly to values strictly between zero and one. At η=0, p=0.5; large positive values approach one and large negative values approach zero. Probabilities near the boundaries still require enough data and reliable model fit or they may be unstable. Report outcome coding, reference groups, covariates, model checks and uncertainty. An adjusted coefficient does not imply an intervention effect without causal design. With common outcomes, odds ratios can also differ substantially from risk ratios.
Not merely because it is adjusted. The coefficient is first a conditional association within the specified model. Unmeasured confounding, selection bias, measurement error, wrong functional form or omitted interactions can distort it. Causal interpretation requires an appropriate design and justified assumptions about confounding and selection. Report reference group, covariates, population, uncertainty and model checks; an odds ratio is not a causal argument. Report outcome coding, reference groups, covariates, model checks and uncertainty. An adjusted coefficient does not imply an intervention effect without causal design. With common outcomes, odds ratios can also differ substantially from risk ratios.
Reproduce the example calculation: With η=−2+0.8x and x=2, η=−0.4 and p=1/(1+e^0.4)≈0.401. Logistic regression uses logit(p) = β0 + Σβk·xk. In plain terms, logistic regression models the log odds of a binary outcome as a linear function of predictors. Unit check: p is a fraction 0…1 · log odds dimensionless · coefficient units depend on predictor. Binary outcome with independent observations and adequately specified predictor effects; assess calibration, separation and confounding. Values are comparable only when their definitions, denominators and periods match. Record these details next to the result so the reference group is clear. If the direction is implausible, check data preparation and the calculation basis before discussing biological causes.
A key limit of Logistic regression is this: Binary outcome with independent observations and adequately specified predictor effects; assess calibration, separation and confounding. Do not use the metric without its reference; it is useful for Modeling binary outcomes in biological and epidemiological observational data. Logistic regression models the log odds of a binary outcome as a linear function of predictors. When comparing populations or experiments, check whether definitions, denominators and observation periods match. If the assumption is implausible, the result shows only what the simplified model calculates from its inputs; it is not a reliable estimate for the target population. State this limitation in the report, and do not infer a causal effect from the formula alone.
Quanta exam set
Curated exam set for "Logistic regression":
Question (front)
Which formula describes Logistic regression?
Answer in your set
Question (front)
How do you rearrange Logistic regression for Solve for a quantity?
Answer in your set
Question (front)
Which common mistake happens with Logistic regression?
Answer in your set
+ 7 more cards: units, variables, derivation, example, exam task
The formula set contains 10 cards. After importing, review them and start practicing; your ratings determine later review intervals.
This list names subject references and further reading. A page or section number appears when it is part of the reference; these are not verbatim quotations.
Create a curated FSRS exam set for logit(p) = β₀ + Σβk·xk: formula recall, variables, derivation, rearrangement, worked example, common mistakes and exam context.
Curated formula set · LaTeX · FSRS spaced repetition · import from Essential