Hello, dear friend, you can consult us at any time if you have any questions, add WeChat: daixieit

MAST30001 Stochastic Modelling – 2022

Assignment 2

Submission Instructions:

● Typed submissions (ideally using LATEX) are preferred. For handwritten solutions:

– Write your answers on blank paper.  Write on one side of the paper only.  Start each question on a new page. Write the question number at the top of each page.

– Scan your solutions to a single PDF le with a mobile phone or a scanner. Scan from directly above to avoid any excessive keystone effect. Check that all pages are clearly readable and cropped to the A4 borders of the original page. Poorly scanned submissions may be impossible to mark.

● Upload the PDF le to Assignment 2 in Gradescope via the LMS. Gradescope will ask you to identify on which of the uploaded pages your answers to each question are located.

● The submission deadline is 5:00pm on Thursday, 20 October.

There are 2 questions, and both will be marked. No marks will be given for answers without clear and concise explanations. Clarity, neatness, and style count.

1.  [16 marks] At the lunch rush of a hawker-style food hall, customers walk by a certain stall with one server according to a Poisson process with rate 20 per minute. If there is either only one person being served or no one being served, then a customer goes to the stall with probability p/2 for some p e (0, 1]. Once there are k > 1 people waiting to be served (so (k + 1) in the system), then arriving customers join the queue with probability pk/(k + 1).  (Everyone knows a long queue signifies a good stall.)  The time from when a customer orders to when they receive their food is exponentially distributed with mean 90 seconds.

For t > 0, let Xt  be the number of customers in the system (that is, those waiting for service or in service) t minutes into the lunch rush.

(a) Model (Xt )t> as a continuous time Markov chain and specify its generator.

(b) Find the values of p where (Xt )t> has a stationary distribution π = (πn )n>, and for those values of p, write down a simple formula (i.e., no infinite sums) for πn .

For the remainder of the problem, assume that p = 1/60.

(c) What is the expected number of customers in the system in stationary?

(d) What proportion of customers walking by the stall decide to eat there?

(e)  Given a customer decides to eat at the stall, what is their expected waiting time until they are served?

2.  [14 marks] A counting process (Nt )t> is an inhomogeneous  Poisson process with intensity function λ  :  [0, o) → (0, o) satisfying t λ(s)ds  < o for all t > 0 and

o λ(s)ds = o, if it has

(i)  independent increments, and

(ii)  Nt  ~ Poissont λ(s)dsfor each t > 0.

For k = 0, 1, . . ., define Tk  := inf{t > 0 : Nt  = k}, the time of the kth arrival.

(a) Derive the distribution of Nt · Ns  for 0 < s < t.

(b) For each k > 1, derive the density of Tk .

(c) For each k > 2, derive the density of Tk  given (T1 , . . . , Tk -1 ) = (t1 , . . . , tk -1 ).

(d) For each k > 2, derive the joint density of (T1 , . . . , Tk ).

(e)  Given Tk1   = k, the distribution of (T1 , . . . , Tk ) are the same as k i.i.d. order statistics for some distribution. Find the density of that distribution.

(f) Let (Lt )t> be a homogeneous Poisson process with rate one, and for k = 0, 1, . . ., define Sk  := inf{t > 0 : Lt  = k}. Assume that F is a strictly increasing function with F (0) = 0, limxo F (x) = o, and derivative F\ (x) = f(x).  Define a new counting process (Mt )t> by

Mt  := sup{k > 0 : F-1 (Sk ) < t}.

That is, the arrivals” of (Mt )t> occur at the times F-1 (Sk ),  k  > 0.   Show that (Mt )t> is an inhomogeneous Poisson process, and nd its intensity.

[For parts (a)- (e), you should check that your answers reduce to lecture results in the homogeneous case.]