Linear Regression
Linear Regression
Residuals
Adjusted R 0.521964 1000
Standard E 1327.898 0
-1000400 500 6
Observatio 19 -2000
-3000
ANOVA
df SS MS F Significance F
Regression 2 38182912 19091456 10.82704 0.001063
Residual 16 28213001 1763313
Total 18 66395914
Coefficients
Standard Error t Stat P-value Lower 95%Upper 95%Lower 95.0%
Upper 95.0%
Intercept 36089.4 1843.304 19.57864 1.328E-12 32181.77 39997.03 32181.77 39997.03
B Model 5.618068 1.487417 3.777063 0.001651 2.464885 8.771251 2.464885 8.771251
C Model 4.344817 1.579501 2.750753 0.014212 0.996424 7.69321 0.996424 7.69321
B Mo
RESIDUAL OUTPUT 50000
45000
Observation
Predicted CostResiduals
Standard Residuals
Cost
1 43160.76 1268.237 1.013006 40000
2 43066.27 869.7345 0.694702 35000
3 43658.36 805.6449 0.64351 400 600
4 43174.96 -1641.965 -1.311522
5 45292.28 1050.72 0.839264
6 45279.44 -357.4436 -0.285509
7 42851.03 351.9672 0.281134
8 43749.7 -749.7006 -0.598824
9 43198.7 -2231.697 -1.782571
10 47252.69 1329.315 1.061792
11 46404.12 -1401.121 -1.119147
12 43282.47 1020.53 0.81515
13 43390.32 -1320.315 -1.054604
14 45138.9 -785.8997 -0.627738
15 44640.78 1327.218 1.060117
16 47180.41 600.588 0.479721
17 44031.29 -829.2878 -0.662395
18 45373.76 -1299.757 -1.038183
19 42616.77 1993.232 1.592097
B Model Residual Plot
3000
2000
Residuals
1000
0 C Model Residual Plot
-1000400 500 600 700 800 900 1000 1100 1200 1300
3000
-2000
-3000 2000
1000
Residuals
B Model
0
-1000500 600 700 800 900 1000 1100 1200 1300 1400
-2000
-3000
C Model
Model
Fit Plot
Cost
Predicted Cost
00 1400
A Model B Model C Model
Month Cost
No of cars No of cars No of cars
B Model
18 44074 1009 607 1352 No of cars 5.618068 1.487417 3.777063
C Model
19 44610 786 513 839 No of cars 4.344817 1.579501 2.750753
20 44928.67 1200 800 1000
RESIDUAL OUTPUT
Predict Monthly Cost
1200 A Model Observation
Predicted CostResiduals
Standard Residuals
800 B Model 1 43160.76 1268.237 1.013006
1000 C Model 2 43066.27 869.7345 0.694702
3 43658.36 805.6449 0.64351
4 43174.96 -1641.965 -1.311522
5 45292.28 1050.72 0.839264
6 45279.44 -357.4436 -0.285509
7 42851.03 351.9672 0.281134
8 43749.7 -749.7006 -0.598824
9 43198.7 -2231.697 -1.782571
10 47252.69 1329.315 1.061792
11 46404.12 -1401.121 -1.119147
12 43282.47 1020.53 0.81515
13 43390.32 -1320.315 -1.054604
14 45138.9 -785.8997 -0.627738
15 44640.78 1327.218 1.060117
16 47180.41 600.588 0.479721
17 44031.29 -829.2878 -0.662395
18 45373.76 -1299.757 -1.038183
19 42616.77 1993.232 1.592097
B Model
No of cars Residual Plot
C Model
5000
No of cars Residual Plo
Residuals
0 B Model
5000600 700 800 900 1000 1100 1200 130
400 500
No of cars Line F
Residuals
-5000
0
B Model
CM
50000
-5000
500 600 700 800
No of cars
40000 No of cars
900 1000 1100 120
Cost
30000 C Model
50000
600 of800
No
400 40000 cars 1000 1200
F Significance F
Cost
B Model
30000
10.82704 0.001063 No400
of cars
600 800
C Mode
C Model No of ca
P-value
No ofUpper
Lower 95%Upper 95%Lower 95.0%
cars Line Fit Plot
95.0%
0.00 32181.77 39997.03 32181.77 39997.03
48000
44000
0.001651 2.464885 8.771251 Cost
400002.464885 8.771251
Cost
36000
0.014212 0.996424 0 0
7.69321 0.996424 0 00 00 00 00 00 00 00
50 60 70 7.69321
8 9 10 11 12 13 14
C Model
No of cars
ndard Residuals
odel
Residual Plot
C Model
cars Residual Plot
B Model
No of cars Line Fit Plot
800 900 1000 1100 1200 1300
B000
Model
C Model
700 800
o of cars
000 No of cars
900 1000 1100
Line FitCost Plot
1200 1300 1400
Predicted Cost
000 C Model
50000
600 of800
No
400 40000 cars 1000 1200 1400 Cost
Cost
Predicted Cost
B Model
30000
No400
of cars
600 800 1000 1200 1400
C Model
No of cars
Age x Weight y x-x bar y - y bar (x-xbar) (y-ybar) (x-x bar) squared
5 8 -1 -1.6 1.6 1
6 8 0 -1.6 0 0
8 12 2 2.4 4.8 4
5 9 -1 -0.6 0.6 1
6 11 0 1.4 0 0
30 48 7 6
x bar 6
y bar 9.6
SUMMARY OUTPUT
Regression Statistics
Multiple R
R Square
Adjusted R
Standard E
Observatio
Slope 1.16666666666667
(n*Summation(xy) - Summa(x)Summ(y) ANOVA
n*Summa(x^2) -( Summa(x))^2
Regression
Intercept Residual
(Ey-b1(Ex))/n 2.6 Total
Coefficients
Intercept
Prediction 10.7666666666667 Age x
SUMMARY OUTPUT
Regression Statistics
0.786567
0.618687
0.491582
1.295291
5
df SS MS F Significance F
1 8.166667 8.166667 4.86755 0.114501
3 5.033333 1.677778
4 13.2
Coefficients
Standard Error t Stat P-value Lower 95%Upper 95%Lower 95.0%
Upper 95.0%
2.6 3.225248 0.80614 0.479141 -7.664177 12.86418 -7.664177 12.86418
1.166667 0.5288 2.206252 0.114501 -0.516212 2.849545 -0.516212 2.849545
x y xy x2 x-x bar y-ybar x-xbar*y-y xx-xbar square
1 2 2 1 -2 -2 4 4
2 4 8 4 -1 0 0 1
3 5 15 9 0 1 0 0
4 4 16 16 1 0 0 1
5 5 25 25 2 1 2 4
15 20 66 55 0 0 6 10
X bar 3
Y bar 4
0.6