Correlation and Linear Regression Problems
Correlation and Linear Regression Problems
Problem 1
x
y
158
296
87
110
436
x
349
510
301
322
550
x
y
1
0.9748361981
Problem 2
Air Canada
0.75
0.76
0.84
0.85
0.86
0.86
WestJet
Air Canada
11.92
12.09
12.25
11.85
11.78
11.74
Air Canada
WestJet
1
-0.3696391619
WestJet
1
Predicted y
Predicted y
ANOVA
df
Regression
Residual
Total
Intercept
x
SS
1 6.56012862
3 46.6398714
4
53.2
CoefficientsStandard Error
16.5096463 4.78618065
0.16237942 0.24997286
MS
6.5601286174
15.5466237942
t Stat
3.4494406909
0.6495882078
F
Significance F
0.4219648397 0.56226077
P-value
Lower 95% Upper 95%
0.0409533541 1.27788336 31.7414092
0.5622607735 -0.63314578 0.95790462
x Residual Plot
RESIDUAL OUTPUT
Observation
1
2
3
4
5
Predicted y
18.4581994
19.9196141
21.0562701
17.8086817
19.7572347
Problem 4
Advertising Sales ($
($ millions) millions)
12.5
3.7
21.6
60
37.6
6.1
Residuals
-1.45819936
-4.91961415
0.9437299
1.19131833
4.24276527
SUMMARY OUTPUT
10
15
20
25
148
55
Regression Statistics
338 Multiple R
0.9476625581
994 R Square
0.898064324
541 Adjusted R Sq 0.8810750446
89 Standard Erro 108.7575266741
Sales ($ millions)
16.8
41.2
126 Observations
379
Sales ($ millions)
ANOVA
df
Regression
Residual
Total
SS
MS
1 625246.302 625246.3023504
6 70969.1976 11828.19960827
7
696215.5
CoefficientsStandard Error
t Stat
Intercept
-46.2918055 64.8909605 -0.7133783369
Advertising ($ 15.2397716 2.09610105
7.2705328924
F
Significance F
52.8606485397 0.00034449
P-value
Lower 95% Upper 95%
0.5024023749 -205.074266 112.490655
0.0003444865 10.1107971 20.3687462
RESIDUAL OUTPUT
Observation
Predicted Sales ($ millions)
Residuals
1 144.20534 3.79465988
2 10.0953496 44.9046504
3 282.887262 55.1127379
4 868.094493 125.905507
5 526.723608 14.2763915
6 46.6708016 42.3291984
7 209.736358 -83.7363582
8 581.586786 -202.586786
Business
Bankrupcies Firms Births
(1,000s)
(10,000s)
SUMMARY OUTPUT
34.3
58.1
35
55.4
Regression Statistics
38.5
57 Multiple R
0.4282936114
40.1
58.5 R Square
0.1834354176
35.5
57.4 Adjusted R Sq
-0.020705728
37.9
58 Standard Erro 2.3095168108
Observations
6
ANOVA
df
Regression
Residual
Total
SS
1 4.79286174
4 21.3354716
5 26.1283333
MS
4.7928617363
5.3338678992
CoefficientsStandard Error
t Stat
Intercept
-13.5031618 53.1625912 -0.2539974359
Firms Births ( 0.8778135 0.92603187
0.9479301191
RESIDUAL OUTPUT
Predicted
Observation
Business Bankrupcies
Residuals
(1,000s)
1 37.4978028 -3.19780279
2 35.1277063 -0.12770632
3 36.5322079 1.96779207
4 37.8489282 2.25107181
5 36.8833333 -1.38333333
6 37.4100214 0.48997856
F
Significance F
0.8985715107 0.39684169
P-value
Lower 95% Upper 95%
0.8120197002 -161.106178 134.099854
0.3968416916 -1.69326316 3.44889017
ANOVA
df
Regression
Residual
Total
SS
1 43.3061321
3 19.8938679
4
63.2
MS
43.3061320755
6.6312893082
F
Significance F
6.5305749852 0.08354118
CoefficientsStandard Error
t Stat
Intercept
15.4599057 2.56600269
6.0248984605
Prime Interes -0.71462264 0.27964114 -2.5554989699
P-value
Lower 95% Upper 95%
0.0091652377 7.29373988 23.6260714
0.0835411812 -1.60456555 0.17532027
RESIDUAL OUTPUT
Observation
Predicted Bond Rate Residuals
(%)
1 4.0259434 0.9740566
2 11.1721698 0.82783019
3 9.74292453 -0.74292453
4 12.6014151 2.39858491
5 10.4575472 -3.45754717
ANOVA
df
Regression
Residual
Total
SS
1 0.08152731
6 0.06196019
7 0.1434875
MS
0.0815273053
0.0103266991
F
Significance F
7.8948078616 0.0307655
CoefficientsStandard Error
t Stat
P-value
Lower 95% Upper 95%
Intercept
2.22570587 0.08070233 27.5792008076 1.50264081E-007 2.02823437 2.42317737
Distance from 0.00025048 8.9146E-005
2.8097700727
0.0307654961 3.2347E-005 0.00046861
RESIDUAL OUTPUT
Observation
Predicted
1
2
3
4
5
6
7
8
ne Fit Plot
Predicted y
Predicted y
l Plot
20
25
30
sidual Plot
s)
sidual Plot
dual Plot
esidual Plot
esidual Plot
Number of Cost
Passengers ($1,000)
SUMMARY OUTPUT
61
4.28
63
4.08
Regression Statistics
67
4.42 Multiple R
0.9482003279
69
4.17 R Square
0.8990838619
70
4.48 Adjusted R Square
0.8889922481
74
4.3 Standard Error
0.1772174575
76
4.82 Observations
12
81
4.7
86
5.11 ANOVA
91
5.13
df
SS
95
5.64 Regression
1 2.79803139
97
5.56 Residual
10 0.31406027
Total
11 3.11209167
Coefficients Standard Error
Intercept
1.5697927768 0.33808296
Number of Passenger 0.0407015986 0.00431213
RESIDUAL OUTPUT
Observation Predicted Cost ($1,000)
Residuals
1 4.0525902901 0.22740971
2 4.1339934873 -0.05399349
3 4.2967998816 0.12320012
4 4.3782030787 -0.20820308
5 4.4189046773 0.06109532
6 4.5817110716 -0.28171107
7 4.6631142688 0.15688573
8 4.8666222617 -0.16662226
9 5.0701302546 0.03986975
10 5.2736382475 -0.14363825
11 5.4364446418 0.20355536
12
5.517847839 0.04215216
MS
F
Significance F
2.79803139 89.0921788 2.6916E-006
0.03140603
t Stat
P-value
Lower 95% Upper 95% Lower 95.0% Upper 95.0%
4.64321767 0.00091748
0.816497 2.32308856
0.816497 2.32308856
9.43886534 2.6916E-006 0.03109358 0.05030962 0.03109358 0.05030962