Professional Documents
Culture Documents
MAS202 ch14
MAS202 ch14
MAS202 ch14
Introduction to Multiple
Regression
Yi β 0 β1 X1i β 2 X 2i β k X ki ε i
Where:
β0 = Y intercept
β1 = slope of Y with variable X 1, holding X2, X3, X4, . . . , Xk constant
β2 = slope of Y with variable X 2, holding X1, X3, X4, . . . , Xk constant
β3 = slope of Y with variable X 3, holding X1, X2, X4,. . . , Xk constant
.
.
βk = slope of Y with variable X k, holding X1, X2, X3,. . . , Xk-1 constant
εi = random error in Y for observation i
A L WAY S L E A R N I N G Copyright © 2020 Pearson Education Ltd. Slide 3
Multiple Regression Model With
2 Independent Variables
DCOVA
Yi β 0 β1X1i β 2 X 2i ε i
Where:
β0 = Y intercept
β1 = slope of Y with variable X1, holding X2 constant
β2 = slope of Y with variable X2, holding X1 constant
εi = random error in Y for observation i
ˆ b b X b X b X
Yi 0 1 1i 2 2i k ki
In this chapter we will use Excel, JMP, and Minitab to obtain
the regression slope coefficients and other regression
summary measures.
A L WAY S L E A R N I N G Copyright © 2020 Pearson Education Ltd. Slide 5
Multiple Regression Equation With
Two Independent Variables
DCOVA
Two variable model
Y
Ŷ b0 b1X1 b 2 X 2
X1
e
abl
ari
r v
fo X2
ope
S l
f or v ariable X 2
Slope
X1
A L WAY S L E A R N I N G Copyright © 2020 Pearson Education Ltd. Slide 6
Example:
2 Independent Variables
DCOVA
A distributor of frozen dessert pies wants to
evaluate factors thought to influence demand.
Dependent variable: Pie sales (units per week)
Independent variables: Price (in $)
Advertising ($100’s)
R Square 0.52148
Adjusted R Square 0.44172
Standard Error 47.46341 Sales 306.526 - 24.975(Pri ce) 74.131(Advertising)
Observations 15
ANOVA df SS MS F Significance F
Regression 2 29460.027 14730.013 6.53861 0.01201
Residual 12 27033.306 2252.776
Total 14 56493.333
Analysis of Variance
Source DF SS MS F P
Regression 2 29460 14730 6.54 0.012
Residual Error 12 27033 2253
Total 14 56493
Input values
<
Predicted Y value
Confidence interval for the
mean value of Y, given
these X values.
New
Obs Fit SE Fit 95% CI 95% PI
1 428.6 17.2 (391.1, 466.1) (318.6, 538.6)
New
Obs Price Advertising
1 5.50 3.50
Analysis of Variance
Source DF SS MS F P
Regression 2 29460 14730 6.54 0.012
Residual Error 12 27033 2253
Total 14 56493
models.
What is the net effect of adding a new variable?
We lose a degree of freedom when a new X
variable is added.
Did the new X variable add enough
DCOVA
F Test for Overall Significance of the Model.
Shows if there is a linear relationship between all
of the X variables considered together and Y.
Use F-test statistic.
Hypotheses:
H0: β1 = β2 = … = βk = 0 (no linear relationship)
H1: at least one βi ≠ 0 (at least one independent
variable affects Y)
SSR
MSR k
FSTAT
MSE SSE
n k 1