Probability and Random Variables
Probability and Random Variables
Probability and Random Variables
STUDENT NUMBER:
SURNAME:
(FAMILY NAME)
OTHER NAMES:
This paper and all materials issued must be returned at the end of the examination.
They are not to be removed from the exam centre.
Examination Conditions:
37161 Probability and Random Variables
It is your responsibility to fill out and
complete your details in the space provided
on all the examination material provided to Time Allowed: 2 hours and 10 mins
you. Use the time before your examination Includes 10 minutes of reading time.
to do so as you will not be allowed any
extra time once the exam has ended. Reading time is for reading only. You are not permitted to write, calculate or mark your
paper in any way during reading time.
You are not permitted to have on your
desk or on your person any unauthorised
material. This includes but not limited to: This is a Closed Book exam
Mobile phones Please refer to the permitted materials below:
Smart watches and bands
Electronic devices Permitted materials for this exam:
Draft paper (unless provided)
Textbooks (unless specified) Calculators (non-programmable only)
Notes (unless specified)
Drawing instruments
You are not permitted to obtain assistance i.e. Rulers, Set Squares and Compasses
by improper means or ask for help from or
give help to any other person. Materials provided for this exam:
You are not permitted to leave your seat This examination paper
(including to use the toilet):
Until 90 mins has elapsed Five (5) answer booklets (5 pages)
During the final 15 mins
Students please note:
During the examination you must first
seek permission (by raising your hand) Each question should be answered in a new answer booklet
from a supervisor before:
Leaving early (after 90 mins)
Using the toilet
Accessing your bag
Page 2 of 9
37161 Probability and Random Variables – Main Exam
a) Let X ~ Bin(10,0.4) .
Calculate:
ii) E( X ) ; iii) P( X 3) ;
0.1(0.9)k 1 k {1,2,3,...}
P (Y k )
0 otherwise
Calculate:
i) E (Y ) ; ii) P(Y 4) ;
c) For each of the following variables, state whether it could reasonably be modelled by a
Bernoulli variable, a Binomial variable, a Geometric variable or a Poisson variable. In
each case, state the parameter(s) needed.
i) The number of birthdays a person has during the next month, assuming that the
person is chosen uniformly at random from the population and that an equal
proportion of the population is born in each of the 12 months of the year;
ii) The number of times a person rolls a regular fair six-sided die if he/she rolls
repeatedly until he/she first obtains a 5.
iii) The number of times a student enrols in a university subject if he/she enrols in the
subject repeatedly until he/she first passes the subject assuming that, on average,
75% of students taking the subject during each enrolment period pass during that
enrolment.
Over…
Page 3 of 9
37161 Probability and Random Variables – Main Exam
λe λw w [0, )
f (w ) .
0 otherwise
λ
i) Show that the generating function of W is gW ( z ) E ( zW ) .
λ log( z )
1
ii) By differentiating the generating function, show that E (W ) .
λ
iv) Show that, if W1,W2 ,W3 ,... are independent random variables such that each
Y
Wi ~ exp( λ) and if Y ~ Geo( p) and S Wi , then S is exponentially distributed.
i 1
State its rate parameter.
Y
Hint: You may use without proof the result that, if S Wi , gS (z) gY (gWi (z )) .
i 1
Over…
Page 4 of 9
37161 Probability and Random Variables – Main Exam
Question 2 (Continued)
b) Sam records the results of his favourite football team over the past 18 months. He
divides the results into those in derby matches and those in non-derby matches.
2 13
During the period, of games noted are derby games and are non-derby games.
15 15
4 1
He observes that his team has drawn of its non-derby matches and of its derby
13 4
matches.
i) Show that, if he selects one game at uniformly random from this period, the
3
probability that the game is a draw is .
10
5 1
He observes further that the team has lost of its non-derby matches and of its total
26 6
(derby and non-derby) matches.
What is the probability that he selects a derby game which his team loses?
1 3
He observes further that the team has won of its non-derby matches and of its
2 4
derby matches.
iii) He selects one game uniformly at random and notes that his team wins the
selected game.
Over…
Page 5 of 9
37161 Probability and Random Variables – Main Exam
a) A 24 hour maternity ward models the births of babies by independent Poisson processes
such that, on average, 6 boys and 6 girls are born on the ward each day. 90% of births
are classified as happening without complication and 10% are complicated. Whether or
not complications arise is assumed to be independent of the sex of the baby.
ii) During one whole day, exactly four babies are born and all are girls;
iii) During a 12 hour shift, no babies are born from births with complications;
v) During one whole day, at least 11 babies are born given that 6 boys are born
without complications and 9 girls are born, of which two were complicated births.
vii) The time (in days) between successive births with complications.
b) One player plays a game which involves rolling a regular fair six-sided die repeatedly.
Each time the die lands on a 1 or a 3, the player subtracts one point from his/her total.
Each time the die lands on a 5, the player adds one point to his/her total and each time it
lands on an even number, his/her points total does not change.
The player starts with 15 points and rolls the die repeatedly until he/she either first
reaches 20 points (wins) or first reaches 0 points (loses.)
Let Wk be the probability that the player wins the game given that he/she has k points at
a given time.
ii) Write down the boundary conditions. That is, write down the values of W0 and W20
.
iii) Solve the difference equation to find the value of Wk for any k {0,1,2,...,20} .
Page 6 of 9
37161 Probability and Random Variables – Main Exam
0.05 k 0
1
P( X k ) k {3,4,5,6}
k
0 otherwise
and let Y be a continuous random variable with probability mass function
2y 20 y [10,11]
f (y ) .
0 otherwise
Verify that:
i) k
P( X k ) 1; ii)
f ( y )dy 1.
Calculate:
iii) E( X ) ; iv) E (Y ) ;
v)
E 3Y 7 X ln(14) ; vi) P(Y 10.3)
vii) P( X Y ) .
Calculate:
i) P ( Ac ) ; ii) P (B ) ;
iii) P( A B) ; iv) P (B A ) ;
Let the event C in Ω be independent of A and such that B and C are mutually exclusive.
Calculate:
vii) P( A C ) ; viii) P( A B C ) .
Over…
Page 7 of 9
37161 Probability and Random Variables – Main Exam
a) Let X 0 , X1, X 2,... be a Markov Chain which is represented by the state diagram
An absorbing state is one such that, if the system ever enters that state, the
probability that it is ever in a different state is zero.
A persistent state is one such that, if the system is ever in that state and moves to
another state, the probability that it never returns is zero.
A transient state is one such that, if the system is ever in that state and moves to another
state, the probability that it eventually returns is less than one.
v) Which states are periodic with period d 1? For each of these states, find the
period.
Over…
Page 8 of 9
37161 Probability and Random Variables – Main Exam
Question 5 (Continued)
End of Paper
Page 9 of 9