Generalised models: logistic, Poisson and quantile regression
REG · Chapter 812 min readAsked at Two Sigma, QuantCo, Citadel, Point72
After this lesson you should be able to
- Interpret a logistic coefficient as a log-odds and convert it.
- Say when a Poisson model is the right one and how to check it.
- Explain what quantile regression estimates that OLS does not.
Linear regression models a conditional mean on an unbounded scale. When the outcome is a probability, a count or a tail, that is the wrong target — and each generalised model is the same linear predictor pushed through a function that makes the range come out right.
Equation 8.1
Logistic regression
Model the log-odds linearly, which maps the whole real line onto so the fitted probability is always valid.
- The odds. A coefficient of multiplies the odds by per unit.
- Log-odds at , which is rarely a meaningful point unless you centre.
Proposition 8.3
Reading a logistic coefficient
A coefficient of means the odds multiply by per unit increase. Near a probability of the effect on the *probability* is about per unit — the derivative of the logistic at its midpoint is one quarter — which is a fast way to translate a coefficient into something interpretable.
Holds when
- The divide-by-four rule is an upper bound: the effect on probability is smaller away from .
- Odds ratios are not probability ratios, and conflating them overstates effects on common outcomes.
- No exists; use log-likelihood, AUC or a calibration plot instead.
Example 8.4
A logistic model of whether a trade is profitable gives a coefficient of on a signal. The base rate is . What does a one-unit increase do?
Show the worked solutionHide the worked solution
Worked solution
- Formula
- Substitute
- Solve
- Answer
Sanity check. The divide-by-four approximation gives against an exact — close enough to quote, and it fails gracefully by overstating as you move away from the midpoint.
The rest of this lesson is in Premium
You have read the opening. 12 more sections follow, including 4 worked examples and 3 quick checks.
Nothing is charged for 7 days, and you can cancel before then. Or read The law of large numbers and the central limit theorem in full, free.