CH 12-2
CH 12-2
Recall:
y is the dependent variable
x1 is the outside temperature
x2 is inches of insulation
x3 is the age of the furnace
yො is the estimated value of y
ANOVA Table
An ANOVA table summarizes the multiple regression
analysis
It reports the total amount of the variation divided in two
components
The regression, the variation in all the independent
variables
The residual or error, the unexplained variation of y
It reports the degrees of freedom of the independent
variables, the error variation, and the total variation
ത 2
SST = σ(𝑦 − 𝑦)
ത 2
SSR = σ(𝑦ො − 𝑦)
ො 2
SSE = σ(𝑦 − 𝑦)
cf. ANOVA
Measures of Effectiveness
There are two measures of effectiveness of the regression
equation
The multiple standard error of the estimate is similar to
the standard deviation
It is based on squared deviations between the observed
and predicted values of the dependent variable
It ranges from 0 to plus infinity
It is calculated from the following equation
ANOVA Table
sY .123...k =
å(y - ŷ) 2
=
SSE
=
41695.277
= 2605.955 = 51.049
n - (k +1) n - (k +1) 16
Measures of Effectiveness
COEFFICIENT OF MULTIPLE DETERMINATION The percent of variation in the
dependent variable, y, explained by the set of independent variables, x1, x2, x3, …xk.
R2 =
SSR
=
171,220.473
= .804 80.4% of the variation is explained by
SS total 212,915.750 the 3 independent variables.
Measures of Effectiveness
When the number of independent variables is large, we
adjust the coefficient of determination for the degrees of
freedom as follows
For insulation
b −0 −14.831−0
H0: β2 = 0 t = s2 = = − 3.119
H1: β2 ≠ 0 b2 4.754
For temperature
H0: β1 = 0 b −0 −5.150−0
t = s1 = 0.702 = − 7.337
H1: β1 ≠ 0 b1
For insulation
H0: β2 = 0
b −0 −14.718−0
t = s2 =
H1: β2 ≠ 0 b2 4.934 = − 2.983
1 1
VIF = 1−𝑅2 = = 1.32
1
1−.241
1 1
VIF = 1−𝑅2 = = 1.011
2
1−.011
1 1
VIF = 1−𝑅2 = 1−.236
= 1.310
3
Example
Suppose we are interested in estimating an executive’s salary on the basis
of years of experience and whether he or she graduated college, graduation
will be a yes or no
Dummy Variable Example
Suppose in the Salsberry Realty example that the independent variable garage is added.
For homes without a garage, 0 is used; for homes with an attached garage, 1 is used.
Garage will be variable x4. What is the effect of the garage variable?
Dummy Variable Example Continued
Suppose we have two houses exactly alike in Buffalo, New York. One has an attached
garage (1) and the other does not (0). Both have 3 inches of insulation and the
temperature is 20 degrees.