Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Simulation problem: An individual possesses r umbrellas that he employs in going from his home to office, and vice versa. If he is at home

image text in transcribed
Simulation problem: An individual possesses r umbrellas that he employs in going from his home to office, and vice versa. If he is at home (the office) in the morning (in the evening) and it is raining, then he will take an umbrella with him to the office (home), provided there is one to be taken. If it is not raining, then he never takes an umbrella. Assume that, independent of the past, it rains in the morning (in the evening) with probability p. Let X, be the number of umbrellas at his home at the end of the nth day. Then, Xn defines a Markov chain. Let r = 3. a) Complete the following transition probability matrix P for this Markov chain. (For example, if Xn =0, then the probability that Xn+1 =0 is: Poo = prob(rain in the morning, no rain in the evening) + prob(no rain in the morning and evening) = p(1 -p) + (1 -p)?). (p(1 - p) + (1-p)2 ? P = ? p(1 - 0 D2 - +1-p b) For r = 3, use the formula given in class to confirm that the limiting probabilities are given by: if i = 0 M = if i = 1, . . . ,r where q = 1 - p. c) Let p = 0.5. Use Python to plot PB, i = 0, 1, 2, 3 for different values of n. Do Pig's converge as n grows? If yes, what is the relationship between lim, + PB, i = 0, 1, 2, 3 and #2? d) Repeat part c with p =0.1. If Pg's converge in both cases, which one converge faster

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

The Structure Of Groups With A Quasiconvex Hierarchy (AMS-209)

Authors: Daniel T Wise

1st Edition

069121350X, 9780691213507

More Books

Students also viewed these Mathematics questions

Question

Define Management by exception

Answered: 1 week ago

Question

Explain the importance of staffing in business organisations

Answered: 1 week ago

Question

What are the types of forms of communication ?

Answered: 1 week ago

Question

Explain the issues of safety unique to small businesses.

Answered: 1 week ago

Question

Describe downsizing.

Answered: 1 week ago

Question

Discuss compensation for contingent workers.

Answered: 1 week ago