Tutorial 1 So LN
Tutorial 1 So LN
, {BW} , {BG} , {GW} , {GG} , {BW, BG} , {BW, GW} , {BW, GG} ,
{ BG, GW} , {BG, GG} , {GW, GG} , {BW, BG, GW} , {BW, BG, GG} ,
(b) F =
(c) Let E be the event of getting the same color for both balls. Then E = {GG} and Pr (E) =
=
100 99 98
825
3
3
(b) Pr(RGS) =
49
100
34
99
17
98
289
9900
100
3
(c) Let A = 3rd ball is silver and B = first 2 are red and gold. Thus,
Pr (A |B ) =
Pr (A B)
Pr (RGS GRS)
=
Pr (B)
Pr (RG. GR.)
where
Pr (RGS GRS) =
and
Pr (RG. GR.) =
34 17
49
100 99 98
49
34 98
100 99 98
2!
2!
17
= 0.1735.
98
Pr (RRS)
Pr (A C)
=
Pr (A)
Pr (A)
where
48 17
49
100 99 98
and note that for the event A, you either have 0, 1, or 2 silver in the first two so that
83
83
17
82 17
17 16
16 15
Pr (A) =
+
2! +
.
100 99 98
100 99 98
100 99 98
Pr (RRS) =
c Katja Ignatieva
49 48
= 0.2424.
(83 82) + 2 (83 16) + (16 15)
Page 1 of 10
Solutions Week 1
3. Let A and B be two independent events so that Pr (A B) = Pr (A) Pr (B) , Pr (B|A) = Pr (B) , and
Pr (A|B) = Pr (A).
(a) To show A and B C are independent, we have:
= Pr B C |A Pr (A)
Pr A B C
= 1 Pr (B |A ) Pr (A)
| {z }
Pr(B)
= Pr B
thus independent.
Pr (A) ,
1 Pr (A |B ) Pr (B)
| {z }
Pr(A)
Pr A
thus independent.
Pr (B) ,
(c) It then becomes straightforward to show AC and B C are independent. Given that A and B are
independent, we know from part (b) that AC and B are also independent. Applying (a), then AC
and B C must also be independent.
4. (a) Let A and B be mutually exclusive, i.e., A B = and Pr (A B) = 0. Suppose they are also
independent. Then
Pr (A B) = Pr (A) Pr (B) = 0.
Therefore, either Pr (A) = 0 or Pr (B) = 0. But, both Pr (A) > 0 or Pr (B) > 0 by assumption.
This is a contradiction so that A and B cannot be independent.
(b) Now suppose A and B are independent, i.e., Pr (A B) = Pr (A) Pr (B). Suppose they are
mutually exclusive. Then Pr (A B) = 0 which implies Pr (A) Pr (B) = 0 and following similar
argument above, this cannot be true. Therefore they cannot be mutually exclusive.
6
36
1
6
Pr (E2 ) =
18
36
1
2
Pr (E3 ) =
12
36
1
3
1
36
1 1 1
1
=
.
6 2 3
36
c Katja Ignatieva
1
,
18
1
1 1
=
.
6 2
12
Page 2 of 10
Solutions Week 1
11
36
1
1 1
= .
2 3
6
(d) Consider:
Pr (E1 E3 ) = Pr (doubles and sum is 2 or 8) =
and note that
Pr (E1 ) Pr (E3 ) =
2
1
=
36
18
1 1
1
=
.
6 3
18
Pr (Z A) + Pr (Z B) + Pr (Z C)
Lecturers reasoning is clearly justified as the additional information provides no change in the
probability.
(b) However, A falsely interprets the event Z as equal to the event B C (event B is not pardoned) and
calculates:
Pr A B C
1/3
1
=
= .
Pr A B C =
Pr (B C )
2/3
2
Student As reasoning is not justified, i.e., the event Z has more information than the event B.
The lecturer does provide extra information on the probability that event C will happen, i.e.,
1/3
2
Pr (C |Z ) = Pr(CZ)
Pr(CZ) = 1/2 = 3 .
P
Using x pX (x) = 1, Pr (C |Z ) = 2/3 and Pr (B |Z ) = 0 we have that Pr (A |Z ) = 1/3
7. (a)
(b)
(c)
(d)
n
11
Use combinations. We have n = 11, r = 4:
=
= 330 ways to eliminate 4 flights.
r
4
n
5
Use combinations. We have n = 5, r = 2:
=
= 10 ways to eliminate 2 flights for the
r
2
first airline.
n
6
Use combinations. We have n = 6, r = 2:
=
= 15 ways to eliminate 2 flights for the
r
2
second airline.
5
Use multiplication rule. S1 = number of ways first airline can eliminate 2 flights, with n1 =
,
2
6
S2 = number of ways second airline can eliminate 2 flights, with n2 =
.There are n1 n2 =
2
5
6
c Katja Ignatieva
Page 3 of 10
Solutions Week 1
14
(52)
1
6
23
(52)
=
2
6
32
(52)
3
6
17
30
P
9. We know: Pr(i) 0 for i = 0, 1, 2, . . . and i Pr(i) = 1.
Rewriting the p.d.f. gives: Pr(0) = Pr(1) = Pr(2);
Pr(3) = 21 Pr(2) = 12 Pr(0);
Pr(4) =
1
1
Pr(3)
=
Pr(0)
3
3!
1
1
Hence, we have: Pr(k) = k1
Pr(k 1) = (k1)!
Pr(0).
P
P
P
P
1
1
Pr(0)
=
1
+
Pr(i) = Pr(0) +
Pr(i) = Pr(0) +
Then we rewrite:
(i1)!
(i1)! Pr(0) = 1.
i=1
i=1
i=0
i=1
1
1+e .
x > 1,
f
(x)dx
=
ce dx = [cex ]1 = ce1 = 1. Thus for c = e the first conditional holds.
X
For c = e we have: fX (x) = ex+1 e = 0 for x > 1 and zero otherwise, hence also the second
condition is satisfied. Thus c = e.
Pr(X<3X>2)
Pr(X>2)
R3 x
ce dx
R2
cex dx
2
R3 x
e dx
R2
ex dx
2
e1
e .
R
c 23 ex dx
R x
2
dx
e2 e3
e2
= 1 e1 =
11. (a)
pX (x) =
1
3
2
3
if x = 1
if x = 2/3
otherwise.
(b) graph of pX :
c Katja Ignatieva
Page 4 of 10
Solutions Week 1
graph of FX :
12. We are given a normal distributed random variable.
1
2 2
S (t) =
MX
(t)
S (t)
=
MX
(0) = E (X)
dt
MX (t)
dt
M
(0)
X
t=0
d2
S (t) =
dt2
d2
S
(t)
=
dt2
t=0
MX (t) MX
(t) [MX
(t)]2
[MX (t)]
MX (0) MX
(0) [MX
(0)]
[MX (0)]
2
= E X 2 [E (X)] = V ar (X) .
(c) Thus, S (t) = log (MX (t)) = log exp + 1/2 2 t2 = t + 12 2 t2 implies S (t) = + 2 t and
S (t) = 2 so that
S (0) = and S (0) = 2
and the result E [X] = and V (X) = 2 immediately follows.
(d) This function is called the cumulant generating function of X.
13. (a) By the theorem explained in the lecture notes we know that every m.g.f. corresponds to only one
distribution.
(b) First, we determine the first five derivatives of MX (t) with respect to t:
(1)
MX (t) =2 + 6t + 12t2
(3)
MX (t) =24
(5)
MX (t) =0
c Katja Ignatieva
Page 5 of 10
Solutions Week 1
E [X ] =MX (t) =
(2)
E X 2 =MX (t) = 2
(3)
E X 3 =MX (t) = 6
(4)
E X 4 =MX (t) = 24
5
(5)
E X =MX (t) = 0
(c) The central moments can easily be determined using the non-central moments:
E [X ] = = = 0
h
i
2
E (X ) =E X 2 2X + 2
=E X 2 2E [X] + 2
=2 2
i
h
3
E (X ) =E X 3 3X 2 + 3X2 3
=E X 3 3E X 2 + 3E [X] 2 3
=6 6 + 23
i
h
4
E (X ) =E X 4 4X 3 + 6X 2 2 4X3 + 4
=E X 4 4E X 3 + 6E X 2 2 4E [X] 3 + 4
=24 24 + 122 34
h
i
5
E (X ) =E X 5 5X 4 + 10X 32 10X 2 3 + 5X3 5
=E X 5 5E X 4 + 10E X 3 2 10E X 2 3 + 5E [X] 4 5
= 120 + 602 203 + 44
n
n1
a
b+
n
1
n2 2
a
b + . . . + bn with a = X,
n
2
E[(X)3 ]
E[(X)2 ]
- (Excess) Kurtosis: =
3/2
66+23
;
(22 )3/2
E[(X)4 ]
E[(X)2 ]
2424+122 34
(22 )2
3.
(e) First, we calculate the mean, variance, skewness, and kurtosis for those four set of parameters.
We have that:
-
for
for
for
for
c Katja Ignatieva
Page 6 of 10
Solutions Week 1
iii) We have a smaller kurtosis for insurer A than B3 , and the same mean, variance, and skewness.
Hence, the distribution of the claims of insurer A are more flat than of insurer B. This implies
that a large claim for insurer B3 is more likely than for insurer A, hence the price for reinsuring
this risk is larger for insurer B3 than insurer A.
14. The probability density function for a continuous random variable X is given by:
2
for x 1;
x3 ,
fX (x) =
0,
otherwise.
(a) FX (x) = Pr(X x) =
Rx
fX (z)dz =
Rx
1
2
z 3 dz
Rx
1
x
2 z 3 dz = z 2 1 =
1
x2
(1) = 1
1
x2
for
1
16 .
(c) graph of fX :
FX
~
1
0.8
0.6
0.4
0.2
graph of FX :
c Katja Ignatieva
4
R
x
5
fX (x) dx = 1 and 2) fX (x) 0 for all
Page 7 of 10
x. For 1) we have:
Z
Z
1 x
1 x
e dx +
e
dx
2
0
2
0
1 x
1 x
e
e
2
2
0
1
1
if 0;
2 + 2 = 1,
0,
if = 0;
1
1
2 ( 2 ) = , if < 0,
Z
fX (x) dx
Solutions Week 1
and for x 0,
Z
1 u
e du +
2
x
1
1 u
1
1 u
e
du = e
= 1 ex .
2
2
2
2
0
Thus,
FX (x) =
(c) To find the m.g.f.,
MX (t) =
=
=
=
E e
Xt
1 21 ex , if x 0;
1 x
2e ,
xt
fX (x)dx =
if x < 0.
xt 1
e dx +
ext
1
ex dx
2
1
1
ex(t+) dx +
ex(t) dx
2
2
0
0
1
1
exp (x (t + ))
exp (x (t ))
+
2
t+
2
t
0
1
2
,
+
= 2
2 +t 2 t
t2
provided t + > 0 and t < 0 (because e to the power is infinity). This is equivalent to
< t < . Therefore, blindly applying the formula, the p.g.f. would be:
PX (t) = MX (ln t) =
2,
2 (ln t)
but this is not a p.g.f. as this is not a discrete distribution (trick question!). Hence, the p.g.f.
does not exist for this/a continuous random variable.
(d) Suppose = 1, then
1 x
2 e , if x 0;
fX (x) =
1 x
if x < 0.
2e ,
and
3
Pr |X| <
=
4
=
Or, alternatively:
3
Pr |X| <
=
4
Z 0
Z 3/4
3
1 x
3
1 x
Pr < X <
=
e dx +
e dx
4
4
2
3/4 2
0
1
1
1 e3/4 +
1 e3/4 = 1 e3/4 .
2
2
3
3
3
3
Pr < X <
= Pr X <
Pr X
4
4
4
4
3
3
Pr X
= F (3/4) F (3/4) = 1 e3/4
Pr X
4
4
c Katja Ignatieva
Page 8 of 10
Solutions Week 1
h0
FX (x + h) FX (x)
.
h (1 FX (x))
The force of mortality is thus a conditional instantaneous rate of death at age xconditional on
surviving to age x. (The corresponding conditional instantaneous probability of death at age x is thus
x dx.)
(a) First, note that we can express this as:
(x) =
1
FX
(x)
FX (x + h) FX (x)
fX (x)
=
lim
=
.
1 FX (x) h0
h
1
F
(x)
1
FX (x)
X
|
{z
}
(x)
FX
fX (z)
dz.
1 FX (z)
(z) dz
dv
= fX (z)
dx
so that du = dz and v = 1 FX (z). The choice of v is not black magicif you just use
FX (z) then the first term on the RHS below is not finite.1 The only choice FX (z) + C for an
antiderivative of fX (z) that might produce finite terms on the RHS is FX (z) 1.2 Therefore
Z
E [X] =
(z) (fX (z))dz =
0
Z
= [z (1 FX (z))]0 +
(1 FX (z)) dz
0
Z
Z
= 0 + 0 +
(1 FX (z)) dz =
(1 FX (z)) dz.
u = z and
(1 FX (z)) dz
Z
1
1 FX (z)
.
fX (z) dz = E
fX (z)
(X)
0
|
{z
}
E [X] =
1
(z)
1 Using
=
=
Hence, the only way to get the first part ([z (FX (z) + C)]
0 ) to a value smaller than infinity (and larger than minis infinity)
is to set C = 1.
R
2 That the integrated term vanishes for x is proven as follows: since E[X] < , the integral xf (x)dx is convergent,
x
0
and hence the tails tend to zero, so
Z
Z
tfX (t)dt 0 for x .
fX (t)dt
x[1 FX (x)] = x
x
c Katja Ignatieva
Page 9 of 10
Solutions Week 1
fX (x) = ax 1 bx2 , for 0 x 1.
R
R1
(a) We must have fX (x) dx = 0 fX (x) dx = 1 so that:
Z
ax 1 bx2 dx =
ax abx3 dx =
1 2 1
ax abx4
2
4
1
=a
2b
4
=1a=
4
.
2b
Since a > 0 (given), we must have b < 2. Also, fX (x) 0 for all x so that at x = 1, fX (1) =
a (1 b) 0 which implies b 1.
(b) If b = 1, then a = 4 and fX (x) = 4x 1 x2 . Therefore, mean is
E [X] =
and
8
4x2 1 x2 dx =
.
15
1
1
4x3 1 x2 dx = .
3
0
2
2
8 2
11
.
= 225
Variance is V ar (X) = E X (E [X]) = 13 15
E X
c Katja Ignatieva
Page 10 of 10