Probability spaces and random variables Exercises
Exercise 1.1. This exercise refers to the random variables described in the slides from the course.
=n
1; 2; 3; 4; 5; 6o
. We already established that it is not possible to build a prob- ability measure on the sample space such that both random variables X and W have a uniform distribution. Is it possible to build a probability measure on the sample space such that both random variables X and W have the same distribution ?
Exercice 1.2. Let Card( ) < 1. Show that if X : ! R and Y : ! R are F measurable then minfX; Yg, maxfX; Yg and XY are also F measurable. In addi- tion, show that if 8!2 ,Y (!)6= 0 then X=Y is F measurable.
Exercice 1.3. The indicator function of an event C is de…ned as IC : ! f0;1g
! 7!IC(!) = 1 if !2C 0 if ! =2C Show that
(I1) If A belongs to the -algebraG then IA is G measurable.
(I2) IA\B =IAIB:
(I3) IA[B =IA+IB IA\B:
Now, letA1; :::; An be a …nite partition of the sample space . Show that (I4) Pn
i=1IAi(!) = 1 for every ! 2 :
Exercise 1.4. Consider the following sample space and functionX : !R: X
!1 0
!2 0
!3 1
!4 1
!5 1
a) What is the smallest -algebraF such thatX is a random variable ? b) What is the smallest -algebraG such thatjXj is a random variable ? c) Is jXj aF random variable ? Justify your answer.
d) Is X aG random variable ? Justify your answer.
Exercise 1.5. Let =f1; :::;6g; A=ff1;3;5g;f1;2;3gg and B =ff2;4;6g;f4;5;6gg: a) DescribeF = (A), the -algebra generated byA.
b) List the atoms ofF.
c) DescribeG = (B), the -algebra generated byB. d) List the atoms ofG:
Exercise 1.6. Let X be a random variable de…ned on a probability space ( ;F;P) and Y(!) = exp [X(!)]; !2
a) Show thatY is also a random variable, and express its cumulative distribution function FY as a function of FX.
b) AssumeX has a continuous distribution. Then,Y is continuous too. ExpressfY, the density function ofY, as a function of fX, the density function ofX.
c) Assume X N(0;1). CalculatefY and P(Y 1).
d) What is the name of the distribution of Y ?
Solutions
1 Exercise 1.1
Yes, it is possible. Indeed, let pi =P n
i o
. We are looking for values of p1; :::; p6 such that :
…rstly, P is a probability measure, meaning
(i) 0 pi 1
(ii) p1+p2+p3+p4+p5+p6 = 1 ;
secondly, the distribution of the random variable X is arbitrary, meaning that (X1) PfX = 0g=Pn
1; 2o
=p1+p2 =q0 (X2) PfX = 5g=Pn
3; 4o
=p3+p4 =q5 (X3) PfX = 10g=Pn
5; 6o
=p5+p6 =q10
and …nally, the distribution of the random variable W is the same asX, meaning (W1) PfW = 0g=Pn
5o
=p5 =q0 (W2) PfW = 5g=Pn
1; 2; 3; 4o
=p1+p2+p3 +p4 =q5 (W3) PfW = 10g=P
n 6
o
=p6 =q10
The constraints(X3)and(W3)imply thatp5 = 0andp6 =q10. Then, from(W1)we obtain that q0 =p5 = 0. This impliesq5 = 1 q0 q10 = 1 q10. Since p1 and p2 are non negative and because their sum is 0 (see X1), we conclude that p1 = p2 = 0. The constraint (X2) yieldsp3 =q5 p4 = 1 q10 p4. Hence the solution is
x PfX =xg=PfW =xg
0 0
5 1 q10
10 q10 2[0; 1]
:
! P(!) ! P(!)
1 0 4 p4 2[0; 1 q10]
2 0 5 0
2 Exercise 1.2
SinceCard( )<1, the random variablesX and Y can only take a …nite number of values, sayx1 < ::: < xm and y1 < ::: < yn respectively.
Let us show that minfX; Yg is F measurable :8z 2R, f! 2 jminfX(!); Y (!)g zg
= f! 2 jX(!) z or Y (!) zg
= f|! 2 jX{z(!) zg}
2F
[ f|!2 jY{z(!) zg}
2F
2 F.
Let us show that maxfX; Yg is F measurable :8z 2R, f! 2 jmaxfX(!); Y (!)g zg
= f! 2 jX(!) z and Y (!) zg
= f|! 2 jX{z(!) zg}
2F
\ f|!2 jY{z(!) zg}
2F
2 F.
Let us show that XY isF measurable :8z 2R, f!2 jX(!)Y (!) zg
= [
xiyj z
f!2 jX(!) = xi and Y (!) = yjg
= [
xiyj z
f!2 jX(!) = xig
| {z }
2F
\ f!2 jY (!) = yjg
| {z }
| {z 2F }
2F
2 F.
Let us show that if Y 6= 0; X=Y is F measurable :8z 2R,
!2 X(!) Y (!) z
= [
xi yj z
f!2 jX(!) =xi and Y (!) =yjg
= [
xi yj z
f!2 jX(!) =xig
| {z }
2F
\ f|! 2 jY{z(!) =yjg}
| {z 2F }
2F
2 F.
3 Exercise 1.3
Proof of
(I1): To show : If A belongs to the -algebra G then IA is G measurable.We must show that 8x2R, f! 2 :IA(!) =xg 2 G. However, f!2 :IA(!) = 1g=A2 G, f!2 :IA(!) = 0g=Ac 2 G and 8x =2 f0;1g, f!2 :IA(!) = xg=?2 G.
Proof of
(I2): To show : IA\B =IAIB:IA\B(!) = 1 ! 2A\B 0 ! =2A\B On the other hand,
IA(!)IB(!) = 1 , IA(!) = 1 and IB(!) = 1 , ! 2A and !2B
, ! 2A\B.
Proof of
(I3): To show : IA[B =IA+IB IA\B: Let us consider four cases :if ! 2A\B then IA[B(!) = 1 and IA(!) +IB(!) IA\B(!)
= 1 + 1 1 = 1 if ! 2A\Bc then IA[B(!) = 1 and IA(!) +IB(!) IA\B(!)
= 1 + 0 0 = 1 if ! 2Ac\B then IA[B(!) = 1 and IA(!) +IB(!) IA\B(!)
= 0 + 1 0 = 1 if ! 2Ac\Bc then IA[B(!) = 0 and IA(!) +IB(!) IA\B(!)
= 0 + 0 0 = 0
Proof of
(I4). To show : Let A1; :::; An be a …nite partition of the sample space . Show that Pni=1IAi(!) = 1 for every ! 2 :
Let! 2Aj be an arbitrary element from the sample space. Since A1; :::; An is a partition we have
! 2Aj and ! =2Ai for every i6=j:
Then,
IAj(!) = 1 and IAi(!) = 0 for every i6=j:
Therefore,
Xn
4 Exercise 1.4
a) What is the smallest -algebraF such thatX is a random variable ? 8>
>>
>>
>>
>>
><
>>
>>
>>
>>
>>
:
?; ;f!1; !2g;f!3g;f!4; !5g;f!6g;f!7g f!1; !2; !3g;f!1; !2; !4; !5g;f!1; !2; !6g;f!1; !2; !7g f!3; !4; !5g;f!3; !6g;f!3; !7g;f!4; !5; !6g;f!4; !5; !7g;f!6; !7g
f!1; !2; !3; !4; !5g;f!1; !2; !3; !6g;f!1; !2; !3; !7g f!1; !2; !4; !5; !6g;f!1; !2; !4; !5; !7g;f!1; !2; !6; !7g f!3; !4; !5; !6g;f!3; !4; !5; !7g;f!3; !6; !7g;f!4; !5; !6; !7g f!1; !2; !3; !4; !5; !6g;f!1; !2; !3; !4; !5; !7g;f!1; !2; !3; !6; !7g
f!1; !2; !4; !5; !6; !7g;f!3; !4; !5; !6; !7g
9>
>>
>>
>>
>>
>=
>>
>>
>>
>>
>>
;
b) What is the smallest -algebra G such that jXj is a random variable ?
?; ;f!1; !2g;f!3; !4; !5g;f!6; !7g
f!1; !2; !3; !4; !5g;f!1; !2; !6; !7g;f!3; !4; !5; !6; !7g c) Is jXj a F random variable ? Justify your answer.
Yes since
f!2 :jX(!)j xg= 8>
><
>>
:
?2 F if x <0 f!1; !2g 2 F if 0 x <1 f!1; !2; !3; !4; !5g 2 F if 1 x <2
2 F if x 2
d) Is X a G random variable ? Justify your answer.
No since
f!2 :X(!) 2g=f!7g2 G= :