Chap14_Introdution to Multiple Regression_ans (1)
Chap14_Introdution to Multiple Regression_ans (1)
Chapter 14
Multiple Regression
Y β0 β1X1 β 2 X 2 βk Xk ε
yˆ i b0 b1x1i b 2 x 2i bk x ki
In this chapter we will always use a computer to obtain the
regression slope coefficients and other regression
summary measures.
Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc.
Multiple Regression Equation
(continued)
Two variable model
y
yˆ b0 b1x1 b 2 x 2
x1
e
abl
ri
r va
fo
l ope x2
S
f or v ariable x 2
Slope
x1
Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc.
Standard Multiple Regression
Assumptions
Excel:
Tools / Data Analysis... / Regression
PHStat:
PHStat / Regression / Multiple Regression…
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
Y i β 0 β 1x 1i β 2 x 2i β K x Ki ε i
i
e 2
SSE
s2e i1
n K 1 n K 1
ei y i yˆ i
where
The square root of the variance, se , is called the
standard error of the estimate
Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc.
Standard Error, se
Regression Statistics
Multiple R 0.72213
R Square 0.52148
se 47.463
Adjusted R Square 0.44172
The magnitude of this
Standard Error 47.46341
value can be compared to
Observations 15
the average y value
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
R r(yˆ , y) R 2
Is the square root of the multiple coefficient of
determination
Used as another measure of the strength of the linear
relationship between the dependent variable and the
independent variables
Comparable to the correlation between Y and X in
simple regression
Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc.
Evaluating Individual
Regression Coefficients
Test Statistic:
bj 0
t (df = n – k – 1)
Sb j
Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc.
Evaluating Individual
Regression Coefficients
(continued)
Regression Statistics
Multiple R 0.72213
t-value for Price is t = -2.306, with
R Square 0.52148
p-value .0398
Adjusted R Square 0.44172
Standard Error 47.46341 t-value for Advertising is t = 2.855,
Observations 15 with p-value .0145
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
R e je c t H 0 if F F k ,n K 1 , α
Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc.
F-Test for Overall Significance
(continued)
Regression Statistics
Multiple R 0.72213
R Square 0.52148 MSR 14730.0
F 6.5386
Adjusted R Square 0.44172
MSE 2252.8
Standard Error 47.46341
With 2 and 12 degrees P-value for
Observations 15
of freedom the F-Test
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
y i β 0 β 1 x 1 i β 2 x 2 i β K x K i ε i (i 1 ,2 , , n )
yˆ n 1 b 0 b 1 x 1 , n 1 b 2 x 2 , n 1 b K x K , n 1
It is risky to forecast for new X values outside the range of the data used
to estimate the model coefficients, because we do not have data to
support that the linear model extends beyond the observed range.
Check the
“confidence and
prediction interval
estimates” box
Input values
<
Predicted y value
<
mean y value, given
these x’s
<
individual y value, given
these x’s
Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc.
Residuals in Multiple Regression
Two variable model
y Sample
yi observation yˆ b0 b1x1 b 2 x 2
Residual =
<
ei = (yi – yi)
<
yi
x2i
x2
x1i
x1
Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc.
Dummy Variables
yˆ b0 b1x1 b 2 x 2
Let:
y = Pie Sales
x1 = Price
x2 = Holiday (X2 = 1 if a holiday occurred during the week)
(X2 = 0 if there was no holiday that week)
Different Same
intercept slope
y (sales)
If H0: β2 = 0 is
b0 + b2
Holi rejected, then
day
b0 (x2 = “Holiday” has a
No H 1)
olida significant effect
y (x
2 = 0 on pie sales
)
<
ei = (yi – yi)
Assumptions:
The errors are normally distributed
Errors have a constant variance
The model errors are independent
14.12
Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 13-46