Stochastic Asignment Group Asignment 2
Stochastic Asignment Group Asignment 2
All
0 1 0 0
1 1
2 2
0 0 0
1 1 0 0 0
2 2 1 1
(e) P = 0 0 21 21 0
0 0 0
2 2
1 0 0 0 0
1
0 0 0 1
0 0 0 1
(f) P =
1 1 0 0
2 2
1 1
2 2
0 0
3. In a Markov chain model for the progression of a disease, the state space is {1: control,
2: moderate, 3: severe, 4: permanent disability}, and the transition matrix is:
1 1
0 14
2 4
0 1 1 1
P = 2 4 4
0 0 1 1
2 2
0 0 0 1
(a) Classify the four states as transient or recurrent. What does this imply about long-run
fate?
(b) Calculate the 2-step transition matrix.
(c) Find the probability that a patient:
• (i) with moderate symptoms becomes permanently disabled after one year.
• (ii) under control has severe symptoms after two years.
• (iii) with moderate symptoms has severe symptoms after four years.
(d) A treatment for state 4 (permanent disability) has a 50% success rate returning to
state 1. Write the new transition matrix and classify states.
(e) Compute the stationary distribution. What proportion of the population will be
treated in the long-run?
(f) If annual costs are: $0 (state 1), $1 (state 2), $2c (state 3), $8c (state 4), find the
expected annual cost per patient in steady state.
2
Group assignment 3: Friday 30 May 2025
Candidates should attempt ALL questions. (100 MARKS )
2. Customers are served by three servers, with service times exponentially distributed with
rate µi , i = 1, 2, 3. When a server is free, the longest-waiting customer begins service.
(a) If all servers are busy and no one is waiting when you arrive, find the expected time
until you depart.
(b) If all servers are busy and one person is waiting when you arrive, find the expected
time until you depart.
3. Each customer is served in sequence by server 1, then 2, then 3. Service times are
exponential with rates µ1 , µ2 , µ3 .
4. Prove that if {N1 (t), t ≥ 0} and {N2 (t), t ≥ 0} are independent Poisson processes with
rates λp and λ(1 − p), then they are independent.
5. Families migrate at a Poisson rate λ = 2 per week. Family sizes (people per family) are
i.i.d. with probabilities: 1 (1/4), 2 (1/4), 3 (1/3), 4 (1/12), 5 (1/12). Compute: