You are on page 1of 21

Pearson's Correlation = 0.

96
X' or Input Variable Y' or Output Variable

Temperature (in °C) Ice Cream Sales (in $)


i (𝒙_𝒊−𝒙 ̅ ) (𝒚_𝒊−𝒚 ̅ ) (𝒙_𝒊−𝒙 ̅ )^𝟐 (𝒚_𝒊−𝒚 ̅ )^𝟐
(𝒙_𝒊 ) (𝒚_𝒊 )
1 14.2 215.0 -4.5 -187.4 20.0 35125.0
2 16.4 325.0 -2.3 -77.4 5.2 5993.3
3 11.9 185.0 -6.8 -217.4 45.9 47270.0
4 15.2 332.0 -3.5 -70.4 12.1 4958.5
5 18.5 406.0 -0.2 3.6 0.0 12.8
6 22.1 522.0 3.4 119.6 11.7 14300.2
7 19.4 412.0 0.7 9.6 0.5 91.8
8 25.1 614.0 6.4 211.6 41.3 44767.5
9 23.4 544.0 4.7 141.6 22.3 20045.8
10 18.1 421.0 -0.6 18.6 0.3 345.3
11 22.6 445.0 3.9 42.6 15.4 1813.3
12 17.2 408.0 -1.5 5.6 2.2 31.2
18.7 402.4 177.0 174754.9
(𝒙 ̅ ) (𝒚 ̅ ) Σ

r= 0.96
orrelation = 0.96

Ice Cream Sales (in $)


(𝒚_𝒊−𝒚 ̅ )^𝟐 (𝒙_𝒊−𝒙 ̅ )(𝒚_𝒊−𝒚 ̅ ) 700.0

838.7
176.1 600.0

1473.0
244.7 500.0
-0.6
Ice Cream Sales (in $)

409.6 400.0
6.9
1359.4 300.0
669.0
-10.7 200.0
167.1
-8.2 100.0
5325.0
0.0
Σ 10.0 12.0 14.0 16.0 18.0 20.0 22.0 24.0 26.0

0.96 Temperature (in °C)


24.0 26.0
Temperature (in °C) Ice Cream Sales (in $)
14.2 215.0
16.4 325.0
11.9 185.0
15.2 332.0
18.5 406.0
22.1 522.0
19.4 412.0
25.1 614.0
23.4 544.0
18.1 421.0
700.0
22.6 445.0
17.2 408.0 600.0
f(x
500.0 R²

Ice Cream Sales (in $)


400.0
SUMMARY OUTPUT
300.0

Regression Statistics 200.0


Multiple R 0.957506623002
100.0
R Square 0.9168
Adjusted R Square 0.908500826401 0.0
Standard Error 38.12650051574 10.0 12.0
Observations 12

ANOVA
df SS
Regression 1 160218.6
Residual 10 14536.3
Total 11 174754.9

Coefficients Standard Error


Intercept -159.474 54.64073
Temperature (in °C) 30.088 2.865905

RESIDUAL OUTPUT

Observation Predicted Ice Cream SalesResiduals


(in $)
1 267.7734851374 -52.77349
2 333.9667810848 -8.966781
3 198.5714030107 -13.5714
4 297.8613469317 34.13865
5 397.1512908527 8.848709
6 505.467593312 16.53241
7 424.2303664675 -12.23037
8 595.7311786947 18.26882
9 544.5818136445 -0.581814
10 385.116146135 35.88385
11 520.5115242091 -75.51152
12 358.0370705202 49.96293
Temperature (in °C) Line Fit Plot
700.0

600.0
f(x) = 30.0878617942452 x − 159.474152340862
500.0 R² = 1
Ice Cream Sales (in $)

400.0 Ice Cream Sales (in $)


Predicted Ice Cream Sales (in $)
300.0 Linear (Predicted Ice Cream Sales (in
$))
200.0

100.0

0.0
10.0 12.0 14.0 16.0 18.0 20.0 22.0 24.0 26.0
Temperature (in °C)

MS F Significance F
160218.6 110.2197 0.00
1453.63

t Stat P-value Lower 95% Upper 95%Lower 95.0%


Upper 95.0%
-2.918595 0.015 -281.2212818 -37.72702 -281.2213 -37.72702
10.49856 0.000 23.7022276357 36.4735 23.70223 36.4735
X' or Input Variable Y' or Output Variable
Temperature (in °C) Ice Cream Sales (in $)
i (𝒙_𝒊 ) (𝒙_𝒊 𝒚_𝒊 ) (𝒙_𝒊^𝟐 )
(𝒚_𝒊 )
1 14.2 215.0 3053.0 201.6
2 16.4 325.0 5330.0 269.0
3 11.9 185.0 2201.5 141.6
4 15.2 332.0 5046.4 231.0
5 18.5 406.0 7511.0 342.3
6 22.1 522.0 11536.2 488.4
7 19.4 412.0 7992.8 376.4
8 25.1 614.0 15411.4 630.0
9 23.4 544.0 12729.6 547.6
10 18.1 421.0 7620.1 327.6
11 22.6 445.0 10057.0 510.8
12 17.2 408.0 7017.6 295.8
18.7 402.4 95506.6 4362.1
∑▒𝑥𝑦 ∑▒𝑥^
(𝒙 ̅ ) (𝒚 ̅ ) 2

Ice Cream Sales (in $)


700.0

600.0
f(x) = 30.0878617942452 x − 159.474152340862
R² = 0.916818933091919
500.0
Ice Cream Sales (in $)

400.0

300.0

200.0

100.0

0.0
10.0 12.0 14.0 16.0 18.0 20.0 22.0

Temperature (in °C)


(𝒚 ̂ ) Residual Error Square 30.08786179

267.77 -52.77 2785.04 -159.474152


333.97 -8.97 80.40
198.57 -13.57 184.18 Temperature (in °C)
297.86 34.14 1165.45 Ice Cream Sales (in $)
397.15 8.85 78.30 b1= 30.088
505.47 16.53 273.32
424.23 -12.23 149.58
595.73 18.27 333.75
544.58 -0.58 0.34 b0= -159.47
385.12 35.88 1287.65
520.51 -75.51 5701.99
358.04 49.96 2496.29 SUMMARY OUTPUT
14536.3 𝑦=30.088𝑥−159.47
∑▒(𝑦−𝑦 ̂ )^2
Regression Statistics
Multiple R
R Square
Adjusted R Square
m Sales (in $) Se= 38.127 Standard Error
Observations

ANOVA
2 x − 159.474152340862
9
Regression
Residual
Total

Intercept
Temperature (in °C)

RESIDUAL OUTPUT
18.0 20.0 22.0 24.0 26.0

perature (in °C)


Observation
1
2
3
4
5
6
7
8
9
10
11
12
Temperature (in °C) Ice Cream Sales (in $)
1
0.957506623001595 1

Regression Statistics
0.958
0.917
0.909
38.127
12

df SS MS F Significance F
1 160218.616250901 160218.61625 110.219665 0.00
10 14536.3004157662 1453.6300416
11 174754.916666667

Coefficients Standard Error t Stat P-value Lower 95%


-159.474152340862 54.6407282268606 -2.918594929 0.015337327 -281.221281803953
30.0878617942452 2.86590494702434 10.498555378 1.015893E-06 23.7022276356806

PROBABILITY OUTPUT

Predicted Ice Cream Sales (in $) Residuals Standard Residuals Percentile


267.77 -52.77 -1.45 4.17
333.97 -8.97 -0.25 12.50
198.57 -13.57 -0.37 20.83
297.86 34.14 0.94 29.17
397.15 8.85 0.24 37.50
505.47 16.53 0.45 45.83
424.23 -12.23 -0.34 54.17
595.73 18.27 0.50 62.50
544.58 -0.58 -0.02 70.83
385.12 35.88 0.99 79.17
520.51 -75.51 -2.08 87.50
358.04 49.96 1.37 95.83
Temperature (in °C) Residual
Plot
100.00
50.00

Residuals
0.00
-50.0010.0 12.0 14.0 16.0 18.0 20.0 22.0 24.0 26.0
-100.00
Temperature (in °C)

Temperature (in °C) Line Fit


Plot
Ice Cream Sales (in $)

800.0
Ice Cream Sales (in $)
600.0
Predicted Ice Cream
400.0 Sales (in $)
200.0
0.0
10.0 15.0 20.0 25.0 30.0
Temperature (in °C)

Upper 95% Lower 95.0% Upper 95.0% Normal Probability Plot


-37.7270228777709 -281.221282 -37.7270229 800
Ice Cream Sales (in $)

36.4734959528098 23.70222764 36.47349595 600


400
200
0
0.00 20.00 40.00 60.00 80.00 100.00 120.00
Sample Percentile
Ice Cream Sales (in $)
185
215
325
332
406
408
412
421
445
522
544
614
°C) Residual
t

18.0 20.0 22.0 24.0 26.0

ure (in °C)

n °C) Line Fit


t
Ice Cream Sales (in $)
Predicted Ice Cream
Sales (in $)

30.0

ability Plot

0.00 80.00 100.00 120.00


Percentile
X' or Input Variable Y' or Output Variable
Temperature (in °C) Ice Cream Sales (in $)
i (𝒙_𝒊 𝒚_𝒊 ) (𝒙_𝒊^𝟐 )
(𝒙_𝒊 ) (𝒚_𝒊 )
1 14.2 215.0 3053.0 201.6
2 16.4 325.0 5330.0 269.0
3 11.9 185.0 2201.5 141.6
4 15.2 332.0 5046.4 231.0
5 18.5 406.0 7511.0 342.3
6 22.1 522.0 11536.2 488.4
7 19.4 412.0 7992.8 376.4
8 25.1 614.0 15411.4 630.0
9 23.4 544.0 12729.6 547.6
10 18.1 421.0 7620.1 327.6
11 22.6 445.0 10057.0 510.8
12 17.2 408.0 7017.6 295.8
18.7 402.4 95506.6 4362.1
∑▒𝑥𝑦 ∑▒𝑥^
(𝒙 ̅ ) (𝒚 ̅ ) 2

Ice Cream Sales (in $)


700.0

600.0
f(x) = 30.0878617942452 x − 159.474152340862
500.0 R² = 0.916818933091919

400.0
Ice Cream Sales (in $)

300.0

200.0

100.0

0.0
10.0 12.0 14.0 16.0 18.0 20.0 22.0 24.0
-100.0

-200.0

Temperature (in °C)


(𝒚 ̂ ) SSR SSE SST
267.78 18127.14 2785.69 35125.01 ANOVA Table
333.97 4684.51 80.52 5993.34 Source of Variation
198.58 41550.53 184.34 47270.01 Regression
297.87 10930.51 1165.02 4958.51 Error
397.16 27.65 78.18 12.84 Total
505.47 10620.98 273.08 14300.17
424.24 476.14 149.75 91.84
595.74 37373.45 333.47 44767.51 Source of Variation
544.59 20213.03 0.35 20045.84 Regression
385.12 299.08 1287.17 345.34 Error
520.52 13948.11 5703.09 1813.34 Total
358.04 1968.97 2495.64 31.17
160220.09 14536.30 174754.92

Model Summary
S
38.126501

Conclusion
Reject the Null Hypothesis
Relation between 'X' and 'Y' is Significant

22.0 24.0 26.0


SS df MS F F crit
SSR 1 MSR=SSR/1 =MSR/MSE =F.INV.RT(0.05,df1,df2)
SSE n-2 MSE=SSE/(n-2)
SST n-1

SS df MS F F crit
160220.09 1 160220.09 110.22 4.96
14536.30 10 1453.63
174756.39 11 15886.94

R-Sq R-Sq (adj)


91.68% 90.85%

Null Hypothesis
etween 'X' and 'Y' is Significant
Significance F
=F.DIST.RT(f value,df1,df2)

Significance F
0.0000
X' or Input Variable Y' or Output Variable
Temperature (in °C) Ice Cream Sales (in $)
i (𝒙_𝒊 ) (𝒙_𝒊 𝒚_𝒊 ) (𝒙_𝒊^𝟐 )
(𝒚_𝒊 )
1 14.2 215.0 3053.0 201.6
2 16.4 325.0 5330.0 269.0
3 11.9 185.0 2201.5 141.6
4 15.2 332.0 5046.4 231.0
5 18.5 406.0 7511.0 342.3
6 22.1 522.0 11536.2 488.4
7 19.4 412.0 7992.8 376.4
8 25.1 614.0 15411.4 630.0
9 23.4 544.0 12729.6 547.6
10 18.1 421.0 7620.1 327.6
11 22.6 445.0 10057.0 510.8
12 17.2 408.0 7017.6 295.8
18.7 402.4 95506.6 4362.1
∑▒𝑥𝑦 ∑▒𝑥^
(𝒙 ̅ ) (𝒚 ̅ ) 2

Ice Cream Sales (in $)


700.0

600.0
f(x) = 30.0878617942452 x − 159.474152340862
R² = 0.916818933091919
500.0
Ice Cream Sales (in $)

400.0

300.0

200.0

100.0

0.0
10.0 12.0 14.0 16.0 18.0 20.0 22.0 24.0

Temperature (in °C)


(𝒚 ̂ ) Residual Error Square Lower 95% CI Upper 95% CI

267.77 -52.77 2785.04 237.43 298.12


333.97 -8.97 80.40 303.62 364.31
198.57 -13.57 184.18 168.23 228.92
297.86 34.14 1165.45 267.52 328.21
397.15 8.85 78.30 366.81 427.50 b1= 30.088
505.47 16.53 273.32 475.12 535.81
424.23 -12.23 149.58 393.89 454.58
595.73 18.27 333.75 565.39 626.08
544.58 -0.58 0.34 514.24 574.93 b0= -159.47
385.12 35.88 1287.65 354.77 415.46
520.51 -75.51 5701.99 490.17 550.86
358.04 49.96 2496.29 327.69 388.38
14536.3 𝑦=30.088𝑥−159.47
∑▒(𝑦−𝑦 ̂ )^2

) (𝒙_𝒊−𝒙 ̅ )^𝟐= 177.0 Se= 38.127

tc= 2.228138852

20.0 22.0 24.0 26.0


Tempera Ice
ture (in Cream
°C) Sales
(in $)
Pearson Correlations
Temperature (in °C)

1 0.9575
Ice Cream Sales (in $)

Tempera Ice
ture (in Cream
°C) Sales
(in $)
Pearson Probabilities
Temperature (in °C)

0.0000
Ice Cream Sales (in $)

Tempera Ice
ture (in Cream
°C) Sales
(in $)
Spearman Rank Correlations
Temperature (in °C)

1 0.9231
Ice Cream Sales (in $) 1

Tempera Ice
ture (in Cream
°C) Sales
(in $)
Spearman Rank Probabilities
Temperature (in °C) 0.0000
Ice Cream Sales (in $)

You might also like