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

Assignment 3 (Edwin)

Uploaded by

20040519cyf
Copyright
© © All Rights Reserved
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views

Assignment 3 (Edwin)

Uploaded by

20040519cyf
Copyright
© © All Rights Reserved
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
You are on page 1/ 16

Q1.

Let the profit of Aplus and Best be A and B respectively

Mean of A & B = μ
SD of A = 10, SD of B = μ/3

P(A < 0) = 0.7 * P(B < 0)


= 0.7 * P(Z < (0-μ)/(μ/3) )
= 0.7 * P(Z < -3)
= 0.7 * NORM.S.DIST(-3,TRUE)
= 0.7 * 0.00135
= 0.000945

P(A < 0) = 0.000945


P(Z < (0-μ)/10) = 0.000945
-μ/10 = NORM.S.INV(0.000945)
-μ/10 = -3.10699
μ = 31.0699

SD of B = 31.0699/3
= 10.36 (2dp)
Q2. Let the annual salary of a woman and man in a year be X and Y respectively

μ of X = 34800, μ = Y = 33000
SD of X & Y = 300

To find the annual salary of a woman which is higher than 95% of her male counterparts, we must
find the
95th percentile of salaries among men.
Let n be the annual salary of the woman which is higher than 95% of her male counterparts.

P(Y < n) = 0.95


P(Z < (n-33000)/300) = 0.95
(n-33000)/300 = NORM.S.INV(0.95)
(n-33000)/300 = 1.644854
n = $33493.46 (2dp)
S/N life time (hours) life time (days) Quantile Theoratical data
1 2.6 0.1098046531 0.001667 -94.610976033
2 2.6 0.1102032829 0.005 -76.863316845 Q3a) Q-Q pl
3 2.9 0.1217551851 0.008333 -67.882596331 250
4 3.0 0.1236529018 0.011667 -61.657683152
200
5 3.0 0.1251661399 0.015 -56.825715306
6 3.4 0.1408476874 0.018333 -52.843565296 150
7 3.4 0.1413916621 0.021667 -49.437276583 100
8 3.6 0.1503825143 0.025 -46.448527742
50
9 3.8 0.1567377039 0.028333 -43.77722677
10 4.0 0.1648405006 0.031667 -41.355906743 0
0.0 50.0 100.0 150.0 200
11 4.0 0.1681563658 0.035 -39.13684756 -50
12 4.1 0.1708063979 0.038333 -37.085003533
-100
13 4.2 0.1747769924 0.041667 -35.173848653
14 4.4 0.1815129889 0.045 -33.382801865 -150
15 4.6 0.1918039008 0.048333 -31.695560528
16 4.8 0.19895858 0.051667 -30.098982018
17 5.0 0.2069819395 0.055 -28.582309914
18 5.0 0.2081801668 0.058333 -27.136624425
19 5.0 0.2098981575 0.061667 -25.754443135
20 5.1 0.2139961931 0.065 -24.429425143
21 5.2 0.2169249386 0.068333 -23.156147969
3b) Let X be the life time (days) of a battery
22 5.3 0.2197710741 0.071667 -21.929936677
μ of X = 2.0977
23 5.4 0.2252694337 0.075 -20.746731173 λ of X = 1/2.0977
24 5.5 0.2283392734 0.078333 -19.602981847
P(X > 2 days) = 1 - P(X=<2)
25 5.6 0.2331813472 0.081667 -18.49556656 = 1 - EXPON.DIST(2, 1/2.0977, t
26 5.8 0.2436175796 0.085 -17.421723943 = 0.385419
27 6.1 0.254008314 0.088333 -16.378999276
Let Y be the number of batteries that last 2 d
28 6.3 0.2616451187 0.091667 -15.365200209 Probability of computer lasting less than 2 d
29 6.3 0.2622006316 0.095 -14.37836024 = 1 - P(Y=2)
30 6.3 0.2633616876 0.098333 -13.416708361 = 1 - BINOM.DIST(2,2,0.385419,false)
= 1 - 0.148548
31 6.5 0.2687500061 0.101667 -12.478643673 = 0.851452
32 6.6 0.2743105097 0.105 -11.562714014 = 0.851(3sf)
33 6.7 0.2789165717 0.108333 -10.667597853
34 7.1 0.2952837779 0.111667 -9.7920888819
35 7.4 0.3095282865 0.115 -8.9350828206
36 7.6 0.3175136372 0.118333 -8.0955660709
37 7.7 0.319617502 0.121667 -7.2726059138
38 8.4 0.3499213495 0.125 -6.4653420039
39 8.4 0.3499695385 0.128333 -5.6729789592
40 8.6 0.3572629977 0.131667 -4.8947798814
41 8.8 0.3663468642 0.135 -4.1300606684
42 8.9 0.3699686612 0.138333 -3.3781850056
43 9.2 0.3842389498 0.141667 -2.6385599412
44 9.3 0.3854611561 0.145 -1.9106319641
45 9.3 0.3876958231 0.148333 -1.1938835182
46 9.3 0.3880068206 0.151667 -0.4878298954
47 9.4 0.3906175478 0.155 0.20798354144
48 9.4 0.3914242074 0.158333 0.89398384619
49 9.5 0.3945000574 0.161667 1.5705727243
50 9.5 0.3966033547 0.165 2.23812854446
51 9.8 0.4084753918 0.168333 2.89700815377
52 9.9 0.4110661848 0.171667 3.54754851902
53 9.9 0.4118002783 0.175 4.19006821376
54 10.0 0.4186565276 0.178333 4.82486876836
55 10.2 0.4232122061 0.181667 5.45223589795
56 10.2 0.4242433655 0.185 6.07244062139
57 10.7 0.4459741446 0.188333 6.68574028267
58 10.8 0.4520220207 0.191667 7.2923794848
59 11.2 0.4681098526 0.195 7.89259094527
60 11.6 0.4847963071 0.198333 8.48659628058
61 11.7 0.4867139318 0.201667 9.07460672714
62 11.8 0.4908255811 0.205 9.65682380444
63 11.8 0.4926915151 0.208333 10.2334399261
64 12.0 0.4983782583 0.211667 10.8046389637
65 12.2 0.5093674224 0.215 11.3705967675
66 12.3 0.5121183621 0.218333 11.9314816482
67 12.5 0.5191522713 0.221667 12.4874548234
68 12.5 0.5217411325 0.225 13.0386708313
69 12.5 0.5226416923 0.228333 13.5852779145
70 12.7 0.5306138182 0.231667 14.1274183779
71 13.0 0.543502129 0.235 14.6652289201
72 13.2 0.5480376304 0.238333 15.1988409433
73 13.4 0.5572731939 0.241667 15.7283808421
74 13.4 0.5583014922 0.245 16.2539702725
75 13.8 0.5744736085 0.248333 16.7757264039
76 13.9 0.5799768069 0.251667 17.2937621545
77 14.0 0.5845579318 0.255 17.8081864114
78 14.5 0.6043117999 0.258333 18.3191042375
79 14.6 0.6080617303 0.261667 18.8266170652
80 14.6 0.6099930379 0.265 19.3308228778
81 14.8 0.6155117235 0.268333 19.8318163807
82 15.0 0.6270138905 0.271667 20.3296891619
83 15.7 0.6529271443 0.275 20.8245298432
84 16.2 0.6742962081 0.278333 21.3164242224
85 16.7 0.6946915487 0.281667 21.8054554079
86 16.8 0.7001392692 0.285 22.2917039448
87 17.1 0.7117572202 0.288333 22.7752479346
88 17.2 0.7178461213 0.291667 23.2561631483
89 17.5 0.7291279476 0.295 23.7345231329
90 17.7 0.7375658462 0.298333 24.2103993126
91 17.7 0.7389541546 0.301667 24.6838610841
92 18.0 0.748084939 0.305 25.1549759077
93 18.1 0.7536555914 0.308333 25.6238093927
94 18.4 0.7683840721 0.311667 26.0904253793
95 19.2 0.7982692724 0.315 26.5548860158
96 19.2 0.7996637267 0.318333 27.0172518323
97 19.6 0.8146613413 0.321667 27.4775818104
98 19.6 0.8162108938 0.325 27.9359334497
99 20.2 0.8435916989 0.328333 28.3923628315
100 20.4 0.8482976026 0.331667 28.8469246785
101 20.5 0.8522435746 0.335 29.2996724131
102 20.6 0.8578755397 0.338333 29.7506582115
103 20.8 0.8684310913 0.341667 30.1999330562
104 21.1 0.8772968388 0.345 30.6475467865
105 21.1 0.8797186141 0.348333 31.0935481458
106 21.6 0.9019789031 0.351667 31.5379848274
107 21.8 0.9093687444 0.355 31.9809035181
108 22.1 0.9207140588 0.358333 32.4223499406
109 22.7 0.9458967541 0.361667 32.862368893
110 23.6 0.9851039087 0.365 33.3010042877
111 23.8 0.9921186936 0.368333 33.738299188
112 24.3 1.0136747041 0.371667 34.1742958438
113 24.8 1.0341893074 0.375 34.6090357256
114 25.6 1.0675648125 0.378333 35.0425595573
115 25.8 1.0750450911 0.381667 35.4749073474
116 26.0 1.0813975224 0.385 35.9061184196
117 26.1 1.087891756 0.388333 36.3362314422
118 26.3 1.0941325194 0.391667 36.7652844556
119 26.7 1.1113243914 0.395 37.1933149004
120 26.8 1.1159330052 0.398333 37.6203596428
121 26.8 1.1173562258 0.401667 38.0464550006
122 27.2 1.1319677195 0.405 38.4716367674
123 27.8 1.1582789186 0.408333 38.8959402363
124 27.9 1.1618011329 0.411667 39.3194002231
125 28.1 1.1726828744 0.415 39.7420510886
126 28.5 1.1859126604 0.418333 40.1639267599
127 28.7 1.1948838323 0.421667 40.585060752
128 28.7 1.1958520869 0.425 41.0054861875
129 29.2 1.2166275646 0.428333 41.425235817
130 29.4 1.223118117 0.431667 41.8443420383
131 29.4 1.2268372235 0.435 42.262836915
132 29.7 1.2362493057 0.438333 42.6807521952
133 29.8 1.2416364032 0.441667 43.0981193294
134 30.2 1.2565059628 0.445 43.5149694879
135 30.2 1.257212095 0.448333 43.9313335781
136 30.4 1.2661374632 0.451667 44.3472422611
137 30.5 1.2687961539 0.455 44.7627259685
138 30.6 1.2754354449 0.458333 45.1778149185
139 30.7 1.2787119606 0.461667 45.5925391315
140 31.3 1.3021546408 0.465 46.0069284462
141 31.7 1.3200223301 0.468333 46.4210125345
142 32.5 1.354785191 0.471667 46.8348209174
143 32.7 1.3605046871 0.475 47.248382979
144 32.7 1.3635655713 0.478333 47.6617279823
145 34.2 1.4254538169 0.481667 48.0748850833
146 34.3 1.4276416531 0.485 48.4878833456
147 34.8 1.4498769929 0.488333 48.900751755
148 35.3 1.4715259342 0.491667 49.3135192333
149 35.4 1.4759795111 0.495 49.7262146534
150 35.5 1.4780054067 0.498333 50.1388668526
151 36.1 1.5040882186 0.501667 50.5515046472
152 36.1 1.5051592688 0.505 50.9641568464
153 36.2 1.5092974128 0.508333 51.3768522665
154 36.2 1.5096520342 0.511667 51.7896197449
155 37.0 1.5399566935 0.515 52.2024881542
156 38.1 1.5882309209 0.518333 52.6154864165
157 38.3 1.5960901214 0.521667 53.0286435175
158 38.5 1.6060274539 0.525 53.4419885209
159 39.0 1.6244105432 0.528333 53.8555505825
160 39.1 1.627915921 0.531667 54.2693589653
161 39.1 1.6296874917 0.535 54.6834430537
162 39.2 1.6332664773 0.538333 55.0978323684
163 39.4 1.6417105889 0.541667 55.5125565814
164 39.5 1.6455578774 0.545 55.9276455314
165 39.7 1.6551396056 0.548333 56.3431292388
166 39.7 1.6552037791 0.551667 56.7590379218
167 40.4 1.6822757977 0.555 57.175402012
168 41.1 1.7137841473 0.558333 57.5922521705
169 41.3 1.7198136102 0.561667 58.0096193047
170 42.5 1.7716738543 0.565 58.4275345849
171 42.9 1.7868612095 0.568333 58.8460294616
172 43.7 1.822656185 0.571667 59.2651356828
173 44.1 1.8367856597 0.575 59.6848853124
174 44.4 1.8507248329 0.578333 60.1053107479
175 45.2 1.8851021645 0.581667 60.5264447399
176 45.3 1.8867212523 0.585 60.9483204113
177 46.2 1.9269998647 0.588333 61.3709712768
178 46.3 1.928058584 0.591667 61.7944312636
179 46.7 1.9464315733 0.595 62.2187347325
180 47.4 1.9766619449 0.598333 62.6439164992
181 48.3 2.0105274999 0.601667 63.070011857
182 48.3 2.0122687099 0.605 63.4970565995
183 48.5 2.0198791446 0.608333 63.9250870442
184 49.0 2.0428788688 0.611667 64.3541400577
185 49.5 2.0643626728 0.615 64.7842530802
186 50.3 2.0975512494 0.618333 65.2154641525
187 50.6 2.107972354 0.621667 65.6478119426
188 50.7 2.1121964655 0.625 66.0813357742
189 51.0 2.1242262321 0.628333 66.5160756561
190 51.0 2.1267138449 0.631667 66.9520723119
191 51.3 2.1389683591 0.635 67.3893672122
192 53.5 2.2287454843 0.638333 67.8280026069
193 53.7 2.2387038879 0.641667 68.2680215593
194 54.6 2.2770278376 0.645 68.7094679818
195 55.9 2.3281838978 0.648333 69.1523866725
196 56.4 2.3519176628 0.651667 69.5968233541
197 56.4 2.3520617356 0.655 70.0428247133
198 56.6 2.3568640225 0.658333 70.4904384437
199 57.3 2.389483845 0.661667 70.9397132884
200 58.8 2.4479867673 0.665 71.3906990867
201 59.1 2.4609666112 0.668333 71.8434468213
202 59.1 2.4622784882 0.671667 72.2980086684
203 60.5 2.5206190246 0.675 72.7544380502
204 61.0 2.5404478344 0.678333 73.2127896895
205 61.2 2.5508461368 0.681667 73.6731196675
206 61.8 2.5738489095 0.685 74.135485484
207 63.1 2.6298251446 0.688333 74.5999461206
208 63.5 2.6468946946 0.691667 75.0665621072
209 64.0 2.6675580962 0.695 75.5353955922
210 64.1 2.6688455854 0.698333 76.0065104158
211 64.3 2.6773924404 0.701667 76.4799721873
212 64.3 2.6788246074 0.705 76.9558483669
213 65.1 2.7132690446 0.708333 77.4342083516
214 65.2 2.7163330817 0.711667 77.9151235653
215 65.9 2.7439758603 0.715 78.3986675551
216 66.3 2.7607990841 0.718333 78.884916092
217 66.5 2.7696831759 0.721667 79.3739472774
218 66.5 2.7711207406 0.725 79.8658416567
219 66.9 2.7891427362 0.728333 80.360682338
220 67.1 2.7956934324 0.731667 80.8585551192
221 67.2 2.8004680391 0.735 81.3595486221
222 67.3 2.8023833767 0.738333 81.8637544347
223 67.9 2.829494252 0.741667 82.3712672624
224 68.0 2.8337859721 0.745 82.8821850885
225 68.6 2.8598748455 0.748333 83.3966093454
226 68.8 2.8666978218 0.751667 83.914645096
227 69.0 2.8763223772 0.755 84.4364012274
228 70.5 2.9356958633 0.758333 84.9619906578
229 71.2 2.9659796773 0.761667 85.4915305566
230 71.3 2.969609486 0.765 86.0251425798
231 71.4 2.9739576702 0.768333 86.562953122
232 72.6 3.0244607702 0.771667 87.1050935853
233 72.7 3.027291428 0.775 87.6517006686
234 73.3 3.0542365681 0.778333 88.2029166765
235 73.4 3.0574163333 0.781667 88.7588898517
236 73.4 3.0588517105 0.785 89.3197747324
237 73.6 3.0658299926 0.788333 89.8857325362
238 74.2 3.0928320159 0.791667 90.4569315738
239 77.2 3.2173989849 0.795 91.0335476954
240 77.2 3.2175089623 0.798333 91.6157647727
241 78.3 3.2627272476 0.801667 92.2037752193
242 80.0 3.3318463969 0.805 92.7977805546
243 80.0 3.334900821 0.808333 93.3979920151
244 80.1 3.3394175251 0.811667 94.0046312172
245 81.5 3.3950515036 0.815 94.6179308785
246 81.6 3.400507254 0.818333 95.2381356019
247 81.7 3.4055030409 0.821667 95.8655027315
248 81.9 3.4104674097 0.825 96.5003032861
249 83.2 3.4662975822 0.828333 97.1428229809
250 83.9 3.4953631714 0.831667 97.7933633461
251 89.7 3.7378377485 0.835 98.4522429554
252 90.4 3.768236554 0.838333 99.1197987756
253 90.7 3.778437443 0.841667 99.7963876537
254 90.7 3.7796330747 0.845 100.482387958
255 91.2 3.8017051214 0.848333 101.178201395
256 91.9 3.8284893367 0.851667 101.884255018
257 92.1 3.8366658956 0.855 102.601003464
258 92.6 3.8591109778 0.858333 103.328931441
259 95.3 3.9721435783 0.861667 104.068556505
260 95.9 3.9944361054 0.865 104.820432168
261 97.1 4.0440611088 0.868333 105.585151381
262 98.5 4.1021223333 0.871667 106.363350459
263 100.7 4.1970068349 0.875 107.155713504
264 101.2 4.2177912984 0.878333 107.962977414
265 101.9 4.244016716 0.881667 108.785937571
266 104.2 4.3424212742 0.885 109.62545432
267 104.9 4.3699783278 0.888333 110.482460382
268 107.0 4.4590311392 0.891667 111.357969353
269 108.1 4.5027745423 0.895 112.253085514
270 109.4 4.5604094096 0.898333 113.169015173
271 110.1 4.5865005757 0.901667 114.107079861
272 111.3 4.6362637018 0.905 115.06873174
273 113.9 4.7472435774 0.908333 116.055571709
274 114.2 4.7601714813 0.911667 117.069370775
275 121.6 5.0653851132 0.915 118.112095443
276 122.3 5.0941338031 0.918333 119.18593806
277 122.6 5.107986112 0.921667 120.293353347
278 123.0 5.1238841934 0.925 121.437102673
279 124.1 5.170850853 0.928333 122.620308176
280 125.4 5.224545669 0.931667 123.846519469
281 128.6 5.3602107713 0.935 125.119796643
282 132.3 5.5137573068 0.938333 126.444814635
283 142.2 5.9262370866 0.941667 127.826995925
284 146.1 6.0882368012 0.945 129.272681414
285 149.4 6.2264784274 0.948333 130.789353518
286 150.4 6.2653197037 0.951667 132.385932028
287 153.1 6.3770856044 0.955 134.073173365
288 153.4 6.3899735195 0.958333 135.864220153
289 161.5 6.7271147199 0.961667 137.775375033
290 168.9 7.0392222599 0.965 139.82721906
291 170.2 7.0928413914 0.968333 142.046278243
292 183.5 7.6455035915 0.971667 144.46759827
293 200.0 8.3316897939 0.975 147.138899242
294 202.3 8.4273556244 0.978333 150.127648083
295 218.3 9.0947146525 0.981667 153.533936796
296 227.8 9.4932528725 0.985 157.516086806
297 238.7 9.9473601187 0.988333 162.348054652
298 248.5 10.355045936 0.991667 168.57296783
299 258.4 10.766650247 0.995 177.553688345
300 311.4 12.975219607 0.998333 195.301347533
Q3a) Q-Q plot

50.0 100.0 150.0 200.0 250.0 300.0 350.0

be the life time (days) of a battery


0977
2.0977

ys) = 1 - P(X=<2)
= 1 - EXPON.DIST(2, 1/2.0977, true)
= 0.385419

he number of batteries that last 2 days or more


y of computer lasting less than 2 days
2)
M.DIST(2,2,0.385419,false)
8548
2
f)
Bin Frequency
20 98
40 68
60 36 Histogram
80 40 120
100 20
120 12
140 8 100
160 6
180 3
200 2 80
220 2
240 2

Frequency
260 2 60
300 0
320 1
More 0 40

20

0
20 40 60 80 100 120 140 160 180 200 220 240 260 300 32

Bin
Stats for life-time (days) Stats for life-time (hours)

Mean 2.09771607 Mean


ogram Standard Erro 0.11880294 Standard Erro
Median 1.49104681 Median
Mode #N/A Mode
Standard Dev 2.0577273 Standard Dev
Sample Varia 4.23424164 Sample Varia
Kurtosis 5.18671789 Kurtosis
Skewness 1.98658483 Skewness
Range 12.865415 Range
Minimum 0.10980465 Minimum
Maximum 12.9752196 Maximum
Frequency Sum 629.314822 Sum
Count 300 Count
1

180 200 220 240 260 300 320 More


tats for life-time (hours)

50.3451857
2.85127058
35.7851235
#N/A
49.3854552
2438.92318
5.18671789
1.98658483
308.769959
2.63531167
311.405271
15103.5557
300
1
Let revenue be X
No.of coursesRevenue (X) Probability Probability*X^2
0 course 0 0.05 0 Q4-1)
1 course 9000 0.10 8100000 60000
2 course 18000 0.30 97200000
50000
3 course 27000 0.25 182250000
4 course 36000 0.15 194400000 40000
5 course 45000 0.10 202500000
30000
6 course 54000 0.05 145800000
20000

Q4-2) Mean E(X) = 25650 10000

Variance= 172327500 0
SD= 13127.36 (2dp) 0 course 1 course 2 course 3 course 4 course 5 co

Revenue (X) Probability

Q4-3)
Q4-1)
0.35

0.30

0.25

0.20

0.15

0.10

0.05

0.00
urse 3 course 4 course 5 course 6 course

venue (X) Probability

You might also like