M303 Simple and Multiple Regression II

FALL 2026 · LECTURE 19
M303
Simple & Multiple Regression II
Estimate the model, interpret the output, and turn it into a decision.

Where we are

01Problem formulation

Management problem → research objectives → questions → hypotheses

02Research design

Exploratory · descriptive · causal

03Data collection

Secondary · observation · qualitative · survey · experiment · sampling

04Data analysis & recommendation

Correlation → simple regression → multiple regression

Learning Objectives

01Estimate

A simple regression with the course Web Tools.

02Interpret

R², overall model significance, coefficients, and coefficient p-values.

03Predict

Outcomes with an estimated regression equation.

04Extend

From one predictor to multiple predictors.

05Code

Categorical predictors with M − 1 dummy variables.

Previous class review

01

Correlation distinguishes a dependent variable from an independent variable.

FALSE
02

r = −0.86 indicates a strong negative linear association.

TRUE
03

Simple regression predicts one continuous Y from one X.

TRUE
04

In Y = a + bX, b is the predicted value of Y when X = 0.

FALSE

Best Buy regression data

Month
Ad spending
Traffic
Month
Ad spending
Traffic
140,0009,00011480,000100,000 275,00012,50012500,000117,000 3100,00032,00013520,000120,000 4110,00020,00014550,000150,000 5190,00060,00015560,000100,000 6200,00045,00016580,00090,000 7300,00040,00017690,00070,000 8310,00070,00018700,000100,000 9380,00080,00019710,000130,000 10410,00081,00020800,000135,000

Estimate simple regression with Web Tools

OPENM303 Web ToolsRegression
01

Load the Best Buy data.

02

Select StoreTraffic as Y.

03

Select AdSpending as X.

04

Run the model and inspect all three output sections.

Data file · BestBuy – Ad Spending versus Store Traffic.xlsx

Interpret simple regression output

TABLE 1Model fit

R² = 0.744

74.4% of variation in store traffic is explained by advertising spending.
TABLE 2Overall model

Significance F = 9.97 × 10⁻⁷

Below 0.05 → the regression model is statistically significant.
TABLE 3Coefficients

a = 14,864
b = 0.154

The slope p-value is 9.97 × 10⁻⁷; the slope is significant.
Store traffic = 14,864 + 0.154 × Ad spending

Simple regression output: full source table

Regression statistic
Value
Multiple R0.862589337R Square0.744060365Adjusted R Square0.729841496Standard Error21840.38324Observations20
Source
df
SS
MS
F / Significance F
Regression12.5E+102.5E+1052.33 / 9.97E−07 Residual188.59E+094.77E+08— Total193.35E+10——
Term
Coefficient
SE
t
p
Intercept14,86410,0101.480.15 Ad spending0.1540.0217.239.97E−07

Interpret the equation

Store traffic = 14,864 + 0.154 × Ad spending
a · INTERCEPT

If advertising spending is $0, predicted store traffic is 14,864.

b · SLOPE

Each additional $1 of advertising predicts 0.154 additional store visits.

What if ad spending is $100,000?

14,864 + 0.154(100,000) = 30,264

What if ad spending is $500,000?

14,864 + 0.154(500,000) = 91,864

Correlation vs. regression

Correlation
Regression
Variable roles
No distinction between dependent and independent variables
Explicit dependent variable Y and independent variable(s) X
Result
One number summarizes direction and strength
A mathematical function links the variables
Prediction
Describes association; does not itself provide a prediction equation
Generates predictions for Y from specified X values

In-class exercise: simple regression

KROGER · SOFT-DRINK DEMAND

How does weekly Coke demand respond to its price?

SalesCoke = a + b × PriceCoke
WeeklySoftDrinkSales.xlsx
01

Estimate a and b.

02

Predict demand when Coke costs $2.

03

With a $1 wholesale cost, test prices from $1.50 to $2.50 in $0.10 steps and identify the profit-maximizing price.

04

Repeat the exercise for Pepsi.

One predictor is not always enough

ONE VARIABLE
ContinuousOne-sample t-test
TWO VARIABLES
Both continuousPaired t-test to compare meansCorrelation to measure association
Continuous DV + categorical IVIndependent-samples t-test · ANOVA
Continuous DV + continuous IVSimple regression
Both categoricalChi-square
THREE+ VARIABLES
Continuous DV + categorical and/or continuous IVsMultiple regression after dummy coding categorical IVs

What is multiple regression?

Multiple linear regression predicts one continuous dependent variable Y from multiple independent variables X₁, X₂, …, Xₖ.

Y = a + b₁X₁ + b₂X₂ + … + bₖXₖ
Continuous predictorsand/orCategorical predictors after dummy coding

Motivating example: competing prices

THE SIMPLE MODELSalesCoke = a + b × PriceCoke

What important information is missing?

COMPETITION

Coke demand should depend on both Coke’s own price and Pepsi’s price.

SalesCoke = a + b₁PriceCoke + b₂PricePepsi

Estimate multiple regression with Web Tools

OPENM303 Web ToolsMultiple regression
01

Load WeeklySoftDrinkSales.xlsx.

02

Select Sales_Coke as Y.

03

Select Price_Coke and Price_Pepsi as X variables.

04

Run the model and read fit, significance, and coefficients.

Weekly soft-drink source rows

Week
Coke price
Pepsi price
Coke sales
11.881.8923121.911.8616631.831.9424741.831.9531251.981.82144 61.851.9535571.961.8925381.921.9229491.891.93273101.871.86279

Interpret multiple regression output

MODEL FITR² = 0.295

29.5% of Coke-sales variation is explained.

Adjusted R² = 0.291 · n = 416
OVERALL MODELF = 86.36

Significance F = 4.64 × 10⁻³²

Below 0.05 → significant.
COEFFICIENTS672.17

−414.14 · Coke price
+188.59 · Pepsi price

Both slope p-values are below 0.05.
Coke sales = 672.17 − 414.14(Coke price) + 188.59(Pepsi price)

Multiple regression output: full source table

Regression statistic
Value
Multiple R0.543R Square0.295Adjusted R Square0.291Standard Error37.155Observations416
Source
df
SS
MS
F / Significance F
Regression223843511921886.36 / 4.64E−32 Residual4135701511381— Total415808586——
Term
Coefficient
SE
t
p
Intercept672.17145.174.634.9E−06 Price_Coke−414.1445.06−9.191.93E−18 Price_Pepsi188.5944.534.242.81E−05

Interpret the multiple regression equation

Coke sales = 672.17 − 414.14(Coke price) + 188.59(Pepsi price)
INTERCEPT

If both prices were $0, predicted Coke sales would be 672.17 units.

OWN PRICE

A $1 increase in Coke’s price predicts 414.14 fewer units, holding Pepsi’s price fixed.

CROSS PRICE

A $1 increase in Pepsi’s price predicts 188.59 more Coke units, holding Coke’s price fixed.

Predicted Coke sales if both prices equal $2?
672.17 − 414.14(2) + 188.59(2) = 221.07 units

To sum up

01

Read regression output in order: fit → overall significance → coefficients → prediction.

02

Simple regression uses one predictor; multiple regression uses X₁ … Xₖ.

03

Interpret each slope while holding the other predictors fixed.

04

A fitted equation turns estimated relationships into explicit predictions and decision inputs.

Next class

NEXT TOPIC
Regression applications and conjoint analysis
BE READY TO
  1. Optimize a category-pricing decision with two demand equations.
  2. Dummy-code a categorical predictor.
  3. Translate part-worth utilities into attribute importance and predicted preference shares.