01 / 22

Multiple
Regression

Learn how to model outcomes using two or more predictor variables, interpret coefficients, and evaluate model fit with \( R^2 \).

Business Statistics

What Is Regression?

Regression is a statistical method that models the relationship between a dependent variable (what you want to predict) and one or more independent variables (predictors). It finds the "best-fit" equation that minimizes prediction errors.

Dependent Variable
The outcome you predict, often called \( Y \). Example: company revenue.
Independent Variables
The predictors, called \( X_1, X_2, \ldots \). Example: ad spend, number of employees.

From Simple to Multiple

Simple linear regression uses one predictor: \( \hat{Y} = b_0 + b_1 X_1 \). Multiple regression extends this by adding more predictors, letting us capture the combined effect of several factors at once.

Why Businesses Use It

Forecasting
Predict future sales, demand, or costs using historical data and multiple drivers.
Optimization
Determine which marketing channels yield the highest ROI by comparing coefficients.
Control
Isolate the effect of one variable (e.g., price) while holding others constant.

The Model Equation

1
\( \hat{Y} \): the predicted value of the dependent variable.
2
\( b_0 \): the intercept: predicted \( Y \) when all \( X \)'s equal zero.
3
\( b_1, b_2, \ldots, b_k \): partial regression coefficients: the change in \( \hat{Y} \) for a one-unit increase in \( X_i \), holding all other variables constant.
4
\( k \): the number of independent variables in the model.

Visualizing the Model Structure

\( X_1 \)
\( X_2 \)
\( X_3 \)
Multiple Regression OLS Estimation
\( \hat{Y} \)
\( b_1 \)
\( b_2 \)
\( b_3 \)

Interpreting Coefficients

Each coefficient \( b_i \) tells you: "For every one-unit increase in \( X_i \), \( \hat{Y} \) changes by \( b_i \) units, holding all other variables constant."

\( R^2 \) and Adjusted \( R^2 \)

\( R^2 \)
The proportion of variance in \( Y \) explained by the model. Ranges from 0 to 1. Higher is better.
Adjusted \( R^2 \)
Penalizes for adding predictors that don't improve the model. Use this to compare models with different numbers of variables.

Where \( n \) = sample size and \( k \) = number of predictors. Adding a weak predictor can decrease Adjusted \( R^2 \) even if \( R^2 \) itself goes up.

\( R^2 \) vs Adjusted \( R^2 \)

Feature \( R^2 \) Adjusted \( R^2 \)
Range 0 to 1 Can be < 0 (rare)
Adding a variable Never decreases May decrease
Penalizes complexity? No Yes
Best use Single-model summary Comparing models
Formula adjusts for Nothing extra \( n \) and \( k \)

Key Assumptions

1
Linearity: the relationship between each \( X_i \) and \( Y \) is linear.
2
Independence: residuals are independent of each other (no autocorrelation).
3
Homoscedasticity: constant variance of residuals across all levels of \( X \).
4
Normality: residuals are approximately normally distributed.
5
No multicollinearity: predictors should not be highly correlated with each other.

How to Build a Model

1
Define your question. What outcome \( Y \) are you predicting? Which \( X \) variables might matter?
2
Collect and clean data. Ensure you have enough observations and handle missing values.
3
Run the regression. Use software (Excel, Python, R) to estimate \( b_0, b_1, \ldots, b_k \).
4
Check assumptions. Plot residuals, check VIF for multicollinearity, test normality.
5
Interpret and report. State each coefficient's meaning, report \( R^2_{\text{adj}} \), and check p-values for significance.

Example 1: Predicting Sales

A company models monthly sales (\( Y \), in $1,000s) using Ad Spend (\( X_1 \), in $1,000s) and Staff Size (\( X_2 \)). The regression output gives:

\( b_0 = 12.4 \)
Baseline sales of $12,400 when ad spend and staff size are both zero.
\( b_1 = 3.2 \)
Each extra $1,000 in ad spend adds $3,200 in sales, holding staff constant.
\( b_2 = 1.8 \)
Each additional staff member adds $1,800 in sales, holding ad spend constant.

Example 1: Making a Prediction

Using the model \( \hat{Y} = 12.4 + 3.2\,X_1 + 1.8\,X_2 \), predict sales when Ad Spend = $5,000 and Staff = 10.

1
Plug in values: \( \hat{Y} = 12.4 + 3.2(5) + 1.8(10) \)
2
Compute each term: \( 12.4 + 16.0 + 18.0 \)
3
Result: \( \hat{Y} = 46.4 \), meaning predicted sales of $46,400.

Example 2: Evaluating Fit

A different analyst builds a model with \( k = 4 \) predictors and \( n = 50 \) observations. The output shows \( R^2 = 0.82 \) and \( R^2_{\text{adj}} = 0.80 \). Then they add a fifth predictor and get \( R^2 = 0.823 \) but \( R^2_{\text{adj}} = 0.795 \).

Metric 4 Predictors 5 Predictors
\( R^2 \) 0.820 0.823 ↑
\( R^2_{\text{adj}} \) 0.800 0.795 ↓

Example 3: Reading Output

Fitted Values (\( \hat{Y} \))
Residuals 0 Residual Plot: Random Scatter = Good Fit

Common Mistakes

✕ Confusing Correlation with Causation
A significant coefficient does not prove that \( X \) causes \( Y \). Regression shows association, not causation.
✕ Ignoring Multicollinearity
When predictors are highly correlated, coefficients become unstable and hard to interpret. Check \( \text{VIF} \) values.
✕ Using \( R^2 \) to Compare Different-Sized Models
\( R^2 \) always increases with more predictors. Use Adjusted \( R^2 \) for fair comparison.

Summary of Key Concepts

Concept Symbol Meaning
Intercept \( b_0 \) Predicted \( Y \) when all \(X_i = 0\)
Slope coefficient \( b_i \) Change in \( \hat{Y} \) per unit of \( X_i \)
Coefficient of determination \( R^2 \) % of variance explained
Adjusted \( R^2 \) \( R^2_{\text{adj}} \) \( R^2 \) penalized for # of predictors
p-value \( p \) Significance of each predictor
Variance Inflation Factor \( \text{VIF} \) Detects multicollinearity (\( \text{VIF} > 10 \) = concern)

Question 1 of 5

In the model \( \hat{Y} = 5 + 2X_1 + 4X_2 \), what does the coefficient \( b_2 = 4 \) mean?

Question 2 of 5

An analyst adds a third predictor to a model. \( R^2 \) increases from 0.78 to 0.782, but Adjusted \( R^2 \) drops from 0.76 to 0.755. What should the analyst do?

Question 3 of 5

Given the model \( \hat{Y} = 10 + 3X_1 - 2X_2 \), what is the predicted \( \hat{Y} \) when \( X_1 = 4 \) and \( X_2 = 3 \)?

Question 4 of 5

Which assumption of multiple regression is violated when the residual plot shows a funnel shape (residuals spread out as fitted values increase)?

Question 5 of 5

A model has a \( \text{VIF} \) of \( 12 \) for predictor \( X_3 \). What does this indicate?