2026-04-11
Residual plot showing a U-shaped pattern, indicating nonlinearity
Residual plot showing a clear pattern over time, indicating autocorrelation
Residual plot showing a fanning pattern, indicating heteroskedasticity
Normality of residuals around the OLS regression line demonstrated with normal curves at several points
Q-Q Plot of Residuals – Clear Non-Normality (Heavy Tails)
Perfect multicollinearity example: two good predictors compared to two highly correlated
Examples of continuous vs binary and count
OLS line through binary data showing impossible predictions, contrasted with logistic S-curve
(Open ols_binary_fails.mp4)
OLS gives us probabilities larger than 100% and less than 0%, greater than 1 and less than 0. That’s just not possible. Logistic regression respects the bounds of probability, so it gives us a curve that stays between 0 and 1.
(Open Logit Saves the Day video logistic_regression_saves_the_day.mp4)
| Model | Outcome type | Linear part | Output scale |
|---|---|---|---|
| OLS | Continuous | ( _0 + _1 X ) | Y |
| Logit | Binary | ( _0 + _1 X ) | log-odds, then probability |
| Feature | OLS | Logistic regression |
|---|---|---|
| Dependent variable | Continuous | Binary |
| Estimation | Least squares | Maximum likelihood |
| Functional form | Straight line in Y | Straight line in log-odds |
| Predicted values | Unbounded | Between 0 and 1 |
| Typical interpretation | Unit change in Y | Change in log-odds / odds / probability |
| Form | Interpretation of \(\beta_1\) |
|---|---|
| OLS: \(Y = \beta_0 + \beta_1 X\) | 1-unit increase in \(X\) -> \(\beta_1\)-unit change in \(Y\) |
| OLS: \(\log(Y) = \beta_0 + \beta_1 X\) | 1-unit increase in \(X\) -> approx. \(100\beta_1\%\) change in \(Y\) |
| OLS: \(Y = \beta_0 + \beta_1 \log(X)\) | 1% increase in \(X\) -> approx. \(\beta_1/100\)-unit change in \(Y\) |
| OLS: \(\log(Y) = \beta_0 + \beta_1 \log(X)\) | 1% increase in \(X\) -> \(\beta_1\%\) change in \(Y\) |
| Logit: \(\text{logit}(p) = \beta_0 + \beta_1 X\) | 1-unit increase in \(X\) -> \(\beta_1\) change in log-odds |
| Logit: \(\text{logit}(p) = \beta_0 + \beta_1 \log(X)\) | 1% increase in \(X\) -> approx. \(\beta_1/100\) change in log-odds |
| Transformation | OLS interpretation | Logit interpretation |
|---|---|---|
| None | 1-unit increase in \(X\) -> \(\beta_1\)-unit change in \(Y\) | 1-unit increase in \(X\) -> \(\beta_1\) change in log-odds |
| Log of \(Y\) | 1-unit increase in \(X\) -> approx. \(100\beta_1\%\) change in \(Y\) | Not used for binary \(Y\) |
| Log of \(X\) | 1% increase in \(X\) -> approx. \(\beta_1/100\)-unit change in \(Y\) | 1% increase in \(X\) -> approx. \(\beta_1/100\) change in log-odds |
| Log of \(Y\) and \(X\) | 1% increase in \(X\) -> \(\beta_1\%\) change in \(Y\) | Not used for binary \(Y\) |
UH POLS3316, Spring 2026, Instructor: Tom Hanna