Professional Documents
Culture Documents
Project
Project
Hayah Zainab
P2833533
TASK 1:
X (X-x̄) (X-x̄)^2
32 -11.93 142.3249
32 -11.93 142.3249
32 -11.93 142.3249
35 -8.93 79.7449
35 -8.93 79.7449
35 -8.93 79.7449
35 -8.93 79.7449
37 -6.93 48.0249
38 -5.93 35.1649
38 -5.93 35.1649
40 -3.93 15.4449
40 -3.93 15.4449
40 -3.93 15.4449
40 -3.93 15.4449
40 -3.93 15.4449
40 -3.93 15.4449
40 -3.93 15.4449
40 -3.93 15.4449
40 -3.93 15.4449
40 -3.93 15.4449
40 -3.93 15.4449
40 -3.93 15.4449
41 -2.93 8.5849
41 -2.93 8.5849
42 -1.93 3.7249
43 -0.93 0.8649
43 -0.93 0.8649
45 1.07 1.1449
45 1.07 1.1449
45 1.07 1.1449
45 1.07 1.1449
45 1.07 1.1449
45 1.07 1.1449
45 1.07 1.1449
45 1.07 1.1449
45 1.07 1.1449
45 1.07 1.1449
45 1.07 1.1449
45 1.07 1.1449
45 1.07 1.1449
45 1.07 1.1449
45 1.07 1.1449
45 1.07 1.1449
45 1.07 1.1449
45 1.07 1.1449
46 2.07 4.2849
47 3.07 9.4249
48 4.07 16.5649
50 6.07 36.8449
50 6.07 36.8449
50 6.07 36.8449
50 6.07 36.8449
50 6.07 36.8449
50 6.07 36.8449
51 7.07 49.9849
52 8.07 65.1249
52 8.07 65.1249
55 11.07 122.5449
55 11.07 122.5449
55 11.07 122.5449
70 26.07 679.6449
SUM 2680 2571.74
AVERAGE(x̄) 43.93
For Data in column A, Estimate the following:
a) Mean
∑fi/n
∑fi=2680
n=61
=2680/61
Mean: 43.93
b) Median
n+1/2
n=61
=61+1/2
=31st observation
31st observation = 45
Median=45
c) Mode
Most recurring observation
=45
Mode=45
f) Insert a Box plot for the data in column A and comment on type of
distribution.
N
TASK 2:
(a) Construct a column chart for No. of Sales data in cells B3:C13
45
40
35
No of Sales
30
25
20
15
10
5
0
Sales Rep
Harinder
Zahid
Dominique
Laura
Sales Rep
Jason
Brian
Ruth
Yodit
Carina
Lisa
$- $5,000 $10,000 $15,000
Sales
(c) Construct a Pie chart for Product data in cells B23:C33
19
17
17
17
17
19
23
21
(d) Construct a 3D column chart for Product sales data in cells E23:F33
$10,000
Sales
$5,000
$-
Products
TASK 3:
(a).Use Data Analysis Toolpak to create Histogram for data in D3:D202 using
Bins in H4:H15
Bin Frequency
50 10
100 20
150 15 (a) Histogram
200 19 25
250 10
20
300 18
Frequency
350 20 15
400 19
10
450 18
500 16 5
550 22
600 13 0
50 100 150 200 250 300 350 400 450 500 550 600
Sales ($)
(b) Using the frequencies of Histogram above, calculate cumulative frequency in
J4:J15.
Cumulative
Sales($) Frequency Frequency
f F
0-50 10 10
51- 100 20 30
101-150 15 45
151-200 19 64
201-250 10 74
251-300 18 92
301-350 20 112
351-400 19 131
401-450 18 149
451-500 16 165
501-550 22 187
551-600 13 200
Total 200
150 131
112
92
100 64 74
45
50 30
10
0
0 2 4 6 8 10 12 14
Frequency
(d) Estimate Median, Quartiles and Inter Quartile Range from the chart in part (c)
above
Median =
Quartile 1:
Quartile 3:
TASK 4:
(a) Use the frequency distribution in N5:O16 to calculate Mean, Variance and
Standard Deviation for grouped data
Class
Sales($) Frequency Midpoint
F X FX (X- x̄) (X- x̄)^2 F((X- x̄)^2
0 - 50 10 25 250 -285.25 81367.56 813675.6
51 - 100 20 75 1500 -235.25 55342.56 1106851
101 - 150 15 125 1875 -185.25 34317.56 514763.4
151 - 200 19 175 3325 -135.25 18292.56 347558.7
201 - 250 10 225 2250 -85.25 7267.563 72675.63
251 - 300 18 275 4950 -35.25 1242.563 22366.13
301 - 350 20 325 6500 14.75 217.5625 4351.25
351 - 400 19 375 7125 64.75 4192.563 79658.69
401 - 450 18 425 7650 114.75 13167.56 237016.1
451 - 500 16 475 7600 164.75 27142.56 434281
501 - 550 22 525 11550 214.75 46117.56 1014586
551 - 600 13 575 7475 264.75 70092.56 911203.3
Total 200 3600 62050 358760.8 5558988
Mean: ∑ FX/ ∑ F
= 62050/200
=310.25
Variance = ∑ F(X- x̄)^2/ (n-1)
= 5558988/ (200-1)
= 27934.6131
Standard Deviation = = √variance
= √27934.6131
=167.137
(b) Use the data analysis tool Pak in Excel to calculate the descriptive
statistics for the data D3:D202 in work sheet named "Task 3".
Descriptive Statistics
Mean 310.0861
Standard Error 11.8485212
Median 310
Mode 403
Standard Deviation 167.563394
Sample Variance 28077.4911
Kurtosis -1.19059943
Skewness -0.05027714
Range 584
Minimum 11
Maximum 595
Sum 62017.22
Count 200
(c) Compare the Mean and Standard Deviation of the parts (a) and (b) and
comment briefly.
The Mean calculated in part (a) is 310.25 while the mean calculated in part
(b) is 310.0861
The Standard deviation calculated in part (a) is 167.137, while the standard
deviation calculated in part (b) is 167.563394
From the above, it is noticeable that the mean and standard deviation is
approximately, if not, exactly the same, with just a minor difference due to
the change in decimal points.
This leads to a conclusion that calculating descriptive statistics using excel is
more efficient than calculating it by hand, as it is faster, and chances of
mistake are much lesser.
MONTHLY SPEND:
Monthly
Monthly Accommodation
Income Spend (x-x̄) (y-ȳ) (x-x̄)^2 (y-ȳ)^2 (x-x̄)(y-ȳ)
X Y
-£ -£
£ 2,204 £ 865 189 7 35541.68 42.57562 1230.126
£ £
£ 2,572 £ 952 179 80 32211.28 6476.226 14443.25
-£ -£
£ 1,845 £ 694 548 178 299783.6 31515.13 97199.38
£ £
£ 2,606 £ 999 213 127 45571.58 16249.88 27212.73
£ £
£ 2,941 £ 994 548 122 300824.8 15000.13 67174.48
£ £
£ 2,453 £ 909 60 37 3657.226 1404.376 2266.301
£ £
£ 2,887 £ 962 494 90 244505.5 8185.726 44737.63
-£ -£
£ 1,768 £ 655 625 217 390031.5 46883.08 135225.3
-£ -£
£ 2,159 £ 825 234 47 54533.93 2164.576 10864.75
-£ -£
£ 2,080 £ 791 313 81 97671.88 6484.276 25166.08
-£ -£
£ 1,875 £ 715 518 157 267832.1 24500.08 81005.6
£ £
£ 2,895 £ 940 502 68 252481.1 4688.826 34406.98
-£ -£
£ 2,283 £ 818 110 54 11995.73 2864.926 5862.326
£ £
£ 3,103 £ 1,113 710 241 504774.7 58310.18 171562
£ £
£ 2,674 £ 922 281 50 79228.18 2547.726 14207.45
-£ £
£ 2,208 £ 893 185 21 34049.48 461.1756 -3962.67
-£ -£
£ 2,195 £ 785 198 87 39016.13 7486.576 17090.85
-£ -£
£ 2,237 £ 747 156 125 24188.03 15506.48 19366.75
-£ -£
£ 1,888 £ 726 505 146 254545.5 21177.53 73421
£ £
£ 3,025 £ 1,018 632 146 400024.6 21454.93 92641.78
£ £
£ 2,721 £ 899 328 27 107895.8 754.8756 9024.851
-£ -£
£ 2,354 £ 830 39 42 1484.176 1724.326 1599.751
£ -£
£ 2,624 £ 861 231 11 53580.68 110.7756 -2436.27
£ £
£ 3,237 £ 1,093 844 221 713138 49051.18 187030.1
£ £
£ 2,849 £ 1,015 456 143 208369.4 20585.08 65492.75
-£ -£
£ 2,001 £ 786 392 86 153291.8 7314.526 33485.18
£ £
£ 2,485 £ 959 92 87 8551.626 7651.876 8089.251
£ £
£ 2,930 £ 1,122 537 250 288879.4 62737.73 134624.1
-£ -£
£ 1,735 £ 594 658 278 432339.1 77020.13 182479.6
-£ -£
£ 1,895 £ 708 498 164 247531.1 26740.43 81357.78
-£ -£
£ 1,894 £ 739 499 133 248527.2 17562.88 66067.03
-£ -£
£ 1,822 £ 749 571 123 325498.8 15012.38 69903.58
-£ -£
£ 2,296 £ 787 97 85 9317.076 7144.476 8158.776
£ £
£ 2,758 £ 1,056 365 184 133572 34031.03 67421
£ £
£ 3,289 £ 1,218 896 346 803667.4 120044.9 310606.2
-£ -£
£ 2,039 £ 721 354 151 124979.9 22657.78 53214.35
-£ -£
£ 1,882 £ 803 511 69 260635.8 4695.676 34983.73
-£ -£
£ 2,179 £ 773 214 99 45592.93 9707.176 21037.55
-£ -£
£ 1,981 £ 819 412 53 169352.8 2758.876 21615.35
£ £
£ 2,832 £ 1,006 439 134 193138.3 18083.53 59098.4
Sum: £ 95,701 £ 34,861 7901812 798794 2343975
Mean £ 2,393 £ 872
Count 40
Correlation Coefficient =
Covariance (x,y) / SDx * SDy
Correlation Coefficient =
Covariance (x,z) / SDx * SDz
x̄=2393
ȳ = 872
Slope (b) = n∑xy - ∑x∑y / n∑x^2 – (∑x)^2
= (40)( 85749789) – (95,701) (34,861) / (40)(236868847) – (95701)^2
= 3429991560 – 3336232561 / 9474753880 - 9158681401
= 93758999 / 316072479
=0.296
a= ȳ-bx̄
Assume Y to be 1218 and X to be 3289
a = 872 – (0.296)(2393)
= 872 – 708.3
=163.7
Regression line for Monthly Spending =
Y= 163.7+ 0.296x
X Z
£ £ 578 4857616 334084 1273912
2,204
£ £ 605 6615184 366025 1556060
2,572
£ £ 447 3404025 199809 824715
1,845
£ £ 654 6791236 427716 1704324
2,606
£ £ 577 8649481 332929 1696957
2,941
£ £ 578 6017209 334084 1417834
2,453
£ £ 549 8334769 301401 1584963
2,887
£ £ 416 3125824 173056 735488
1,768
£ £ 539 4661281 290521 1163701
2,159
£ £ 515 4326400 265225 1071200
2,080
£ £ 466 3515625 217156 873750
1,875
£ £ 521 8381025 271441 1508295
2,895
£ £ 504 5212089 254016 1150632
2,283
£ £ 687 9628609 471969 2131761
3,103
£ £ 546 7150276 298116 1460004
2,674
£ £ 611 4875264 373321 1349088
2,208
£ £ 483 4818025 233289 1060185
2,195
£ £ 428 5004169 183184 957436
2,237
£ £ 477 3564544 227529 900576
1,888
£ £ 588 9150625 345744 1778700
3,025
£ £ 508 7403841 258064 1382268
2,721
£ £ 503 5541316 253009 1184062
2,354
£ £ 483 6885376 233289 1267392
2,624
£ £ 633 10478169 400689 2049021
3,237
£ £ 622 8116801 386884 1772078
2,849
£ £ 525 4004001 275625 1050525
2,001
£ £ 632 6175225 399424 1570520
2,485
£ £ 735 8584900 540225 2153550
2,930
£ £ 350 3010225 122500 607250
1,735
£ £ 453 3591025 205209 858435
1,895
£ £ 492 3587236 242064 931848
1,894
£ £ 519 3319684 269361 945618
1,822
£ £ 464 5271616 215296 1065344
2,296
£ £ 691 7606564 477481 1905778
2,758
£ £ 774 10817521 599076 2545686
3,289
£ £ 439 4157521 192721 895121
2,039
£ £ 572 3541924 327184 1076504
1,882
£ £ 472 4748041 222784 1028488
2,179
£ £ 570 3924361 324900 1129170
1,981
£ £ 615 8020224 378225 1741680
2,832
SUM £ 95,701 £ £ £ £
21,821 236,868,847 12,224,625 53,359,919
n= £ 40
Average £ £
2,393 546
(v) Predict the monthly spend and saving using regression equations in part (iv)
if
(a) Monthly income = £2,000
Monthly spend = Y= 163.7+ 0.296x
= 163.7 + 0.296 (2000)
= 163.7 + 592
= 755.7
Monthly Savings = Z= 199+ 0.145 x
= 199 + 0.145 (2000)
= 199 + 290
= 489
Monthly Monthly
Accomm Accommodation
Monthly odation Monthly Income Spend
Income Spend (continuation) (continuation)
X Y X Y
£ 1,735 £ 594 £ 2,296 £ 787
£ 1,768 £ 655 £ 2,354 £ 830
£ 1,822 £ 749 £ 2,453 £ 909
£ 1,845 £ 694 £ 2,485 £ 959
£ 1,875 £ 715 £ 2,572 £ 952
£ 1,882 £ 803 £ 2,606 £ 999
£ 1,888 £ 726 £ 2,624 £ 861
£ 1,894 £ 739 £ 2,674 £ 922
£ 1,895 £ 708 £ 2,721 £ 899
£ 1,981 £ 819 £ 2,758 £ 1,056
£ 2,001 £ 786 £ 2,832 £ 1,006
£ 2,039 £ 721 £ 2,849 £ 1,015
£ 2,080 £ 791 £ 2,887 £ 962
£ 2,159 £ 825 £ 2,895 £ 940
£ 2,179 £ 773 £ 2,930 £ 1,122
£ 2,195 £ 785 £ 2,941 £ 994
£ 2,204 £ 865 £ 3,025 £ 1,018
£ 2,208 £ 893 £ 3,103 £ 1,113
£ 2,237 £ 747 £ 3,237 £ 1,093
£ 2,283 £ 818 £ 3,289 £ 1,218
Y= a+bx a =Y-bx
b=Yhigh-Ylow/Xhigh-Xlow Assume Y=1218 and X=3289
=624/1554 a= 1218 – (0.40)(3289)
=0.40 =1218 – 1315.6
=-97.6
MONTHLY SAVING :
Monthly Monthly
Monthly Monthly Income Saving
Income Saving (continuation) (continuation)
X Z X Z
£ 2,204 £ 578 £ 2,721 £ 508
£ 2,572 £ 605 £ 2,354 £ 503
£ 1,845 £ 447 £ 2,624 £ 483
£ 2,606 £ 654 £ 3,237 £ 633
£ 2,941 £ 577 £ 2,849 £ 622
£ 2,453 £ 578 £ 2,001 £ 525
£ 2,887 £ 549 £ 2,485 £ 632
£ 1,768 £ 416 £ 2,930 £ 735
£ 2,159 £ 539 £ 1,735 £ 350
£ 2,080 £ 515 £ 1,895 £ 453
£ 1,875 £ 466 £ 1,894 £ 492
£ 2,895 £ 521 £ 1,822 £ 519
£ 2,283 £ 504 £ 2,296 £ 464
£ 3,103 £ 687 £ 2,758 £ 691
£ 2,674 £ 546 £ 3,289 £ 774
£ 2,208 £ 611 £ 2,039 £ 439
£ 2,195 £ 483 £ 1,882 £ 572
£ 2,237 £ 428 £ 2,179 £ 472
£ 1,888 £ 477 £ 1,981 £ 570
£ 3,025 £ 588 £ 2,832 £ 615
(i) Estimate the monthly spend and saving using high low method if
(a) monthly income = £2,000
(b) monthly income = £3,500
a) Mean
∑fi/n
∑fi=2680
n=61
=2680/61
Mean: 43.93
b) Median
n+1/2
n=61
=61+1/2
=31st observation
31st observation = 45
Median=45
c) Mode
Most recurring observation
=45
Mode=45
f) Insert a Box plot for the data in column A and comment on type of
distribution.
N
TASK 2:
(a) Construct a column chart for No. of Sales data in cells B3:C13
45
40
35
No of Sales
30
25
20
15
10
5
0
Sales Rep
Harinder
Zahid
Dominique
Laura
Sales Rep
Jason
Brian
Ruth
Yodit
Carina
Lisa
$- $5,000 $10,000 $15,000
Sales
(c) Construct a Pie chart for Product data in cells B23:C33
19
17
17
17
17
19
23
21
(d) Construct a 3D column chart for Product sales data in cells E23:F33
$10,000
Sales
$5,000
$-
Products
TASK 3:
(a).Use Data Analysis Toolpak to create Histogram for data in D3:D202 using
Bins in H4:H15
Bin Frequency
50 10
100 20
150 15 (a) Histogram
200 19 25
250 10
20
300 18
Frequency
350 20 15
400 19
10
450 18
500 16 5
550 22
600 13 0
50 100 150 200 250 300 350 400 450 500 550 600
Sales ($)
(b) Using the frequencies of Histogram above, calculate cumulative frequency in
J4:J15.
Cumulative
Sales($) Frequency Frequency
f F
0-50 10 10
51- 100 20 30
101-150 15 45
151-200 19 64
201-250 10 74
251-300 18 92
301-350 20 112
351-400 19 131
401-450 18 149
451-500 16 165
501-550 22 187
551-600 13 200
Total 200
150 131
112
92
100 64 74
45
50 30
10
0
0 2 4 6 8 10 12 14
Frequency
(d) Estimate Median, Quartiles and Inter Quartile Range from the chart in part (c)
above
Median =
Quartile 1:
Quartile 3:
TASK 4:
(a) Use the frequency distribution in N5:O16 to calculate Mean, Variance and
Standard Deviation for grouped data
Class
Sales($) Frequency Midpoint
F X FX (X- x̄) (X- x̄)^2 F((X- x̄)^2
0 - 50 10 25 250 -285.25 81367.56 813675.6
51 - 100 20 75 1500 -235.25 55342.56 1106851
101 - 150 15 125 1875 -185.25 34317.56 514763.4
151 - 200 19 175 3325 -135.25 18292.56 347558.7
201 - 250 10 225 2250 -85.25 7267.563 72675.63
251 - 300 18 275 4950 -35.25 1242.563 22366.13
301 - 350 20 325 6500 14.75 217.5625 4351.25
351 - 400 19 375 7125 64.75 4192.563 79658.69
401 - 450 18 425 7650 114.75 13167.56 237016.1
451 - 500 16 475 7600 164.75 27142.56 434281
501 - 550 22 525 11550 214.75 46117.56 1014586
551 - 600 13 575 7475 264.75 70092.56 911203.3
Total 200 3600 62050 358760.8 5558988
Mean: ∑ FX/ ∑ F
= 62050/200
=310.25
Variance = ∑ F(X- x̄)^2/ (n-1)
= 5558988/ (200-1)
= 27934.6131
Standard Deviation = = √variance
= √27934.6131
=167.137
(b) Use the data analysis tool Pak in Excel to calculate the descriptive
statistics for the data D3:D202 in work sheet named "Task 3".
Descriptive Statistics
Mean 310.0861
Standard Error 11.8485212
Median 310
Mode 403
Standard Deviation 167.563394
Sample Variance 28077.4911
Kurtosis -1.19059943
Skewness -0.05027714
Range 584
Minimum 11
Maximum 595
Sum 62017.22
Count 200
(c) Compare the Mean and Standard Deviation of the parts (a) and (b) and
comment briefly.
The Mean calculated in part (a) is 310.25 while the mean calculated in part
(b) is 310.0861
The Standard deviation calculated in part (a) is 167.137, while the standard
deviation calculated in part (b) is 167.563394
From the above, it is noticeable that the mean and standard deviation is
approximately, if not, exactly the same, with just a minor difference due to
the change in decimal points.
This leads to a conclusion that calculating descriptive statistics using excel is
more efficient than calculating it by hand, as it is faster, and chances of
mistake are much lesser.
MONTHLY SPEND:
Monthly
Monthly Accommodation
Income Spend (x-x̄) (y-ȳ) (x-x̄)^2 (y-ȳ)^2 (x-x̄)(y-ȳ)
X Y
-£ -£
£ 2,204 £ 865 189 7 35541.68 42.57562 1230.126
£ £
£ 2,572 £ 952 179 80 32211.28 6476.226 14443.25
-£ -£
£ 1,845 £ 694 548 178 299783.6 31515.13 97199.38
£ £
£ 2,606 £ 999 213 127 45571.58 16249.88 27212.73
£ £
£ 2,941 £ 994 548 122 300824.8 15000.13 67174.48
£ £
£ 2,453 £ 909 60 37 3657.226 1404.376 2266.301
£ £
£ 2,887 £ 962 494 90 244505.5 8185.726 44737.63
-£ -£
£ 1,768 £ 655 625 217 390031.5 46883.08 135225.3
-£ -£
£ 2,159 £ 825 234 47 54533.93 2164.576 10864.75
-£ -£
£ 2,080 £ 791 313 81 97671.88 6484.276 25166.08
-£ -£
£ 1,875 £ 715 518 157 267832.1 24500.08 81005.6
£ £
£ 2,895 £ 940 502 68 252481.1 4688.826 34406.98
-£ -£
£ 2,283 £ 818 110 54 11995.73 2864.926 5862.326
£ £
£ 3,103 £ 1,113 710 241 504774.7 58310.18 171562
£ £
£ 2,674 £ 922 281 50 79228.18 2547.726 14207.45
-£ £
£ 2,208 £ 893 185 21 34049.48 461.1756 -3962.67
-£ -£
£ 2,195 £ 785 198 87 39016.13 7486.576 17090.85
-£ -£
£ 2,237 £ 747 156 125 24188.03 15506.48 19366.75
-£ -£
£ 1,888 £ 726 505 146 254545.5 21177.53 73421
£ £
£ 3,025 £ 1,018 632 146 400024.6 21454.93 92641.78
£ £
£ 2,721 £ 899 328 27 107895.8 754.8756 9024.851
-£ -£
£ 2,354 £ 830 39 42 1484.176 1724.326 1599.751
£ -£
£ 2,624 £ 861 231 11 53580.68 110.7756 -2436.27
£ £
£ 3,237 £ 1,093 844 221 713138 49051.18 187030.1
£ £
£ 2,849 £ 1,015 456 143 208369.4 20585.08 65492.75
-£ -£
£ 2,001 £ 786 392 86 153291.8 7314.526 33485.18
£ £
£ 2,485 £ 959 92 87 8551.626 7651.876 8089.251
£ £
£ 2,930 £ 1,122 537 250 288879.4 62737.73 134624.1
-£ -£
£ 1,735 £ 594 658 278 432339.1 77020.13 182479.6
-£ -£
£ 1,895 £ 708 498 164 247531.1 26740.43 81357.78
-£ -£
£ 1,894 £ 739 499 133 248527.2 17562.88 66067.03
-£ -£
£ 1,822 £ 749 571 123 325498.8 15012.38 69903.58
-£ -£
£ 2,296 £ 787 97 85 9317.076 7144.476 8158.776
£ £
£ 2,758 £ 1,056 365 184 133572 34031.03 67421
£ £
£ 3,289 £ 1,218 896 346 803667.4 120044.9 310606.2
-£ -£
£ 2,039 £ 721 354 151 124979.9 22657.78 53214.35
-£ -£
£ 1,882 £ 803 511 69 260635.8 4695.676 34983.73
-£ -£
£ 2,179 £ 773 214 99 45592.93 9707.176 21037.55
-£ -£
£ 1,981 £ 819 412 53 169352.8 2758.876 21615.35
£ £
£ 2,832 £ 1,006 439 134 193138.3 18083.53 59098.4
Sum: £ 95,701 £ 34,861 7901812 798794 2343975
Mean £ 2,393 £ 872
Count 40
Correlation Coefficient =
Covariance (x,y) / SDx * SDy
Correlation Coefficient =
Covariance (x,z) / SDx * SDz
x̄=2393
ȳ = 872
Slope (b) = n∑xy - ∑x∑y / n∑x^2 – (∑x)^2
= (40)( 85749789) – (95,701) (34,861) / (40)(236868847) – (95701)^2
= 3429991560 – 3336232561 / 9474753880 - 9158681401
= 93758999 / 316072479
=0.296
a= ȳ-bx̄
Assume Y to be 1218 and X to be 3289
a = 872 – (0.296)(2393)
= 872 – 708.3
=163.7
Regression line for Monthly Spending =
Y= 163.7+ 0.296x
X Z
£ £ 578 4857616 334084 1273912
2,204
£ £ 605 6615184 366025 1556060
2,572
£ £ 447 3404025 199809 824715
1,845
£ £ 654 6791236 427716 1704324
2,606
£ £ 577 8649481 332929 1696957
2,941
£ £ 578 6017209 334084 1417834
2,453
£ £ 549 8334769 301401 1584963
2,887
£ £ 416 3125824 173056 735488
1,768
£ £ 539 4661281 290521 1163701
2,159
£ £ 515 4326400 265225 1071200
2,080
£ £ 466 3515625 217156 873750
1,875
£ £ 521 8381025 271441 1508295
2,895
£ £ 504 5212089 254016 1150632
2,283
£ £ 687 9628609 471969 2131761
3,103
£ £ 546 7150276 298116 1460004
2,674
£ £ 611 4875264 373321 1349088
2,208
£ £ 483 4818025 233289 1060185
2,195
£ £ 428 5004169 183184 957436
2,237
£ £ 477 3564544 227529 900576
1,888
£ £ 588 9150625 345744 1778700
3,025
£ £ 508 7403841 258064 1382268
2,721
£ £ 503 5541316 253009 1184062
2,354
£ £ 483 6885376 233289 1267392
2,624
£ £ 633 10478169 400689 2049021
3,237
£ £ 622 8116801 386884 1772078
2,849
£ £ 525 4004001 275625 1050525
2,001
£ £ 632 6175225 399424 1570520
2,485
£ £ 735 8584900 540225 2153550
2,930
£ £ 350 3010225 122500 607250
1,735
£ £ 453 3591025 205209 858435
1,895
£ £ 492 3587236 242064 931848
1,894
£ £ 519 3319684 269361 945618
1,822
£ £ 464 5271616 215296 1065344
2,296
£ £ 691 7606564 477481 1905778
2,758
£ £ 774 10817521 599076 2545686
3,289
£ £ 439 4157521 192721 895121
2,039
£ £ 572 3541924 327184 1076504
1,882
£ £ 472 4748041 222784 1028488
2,179
£ £ 570 3924361 324900 1129170
1,981
£ £ 615 8020224 378225 1741680
2,832
SUM £ 95,701 £ £ £ £
21,821 236,868,847 12,224,625 53,359,919
n= £ 40
Average £ £
2,393 546
(v) Predict the monthly spend and saving using regression equations in part (iv)
if
(a) Monthly income = £2,000
Monthly spend = Y= 163.7+ 0.296x
= 163.7 + 0.296 (2000)
= 163.7 + 592
= 755.7
Monthly Savings = Z= 199+ 0.145 x
= 199 + 0.145 (2000)
= 199 + 290
= 489
Monthly Monthly
Accomm Accommodation
Monthly odation Monthly Income Spend
Income Spend (continuation) (continuation)
X Y X Y
£ 1,735 £ 594 £ 2,296 £ 787
£ 1,768 £ 655 £ 2,354 £ 830
£ 1,822 £ 749 £ 2,453 £ 909
£ 1,845 £ 694 £ 2,485 £ 959
£ 1,875 £ 715 £ 2,572 £ 952
£ 1,882 £ 803 £ 2,606 £ 999
£ 1,888 £ 726 £ 2,624 £ 861
£ 1,894 £ 739 £ 2,674 £ 922
£ 1,895 £ 708 £ 2,721 £ 899
£ 1,981 £ 819 £ 2,758 £ 1,056
£ 2,001 £ 786 £ 2,832 £ 1,006
£ 2,039 £ 721 £ 2,849 £ 1,015
£ 2,080 £ 791 £ 2,887 £ 962
£ 2,159 £ 825 £ 2,895 £ 940
£ 2,179 £ 773 £ 2,930 £ 1,122
£ 2,195 £ 785 £ 2,941 £ 994
£ 2,204 £ 865 £ 3,025 £ 1,018
£ 2,208 £ 893 £ 3,103 £ 1,113
£ 2,237 £ 747 £ 3,237 £ 1,093
£ 2,283 £ 818 £ 3,289 £ 1,218
Y= a+bx a =Y-bx
b=Yhigh-Ylow/Xhigh-Xlow Assume Y=1218 and X=3289
=624/1554 a= 1218 – (0.40)(3289)
=0.40 =1218 – 1315.6
=-97.6
MONTHLY SAVING :
Monthly Monthly
Monthly Monthly Income Saving
Income Saving (continuation) (continuation)
X Z X Z
£ 2,204 £ 578 £ 2,721 £ 508
£ 2,572 £ 605 £ 2,354 £ 503
£ 1,845 £ 447 £ 2,624 £ 483
£ 2,606 £ 654 £ 3,237 £ 633
£ 2,941 £ 577 £ 2,849 £ 622
£ 2,453 £ 578 £ 2,001 £ 525
£ 2,887 £ 549 £ 2,485 £ 632
£ 1,768 £ 416 £ 2,930 £ 735
£ 2,159 £ 539 £ 1,735 £ 350
£ 2,080 £ 515 £ 1,895 £ 453
£ 1,875 £ 466 £ 1,894 £ 492
£ 2,895 £ 521 £ 1,822 £ 519
£ 2,283 £ 504 £ 2,296 £ 464
£ 3,103 £ 687 £ 2,758 £ 691
£ 2,674 £ 546 £ 3,289 £ 774
£ 2,208 £ 611 £ 2,039 £ 439
£ 2,195 £ 483 £ 1,882 £ 572
£ 2,237 £ 428 £ 2,179 £ 472
£ 1,888 £ 477 £ 1,981 £ 570
£ 3,025 £ 588 £ 2,832 £ 615
(i) Estimate the monthly spend and saving using high low method if
(a) monthly income = £2,000
(b) monthly income = £3,500
a) Mean
∑fi/n
∑fi=2680
n=61
=2680/61
Mean: 43.93
b) Median
n+1/2
n=61
=61+1/2
=31st observation
31st observation = 45
Median=45
c) Mode
Most recurring observation
=45
Mode=45
f) Insert a Box plot for the data in column A and comment on type of
distribution.
N
TASK 2:
(a) Construct a column chart for No. of Sales data in cells B3:C13
45
40
35
No of Sales
30
25
20
15
10
5
0
Sales Rep
Harinder
Zahid
Dominique
Laura
Sales Rep
Jason
Brian
Ruth
Yodit
Carina
Lisa
$- $5,000 $10,000 $15,000
Sales
(c) Construct a Pie chart for Product data in cells B23:C33
19
17
17
17
17
19
23
21
(d) Construct a 3D column chart for Product sales data in cells E23:F33
$10,000
Sales
$5,000
$-
Products
TASK 3:
(a).Use Data Analysis Toolpak to create Histogram for data in D3:D202 using
Bins in H4:H15
Bin Frequency
50 10
100 20
150 15 (a) Histogram
200 19 25
250 10
20
300 18
Frequency
350 20 15
400 19
10
450 18
500 16 5
550 22
600 13 0
50 100 150 200 250 300 350 400 450 500 550 600
Sales ($)
(b) Using the frequencies of Histogram above, calculate cumulative frequency in
J4:J15.
Cumulative
Sales($) Frequency Frequency
f F
0-50 10 10
51- 100 20 30
101-150 15 45
151-200 19 64
201-250 10 74
251-300 18 92
301-350 20 112
351-400 19 131
401-450 18 149
451-500 16 165
501-550 22 187
551-600 13 200
Total 200
150 131
112
92
100 64 74
45
50 30
10
0
0 2 4 6 8 10 12 14
Frequency
(d) Estimate Median, Quartiles and Inter Quartile Range from the chart in part (c)
above
Median =
Quartile 1:
Quartile 3:
TASK 4:
(a) Use the frequency distribution in N5:O16 to calculate Mean, Variance and
Standard Deviation for grouped data
Class
Sales($) Frequency Midpoint
F X FX (X- x̄) (X- x̄)^2 F((X- x̄)^2
0 - 50 10 25 250 -285.25 81367.56 813675.6
51 - 100 20 75 1500 -235.25 55342.56 1106851
101 - 150 15 125 1875 -185.25 34317.56 514763.4
151 - 200 19 175 3325 -135.25 18292.56 347558.7
201 - 250 10 225 2250 -85.25 7267.563 72675.63
251 - 300 18 275 4950 -35.25 1242.563 22366.13
301 - 350 20 325 6500 14.75 217.5625 4351.25
351 - 400 19 375 7125 64.75 4192.563 79658.69
401 - 450 18 425 7650 114.75 13167.56 237016.1
451 - 500 16 475 7600 164.75 27142.56 434281
501 - 550 22 525 11550 214.75 46117.56 1014586
551 - 600 13 575 7475 264.75 70092.56 911203.3
Total 200 3600 62050 358760.8 5558988
Mean: ∑ FX/ ∑ F
= 62050/200
=310.25
Variance = ∑ F(X- x̄)^2/ (n-1)
= 5558988/ (200-1)
= 27934.6131
Standard Deviation = = √variance
= √27934.6131
=167.137
(b) Use the data analysis tool Pak in Excel to calculate the descriptive
statistics for the data D3:D202 in work sheet named "Task 3".
Descriptive Statistics
Mean 310.0861
Standard Error 11.8485212
Median 310
Mode 403
Standard Deviation 167.563394
Sample Variance 28077.4911
Kurtosis -1.19059943
Skewness -0.05027714
Range 584
Minimum 11
Maximum 595
Sum 62017.22
Count 200
(c) Compare the Mean and Standard Deviation of the parts (a) and (b) and
comment briefly.
The Mean calculated in part (a) is 310.25 while the mean calculated in part
(b) is 310.0861
The Standard deviation calculated in part (a) is 167.137, while the standard
deviation calculated in part (b) is 167.563394
From the above, it is noticeable that the mean and standard deviation is
approximately, if not, exactly the same, with just a minor difference due to
the change in decimal points.
This leads to a conclusion that calculating descriptive statistics using excel is
more efficient than calculating it by hand, as it is faster, and chances of
mistake are much lesser.
MONTHLY SPEND:
Monthly
Monthly Accommodation
Income Spend (x-x̄) (y-ȳ) (x-x̄)^2 (y-ȳ)^2 (x-x̄)(y-ȳ)
X Y
-£ -£
£ 2,204 £ 865 189 7 35541.68 42.57562 1230.126
£ £
£ 2,572 £ 952 179 80 32211.28 6476.226 14443.25
-£ -£
£ 1,845 £ 694 548 178 299783.6 31515.13 97199.38
£ £
£ 2,606 £ 999 213 127 45571.58 16249.88 27212.73
£ £
£ 2,941 £ 994 548 122 300824.8 15000.13 67174.48
£ £
£ 2,453 £ 909 60 37 3657.226 1404.376 2266.301
£ £
£ 2,887 £ 962 494 90 244505.5 8185.726 44737.63
-£ -£
£ 1,768 £ 655 625 217 390031.5 46883.08 135225.3
-£ -£
£ 2,159 £ 825 234 47 54533.93 2164.576 10864.75
-£ -£
£ 2,080 £ 791 313 81 97671.88 6484.276 25166.08
-£ -£
£ 1,875 £ 715 518 157 267832.1 24500.08 81005.6
£ £
£ 2,895 £ 940 502 68 252481.1 4688.826 34406.98
-£ -£
£ 2,283 £ 818 110 54 11995.73 2864.926 5862.326
£ £
£ 3,103 £ 1,113 710 241 504774.7 58310.18 171562
£ £
£ 2,674 £ 922 281 50 79228.18 2547.726 14207.45
-£ £
£ 2,208 £ 893 185 21 34049.48 461.1756 -3962.67
-£ -£
£ 2,195 £ 785 198 87 39016.13 7486.576 17090.85
-£ -£
£ 2,237 £ 747 156 125 24188.03 15506.48 19366.75
-£ -£
£ 1,888 £ 726 505 146 254545.5 21177.53 73421
£ £
£ 3,025 £ 1,018 632 146 400024.6 21454.93 92641.78
£ £
£ 2,721 £ 899 328 27 107895.8 754.8756 9024.851
-£ -£
£ 2,354 £ 830 39 42 1484.176 1724.326 1599.751
£ -£
£ 2,624 £ 861 231 11 53580.68 110.7756 -2436.27
£ £
£ 3,237 £ 1,093 844 221 713138 49051.18 187030.1
£ £
£ 2,849 £ 1,015 456 143 208369.4 20585.08 65492.75
-£ -£
£ 2,001 £ 786 392 86 153291.8 7314.526 33485.18
£ £
£ 2,485 £ 959 92 87 8551.626 7651.876 8089.251
£ £
£ 2,930 £ 1,122 537 250 288879.4 62737.73 134624.1
-£ -£
£ 1,735 £ 594 658 278 432339.1 77020.13 182479.6
-£ -£
£ 1,895 £ 708 498 164 247531.1 26740.43 81357.78
-£ -£
£ 1,894 £ 739 499 133 248527.2 17562.88 66067.03
-£ -£
£ 1,822 £ 749 571 123 325498.8 15012.38 69903.58
-£ -£
£ 2,296 £ 787 97 85 9317.076 7144.476 8158.776
£ £
£ 2,758 £ 1,056 365 184 133572 34031.03 67421
£ £
£ 3,289 £ 1,218 896 346 803667.4 120044.9 310606.2
-£ -£
£ 2,039 £ 721 354 151 124979.9 22657.78 53214.35
-£ -£
£ 1,882 £ 803 511 69 260635.8 4695.676 34983.73
-£ -£
£ 2,179 £ 773 214 99 45592.93 9707.176 21037.55
-£ -£
£ 1,981 £ 819 412 53 169352.8 2758.876 21615.35
£ £
£ 2,832 £ 1,006 439 134 193138.3 18083.53 59098.4
Sum: £ 95,701 £ 34,861 7901812 798794 2343975
Mean £ 2,393 £ 872
Count 40
Correlation Coefficient =
Covariance (x,y) / SDx * SDy
Correlation Coefficient =
Covariance (x,z) / SDx * SDz
x̄=2393
ȳ = 872
Slope (b) = n∑xy - ∑x∑y / n∑x^2 – (∑x)^2
= (40)( 85749789) – (95,701) (34,861) / (40)(236868847) – (95701)^2
= 3429991560 – 3336232561 / 9474753880 - 9158681401
= 93758999 / 316072479
=0.296
a= ȳ-bx̄
Assume Y to be 1218 and X to be 3289
a = 872 – (0.296)(2393)
= 872 – 708.3
=163.7
Regression line for Monthly Spending =
Y= 163.7+ 0.296x
X Z
£ £ 578 4857616 334084 1273912
2,204
£ £ 605 6615184 366025 1556060
2,572
£ £ 447 3404025 199809 824715
1,845
£ £ 654 6791236 427716 1704324
2,606
£ £ 577 8649481 332929 1696957
2,941
£ £ 578 6017209 334084 1417834
2,453
£ £ 549 8334769 301401 1584963
2,887
£ £ 416 3125824 173056 735488
1,768
£ £ 539 4661281 290521 1163701
2,159
£ £ 515 4326400 265225 1071200
2,080
£ £ 466 3515625 217156 873750
1,875
£ £ 521 8381025 271441 1508295
2,895
£ £ 504 5212089 254016 1150632
2,283
£ £ 687 9628609 471969 2131761
3,103
£ £ 546 7150276 298116 1460004
2,674
£ £ 611 4875264 373321 1349088
2,208
£ £ 483 4818025 233289 1060185
2,195
£ £ 428 5004169 183184 957436
2,237
£ £ 477 3564544 227529 900576
1,888
£ £ 588 9150625 345744 1778700
3,025
£ £ 508 7403841 258064 1382268
2,721
£ £ 503 5541316 253009 1184062
2,354
£ £ 483 6885376 233289 1267392
2,624
£ £ 633 10478169 400689 2049021
3,237
£ £ 622 8116801 386884 1772078
2,849
£ £ 525 4004001 275625 1050525
2,001
£ £ 632 6175225 399424 1570520
2,485
£ £ 735 8584900 540225 2153550
2,930
£ £ 350 3010225 122500 607250
1,735
£ £ 453 3591025 205209 858435
1,895
£ £ 492 3587236 242064 931848
1,894
£ £ 519 3319684 269361 945618
1,822
£ £ 464 5271616 215296 1065344
2,296
£ £ 691 7606564 477481 1905778
2,758
£ £ 774 10817521 599076 2545686
3,289
£ £ 439 4157521 192721 895121
2,039
£ £ 572 3541924 327184 1076504
1,882
£ £ 472 4748041 222784 1028488
2,179
£ £ 570 3924361 324900 1129170
1,981
£ £ 615 8020224 378225 1741680
2,832
SUM £ 95,701 £ £ £ £
21,821 236,868,847 12,224,625 53,359,919
n= £ 40
Average £ £
2,393 546
(v) Predict the monthly spend and saving using regression equations in part (iv)
if
(a) Monthly income = £2,000
Monthly spend = Y= 163.7+ 0.296x
= 163.7 + 0.296 (2000)
= 163.7 + 592
= 755.7
Monthly Savings = Z= 199+ 0.145 x
= 199 + 0.145 (2000)
= 199 + 290
= 489
Monthly Monthly
Accomm Accommodation
Monthly odation Monthly Income Spend
Income Spend (continuation) (continuation)
X Y X Y
£ 1,735 £ 594 £ 2,296 £ 787
£ 1,768 £ 655 £ 2,354 £ 830
£ 1,822 £ 749 £ 2,453 £ 909
£ 1,845 £ 694 £ 2,485 £ 959
£ 1,875 £ 715 £ 2,572 £ 952
£ 1,882 £ 803 £ 2,606 £ 999
£ 1,888 £ 726 £ 2,624 £ 861
£ 1,894 £ 739 £ 2,674 £ 922
£ 1,895 £ 708 £ 2,721 £ 899
£ 1,981 £ 819 £ 2,758 £ 1,056
£ 2,001 £ 786 £ 2,832 £ 1,006
£ 2,039 £ 721 £ 2,849 £ 1,015
£ 2,080 £ 791 £ 2,887 £ 962
£ 2,159 £ 825 £ 2,895 £ 940
£ 2,179 £ 773 £ 2,930 £ 1,122
£ 2,195 £ 785 £ 2,941 £ 994
£ 2,204 £ 865 £ 3,025 £ 1,018
£ 2,208 £ 893 £ 3,103 £ 1,113
£ 2,237 £ 747 £ 3,237 £ 1,093
£ 2,283 £ 818 £ 3,289 £ 1,218
Y= a+bx a =Y-bx
b=Yhigh-Ylow/Xhigh-Xlow Assume Y=1218 and X=3289
=624/1554 a= 1218 – (0.40)(3289)
=0.40 =1218 – 1315.6
=-97.6
MONTHLY SAVING :
Monthly Monthly
Monthly Monthly Income Saving
Income Saving (continuation) (continuation)
X Z X Z
£ 2,204 £ 578 £ 2,721 £ 508
£ 2,572 £ 605 £ 2,354 £ 503
£ 1,845 £ 447 £ 2,624 £ 483
£ 2,606 £ 654 £ 3,237 £ 633
£ 2,941 £ 577 £ 2,849 £ 622
£ 2,453 £ 578 £ 2,001 £ 525
£ 2,887 £ 549 £ 2,485 £ 632
£ 1,768 £ 416 £ 2,930 £ 735
£ 2,159 £ 539 £ 1,735 £ 350
£ 2,080 £ 515 £ 1,895 £ 453
£ 1,875 £ 466 £ 1,894 £ 492
£ 2,895 £ 521 £ 1,822 £ 519
£ 2,283 £ 504 £ 2,296 £ 464
£ 3,103 £ 687 £ 2,758 £ 691
£ 2,674 £ 546 £ 3,289 £ 774
£ 2,208 £ 611 £ 2,039 £ 439
£ 2,195 £ 483 £ 1,882 £ 572
£ 2,237 £ 428 £ 2,179 £ 472
£ 1,888 £ 477 £ 1,981 £ 570
£ 3,025 £ 588 £ 2,832 £ 615
(i) Estimate the monthly spend and saving using high low method if
(a) monthly income = £2,000
(b) monthly income = £3,500
a) Mean
∑fi/n
∑fi=2680
n=61
=2680/61
Mean: 43.93
b) Median
n+1/2
n=61
=61+1/2
=31st observation
31st observation = 45
Median=45
c) Mode
Most recurring observation
=45
Mode=45
f) Insert a Box plot for the data in column A and comment on type of
distribution.
N
TASK 2:
(a) Construct a column chart for No. of Sales data in cells B3:C13
45
40
35
No of Sales
30
25
20
15
10
5
0
Sales Rep
Harinder
Zahid
Dominique
Laura
Sales Rep
Jason
Brian
Ruth
Yodit
Carina
Lisa
$- $5,000 $10,000 $15,000
Sales
(c) Construct a Pie chart for Product data in cells B23:C33
19
17
17
17
17
19
23
21
(d) Construct a 3D column chart for Product sales data in cells E23:F33
$10,000
Sales
$5,000
$-
Products
TASK 3:
(a).Use Data Analysis Toolpak to create Histogram for data in D3:D202 using
Bins in H4:H15
Bin Frequency
50 10
100 20
150 15 (a) Histogram
200 19 25
250 10
20
300 18
Frequency
350 20 15
400 19
10
450 18
500 16 5
550 22
600 13 0
50 100 150 200 250 300 350 400 450 500 550 600
Sales ($)
(b) Using the frequencies of Histogram above, calculate cumulative frequency in
J4:J15.
Cumulative
Sales($) Frequency Frequency
f F
0-50 10 10
51- 100 20 30
101-150 15 45
151-200 19 64
201-250 10 74
251-300 18 92
301-350 20 112
351-400 19 131
401-450 18 149
451-500 16 165
501-550 22 187
551-600 13 200
Total 200
150 131
112
92
100 64 74
45
50 30
10
0
0 2 4 6 8 10 12 14
Frequency
(d) Estimate Median, Quartiles and Inter Quartile Range from the chart in part (c)
above
Median =
Quartile 1:
Quartile 3:
TASK 4:
(a) Use the frequency distribution in N5:O16 to calculate Mean, Variance and
Standard Deviation for grouped data
Class
Sales($) Frequency Midpoint
F X FX (X- x̄) (X- x̄)^2 F((X- x̄)^2
0 - 50 10 25 250 -285.25 81367.56 813675.6
51 - 100 20 75 1500 -235.25 55342.56 1106851
101 - 150 15 125 1875 -185.25 34317.56 514763.4
151 - 200 19 175 3325 -135.25 18292.56 347558.7
201 - 250 10 225 2250 -85.25 7267.563 72675.63
251 - 300 18 275 4950 -35.25 1242.563 22366.13
301 - 350 20 325 6500 14.75 217.5625 4351.25
351 - 400 19 375 7125 64.75 4192.563 79658.69
401 - 450 18 425 7650 114.75 13167.56 237016.1
451 - 500 16 475 7600 164.75 27142.56 434281
501 - 550 22 525 11550 214.75 46117.56 1014586
551 - 600 13 575 7475 264.75 70092.56 911203.3
Total 200 3600 62050 358760.8 5558988
Mean: ∑ FX/ ∑ F
= 62050/200
=310.25
Variance = ∑ F(X- x̄)^2/ (n-1)
= 5558988/ (200-1)
= 27934.6131
Standard Deviation = = √variance
= √27934.6131
=167.137
(b) Use the data analysis tool Pak in Excel to calculate the descriptive
statistics for the data D3:D202 in work sheet named "Task 3".
Descriptive Statistics
Mean 310.0861
Standard Error 11.8485212
Median 310
Mode 403
Standard Deviation 167.563394
Sample Variance 28077.4911
Kurtosis -1.19059943
Skewness -0.05027714
Range 584
Minimum 11
Maximum 595
Sum 62017.22
Count 200
(c) Compare the Mean and Standard Deviation of the parts (a) and (b) and
comment briefly.
The Mean calculated in part (a) is 310.25 while the mean calculated in part
(b) is 310.0861
The Standard deviation calculated in part (a) is 167.137, while the standard
deviation calculated in part (b) is 167.563394
From the above, it is noticeable that the mean and standard deviation is
approximately, if not, exactly the same, with just a minor difference due to
the change in decimal points.
This leads to a conclusion that calculating descriptive statistics using excel is
more efficient than calculating it by hand, as it is faster, and chances of
mistake are much lesser.
MONTHLY SPEND:
Monthly
Monthly Accommodation
Income Spend (x-x̄) (y-ȳ) (x-x̄)^2 (y-ȳ)^2 (x-x̄)(y-ȳ)
X Y
-£ -£
£ 2,204 £ 865 189 7 35541.68 42.57562 1230.126
£ £
£ 2,572 £ 952 179 80 32211.28 6476.226 14443.25
-£ -£
£ 1,845 £ 694 548 178 299783.6 31515.13 97199.38
£ £
£ 2,606 £ 999 213 127 45571.58 16249.88 27212.73
£ £
£ 2,941 £ 994 548 122 300824.8 15000.13 67174.48
£ £
£ 2,453 £ 909 60 37 3657.226 1404.376 2266.301
£ £
£ 2,887 £ 962 494 90 244505.5 8185.726 44737.63
-£ -£
£ 1,768 £ 655 625 217 390031.5 46883.08 135225.3
-£ -£
£ 2,159 £ 825 234 47 54533.93 2164.576 10864.75
-£ -£
£ 2,080 £ 791 313 81 97671.88 6484.276 25166.08
-£ -£
£ 1,875 £ 715 518 157 267832.1 24500.08 81005.6
£ £
£ 2,895 £ 940 502 68 252481.1 4688.826 34406.98
-£ -£
£ 2,283 £ 818 110 54 11995.73 2864.926 5862.326
£ £
£ 3,103 £ 1,113 710 241 504774.7 58310.18 171562
£ £
£ 2,674 £ 922 281 50 79228.18 2547.726 14207.45
-£ £
£ 2,208 £ 893 185 21 34049.48 461.1756 -3962.67
-£ -£
£ 2,195 £ 785 198 87 39016.13 7486.576 17090.85
-£ -£
£ 2,237 £ 747 156 125 24188.03 15506.48 19366.75
-£ -£
£ 1,888 £ 726 505 146 254545.5 21177.53 73421
£ £
£ 3,025 £ 1,018 632 146 400024.6 21454.93 92641.78
£ £
£ 2,721 £ 899 328 27 107895.8 754.8756 9024.851
-£ -£
£ 2,354 £ 830 39 42 1484.176 1724.326 1599.751
£ -£
£ 2,624 £ 861 231 11 53580.68 110.7756 -2436.27
£ £
£ 3,237 £ 1,093 844 221 713138 49051.18 187030.1
£ £
£ 2,849 £ 1,015 456 143 208369.4 20585.08 65492.75
-£ -£
£ 2,001 £ 786 392 86 153291.8 7314.526 33485.18
£ £
£ 2,485 £ 959 92 87 8551.626 7651.876 8089.251
£ £
£ 2,930 £ 1,122 537 250 288879.4 62737.73 134624.1
-£ -£
£ 1,735 £ 594 658 278 432339.1 77020.13 182479.6
-£ -£
£ 1,895 £ 708 498 164 247531.1 26740.43 81357.78
-£ -£
£ 1,894 £ 739 499 133 248527.2 17562.88 66067.03
-£ -£
£ 1,822 £ 749 571 123 325498.8 15012.38 69903.58
-£ -£
£ 2,296 £ 787 97 85 9317.076 7144.476 8158.776
£ £
£ 2,758 £ 1,056 365 184 133572 34031.03 67421
£ £
£ 3,289 £ 1,218 896 346 803667.4 120044.9 310606.2
-£ -£
£ 2,039 £ 721 354 151 124979.9 22657.78 53214.35
-£ -£
£ 1,882 £ 803 511 69 260635.8 4695.676 34983.73
-£ -£
£ 2,179 £ 773 214 99 45592.93 9707.176 21037.55
-£ -£
£ 1,981 £ 819 412 53 169352.8 2758.876 21615.35
£ £
£ 2,832 £ 1,006 439 134 193138.3 18083.53 59098.4
Sum: £ 95,701 £ 34,861 7901812 798794 2343975
Mean £ 2,393 £ 872
Count 40
Correlation Coefficient =
Covariance (x,y) / SDx * SDy
Correlation Coefficient =
Covariance (x,z) / SDx * SDz
x̄=2393
ȳ = 872
Slope (b) = n∑xy - ∑x∑y / n∑x^2 – (∑x)^2
= (40)( 85749789) – (95,701) (34,861) / (40)(236868847) – (95701)^2
= 3429991560 – 3336232561 / 9474753880 - 9158681401
= 93758999 / 316072479
=0.296
a= ȳ-bx̄
Assume Y to be 1218 and X to be 3289
a = 872 – (0.296)(2393)
= 872 – 708.3
=163.7
Regression line for Monthly Spending =
Y= 163.7+ 0.296x
X Z
£ £ 578 4857616 334084 1273912
2,204
£ £ 605 6615184 366025 1556060
2,572
£ £ 447 3404025 199809 824715
1,845
£ £ 654 6791236 427716 1704324
2,606
£ £ 577 8649481 332929 1696957
2,941
£ £ 578 6017209 334084 1417834
2,453
£ £ 549 8334769 301401 1584963
2,887
£ £ 416 3125824 173056 735488
1,768
£ £ 539 4661281 290521 1163701
2,159
£ £ 515 4326400 265225 1071200
2,080
£ £ 466 3515625 217156 873750
1,875
£ £ 521 8381025 271441 1508295
2,895
£ £ 504 5212089 254016 1150632
2,283
£ £ 687 9628609 471969 2131761
3,103
£ £ 546 7150276 298116 1460004
2,674
£ £ 611 4875264 373321 1349088
2,208
£ £ 483 4818025 233289 1060185
2,195
£ £ 428 5004169 183184 957436
2,237
£ £ 477 3564544 227529 900576
1,888
£ £ 588 9150625 345744 1778700
3,025
£ £ 508 7403841 258064 1382268
2,721
£ £ 503 5541316 253009 1184062
2,354
£ £ 483 6885376 233289 1267392
2,624
£ £ 633 10478169 400689 2049021
3,237
£ £ 622 8116801 386884 1772078
2,849
£ £ 525 4004001 275625 1050525
2,001
£ £ 632 6175225 399424 1570520
2,485
£ £ 735 8584900 540225 2153550
2,930
£ £ 350 3010225 122500 607250
1,735
£ £ 453 3591025 205209 858435
1,895
£ £ 492 3587236 242064 931848
1,894
£ £ 519 3319684 269361 945618
1,822
£ £ 464 5271616 215296 1065344
2,296
£ £ 691 7606564 477481 1905778
2,758
£ £ 774 10817521 599076 2545686
3,289
£ £ 439 4157521 192721 895121
2,039
£ £ 572 3541924 327184 1076504
1,882
£ £ 472 4748041 222784 1028488
2,179
£ £ 570 3924361 324900 1129170
1,981
£ £ 615 8020224 378225 1741680
2,832
SUM £ 95,701 £ £ £ £
21,821 236,868,847 12,224,625 53,359,919
n= £ 40
Average £ £
2,393 546
(v) Predict the monthly spend and saving using regression equations in part (iv)
if
(a) Monthly income = £2,000
Monthly spend = Y= 163.7+ 0.296x
= 163.7 + 0.296 (2000)
= 163.7 + 592
= 755.7
Monthly Savings = Z= 199+ 0.145 x
= 199 + 0.145 (2000)
= 199 + 290
= 489
Monthly Monthly
Accomm Accommodation
Monthly odation Monthly Income Spend
Income Spend (continuation) (continuation)
X Y X Y
£ 1,735 £ 594 £ 2,296 £ 787
£ 1,768 £ 655 £ 2,354 £ 830
£ 1,822 £ 749 £ 2,453 £ 909
£ 1,845 £ 694 £ 2,485 £ 959
£ 1,875 £ 715 £ 2,572 £ 952
£ 1,882 £ 803 £ 2,606 £ 999
£ 1,888 £ 726 £ 2,624 £ 861
£ 1,894 £ 739 £ 2,674 £ 922
£ 1,895 £ 708 £ 2,721 £ 899
£ 1,981 £ 819 £ 2,758 £ 1,056
£ 2,001 £ 786 £ 2,832 £ 1,006
£ 2,039 £ 721 £ 2,849 £ 1,015
£ 2,080 £ 791 £ 2,887 £ 962
£ 2,159 £ 825 £ 2,895 £ 940
£ 2,179 £ 773 £ 2,930 £ 1,122
£ 2,195 £ 785 £ 2,941 £ 994
£ 2,204 £ 865 £ 3,025 £ 1,018
£ 2,208 £ 893 £ 3,103 £ 1,113
£ 2,237 £ 747 £ 3,237 £ 1,093
£ 2,283 £ 818 £ 3,289 £ 1,218
Y= a+bx a =Y-bx
b=Yhigh-Ylow/Xhigh-Xlow Assume Y=1218 and X=3289
=624/1554 a= 1218 – (0.40)(3289)
=0.40 =1218 – 1315.6
=-97.6
MONTHLY SAVING :
Monthly Monthly
Monthly Monthly Income Saving
Income Saving (continuation) (continuation)
X Z X Z
£ 2,204 £ 578 £ 2,721 £ 508
£ 2,572 £ 605 £ 2,354 £ 503
£ 1,845 £ 447 £ 2,624 £ 483
£ 2,606 £ 654 £ 3,237 £ 633
£ 2,941 £ 577 £ 2,849 £ 622
£ 2,453 £ 578 £ 2,001 £ 525
£ 2,887 £ 549 £ 2,485 £ 632
£ 1,768 £ 416 £ 2,930 £ 735
£ 2,159 £ 539 £ 1,735 £ 350
£ 2,080 £ 515 £ 1,895 £ 453
£ 1,875 £ 466 £ 1,894 £ 492
£ 2,895 £ 521 £ 1,822 £ 519
£ 2,283 £ 504 £ 2,296 £ 464
£ 3,103 £ 687 £ 2,758 £ 691
£ 2,674 £ 546 £ 3,289 £ 774
£ 2,208 £ 611 £ 2,039 £ 439
£ 2,195 £ 483 £ 1,882 £ 572
£ 2,237 £ 428 £ 2,179 £ 472
£ 1,888 £ 477 £ 1,981 £ 570
£ 3,025 £ 588 £ 2,832 £ 615
(i) Estimate the monthly spend and saving using high low method if
(a) monthly income = £2,000
(b) monthly income = £3,500
a) Mean
∑fi/n
∑fi=2680
n=61
=2680/61
Mean: 43.93
b) Median
n+1/2
n=61
=61+1/2
=31st observation
31st observation = 45
Median=45
c) Mode
Most recurring observation
=45
Mode=45
f) Insert a Box plot for the data in column A and comment on type of
distribution.
N
TASK 2:
(a) Construct a column chart for No. of Sales data in cells B3:C13
45
40
35
No of Sales
30
25
20
15
10
5
0
Sales Rep
Harinder
Zahid
Dominique
Laura
Sales Rep
Jason
Brian
Ruth
Yodit
Carina
Lisa
$- $5,000 $10,000 $15,000
Sales
(c) Construct a Pie chart for Product data in cells B23:C33
19
17
17
17
17
19
23
21
(d) Construct a 3D column chart for Product sales data in cells E23:F33
$10,000
Sales
$5,000
$-
Products
TASK 3:
(a).Use Data Analysis Toolpak to create Histogram for data in D3:D202 using
Bins in H4:H15
Bin Frequency
50 10
100 20
150 15 (a) Histogram
200 19 25
250 10
20
300 18
Frequency
350 20 15
400 19
10
450 18
500 16 5
550 22
600 13 0
50 100 150 200 250 300 350 400 450 500 550 600
Sales ($)
(b) Using the frequencies of Histogram above, calculate cumulative frequency in
J4:J15.
Cumulative
Sales($) Frequency Frequency
f F
0-50 10 10
51- 100 20 30
101-150 15 45
151-200 19 64
201-250 10 74
251-300 18 92
301-350 20 112
351-400 19 131
401-450 18 149
451-500 16 165
501-550 22 187
551-600 13 200
Total 200
150 131
112
92
100 64 74
45
50 30
10
0
0 2 4 6 8 10 12 14
Frequency
(d) Estimate Median, Quartiles and Inter Quartile Range from the chart in part (c)
above
Median =
Quartile 1:
Quartile 3:
TASK 4:
(a) Use the frequency distribution in N5:O16 to calculate Mean, Variance and
Standard Deviation for grouped data
Class
Sales($) Frequency Midpoint
F X FX (X- x̄) (X- x̄)^2 F((X- x̄)^2
0 - 50 10 25 250 -285.25 81367.56 813675.6
51 - 100 20 75 1500 -235.25 55342.56 1106851
101 - 150 15 125 1875 -185.25 34317.56 514763.4
151 - 200 19 175 3325 -135.25 18292.56 347558.7
201 - 250 10 225 2250 -85.25 7267.563 72675.63
251 - 300 18 275 4950 -35.25 1242.563 22366.13
301 - 350 20 325 6500 14.75 217.5625 4351.25
351 - 400 19 375 7125 64.75 4192.563 79658.69
401 - 450 18 425 7650 114.75 13167.56 237016.1
451 - 500 16 475 7600 164.75 27142.56 434281
501 - 550 22 525 11550 214.75 46117.56 1014586
551 - 600 13 575 7475 264.75 70092.56 911203.3
Total 200 3600 62050 358760.8 5558988
Mean: ∑ FX/ ∑ F
= 62050/200
=310.25
Variance = ∑ F(X- x̄)^2/ (n-1)
= 5558988/ (200-1)
= 27934.6131
Standard Deviation = = √variance
= √27934.6131
=167.137
(b) Use the data analysis tool Pak in Excel to calculate the descriptive
statistics for the data D3:D202 in work sheet named "Task 3".
Descriptive Statistics
Mean 310.0861
Standard Error 11.8485212
Median 310
Mode 403
Standard Deviation 167.563394
Sample Variance 28077.4911
Kurtosis -1.19059943
Skewness -0.05027714
Range 584
Minimum 11
Maximum 595
Sum 62017.22
Count 200
(c) Compare the Mean and Standard Deviation of the parts (a) and (b) and
comment briefly.
The Mean calculated in part (a) is 310.25 while the mean calculated in part
(b) is 310.0861
The Standard deviation calculated in part (a) is 167.137, while the standard
deviation calculated in part (b) is 167.563394
From the above, it is noticeable that the mean and standard deviation is
approximately, if not, exactly the same, with just a minor difference due to
the change in decimal points.
This leads to a conclusion that calculating descriptive statistics using excel is
more efficient than calculating it by hand, as it is faster, and chances of
mistake are much lesser.
MONTHLY SPEND:
Monthly
Monthly Accommodation
Income Spend (x-x̄) (y-ȳ) (x-x̄)^2 (y-ȳ)^2 (x-x̄)(y-ȳ)
X Y
-£ -£
£ 2,204 £ 865 189 7 35541.68 42.57562 1230.126
£ £
£ 2,572 £ 952 179 80 32211.28 6476.226 14443.25
-£ -£
£ 1,845 £ 694 548 178 299783.6 31515.13 97199.38
£ £
£ 2,606 £ 999 213 127 45571.58 16249.88 27212.73
£ £
£ 2,941 £ 994 548 122 300824.8 15000.13 67174.48
£ £
£ 2,453 £ 909 60 37 3657.226 1404.376 2266.301
£ £
£ 2,887 £ 962 494 90 244505.5 8185.726 44737.63
-£ -£
£ 1,768 £ 655 625 217 390031.5 46883.08 135225.3
-£ -£
£ 2,159 £ 825 234 47 54533.93 2164.576 10864.75
-£ -£
£ 2,080 £ 791 313 81 97671.88 6484.276 25166.08
-£ -£
£ 1,875 £ 715 518 157 267832.1 24500.08 81005.6
£ £
£ 2,895 £ 940 502 68 252481.1 4688.826 34406.98
-£ -£
£ 2,283 £ 818 110 54 11995.73 2864.926 5862.326
£ £
£ 3,103 £ 1,113 710 241 504774.7 58310.18 171562
£ £
£ 2,674 £ 922 281 50 79228.18 2547.726 14207.45
-£ £
£ 2,208 £ 893 185 21 34049.48 461.1756 -3962.67
-£ -£
£ 2,195 £ 785 198 87 39016.13 7486.576 17090.85
-£ -£
£ 2,237 £ 747 156 125 24188.03 15506.48 19366.75
-£ -£
£ 1,888 £ 726 505 146 254545.5 21177.53 73421
£ £
£ 3,025 £ 1,018 632 146 400024.6 21454.93 92641.78
£ £
£ 2,721 £ 899 328 27 107895.8 754.8756 9024.851
-£ -£
£ 2,354 £ 830 39 42 1484.176 1724.326 1599.751
£ -£
£ 2,624 £ 861 231 11 53580.68 110.7756 -2436.27
£ £
£ 3,237 £ 1,093 844 221 713138 49051.18 187030.1
£ £
£ 2,849 £ 1,015 456 143 208369.4 20585.08 65492.75
-£ -£
£ 2,001 £ 786 392 86 153291.8 7314.526 33485.18
£ £
£ 2,485 £ 959 92 87 8551.626 7651.876 8089.251
£ £
£ 2,930 £ 1,122 537 250 288879.4 62737.73 134624.1
-£ -£
£ 1,735 £ 594 658 278 432339.1 77020.13 182479.6
-£ -£
£ 1,895 £ 708 498 164 247531.1 26740.43 81357.78
-£ -£
£ 1,894 £ 739 499 133 248527.2 17562.88 66067.03
-£ -£
£ 1,822 £ 749 571 123 325498.8 15012.38 69903.58
-£ -£
£ 2,296 £ 787 97 85 9317.076 7144.476 8158.776
£ £
£ 2,758 £ 1,056 365 184 133572 34031.03 67421
£ £
£ 3,289 £ 1,218 896 346 803667.4 120044.9 310606.2
-£ -£
£ 2,039 £ 721 354 151 124979.9 22657.78 53214.35
-£ -£
£ 1,882 £ 803 511 69 260635.8 4695.676 34983.73
-£ -£
£ 2,179 £ 773 214 99 45592.93 9707.176 21037.55
-£ -£
£ 1,981 £ 819 412 53 169352.8 2758.876 21615.35
£ £
£ 2,832 £ 1,006 439 134 193138.3 18083.53 59098.4
Sum: £ 95,701 £ 34,861 7901812 798794 2343975
Mean £ 2,393 £ 872
Count 40
Correlation Coefficient =
Covariance (x,y) / SDx * SDy
Correlation Coefficient =
Covariance (x,z) / SDx * SDz
x̄=2393
ȳ = 872
Slope (b) = n∑xy - ∑x∑y / n∑x^2 – (∑x)^2
= (40)( 85749789) – (95,701) (34,861) / (40)(236868847) – (95701)^2
= 3429991560 – 3336232561 / 9474753880 - 9158681401
= 93758999 / 316072479
=0.296
a= ȳ-bx̄
Assume Y to be 1218 and X to be 3289
a = 872 – (0.296)(2393)
= 872 – 708.3
=163.7
Regression line for Monthly Spending =
Y= 163.7+ 0.296x
X Z
£ £ 578 4857616 334084 1273912
2,204
£ £ 605 6615184 366025 1556060
2,572
£ £ 447 3404025 199809 824715
1,845
£ £ 654 6791236 427716 1704324
2,606
£ £ 577 8649481 332929 1696957
2,941
£ £ 578 6017209 334084 1417834
2,453
£ £ 549 8334769 301401 1584963
2,887
£ £ 416 3125824 173056 735488
1,768
£ £ 539 4661281 290521 1163701
2,159
£ £ 515 4326400 265225 1071200
2,080
£ £ 466 3515625 217156 873750
1,875
£ £ 521 8381025 271441 1508295
2,895
£ £ 504 5212089 254016 1150632
2,283
£ £ 687 9628609 471969 2131761
3,103
£ £ 546 7150276 298116 1460004
2,674
£ £ 611 4875264 373321 1349088
2,208
£ £ 483 4818025 233289 1060185
2,195
£ £ 428 5004169 183184 957436
2,237
£ £ 477 3564544 227529 900576
1,888
£ £ 588 9150625 345744 1778700
3,025
£ £ 508 7403841 258064 1382268
2,721
£ £ 503 5541316 253009 1184062
2,354
£ £ 483 6885376 233289 1267392
2,624
£ £ 633 10478169 400689 2049021
3,237
£ £ 622 8116801 386884 1772078
2,849
£ £ 525 4004001 275625 1050525
2,001
£ £ 632 6175225 399424 1570520
2,485
£ £ 735 8584900 540225 2153550
2,930
£ £ 350 3010225 122500 607250
1,735
£ £ 453 3591025 205209 858435
1,895
£ £ 492 3587236 242064 931848
1,894
£ £ 519 3319684 269361 945618
1,822
£ £ 464 5271616 215296 1065344
2,296
£ £ 691 7606564 477481 1905778
2,758
£ £ 774 10817521 599076 2545686
3,289
£ £ 439 4157521 192721 895121
2,039
£ £ 572 3541924 327184 1076504
1,882
£ £ 472 4748041 222784 1028488
2,179
£ £ 570 3924361 324900 1129170
1,981
£ £ 615 8020224 378225 1741680
2,832
SUM £ 95,701 £ £ £ £
21,821 236,868,847 12,224,625 53,359,919
n= £ 40
Average £ £
2,393 546
(v) Predict the monthly spend and saving using regression equations in part (iv)
if
(a) Monthly income = £2,000
Monthly spend = Y= 163.7+ 0.296x
= 163.7 + 0.296 (2000)
= 163.7 + 592
= 755.7
Monthly Savings = Z= 199+ 0.145 x
= 199 + 0.145 (2000)
= 199 + 290
= 489
Monthly Monthly
Accomm Accommodation
Monthly odation Monthly Income Spend
Income Spend (continuation) (continuation)
X Y X Y
£ 1,735 £ 594 £ 2,296 £ 787
£ 1,768 £ 655 £ 2,354 £ 830
£ 1,822 £ 749 £ 2,453 £ 909
£ 1,845 £ 694 £ 2,485 £ 959
£ 1,875 £ 715 £ 2,572 £ 952
£ 1,882 £ 803 £ 2,606 £ 999
£ 1,888 £ 726 £ 2,624 £ 861
£ 1,894 £ 739 £ 2,674 £ 922
£ 1,895 £ 708 £ 2,721 £ 899
£ 1,981 £ 819 £ 2,758 £ 1,056
£ 2,001 £ 786 £ 2,832 £ 1,006
£ 2,039 £ 721 £ 2,849 £ 1,015
£ 2,080 £ 791 £ 2,887 £ 962
£ 2,159 £ 825 £ 2,895 £ 940
£ 2,179 £ 773 £ 2,930 £ 1,122
£ 2,195 £ 785 £ 2,941 £ 994
£ 2,204 £ 865 £ 3,025 £ 1,018
£ 2,208 £ 893 £ 3,103 £ 1,113
£ 2,237 £ 747 £ 3,237 £ 1,093
£ 2,283 £ 818 £ 3,289 £ 1,218
Y= a+bx a =Y-bx
b=Yhigh-Ylow/Xhigh-Xlow Assume Y=1218 and X=3289
=624/1554 a= 1218 – (0.40)(3289)
=0.40 =1218 – 1315.6
=-97.6
MONTHLY SAVING :
Monthly Monthly
Monthly Monthly Income Saving
Income Saving (continuation) (continuation)
X Z X Z
£ 2,204 £ 578 £ 2,721 £ 508
£ 2,572 £ 605 £ 2,354 £ 503
£ 1,845 £ 447 £ 2,624 £ 483
£ 2,606 £ 654 £ 3,237 £ 633
£ 2,941 £ 577 £ 2,849 £ 622
£ 2,453 £ 578 £ 2,001 £ 525
£ 2,887 £ 549 £ 2,485 £ 632
£ 1,768 £ 416 £ 2,930 £ 735
£ 2,159 £ 539 £ 1,735 £ 350
£ 2,080 £ 515 £ 1,895 £ 453
£ 1,875 £ 466 £ 1,894 £ 492
£ 2,895 £ 521 £ 1,822 £ 519
£ 2,283 £ 504 £ 2,296 £ 464
£ 3,103 £ 687 £ 2,758 £ 691
£ 2,674 £ 546 £ 3,289 £ 774
£ 2,208 £ 611 £ 2,039 £ 439
£ 2,195 £ 483 £ 1,882 £ 572
£ 2,237 £ 428 £ 2,179 £ 472
£ 1,888 £ 477 £ 1,981 £ 570
£ 3,025 £ 588 £ 2,832 £ 615
(i) Estimate the monthly spend and saving using high low method if
(a) monthly income = £2,000
(b) monthly income = £3,500