Extensions of Multiple Regression
This module extends ordinary multiple regression in two directions:
- Influence analysis: identifying observations that may materially affect the fitted model.
- Qualitative information: representing categorical explanatory variables and modeling a binary dependent variable.
Influence Analysis
An observation may be unusual because of its explanatory-variable values, its dependent-variable value, or both. These cases must be distinguished:
| Concept | What is unusual? | Primary measure |
|---|---|---|
| High leverage | The observation's | Leverage, |
| Outlier | The observed | Studentized residual |
| Influential observation | Removing the observation materially changes the fitted regression | Cook's distance or deletion diagnostics |
High leverage or a large residual creates the potential for influence. Neither one alone proves that an observation materially changes the regression.
Read the three cases from left to right:
- High leverage without a large residual: the point is far from the sample in the horizontal
direction but agrees with the existing relationship. It extends the data range without rotating the fitted line much. - Outlier without high leverage: the point is far from the line vertically but lies near the center of the
distribution. It has a large residual, but surrounding observations limit its ability to rotate the slope. - Influential observation: the point is both horizontally remote and vertically inconsistent with the original relationship. With few nearby observations to counterbalance it, the point pulls the fitted line toward itself.
The dashed line in each panel is fitted without the labeled observation; the solid line includes it. Their separation makes influence directly visible.
Leverage
Leverage measures how unusual an observation's independent-variable values are relative to those of the sample. It is the
The fitted values satisfy
Important properties are
when the model contains
A commonly used investigation rule is
This is a screening guideline, not a formal rejection threshold. A high-leverage observation can lie close to the fitted regression and therefore have little influence.
Outliers and Studentized Residuals
An outlier has an unusually large residual relative to its estimated variability. The ordinary residual is
Residual variance differs across observations because leverage differs. Studentization places residuals on a comparable scale. The externally studentized residual, also called the studentized deleted residual, is
where
Under normally distributed errors and the null hypothesis that observation
A large absolute value,
NOTE
Inspecting many observations creates a multiple-testing problem. A simple cutoff such as
Cook's Distance
Cook's distance combines residual size and leverage to estimate how much the fitted regression would change if observation
Cook's distance grows when an observation has:
- a large residual;
- high leverage; or
- both.
Larger
How to Respond to an Influential Observation
- Check for data-entry, measurement, and unit errors.
- Decide whether the observation belongs to the population represented by the model.
- Examine whether it reveals a missing variable, interaction, structural break, or incorrect functional form. See M3: Model Misspecification.
- Compare the model with and without the observation and report material sensitivity.
- Do not remove a valid observation solely because it weakens the desired result.
Categorical Explanatory Variables
Dummy Variables
A dummy variable represents category membership using values of 0 and 1. If a categorical predictor has
Using all
Example: Different Intercepts
Suppose firms belong to the financial, technology, or healthcare sector. Define
and similarly define
is the intercept for financial firms. is the intercept difference between technology and financial firms, holding constant. is the intercept difference between healthcare and financial firms, holding constant.
Changing the reference category changes the coefficient representation but not the fitted values.
Interaction Terms
To allow the slope on
| Group | Intercept | Slope on |
|---|---|---|
| Reference group, | ||
| Comparison group, |
Therefore:
measures the difference in intercepts; and measures the difference in slopes.
A restricted F-test can determine whether a set of category and interaction terms is jointly significant.
Binary Dependent Variables
When the dependent variable takes only two values—such as default/no default or success/failure—ordinary linear regression can produce probabilities below 0 or above 1 and imposes heteroskedastic errors. A logit model instead connects the predictors to a probability through the logistic function.
Logit Model
Let
The logit model specifies the log odds as a linear function of the predictors:
Solving for the probability gives
There is no additive
Interpreting Logit Coefficients
A one-unit increase in
- changes the log odds by
; and - multiplies the odds by
.
For example, if
which is approximately a 49% increase in the odds—not necessarily a 49% increase in probability. The change in probability depends on the starting probability and the values of all predictors.
Estimation and Model Evaluation
Logit coefficients are estimated using maximum likelihood estimation (MLE) rather than OLS. MLE chooses the coefficients that make the observed sequence of zeros and ones most likely.
Log-Likelihood
The log-likelihood for independent binary observations is
A higher maximized log-likelihood indicates better in-sample fit for models estimated on the same observations and dependent variable. Because log-likelihood values are usually negative, “higher” generally means closer to zero.
Pseudo R-Squared
Pseudo
Likelihood-Ratio Test
The likelihood-ratio (LR) test determines whether
- a restricted model, estimated under
; and - an unrestricted model, which allows the tested coefficients to vary.
The statistic is
where
Under
where
Worked Example
Suppose the unrestricted logit model includes two industry variables being tested jointly and has
There are
The LR test plays a role for maximum-likelihood models similar to the restricted F-test for OLS models, although their reference distributions and estimation frameworks differ.
Summary
| Task | Model or diagnostic | Key interpretation |
|---|---|---|
| Find unusual predictor values | Leverage | High leverage means unusual |
| Find unusual outcomes conditional on | Studentized deleted residual | Large $ |
| Measure overall influence | Cook's distance | Combines residual size and leverage |
| Include a categorical predictor | Coefficients are interpreted relative to a reference category | |
| Allow group-specific slopes | Dummy-variable interaction | Interaction coefficient is the slope difference |
| Model a binary outcome | Logit | Coefficients change log odds; |
| Test restrictions in a logit model | LR test | Compare restricted and unrestricted log-likelihoods |