Chapter 3 MLR
Chapter 3 MLR
Estimated Multiple
Regression Equation
b 0, b 1, b2, . . . , bp
provide estimates of yˆ b0 b1 x1 b2 x2 ... bp x p
0 , 1, 2, . . . , p Sample statistics are
b0, b1, b2, . . . , bp
Least Squares Method
• In Chapter 2, we used the least squares
method to develop the estimated regression
equation that best approximated the straight-
line relationship between the dependent and
independent variables.
• This same approach is used to develop the
estimated multiple regression equation. The
least squares criterion is restated as follows.
LEAST SQUARES CRITERIO
Min ∑(yi - yˆi)2
Assumptions About the Error Term e
Hypotheses H 0 : 1 = 2 = . . . = p = 0
H1: One or more of the parameters
is not equal to zero.
where;
Test Statistics F = MSR/MSE
MSR = SSR/df
MSE = SSE/n-df
Rejection Rule Reject H0 if p-value < a or if F > Fa
where Fa is based on an F distribution
with p d.f. in the numerator and
n - p - 1 d.f. in the denominator.
Testing for Significance: t Test
H0 : i 0
Hypotheses
H a : i 0
bb ii
Test Statistics tt
ss bb ii
0
0 0.5 1 1.5 2 2.5 3 3.5 4 4.5
B. number of delivery & travel time
Travel time (Y)
8
0
0 1 2 3 4 5 6 7
C. mile travel & travel time
Travel time (Y)
8
•
7
0
0 20 40 60 80 100 120
Scatterplot Summary
• As you have observed from the scatter plot
between each IV and DV, the relationship
between gas price and the travel time (Y) is not
linear and no correlation exists.
• Gas price is then not used as an explanatory
variable in the regression model.
• How ever, the relationship between number of
delivery and travel time and mile travelled and
time of delivery are linearly related. These two
IV are highly correlated with DV.
Step4
Scatter plot between explanatory
variables (X1 & X2)
Number of delivery (x2)
7
0
0 20 40 60 80 100 120
Between X1 & X3
4.5
4
3.5
3
2.5
2
1.5
Between X2 & X3
1
0.5
0
0 20 40 60 80 100 120
Summary
Regression Statistics
Multiple R 0.926577448
R Square 0.858545767
Adjusted R Square 0.840863988
Standard Error 0.345959481 table 3
Observations 10
ANOVA
Significance
df SS MS F F
Regression 1 5.811496299 5.811496 48.55539 0.000116
Residual 8 0.957503701 0.119688
Total 9 6.769
Regression Statistics
Multiple R 0.913347
R Square 0.834202
Adjusted R Square 0.810517
Standard Error 0.387987
Observations 9
ANOVA
df SS MS F Significance F
5.30181
Regression 1 5.301818 8 35.22009 0.000579
0.15053
Residual 7 1.053737 4
Total 8 6.355556
ANOVA
df SS MS F Significance F
Regression 1 0.229603825 0.229604 0.262364 0.62426159
Residual 7 6.125951731 0.875136
Total 8 6.355555556