IEOR 4106: Spring Solutions to Homework Assignment 7: Due on Tuesday, March 22.

Similar documents
Since D has an exponential distribution, E[D] = 0.09 years. Since {A(t) : t 0} is a Poisson process with rate λ = 10, 000, A(0.

Q = (c) Assuming that Ricoh has been working continuously for 7 days, what is the probability that it will remain working at least 8 more days?

IEOR 3106: Second Midterm Exam, Chapters 5-6, November 7, 2013

SOLUTIONS IEOR 3106: Second Midterm Exam, Chapters 5-6, November 8, 2012

Massachusetts Institute of Technology

(b) What is the variance of the time until the second customer arrives, starting empty, assuming that we measure time in minutes?

Statistics 253/317 Introduction to Probability Models. Winter Midterm Exam Monday, Feb 10, 2014

λ λ λ In-class problems

Operations Research II, IEOR161 University of California, Berkeley Spring 2007 Final Exam. Name: Student ID:

IEOR 6711, HMWK 5, Professor Sigman

Queueing Review. Christos Alexopoulos and Dave Goldsman 10/6/16. (mostly from BCNN) Georgia Institute of Technology, Atlanta, GA, USA

IEOR 6711: Stochastic Models I, Fall 2003, Professor Whitt. Solutions to Final Exam: Thursday, December 18.

Exponential Distribution and Poisson Process

Queueing Theory I Summary! Little s Law! Queueing System Notation! Stationary Analysis of Elementary Queueing Systems " M/M/1 " M/M/m " M/M/1/K "

The exponential distribution and the Poisson process

Queueing Review. Christos Alexopoulos and Dave Goldsman 10/25/17. (mostly from BCNN) Georgia Institute of Technology, Atlanta, GA, USA

MASSACHUSETTS INSTITUTE OF TECHNOLOGY Department of Electrical Engineering and Computer Science

Queueing Theory II. Summary. ! M/M/1 Output process. ! Networks of Queue! Method of Stages. ! General Distributions

1 Delayed Renewal Processes: Exploiting Laplace Transforms

Chapter 3 Balance equations, birth-death processes, continuous Markov Chains

Queueing Systems: Lecture 3. Amedeo R. Odoni October 18, Announcements

Solutions to Homework Discrete Stochastic Processes MIT, Spring 2011

EE126: Probability and Random Processes

MSA 640 Homework #2 Due September 17, points total / 20 points per question Show all work leading to your answers

LECTURE #6 BIRTH-DEATH PROCESS

Chapter 2. Poisson Processes. Prof. Shun-Ren Yang Department of Computer Science, National Tsing Hua University, Taiwan

Statistics 150: Spring 2007

IEOR 6711: Stochastic Models I SOLUTIONS to the First Midterm Exam, October 7, 2008

IEOR 6711: Stochastic Models I, Fall 2003, Professor Whitt. Second Midterm Exam, November 13, Based on Chapters 1-3 in Ross

Homework 4 Math 11, UCSD, Winter 2018 Due on Tuesday, 13th February

Renewal theory and its applications

TMA 4265 Stochastic Processes

Introduction to Queuing Networks Solutions to Problem Sheet 3

Qualifying Exam CS 661: System Simulation Summer 2013 Prof. Marvin K. Nakayama

IEOR 3106: Introduction to Operations Research: Stochastic Models. Professor Whitt. SOLUTIONS to Homework Assignment 2

Queueing Theory. VK Room: M Last updated: October 17, 2013.

YORK UNIVERSITY FACULTY OF ARTS DEPARTMENT OF MATHEMATICS AND STATISTICS MATH , YEAR APPLIED OPTIMIZATION (TEST #4 ) (SOLUTIONS)

MASSACHUSETTS INSTITUTE OF TECHNOLOGY Department of Electrical Engineering and Computer Science

Ways to study a system System

Final Examination December 16, 2009 MATH Suppose that we ask n randomly selected people whether they share your birthday.

Richard C. Larson. March 5, Photo courtesy of Johnathan Boeke.

Random Walk on a Graph

h(x) = f(x)/g(x) = (1 + x)e (1/2)x.

Introduction to Queueing Theory

Introduction to Statistical Data Analysis Lecture 3: Probability Distributions

Queuing Theory. Using the Math. Management Science

Performance Evaluation of Queuing Systems

Interlude: Practice Final

Introduction to Queueing Theory

Non Markovian Queues (contd.)

STAT515, Review Worksheet for Midterm 2 Spring 2019

Math Spring Practice for the final Exam.

Analysis of Software Artifacts

Chapter 8 Queuing Theory Roanna Gee. W = average number of time a customer spends in the system.

Solution: The process is a compound Poisson Process with E[N (t)] = λt/p by Wald's equation.

ec1 e-companion to Liu and Whitt: Stabilizing Performance

CIVL Continuous Distributions

EECS 126 Probability and Random Processes University of California, Berkeley: Spring 2018 Kannan Ramchandran February 14, 2018.

1 IEOR 4701: Continuous-Time Markov Chains

P (L d k = n). P (L(t) = n),

Midterm Exam 1 Solution

Review of Queuing Models

Sampling Distributions

Probability and Statistics Concepts

requests/sec. The total channel load is requests/sec. Using slot as the time unit, the total channel load is 50 ( ) = 1

STA 584 Supplementary Examples (not to be graded) Fall, 2003

Midterm Exam 2 (Solutions)

Slides 9: Queuing Models

Introduction to Rare Event Simulation

IEOR 3106: Introduction to Operations Research: Stochastic Models Final Exam, Thursday, December 16, 2010

ISyE 6650 Test 2 Solutions

Continuous-time Markov Chains

Birth-Death Processes

Example 1. Let be a random sample from. Please find a good point estimator for

MAT 271E Probability and Statistics

FINAL EXAM: Monday 8-10am

Notes on Continuous Random Variables

Solution: By Markov inequality: P (X > 100) 0.8. By Chebyshev s inequality: P (X > 100) P ( X 80 > 20) 100/20 2 = The second estimate is better.

Data analysis and stochastic modeling

Chapter 4 Continuous Random Variables and Probability Distributions

BIRTH DEATH PROCESSES AND QUEUEING SYSTEMS

The Queue Inference Engine and the Psychology of Queueing. ESD.86 Spring 2007 Richard C. Larson

STAT 418: Probability and Stochastic Processes

Solutions to COMP9334 Week 8 Sample Problems

Math 447. Introduction to Probability and Statistics I. Fall 1998.

MATH 151, FINAL EXAM Winter Quarter, 21 March, 2014

Chapter 6 Queueing Models. Banks, Carson, Nelson & Nicol Discrete-Event System Simulation

STAT 414: Introduction to Probability Theory

2905 Queueing Theory and Simulation PART IV: SIMULATION

UC Berkeley Department of Electrical Engineering and Computer Science. EE 126: Probablity and Random Processes. Solutions 9 Spring 2006

Quiz Queue II. III. ( ) ( ) =1.3333

Introduction to Queuing Theory. Mathematical Modelling

Chapter 3: Markov Processes First hitting times

Introduction and Overview STAT 421, SP Course Instructor

57:022 Principles of Design II Final Exam Solutions - Spring 1997

M/G/1 and Priority Queueing

Introduction to Queueing Theory

Networking = Plumbing. Queueing Analysis: I. Last Lecture. Lecture Outline. Jeremiah Deng. 29 July 2013

CDA6530: Performance Models of Computers and Networks. Chapter 3: Review of Practical Stochastic Processes

Classical and Bayesian inference

Transcription:

IEOR 46: Spring Solutions to Homework Assignment 7: Due on Tuesday, March. More of Chapter 5: Read the rest of Section 5.3, skipping Examples 5.7 (Coupon Collecting), 5. (Insurance claims)and Subsection 5.3.6 (software reliability). Read Section 5.4 up to (but not including) Example 5.7 (Busy periods in the single server queue). Poisson process and nonhomogeneous Poisson process. 3. Let T be the amount of time (minutes) that the :3 pm appointment spends at the doctor s office. Let the event A { pm appointment leaves before :3pm} and the event A c { pm appointment leaves after :3pm}. Denote the service times of the pm appointment and :3pm appointment by S and S, respectively. Then by assumption S and S are iid exp( 3 ). By conditioning on whether the pm appointment has left or not when the :3 pm appointment arrives on time, we obtain E[T ] E[T A]P (A) + E[T A c ]P (A c ) 3P (S 3) + (3 + 3)P (S > 3) 3( + P (S > 3)) 3( + e 3 3 ) 3( + e ). 34. Let T A and T B be the life time of the two individuals A and B, respectively. Let T be the time until the first arrival of kidney and T be the time between the first arrival and the second arrival of kidneys. Then T A exp(µ A ) and T B exp(µ B ), T i exp(), i,. All these variables are mutually independent. (a) The event that A obtains a new kidney happens when the first kidney arrives before A dies, i.e. T < T A, so P (A obtains a new kidney) P (T < T A ) + µ A. (b) To obtain the probability of B obtains a new kidney, we will condition on the first event, i.e., whether the first kidney arrives before either A or B dies or whether A dies first, or whether B dies first. First, we need not consider the probability that B dies first, because clearly B does not get the kidney then. P (B obtains a new kidney) P (B obtains a new kidney T < T A, T < T B )P (T < T A, T < T B ) + P (B obtains a new kidney T A < T, T A < T B )P (T A < T, T A < T B ) P (T < T B )P (T < T A, T < T B ) + P (T < T B )P (T A < T, T A < T B ) ( )( ) ( )( µ ) A + + µ B + µ A + µ B + µ B + µ A + µ B ( )( + µ ) A + µ B + µ A + µ B Directly we get the last line, by first having either the kidney arrive or A die first and then, afterwards (and thus multiplying) the kidney arrive before B dies.

39. Recall Problem 4 (e) on the midterm exam. We can use a normal approximation by virtue of the central limit theorem. See Section.7 if you need a refresher. By the assumptions, the lifetime is the sum of 96 IID exponential random variables each with mean /.5 years, i.e., where EX i /.5. Thus, S 96 X + + X 96, (a) the mean is E[S 96 ] 96/.5 78.4. (b) and the variance is V ar[s 96 ] 96(/.5) 3.36. For parts (c) - (e), use the normal approximation, which follows from the central limit theorem; see Section.7. Use the normal probabilities in Table.3. Let Z be a standard normal random variable (with mean and variance ). (c) (d) (e) P (S 96 < 67.) P (Z < (67. 78.4)/5.6) P (Z <.).7. P (S 96 > 9) P (Z > (9 78.4)/5.6) P (Z >.7).9. P (S 96 > ) P (Z > ( 78.4)/5.6) P (Z > 3.857).6. 4. (a) This is just the sum of four IID exponential random variables: E[S 4 ] 4. (b) The conditioning event says that there are two events up to time. Hence, E[S 4 N() ] + E[time for more events] +. (c) Recall that a Poisson process has independent increments. So, E[N(4) N() N() 3] E[N(4) N()] E[N() N()] E[N()]. 6. Let {N(t), t } be the Poisson process with rate. Then by assumption N(). (a) The probability that both arrived during the first minutes is

P (N(/3) N() ) P (N(/3), N() ) P (N() ) P (N(/3), N() N(/3) ) P (N() ) P (N(/3) )P (N() N(/3) ) P (N() ) e 3 ( 3 ) e 3 e 9. by independent increments (b) The probability that at least one arrived during the first minutes is P (N(/3) N() ) P (N(/3) N() ) P (N(/3), N() ) P (N() ) P (N(/3), N() N(/3) ) P (N() ) P (N(/3) )P (N() N(/3) ) P (N() ) e 3 e 3 ( 3 ) e 4 9 5 9. by independent increments 77. in the 9 th edition. (The intended problem, not hard.) Using results for a nonhomogenous Poisson process, P (n events between t4 and t5) e (m(5) m(4)) (m(5) m(4)) n /n! e () n /n! 77. in the th edition. (Rather difficult.) Let T n be the time between the (n ) st arrival and the n th arrival and let S n be the service time of the n th customer. (a) (b) P (N ) P (T > S ) µ µ + P (N ) P (N > )P (N N > ) P (T < S )P (min {U, U } < T 3 ) 3

( + µ ) ( µ µ + ) µ (µ + )(µ + ) where we apply the lack of memory property to get U and U be i.i.d. exponential random variables distributed as S in line. (c) Similar to the part (b), one can establish that P (N > j N > j ) + (j )µ, because there are j exponential variables competing to be the next one. That is, we exploit the lack of memory property to start over after the (j ) th arrival. The remaining time to an arrival remains exponential with mean /. There are j customers in service, each of whom has an exponential remaining service time. The first one to finish is the minimum of these, which has a rate equal to the sum of the rates. But we then get P (N > j) P (N > )P (N > N > ) P (N > j N > j ) ( ) ( ) ( ). + µ + µ + jµ Then, one can write P (N j) P (N > j ) P (N > j). (d) Given that there are j customers in the system, since T,..., T j are i.i.d. exponential, every customer has the same chance to finish first. Therefore, P (the first customer departs first N j) j P (the first to arrive is the first to depart) j P (N j) j (e) Let Z be the time until the first departure. Given that N j, the time until the first departure is the sum of j + exponential random variables, with successively decreasing means. In particular, the conditional mean time until the first departure is E[Z N j] j k + kµ Recall that the minimum itself is exponential with a rate equal to the sum of the rates. Hence, E(time of first departure) E[Z] E[Z N j]p (N j), j where E[Z N j] is given above. 4

78. The number of customers that enter the store on a given day is Poisson with mean m(7) m(8) 7 8 8 63 (t)dt 4 7 4 dt + 8 dt + (t 4) dt + ( t + 38) dt 4 94. Let x be a point on the plane and B(x, r) be the circular region with radius r centered at x. X is the distance from x to its nearest event. (a) (b) P (X > t) P (no event in B(x,t)) e Area (B(x,t)) e πt. E[X] P (X > t)dt e πt dt π π. e t π dt 5