Driving Assignment Miles Traveled Travel Time x-xbar y-ybar (x-xbar)2
(x) (y) (mean) (mean)
1 100 9.3 20 2.6 400
2 50 4.8 -30 -1.9 900
3 100 8.9 20 2.2 400
4 100 6.5 20 -0.2 400
5 50 4.2 -30 -2.5 900
6 80 6.2 0 -0.5 0
7 75 7.4 -5 0.7 25
8 65 6 -15 -0.7 225
9 90 7.6 10 0.9 100
10 90 6.1 10 -0.6 100
Mean 80 6.7 3450
Travel Time (y)
(x-xbar) (y- 10
b1 ybar) 234 0.06782609
9
(x-xbar)2 3450 8
f(x) = 0.067826086956522 x + 1.27391304347826
7
b0 1.273913 6
mean y b1 mean x 5
b1(mean x)
6.7 0.067826086957 80 4
5.42608696
3
mean y - b1(meanx)
2
1.27391304347826
1
20
0
40 50 60 70 80 90 100 110
Miles (x) Burn Fat (y) x-xbar y-ybar (x-xbar)2
(mean) (mean)
1 10 125 -4.5 -90 20.25
2 11 145 -3.5 -70 12.25
3 12 165 -2.5 -50 6.25
4 13 185 -1.5 -30 2.25
5 14 205 -0.5 -10 0.25
6 15 225 0.5 10 0.25
7 16 245 1.5 30 2.25
8 17 265 2.5 50 6.25
9 18 285 3.5 70 12.25
10 19 305 4.5 90 20.25
Mean 14.5 215 0 82.5
bi 10312.5 125 1260
82.5
bo 10
mean y mean x bi
215 14.5 125 1450
1812.5
SSE SST
(x-xbar)(y-ybar) yhat= 1.27392+0.067826(x) e=y-yhat e2 yi-ybar
52 8.05652173913044 1.243478261 1.54623818526 2.6
57 4.66521739130435 0.134782609 0.01816635161 -1.9
44 8.05652173913044 0.843478261 0.71145557656 2.2
-4 8.05652173913044 -1.556521739 2.42275992439 -0.2
75 4.66521739130435 -0.465217391 0.21642722117 -2.5
0 6.7 -0.5 0.25 -0.5
-3.5 6.36086956521739 1.039130435 1.07979206049 0.7
10.5 5.68260869565217 0.317391304 0.10073724008 -0.7
9 7.37826086956522 0.22173913 0.04916824197 0.9
-6.00000000000001 7.37826086956522 -1.27826087 1.63395085066 -0.6
234 6.7 0 8.02869565217
Travel Time (y) SSE Σ (yi-yhat)2 8.02869565217
SST Σ (yi-ybar)2 23.9
SSR Σ (yhat-ybar)2 15.8713043478
6086956522 x + 1.27391304347826
r2= SSR/SST 0.66407131162
Interpretation
For the Butler Tracking Company, we can conclude that 66.41 % of the to
sum of square can be explained by using the estimated regression equatio
yhat=1.27392+0.067826(xi) to predict the miles traveled. In other words,
66.41% of the variability in the values of travel time in our sample can be
explained by the linear relationship between the miles traveled and trave
time.
70 80 90 100 110
(x-xbar)(y-ybar) yhat= 1.27392+0.067826(x) e=y-yhat e2 yi-ybar
85.5 1260
66.5 1385
47.5 1510
28.5 1635
9.5 1760
-9.5 1885
-28.5 2010
-47.5 2135
-66.5 2260
-85.5 2385
10312.5 1822.5
0
SST SSR r2
(yi-ybar)^2 yhat-ybar (yhat-ybar)^2 SSR/SST (SSR/SST)
100
6.76 1.35652173913 1.84015122873 0.664071 66.40713
3.61 -2.0347826087 4.14034026465
4.84 1.35652173913 1.84015122873
0.04 1.35652173913 1.84015122873
6.25 -2.0347826087 4.14034026465
0.25 0 0
0.49 -0.3391304348 0.1150094518
0.49 -1.0173913043 1.03508506616 Burn Fat (y)
0.81 0.67826086957 0.46003780718
350
0.36 0.67826086957 0.46003780718
23.9 15.8713043478
300
250
200
150
66.4071311625 100
50
e can conclude that 66.41 % of the total
using the estimated regression equation 0
8 10 12 14 16 18 20
ct the miles traveled. In other words,
es of travel time in our sample can be
between the miles traveled and travel
(yi-ybar)^2 yhat-ybar (yhat-ybar)^2 SSR/SST (SSR/SST)
100
18 20
y (price) bedroom square foot bo 19,856.56
352,200 5 3,200 b1 6,985.25
4 2,200 b2 87.53
352,200 5 3,500
4 2,500
yhat = 19856.56 + 6985.25(x1) + 87.53 (x2) e =y-yhat e2
334,879 17,321 300,023,623
240,364
361,138 - 8,938 79,884,448
266,623