You are on page 1of 2

Statistics (CT3)

Component 1
Data and probability
Coursework solutions
1. Choose our classes to have a width of 10 and have the following classes: 1019, 20
29, 30 39, 40 49, 50 59.
Stem
1
2
3
4
5

Leaf
1, 3, 3, 5, 8
0, 2, 5, 5, 5, 9
0, 1, 1, 4, 6, 6, 7, 8, 8
2, 3, 5, 9
4, 5, 5
Table 2.

2. The mean is
n

1X
1
x=
xk =
(0 + 0 + 2 + 3 + 5 + 6 + 7 + 8 + 8 + 9 + 10)
n k=1
11
58
= 5.273.
11
The median is 6. The sequence has two modes, 0 and 8, and is called bimodal. The
variance is
n
1 X
m2 =
(xk x)2
n 1 k=1
=

1
(0 5.273)2 + (0 5.273)2 + (2 5.273)2 + (3 5.273)2 + (5 5.273)2
11 1

+ (6 5.273)2 + (7 5.273)2 + (8 5.273)2 + (8 5.273)2 + (9 5.273)2 + (10 5.273)2


= 12.618

and the standard deviation is S = m2 = 12.618 = 3.552 . The skewness g is


Pn

g=
n

n1
Pn
1

3
k=1 (xk x)

2
k=1 (xk x)

3/2 .

Computing sums in the numerator and denominator we get


(0 5.273)3 + (0 5.273)3 + (2 5.273)3 + (3 5.273)3 + (5 5.273)3
+ (6 5.273)3 + (7 5.273)3 + (8 5.273)3 + (8 5.273)3
+ (9 5.273)3 + (10 5.273)3 = 136.566,

(0 5.273)2 + (0 5.273)2 + (2 5.273)2 + (3 5.273)2


+ (5 5.273)2 + (6 5.273)2 + (7 5.273)2 + (8 5.273)2
+ (8 5.273)2 + (9 5.273)2 + (10 5.273)2 = 126.182,
g=

111 (136.566)
(111 126.182)3/2

= 0.319 .

3. (a) Let x be the proportion of raisins in box 3,


x=

number of raisins in box 3


.
total number of raisins

Then the proportion of raisins in box 1 is 2x and


1 = 2x + 5x = 7x.
Thus the probability that the raisin come from box 3 is 1/7.
(b) Let y be the probability that the raisin came from box 1. Then
1=y+

5x
.
2

Solving for y we get y = 2/7. Hence the probability that the raisin did not come
from box 1 is
5
2
1 = .
7
7

You might also like