01 / 22

Regression
Models

Learn how to interpret regression equations, understand what parameters tell us, and apply models to real-world business data.

Business Calculus

What Is a Regression Model?

A regression model is a mathematical equation that describes the relationship between an independent variable \( x \) and a dependent variable \( y \). It allows us to predict outcomes and understand trends hidden inside raw data.

Key Vocabulary

Independent Variable
The input \( x \): what you control or observe (e.g., ad spend, time)
Dependent Variable
The output \( y \): what you measure or predict (e.g., revenue, profit)
Parameters
The constants \( a \), \( b \), \( c \) in the model that are determined by the data

From Data Points to a Best-Fit Line

Ad Spend (thousands) Revenue (thousands) Data Best Fit

The Linear Regression Model

The most fundamental regression model is the linear model:

\( a \) : Y-Intercept
The predicted value of \( y \) when \( x = 0 \). It represents the baseline or starting point.
\( b \) : Slope
The rate of change: for each 1-unit increase in \( x \), \( y \) changes by \( b \) units.

Interpreting the Slope \( b \)

\( b > 0 \) Positive trend \( b < 0 \) Negative trend +1 unit \( +b \) \( x \) \( y \)

Beyond Linear: Common Models

Quadratic
\( \hat{y} = ax^2 + bx + c \)
Models U-shaped or inverted-U trends
Exponential
\( \hat{y} = a \cdot b^x \)
Models rapid growth or decay
Logarithmic
\( \hat{y} = a + b\ln(x) \)
Models diminishing returns

Visualizing Model Shapes

Linear Quadratic Exponential \( \hat{y} = a + bx \) \( \hat{y} = ax^2 + bx + c \) \( \hat{y} = a \cdot b^x \)

Correlation vs Causation

Correlation Causation
Definition Two variables move together One variable directly causes the other
Evidence Pattern in data Controlled experiment
Regression tells us ✓ Yes ✕ Not by itself
Example Ice cream sales & drownings both rise in summer Aspirin reduces headaches

Goodness of Fit: \( R^2 \)

The coefficient of determination \( R^2 \) measures how well the model explains the variation in \( y \):

\( R^2 = 0.95 \)
The model explains 95% of the variation in \( y \). Excellent fit.
\( R^2 = 0.60 \)
Only 60% explained. Moderate fit: other factors matter.
\( R^2 = 0.15 \)
Only 15% explained. Weak fit: the model misses most variation.

How to Interpret a Model

1
Identify the variables. What does \( x \) represent? What does \( y \) represent? Include units.
2
Read the intercept \( a \). When \( x = 0 \), the model predicts \( y = a \). Does this make practical sense?
3
Read the slope \( b \). For each 1-unit increase in \( x \), the predicted change in \( y \) is \( b \).
4
Check the fit. Look at \( R^2 \) (coefficient of determination): closer to 1 means a better fit.
5
Make predictions carefully. Predict only within the domain of the original data (avoid extrapolation).

Example 1: Coffee Shop Revenue

A coffee shop tracks daily temperature \( x \) (in \(^\circ\)F) and iced coffee sales \( y \) (in dollars). The regression model is:

\( a = -120 \)
At \( 0^\circ\)F, the model predicts \(-\$120\) in sales. This intercept is not meaningful in context: no one buys iced coffee at \( 0^\circ\)F.
\( b = 4.5 \)
For each additional degree Fahrenheit, iced coffee sales increase by \( \$4.50 \).

Predicting with the Model

Using \( \hat{y} = -120 + 4.5x \), predict iced coffee sales on a \( 75^\circ \)F day:

The model predicts \( \$217.50 \) in iced coffee sales. This is within the data range, so the prediction is reasonable.

Example 2: Startup Growth

A tech startup models its monthly users \( y \) (in thousands) after \( x \) months since launch:

\( a = 2.5 \)
At launch (\( x = 0 \)), the startup had 2,500 users.
\( b = 1.15 \)
Users grow by a factor of 1.15 each month: that is a 15% monthly growth rate.

Example 3: Diminishing Returns

A company models customer satisfaction \( y \) (scale 0-100) vs training hours \( x \) for support staff:

0 30 60 90 0 5 10 15 20 Gains slow down Training Hours (x)

The first few training hours produce large gains in satisfaction, but additional hours yield diminishing improvements: the hallmark of a logarithmic model.

Common Mistakes

✕ Extrapolating Wildly
Using the model far outside the data range. A linear model for sales from \( x = 1 \) to \( x = 10 \) does not reliably predict \( x = 100 \).
✕ Confusing Correlation with Causation
A strong \( R^2 \) does not prove that \( x \) causes \( y \). There may be lurking variables.
✕ Ignoring Units
Stating "the slope is 4.5" without context. Always say: "sales increase by \( \$4.50 \) per degree."

Model Comparison Summary

Model Equation Shape Best For
Linear \( \hat{y} = a + bx \) Straight line Constant rate of change
Quadratic \( \hat{y} = ax^2 + bx + c \) Parabola Max/min problems
Exponential \( \hat{y} = a \cdot b^x \) J-curve Growth or decay
Logarithmic \( \hat{y} = a + b\ln(x) \) Flattening curve Diminishing returns

Question 1 of 5

A regression model is \( \hat{y} = 200 + 15x \), where \( x \) is the number of employees and \( y \) is weekly output in units. What does the slope of 15 mean?

Question 2 of 5

A startup's user base is modeled by \( \hat{y} = 5 \cdot 1.20^x \) (thousands), where \( x \) is months since launch. What is the monthly growth rate?

Question 3 of 5

A model has \( R^2 = 0.89 \). Which interpretation is correct?

Question 4 of 5

Given \( \hat{y} = 50 + 12\ln(x) \), what is the predicted value of \( y \) when \( x = 1 \)?

Question 5 of 5

Sales data collected for prices between \( \$10 \) and \( \$50 \) yields the model \( \hat{y} = 800 - 12x \). A manager uses it to predict sales at \( x = \$200 \). This is an example of: