0% found this document useful (0 votes)
6 views13 pages

STA641 GRAND Assignment

The document presents a statistical analysis of monthly rainfall and umbrella sales, including descriptive statistics such as mean, median, and standard deviation for both datasets. It highlights a strong positive correlation (0.9577) between rainfall and umbrellas sold, indicating that higher rainfall corresponds to increased umbrella sales. Additionally, regression analysis shows a significant relationship with an R-squared value of 0.9171, suggesting that rainfall can effectively predict umbrella sales.

Uploaded by

dollkhann0011
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)
6 views13 pages

STA641 GRAND Assignment

The document presents a statistical analysis of monthly rainfall and umbrella sales, including descriptive statistics such as mean, median, and standard deviation for both datasets. It highlights a strong positive correlation (0.9577) between rainfall and umbrellas sold, indicating that higher rainfall corresponds to increased umbrella sales. Additionally, regression analysis shows a significant relationship with an R-squared value of 0.9171, suggesting that rainfall can effectively predict umbrella sales.

Uploaded by

dollkhann0011
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/ 13

MC190401518

Rainfall Umbrellas STA641 GRAND


Month (mm) sold Assignment
Jan 82 15 • Find the Descriptive Statistics of the Rainfall(mm). Interpret the main resul
Feb 92.5 25
Mar 83.2 17 Rainfall (mm)
Apr 97.7 28
May 131.9 41 Mean 114.1458333333
Jun 141.3 47 Standard Error 5.285511297874
Jul 165.4 50 Median 103.65
Aug 140 46 Mode #N/A
Sep 126.7 37 Standard Deviation 25.89361141901
Oct 97.8 22 Sample Variance 670.4791123188
Nov 86.2 20 Kurtosis -1.06204607636
Dec 99.6 30 Skewness 0.495771513694
Jan 87 14 Range 83.4
Feb 97.5 27 Minimum 82
Mar 88.2 14 Maximum 165.4
Apr 102.7 30 Sum 2739.5
May 123 43 Count 24
Jun 146.3 49
Jul 160 49 Here the minimum rainfall is 82 in january and maximum is 165.4 in july.
Aug 145 44 Total sum rainfall in (mm) is 2739.5 and we get mean (sum divided by count
Sep 131.7 39 Mean is greater than median so it is positively skewed.
Oct 118 36
Nov 91.2 20
Dec 104.6 32

• Find the Graph of Rainfall (mm).

Rainfall (mm)
180
160
140
120
100
80
60
40
20
0
n b r r y n l g p t v c n b r r y n l g p t v c
Ja Fe Ma Ap Ma Ju Ju Au Se Oc No De Ja Fe Ma Ap Ma Ju Ju Au Se Oc No De

Rainfall (mm)
40
20
0
n b r r y n l g p t v c n b r r y n l g p t v c
Ja Fe Ma Ap Ma Ju Ju Au Se Oc No De Ja Fe Ma Ap Ma Ju Ju Au Se Oc No De

Rainfall (mm)

• Find the Correlation Coefficient between Rainfall (mm) and Umbrellas (Sold). Interpret the m

Rainfall (mm) Umbrellas sold


Rainfall (mm) 1
Umbrellas sold 0.957666798478596 1

value of correlation=0.957666798

This show positive relation in rainfall and umbrella sold.

• Consider Rainfall (mm) as Independent Variable (X) and Umbrellas (Sold) as Dependent Vari

SUMMARY OUTPUT

Regression Statistics
Multiple R 0.957666798478596
R Square 0.917125696908244
Adjusted R Squar 0.913358683131346
Standard Error 3.58141382018755
Observations 24

ANOVA
df SS MS F
Regression 1 3122.774784402 3122.775 243.4623
Residual 22 282.1835489315 12.82652
Total 23 3404.958333333

Coefficients Standard Error t Stat P-value


Intercept -19.0741089941443 3.372182167954 -5.65631 1.093E-05
Rainfall (mm) 0.450001319897595 0.028840179615 15.60328 2.216E-13
RESIDUAL OUTPUT

Observation Predicted Umbrellas sold ResidualsStandard Residuals


1 17.8259992374586 -2.82599923746 -0.806808
2 22.5510130963833 2.448986903617 0.699173
3 18.3660008213357 -1.36600082134 -0.389986
4 24.8910199598508 3.108980040149 0.887597
5 40.2810651003486 0.718934899651 0.205252
6 44.511077507386 2.488922492614 0.710574
7 55.356109316918 -5.35610931692 -1.529141
8 43.9260757915191 2.073924208481 0.592094
9 37.9410582368811 -0.94105823688 -0.268667
10 24.9360200918406 -2.93602009184 -0.838218
11 19.7160047810285 0.283995218972 0.081079
12 25.7460224676562 4.253977532344 1.214488
13 20.0760058369465 -6.07600583695 -1.734668
14 24.8010196958713 2.198980304129 0.627797
15 20.6160074208237 -6.61600742082 -1.888835
16 27.1410265593388 2.858973440661 0.816222
17 36.27605335326 6.72394664674 1.919651
18 46.7610841068739 2.238915893126 0.639199
19 52.926102189471 -3.92610218947 -1.120881
20 46.1760823910071 -2.17608239101 -0.62126
21 40.191064836369 -1.19106483637 -0.340043
22 34.026046753772 1.973953246228 0.563553
23 21.9660113805164 -1.96601138052 -0.561286
24 27.9960290671442 4.003970932856 1.143113
m). Interpret the main results. • Find the Descriptive Statistics of the Umbrellas (Sold). Interpret the main results.

Umbrellas sold

Mean 32.2916666667
Standard Error 2.48362694014
Median 31
Mode 20
Standard Deviation 12.1672374295
Sample Variance 148.041666667
Kurtosis -1.3595925734
Skewness -0.0484229145
Range 36
Minimum 14
Maximum 50
Sum 775
Count 24

ximum is 165.4 in july. Here the minimum umbrella sold is 14 in january and maximum is 50 in july.
ean (sum divided by count). sum of umbrella sold is 775 and we get mean (sum divided by count).
Mean is greater than median so it is positively skewed.

• Find the Graph of Umbrellas (Sold).

Umbrellas sold
60

50

40

30

20

10

0
t v c n b r r y n l g p t v c n b r r y n l g p t v c
p
Oc No De Ja Fe Ma Ap Ma Ju Ju Au Se Oc No De Ja Fe Ma Ap Ma Ju Ju Au Se Oc No De

Umbrellas sold
10

0
t v c n b r r y n l g p t v c n b r r y n l g p t v c
p
Oc No De Ja Fe Ma Ap Ma Ju Ju Au Se Oc No De Ja Fe Ma Ap Ma Ju Ju Au Se Oc No De

Umbrellas sold

ellas (Sold). Interpret the main results.

s (Sold) as Dependent Variable (Y), perform the Regression Analysis.

Normal Probability Plot


60
Umbrellas sold

40

20

0
0 20 40 60 80 100 120
Sample Percentile

Significance F
2.216E-13

Lower 95%Upper 95%Lower 95.0%


Upper 95.0%
-26.06759 -12.08063 -26.06759 -12.08063
0.39019 0.509812 0.39019 0.509812
PROBABILITY OUTPUT

Percentile
Umbrellas sold
2.083333 14
6.25 14
10.41667 15
14.58333 17
18.75 20
22.91667 20
27.08333 22
31.25 25
35.41667 27
39.58333 28
43.75 30
47.91667 30
52.08333 32
56.25 36
60.41667 37
64.58333 39
68.75 41
72.91667 43
77.08333 44
81.25 46
85.41667 47
89.58333 49
93.75 49
97.91667 50
(Sold). Interpret the main results.

and maximum is 50 in july.


m divided by count).

pr ay Jun Jul Aug Sep Oct Nov Dec


M
pr ay Jun Jul Aug Sep Oct Nov Dec
M

ity Plot

80 100 120
ntile
Umbrellas Umbrellas
Month sold sold
Jan 15 82 15
Feb 25 92.5 25
Mar 17 83.2 17
Apr 28 97.7 28
May 41 131.9 41
Jun 47 141.3 47
Jul 50 165.4 50
Aug 46 140 46 Umb
Sep 37 126.7 37
60
Oct 22 97.8 22
Nov 20 86.2 20 50
Dec 30 99.6 30 40

Umbrellas sold
Jan 14 87 14 30
Feb 27 97.5 27
20
Mar 14 88.2 14
10
Apr 30 102.7 30
May 43 123 43 0
r l
Jun 49 146.3 49
n
Ja Ma Ma
y Ju Sep Nov

Jul 49 160 49 Mon


Aug 44 145 44
Sep 39 131.7 39
Oct 36 118 36
Nov 20 91.2 20
Dec 32 104.6 32
Umbrellas sold
60
50
40
Umbrellas sold

30 Umbrellas sold
20
10
0
r l l
n
Ja Ma Ma
y Ju Sep Nov Jan Mar May Ju Sep Nov

Months
SUMMARY OUTPUT

Regression Statistics
Multiple R 0.957667
R Square 0.917126
Adjusted R 0.913359
Standard E 3.581414
Observatio 24

ANOVA
df SS MS F Significance F
Regression 1 3122.775 3122.775 243.4623 2.216E-13
Residual 22 282.1835 12.82652
Total 23 3404.958

Coefficients
Standard Error t Stat P-value Lower 95%Upper 95%Lower 95.0%
Upper 95.0%
Intercept -19.07411 3.372182 -5.65631 1.093E-05 -26.06759 -12.08063 -26.06759 -12.08063
Rainfall ( 0.450001 0.02884 15.60328 2.216E-13 0.39019 0.509812 0.39019 0.509812

RESIDUAL OUTPUT PROBABILITY OUTPUT

Observation
Predicted Umbrellas
Residuals
soldStandard Residuals Percentile
Umbrellas sold
1 17.826 -2.825999 -0.806808 2.083333 14
2 22.55101 2.448987 0.699173 6.25 14
3 18.366 -1.366001 -0.389986 10.41667 15
4 24.89102 3.10898 0.887597 14.58333 17
5 40.28107 0.718935 0.205252 18.75 20
6 44.51108 2.488922 0.710574 22.91667 20
7 55.35611 -5.356109 -1.529141 27.08333 22
8 43.92608 2.073924 0.592094 31.25 25
9 37.94106 -0.941058 -0.268667 35.41667 27
10 24.93602 -2.93602 -0.838218 39.58333 28
11 19.716 0.283995 0.081079 43.75 30
12 25.74602 4.253978 1.214488 47.91667 30
13 20.07601 -6.076006 -1.734668 52.08333 32
14 24.80102 2.19898 0.627797 56.25 36
15 20.61601 -6.616007 -1.888835 60.41667 37
16 27.14103 2.858973 0.816222 64.58333 39
17 36.27605 6.723947 1.919651 68.75 41
18 46.76108 2.238916 0.639199 72.91667 43
19 52.9261 -3.926102 -1.120881 77.08333 44
20 46.17608 -2.176082 -0.62126 81.25 46
21 40.19106 -1.191065 -0.340043 85.41667 47
22 34.02605 1.973953 0.563553 89.58333 49
23 21.96601 -1.966011 -0.561286 93.75 49
24 27.99603 4.003971 1.143113 97.91667 50
Upper 95.0%

You might also like