QAM Chapter04 Regression Models
QAM Chapter04 Regression Models
QAM Chapter04 Regression Models
Regression
Models
To accompany
Quantitative Analysis for Management, Twelfth Edition,
by Render, Stair, Hanna and Hale
Power Point slides created by Jeff Heyl Copyright ©2015 Pearson Education, Inc.
LEARNING OBJECTIVES
After completing this chapter, students will be able to:
12 –
10 –
Sales ($100,000)
8–
6–
4–
2–
| | | | | | | | |
00– 1 2 3 4 5 6 7 8
Payroll ($100 million)
where
Y = dependent variable (response)
X = independent variable (predictor or explanatory)
0 = intercept (value of Y when X = 0)
1 = slope of the regression line
e = random error
where
^
Y = predicted value of Y
b0 = estimate of β0, based on sample results
b1 = estimate of β1, based on sample results
Y X (X – X)2 (X – X)(Y – Y)
6 3 (3 – 4)2 = 1 (3 – 4)(6 – 7) = 1
8 4 (4 – 4)2 = 0 (4 – 4)(8 – 7) = 0
9 6 (6 – 4)2 = 4 (6 – 4)(9 – 7) = 4
5 4 (4 – 4)2 = 0 (4 – 4)(5 – 7) = 0
4.5 2 (2 – 4)2 = 4 (2 – 4)(4.5 – 7) = 5
9.5 5 (5 – 4)2 = 1 (5 – 4)(9.5 – 7) = 2.5
ΣY = 42 ΣX = 24 Σ(X – X)2 = 10 Σ(X – X)(Y – Y) = 12.5
Y = 42/6 = 7 X = 24/6 = 4
Therefore
sales = 2 + 1.25(payroll)
Therefore
• An important relationship
^ ^ ^
Y X (Y – Y)2 Y (Y – Y)2 (Y – Y)2
3 (6 – 7)2 = 1 2 + 1.25(3) = 5.75 0.0625 1.563
6
• An important relationship
12 –
10 –
Sales ($100,000)
8–
6–
4–
2–
| | | | | | | | |
00– 1 2 3 4 5 6 7 8
Payroll ($100 million)
where
n = number of observations in the sample
k = number of independent variables
where
k= number of independent variables in the
model
• The F statistic is
Step 3
– Calculate the value of the test
statistic
F0.05,1,4 = 7.71
Fcalculated = 9.09
Reject H0 because 9.09 > 7.71
Copyright ©2015 Pearson Education, Inc. 4 – 40
Triple A Construction
FIGURE 4.5 – We can conclude there is a
statistically significant
relationship between X and Y
– The r2 value of 0.69 means
about 69% of the variability in
sales (Y) is explained by
local payroll (X)
0.05
F = 7.71 9.09
DF SS MS F SIGNIFICANCE
Regression k SSR MSR = SSR/k MSR/MSE P(F > MSR/MSE)
Where
= predicted value of Y
b0 = sample intercept (an estimate of 0)
bi = sample coefficient of the ith variable (an
estimate of i)
where
= predicted value of dependent variable
(selling price)
b0 = Y intercept
X1 and X2 = value of the two independent
variables (square footage and age) respectively
b1 and b2 = slopes for X1 and X2 respectively
– Selects a sample of houses that have sold
recently and records the data
Copyright ©2015 Pearson Education, Inc. 4 – 56
Jenny Wilson Real Estate Data
TABLE 4.5
SELLING SQUARE
PRICE ($) FOOTAGE AGE CONDITION
1,926 30 Good
95,000
2,069 40 Excellent
119,000
1,720 30 Excellent
124,800
1,396 15 Good
135,000
1,706 32 Mint
142,000
1,847 38 Mint
145,000
1,950 27 Mint
159,000
2,323 30 Excellent
165,000
2,285 26 Mint
182,000
Copyright ©2015 Pearson Education, Inc. 3,752 35 Good 4 – 57
183,000
Jenny Wilson Realty
PROGRAM 4.2A – Input Screen for the Jenny Wilson Realty Multiple Regression Example
– For X1 (age)
For a = 0.05, p-value = 0.0039 null hypothesis is rejected
Copyright ©2015 Pearson Education, Inc. 4 – 62
Jenny Wilson Both
Realty
square footage
and age are helpful
in predicting the
• Full model is statistically significant
selling price
– Useful in predicting selling price
– For X1 – age
For a = 0.05, p-value = 0.0039 null hypothesis is rejected
Copyright ©2015 Pearson Education, Inc. 4 – 63
Binary or Dummy Variables
• Binary (or dummy or indicator) variables are
special variables created for qualitative data
• A dummy variable is assigned a value of 1 if a
particular condition is met and a value of 0
otherwise
• The number of dummy variables must equal
one less than the number of categories of the
qualitative variable
Coefficient of
determination,
r2 = 0.898
* * * *
*
** * * ** *
*
*** * ** *
Linear relationship Nonlinear relationship
TABLE 4.6
WEIGHT WEIGHT
MPG (1,000 LBS.) MPG (1,000 LBS.)
12 4.58 20 3.18
13 4.66 23 2.68
15 4.02 24 2.65
18 2.53 33 1.70
19 3.09 36 1.95
19 3.11 42 1.92
45 –
40 –
35 –
30 –
25 –
MPG
20 –
15 –
10 –
5–
| | | | | |
0–
1.00 2.00 3.00 4.00 5.00
Weight (1,000 lb.)
45 –
40 –
35 –
30 –
25 –
MPG
20 –
15 –
10 –
5–
| | | | | |
0–
1.00 2.00 3.00 4.00 5.00
Weight (1,000 lb.)
• New model