0% found this document useful (0 votes)
39 views

Correlation and Linear Regression Problems

Uploaded by

api-327991016
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
39 views

Correlation and Linear Regression Problems

Uploaded by

api-327991016
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
You are on page 1/ 17

Excel Output For Problems In Handout 4

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

Problem 3, 7, 12, 13, 17 alpha = 0.01


x
y
SUMMARY OUTPUT
12
17
21
15
Regression Statistics
28
22 Multiple R
0.3511562164
8
19 R Square
0.1233106883
20
24 Adjusted R Sq -0.1689190823
Standard Erro 3.9429207187
Observations
5

1
-0.3696391619

WestJet
1

x Line Fit Plot

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

Advertising ($ millions) Line Fit Plot

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)

Predicted Sales ($ millions)

16.8
41.2

126 Observations
379

Sales ($ millions)

Predicted 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

Advertising ($ millions) Residual Plot

Problem 5, 9, 11, 15, 19 alpha = 0.05

Firms Births (10,000s) Line Fit Plot

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

Firms Births (10,000s) Line Fit Plot

Business Bankrupcies (1,000s)

Predicted Business Bankrupcies

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

Firms Births (10,000s) Residual Plot

Problem 6, 16 alpha = 0.05


Prime
Bond Rate
Interest Rate
(%)
(%)
SUMMARY OUTPUT
5
16
12
6
Regression Statistics
9
8 Multiple R
0.8277823438
15
4 R Square
0.6852236088
7
7 Adjusted R Sq 0.5802981451
Standard Erro 2.5751289886
Observations
5

Prime Interest Rate (%) Line Fit Plot

Bond Rate (%)

Predicted Bond Rate (%)

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

Prime Interest Rate (%) Residual Plot

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

Problem 8, 10, 14, 18, alpha = 0.1


Distance
Price of Milk
from area
(per 2 L)
(Km)
SUMMARY OUTPUT
2.64
1245
2.31
425
Regression Statistics
2.45
1346 Multiple R
0.7537798255
2.52
973 R Square
0.5681840253
2.19
255 Adjusted R Sq 0.4962146962
2.55
865 Standard Erro 0.1016203676
2.4
1080 Observations
8
2.37
296

Distance from area (Km) Line Fit Plot

Price of Milk (per 2 L)

Predicted Price of Milk (per 2 L)

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

Distance from area (Km) Residual Plot

RESIDUAL OUTPUT
Observation
Predicted
1
2
3
4
5
6
7
8

Price of Milk (per


Residuals
2 L)
2.5375516 0.1024484
2.33215923 -0.02215923
2.56284992 -0.11284992
2.46942145 0.05057855
2.28957789 -0.09957789
2.44236977 0.10763023
2.49622264 -0.09622264
2.29984751 0.07015249

Distance from area (Km) Residual Plot

ne Fit Plot

Predicted y

Predicted y

Lower 99.0% Upper 99.0%


-11.4460008 44.4652934
-1.29768938 1.62244822

l Plot

20

25

$ millions) Line Fit Plot

Predicted Sales ($ millions)

30

Predicted Sales ($ millions)

Lower 95.0% Upper 95.0%


-205.074266 112.490655
10.1107971 20.3687462

sidual Plot

(10,000s) Line Fit Plot

(10,000s) Line Fit Plot

s)

Predicted Business Bankrupcies (1,000s)

Lower 95.0% Upper 95.0%


-161.106178 134.099854
-1.69326316 3.44889017

sidual Plot

Rate (%) Line Fit Plot

Predicted Bond Rate (%)

Lower 95.0% Upper 95.0%


7.29373988 23.6260714
-1.60456555 0.17532027

dual Plot

area (Km) Line Fit Plot

Predicted Price of Milk (per 2 L)

Lower 90.0% Upper 90.0%


2.06888669 2.38252506
7.7253E-005 0.0004237

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

You might also like