Multiple
Regression
Learn to model real-world outcomes using multiple predictor variables, interpret coefficients, and harness dummy variables for categorical data.
What Is Multiple Regression?
In simple regression, you predict an outcome using one predictor: \( \hat{y} = b_0 + b_1 x \). But most business questions involve many factors at once.
Multiple regression extends this idea by including two or more independent variables to predict one dependent variable. It lets you isolate the effect of each predictor while controlling for the others.
Why It Matters in Business
From One Predictor to Many
The Multiple Regression Equation
Interpreting Coefficients
Suppose a model for house price (in $1,000s) is:
Simple vs Multiple Regression
| Simple Regression | Multiple Regression | |
|---|---|---|
| Predictors | 1 | 2 or more |
| Equation | \( \hat{y} = b_0 + b_1 x \) | \( \hat{y} = b_0 + b_1 x_1 + \cdots + b_k x_k \) |
| Geometry | Line in 2D | Plane or hyperplane |
| Interpretation | Total effect of \( x \) | Partial effect, holding others constant |
| Goodness of Fit | \( R^2 \) | Adjusted \( R^2 \) |
Introducing Dummy Variables
Regression requires numerical inputs, but many business variables are categorical (region, product type, yes/no). A dummy variable converts a category into a 0 or 1.
Dummies in Action
For a variable with \( c \) categories, you need \( c - 1 \) dummy variables. The omitted category is the reference group.
How to Build the Model
Example 1: Predicting Sales
A retailer models monthly sales ($1,000s) using advertising spend ($1,000s) and store size (1,000 sq ft):
Example 2: Adding a Dummy
Now add a dummy variable for whether the store is in a mall (\( D_{\text{Mall}} = 1 \)) or standalone (\( D_{\text{Mall}} = 0 \)):
\( 8.1 + 16 + 19.6 + 9.7 = \) $53,400
\( 8.1 + 16 + 19.6 + 0 = \) $43,700
Dummy Variables Shift the Line
Adjusted \( R^2 \): Model Quality
Common Mistakes
Key Concepts at a Glance
| Concept | What It Means | Watch Out For |
|---|---|---|
| Partial Slope \( b_i \) | Effect of \( x_i \) on \( \hat{y} \), others held constant | Must say "holding constant" |
| Intercept \( b_0 \) | Predicted \( y \) when all \( x_i = 0 \) | Often not meaningful |
| Dummy Variable | Encodes a category as 0 or 1 | Use \( c-1 \) dummies |
| Adjusted \( R^2 \) | Model quality, penalizes extra vars | Prefer over plain \( R^2 \) |
| Multicollinearity | Predictors correlated with each other | Inflates std. errors |
Question 1 of 5
In the model \( \hat{y} = 3 + 2x_1 + 5x_2 \), what does the coefficient 5 on \( x_2 \) tell us?
Question 2 of 5
A categorical variable "Season" has 4 levels: Spring, Summer, Fall, Winter. How many dummy variables should you include in your regression?
Question 3 of 5
A model predicts salary: \( \hat{S} = 30 + 2.5 \cdot \text{Exp} + 12 \cdot D_{\text{MBA}} \), where \( D_{\text{MBA}} = 1 \) if the employee has an MBA. What is the predicted salary for someone with 8 years experience and an MBA?
Question 4 of 5
You add a new predictor to a model and Adjusted \( R^2 \) decreases. What does this most likely indicate?
Question 5 of 5
In a multiple regression model, multicollinearity refers to: