M/G/1 queue (with infinite buffer)
|
|
- Norah Hunter
- 7 years ago
- Views:
Transcription
1 M/G/1 queue (with infinite buffer) M. Veeraraghavan, March 17, 4 1. Mean number of jobs in the system and mean response time Using Mean Value Analysis (MVA) [6], we derive the mean delay in an M/G/1 queue with an infinite buffer. Focus on the buffer occupancy at the time of departure of a job in service. n j-1 n j n j+1 # of customers in queue (j-1) j (j+1) th customer finishes service service time of j th customer Fig. 1 At the times of job departures ν j n j : number of customers arriving during the service of the customer : number of customers in the queue when the customer finishes service. j th j th ( n j 1 1) + ν j n j 1 1 n j ν j n j 1 (EQ 1) 1 x 1 n j n j 1 un ( j 1 ) + ν j where ux ( ) (EQ ) x Since the arrival process is Poisson (memoryless), the statistics found are the same at all points on the time axis (I found a derivation for this in [1], page 17 - see Section 3.). Therefore, En [ j ] En [ j 1 ] as j. (EQ 3) Taking expectations of () yields E[ ν] Eun [ ( )] (EQ 4) E[ ν] : average number of arrivals in a service interval. E[ ν] < 1 ; else the queue will become unstable. 1
2 Eun [ ( )] un ( )p n p n prob( n > ), which is the utilization. (EQ 5) Since p n is that probability that the queue is in state n, p 1. But to only find average queueing delays, we use a trick. Take squares of both sides of () and take expectations: n 1 n j n j 1 u [ + ( n j 1 ) n j 1 un ( j 1 )] + ν j + ν j ( n j 1 un ( j 1 )) (EQ 6) Let j. En [ j ] En [ j 1 ]; also Eu [ ( n) ] Eun [ ( )] E[ ν] (EQ 7) En [ j 1 un ( j 1 )] + E[ ν j ] + En [ j 1 ν j ] Eun [ ( j 1 )ν j ] (EQ 8) Enun [ ( )] En [ ] by the definition of un ( ). (EQ 9) Assume ν j and n j 1 are independent (true for Poisson arrivals), rewriting (8) En [ j 1 ] + E[ ν j ] + En [ j 1 ]E[ ν j ] Eun [ ( j 1 )] E[ ν j ] (EQ 1) As j En [ ] + E[ ν ] + En [ ] (EQ 11) ( 1 )En [ ] -- E[ ν ] (EQ 1) ( 1 )En [ ] σ v σ v ( 1 ) or En [ ] -- (Eqn. -69 of [6], page 6) (EQ 13) ( ) Given E[ ν] Variance, [ k E[ ν] ] P( ν k) (EQ 14) (see (7) above) σ v k
3 σ v ( k + ( E[ ν] ) ke[ ν] )P ( ν k ) E ν k [ ] + E[ ν ] (EQ 15) Let the service time distribution have a probability density function f τ ( τ). Then P( ν k) P( ν k τ)f τ ( τ) dτ (EQ 16) where P( ν k τ) is the conditional probability of k arrivals in τ sec. P( ν k τ) ( λτ) k e λτ k! Poisson arrival process (EQ 17) P( ν k) ( λτ) k e λτ f k! τ ( τ) dτ (EQ 18) E[ ν] kp( ν k) k Exchange integration and summation, k k ( λτ) k e λτ f k! τ ( τ) dτ (EQ 19) E[ ν] k ( λτ)k λτ e fτ( τ) dτ k! k ( λτ) k 1 ( λτ) k 1 λτ e ( k 1)! fτ( τ) dτ (EQ ) ( λτ) Since k e λτ 1, E[ ν] ( λτ)f, (EQ 1) ( k 1)! τ ( τ) dτ E[ ν] λe[ τ] k 1 The above validates the conclusion from (4) and (5) that E[ ν]. For Poisson arrivals, the average customer arrival rate is λ times the average service time E[ τ]. Similarly, derive σ ν as a function of the variance of the service time. σ ν E[ ν ] ( E[ ν] ) (EQ ) 3
4 Exchanging the integral and the summation: σ ν k ( λτ)k λτ e f (since ). (EQ 3) k! τ τ ( ) dτ E[ ν] k Since k ( λτ)k λτ e is the second moment of the Poisson distribution Ek [ ], knowing that the k! k variance σ k Ek [ Ek [ ]] Ek [ ] ( Ek [ ]) λτ Ek [ ], Ek [ ] λτ + ( λτ), σ ν ( λτ + ( λτ ) )f ( τ τ ) dτ λe[ τ] + λ E[ τ ] (EQ 4) σ ν λ + σ τ (since λ( E[ τ] ) and σ τ E[ τ ] ( E[ τ] ) ) (EQ 5) In other words, the variance of the number of arrivals within one service time is equal to the utilization plus (arrival rate) squared times the variance of the service time. Going back to (13), we get En [ ] σ ν ( ) -- λ σ τ 1 ( ) (EQ 6) The Pollaczek-Khinchine formula for the average number of jobs in queue in a M/G/1 system: En [ ]. (EQ 7) ( ) µ ( σ τ ) We show in the Appendix, Section 4.1 that (7) equals (6). Reference [] gives another version of the same formulation: where E[ τ ] (8) equals (7). Using Little s Law, En [ ] λ E τ [ ], (EQ 8) 1 ( ) is the second moment of the service time. We show in the Appendix, Section 4. that 4
5 ET [ ] En [ ] 1 µ or (EQ 9) λ ( ) µ [ σ τ ] ET [ ] -- 1 λe τ [ ] µ ( ) First term is mean service time. The mean waiting time is: EW [ ] Similarly mean number waiting in queue is λe[ τ ] 1 ( ) (EQ 3) EN [ Q ] λ E[ τ ] 1 ( ) [1] (EQ 31) See that M/G/1 equations become equal to M/M/1 equations where G is M.. Distribution of number of jobs in the system From [] - we use new notation here. Let Nt () be the number of jobs in the system (number in queue plus in service). If Nt () 1, then given the service time is generally distributed (and hence need not be memoryless), the future behavior of the system depends upon how much time was already spent on the current job in service. This means Nt () is not a Markov chain (see QT lecture on M/M/1 to see why the number of jobs in an M/ M/1 queueing system is a CTMC). But there is an embedded Markov chain in this system. Look at the system when jobs depart the server. At these departure epochs, t n, n 1,,, the number of jobs in the system X n is given by X n Nt ( n ). This stochastic process X n, n 1,,, is a DTMC. Why is this? X n 1 + Y n + 1 X n > + Y n + 1 X n X n 1 (EQ 3) Y n X 1 is the number of jobs arriving during the service time of the job. These are independent of, X,. Hence X n + 1 only depends upon X n. This is the property of a Markov chain. Hence X n is a MC. Now we can obtain the transition probabilities of this DTMC: n th 5
6 p ij PX ( n + 1 j X n i) PY n 1 Let PY ( n + 1 j) a j (and all Y n are iid), a j 1 ( + j i+ 1) if( i, j i 1) PY ( n + 1 j) if( i, j ) otherwise j Let the limiting probability of being in state j be denoted ν j (EQ 33) ν j lim PX ( n j) n (EQ 34) Using (48) from MC lesson, which is ν j ν i p ij j 1,, and ν j 1 (EQ 35) i j j + 1 ν j ν a j + ν i a j i i (EQ 36) Since j i 1, j + 1 i. If i j+, this relation is violated. Note that p ij is a j i + 1 when i 1 as per the first option in (33). Note that the DTMC underlying an M/G/1 queue is not a birth-death process because if the number of arrivals is more than one within a service time, then the state change will be from state j i + 1. Therefore we cannot use the detailed-balance equation. to some Define a moment generating function (see Appendix Section 4.4 for a recap on moment generating functions): X n i Gz ( ) ν j z j j (EQ 37) ν j z j ν a j + ν i a j i j j j + 1 i j z (using (36)) (EQ 38) Interchanging the summation order 6
7 Gz ( ) ν a j z j + ν i a j i + 1 z j ν a z j + ν j i a j i j j j + 1 i 1 Define G A ( z) a j z j, and setting k j ( i 1) j j i 1 j i z j Gz ( ) ν G A ( z) + ν i a k z k + i 1 ν G z 1 ( ) + -- ν A z i z i a k z k i 1 k i 1 k (EQ 39) (EQ 4) 1 Gz ( ) ν G A ( z) + -- [ Gz ( ) ν z ]G A ( z) (EQ 41) Gz ( ) ( z 1)ν G A ( z) z G A ( z) (EQ 4) Since G( 1) G A ( 1) 1, we can use L Hospital s rule: G( 1) 1 ν ( z 1)G' A ( z) + G A ( z) ν lim provided that G' (EQ 43) z 1 1 G' A ( z) 1 G' A ( 1) A ( 1) < 1 See Appendix Section 4.3 for a recap of L Hospital s rule. G' A ( z) ja j z j 1. (EQ 44) Therefore G' A ( 1) EY [ ], i.e., the mean number of arrivals within a service time. Let G' A ( 1). From (43), ν 1, and since ν is the probability that the server is idle, is the server utilization. Then (4) can be rewritten as: j Gz ( ) ( z 1) ( 1 )G A ( z) z G A ( z) (EQ 45) In other words, the moment generating function of the number of jobs in the system can be expressed as a function of the moment generating function of the number of arrivals within a service time. 7
8 EN [ ] lim EX [ n ] G' ( 1) because Gz ( ) p X ()z i i and G' ( z) ip X ()z i i 1 (EQ 46) Therefore to compute Gz ( ), we need G A ( z). Compute as follows (since arrival process is Poisson): n i i ( + jb t) e λt( λt)j, where B is a r.v. denoting service times (iid) (EQ 47) j! PY n 1 Therefore, a j PY ( n + 1 j) PY ( n + 1 j B t)f B () t dt (EQ 48) G A ( z) a j z j j PY ( n + 1 j B t)f B () t dt z j j (EQ 49) G A ( z) e λt( f λt)j j () t dt z j! B j ( λtz)j j! e λt j f B () t dt (EQ 5) G A ( z) e λt e λtz f () B t dt e λt( 1 z) f () t dt L B B ( λ( 1 z) ) because (EQ 51) the Laplace transform for a random variable X is L X ( s) e sx f X ( x) dx (EQ 5) dl ( G' A ( 1) B ( λ( 1 z) )) dz z 1 dl B ( λ) ds s (EQ 53) dl B ds ( λ) ( EB [ ])( λ) s -- λ µ (EQ 54) Substituting (51) into (45), we get the Pollaczek-Khinchin transform equation: 8
9 Gz ( ) ( z 1) ( 1 )L B ( λ( 1 z) ) z L B ( λ( 1 z) ) (EQ 55) The above describes the z-transform of the number of jobs in the system in terms of the Laplace transform for the service time distribution. We can obtain the mean number of jobs by: EN [ ] For an M/D/1 queue, dg λ EB [ ] dz ( ) z 1 EB [ ] 1 --, therefore µ P-K mean-value formula (derive) (EQ 56) EN [ ] ( ) (EQ 57) Athough the above was derived assuming FCFS, it holds for any scheduling discipline that assumes: 1. The server is not idle when there are jobs waiting for service (work conserving). The scheduler is not allowed to use any deterministic a priori information about job service times 3. The scheduling is nonpreemptive. Results shown in [9] are the same as above. The derivation in [1] is completely different. It uses a graphical method to derive mean waiting time. See the book for details. Finally, check Kleinrock s book to see if any more details are provided than Gz ( ), e.g. state probabilities for the M/G/1 queue. 3. Occupancy distribution upon arrival and upon departure [1], pg 171. Let the unconditional steady-state probabilities of being in different states for an M/M/1 queue be p n lim P{ N() t n} n (EQ 58) and let the steady-state occupancy probabilities upon arrival be: a n lim P{ ( N() t n) an arrival occurred just after time t} n (EQ 59) 9
10 It turns out that for an M/M/1 system, p n a n (EQ 6) Furthermore, this holds under very general conditions for queueing systems with Poisson arrivals regardless of the distribution of the service times! Applies for our M/G/1 case. The only additional assumption we need is that for every time t and increment δ >, the number of arrivals in the interval ( t, t+ δ) is independent of the number in the system at time t. This assumption holds given our assumption for queueing systems that the interarrival times and service times are independent. For a formal proof of (6): Let Att (, + δ) be the event that an arrival occurs in the interval ( t, t+ δ). Let p n () t P{ N() t n} and a n () t P{ N() t n ( an arrival occurred just after time t) } (EQ 61) Using Bayes rule: a n () t lim P{ N() t n Att (, + δ) } δ (EQ 6) a n () t lim P{ N() t natt, (, + δ) } δ P{ A( t, t + δ) } (EQ 63) a n () t P{ A( t, t+ δ) Nt () n}p{ N() t n} lim δ P{ A( t, t + δ) } (EQ 64) Given our assumptions, the event Att (, + δ) t. Therefore is independent upon the number in the system at time P{ A( t, t+ δ) Nt () n} P{ A( t, t + δ) } and therefore (64) becomes (EQ 65) a n () t P{ N() t n} p n () t (EQ 66) Great example: If the arrival process is not Poisson, say interarrival times are independent and uniformly distributed between and 4 sec, while customer service time is deterministic at 1sec. An arriving job always finds an empty queue. But the average number in the system as seen by an outside observer at a random time is 1 3 per Little s law since response time is 1sec, and λ
11 System when a job departs: d n () t PNt ( () n ( a departure occurred just after time t) ) (EQ 67) The steady-state values are denoted: d n lim d n () t, n 1,, (EQ 68) t If the system reaches steady-state with all n having positive steady-state probabilities, and changes in unit increments (true for M/M/1 or M/G/1 if < 1 ), N() t d n, n 1,, (EQ 69) a n Explanation: For every sample path and every n, the number in the system will be n an infinite number of times. This means each time the number increases from n to n+ 1, there is a corresponding decrease from n + 1 back to n. The frequency of transitions from n to n+ 1 out of transitions from any k to k+ 1 will equal the frequency of transitions from n + 1 to n out of transitions from any k + 1 to k. Therefore d n a n. In the steady-state, the system appears statistically identical to an arriving and a departing customer. If arrival process is Poisson, then the system is statistically identical as seen by an arriving or a departing customer or by an observing looking at the system at random time. All the above to justify (3)! Does it? 4. Appendix 4.1 Equivalence of (6) and (7) Eqn (7): En [ ] (EQ 7) ( ) µ ( σ τ ) En [ ] ( 1 ) 1 ( ) µ 1 ( ) σ τ (EQ 71) Since µ , and λe[ τ]. Therefore E[ τ] 11
12 En [ ] λ σ τ ( 1 ) 1 ( ) ( ) Comparing (7) with our derivation (6), we ask is λ σ τ 1 ( ) ( ) (EQ 7) ( ) --? (EQ 73) ( ) ( ) ( 1 ) ( ) ( ) QED! (EQ 74) 4. Equivalence of (7) and (8) In other words, is λ + σ τ λ E τ [ ]? (EQ 75) 1 ( ) ( ) λ E[ τ ] λ ( σ τ + ( E[ τ] ) ) λ σ τ 1 ( ) 1 ( ) + 1 ( ) ( ) (EQ 76) ( 1 ) + λ σ τ 1 ( ) ( ) λ σ τ 1 ( ) ( ) (EQ 77) Therefore En [ ] (EQ 78) ( ) µ [ σ τ ] 4.3 Recap of L Hospital s rule from Mathworld: f' ( x) If lim fx ( ) and lim gx ( ) are both zero or both at ±, and if lim is finite or the limit is x c x c x c g' ( x) ±, then fx ( ) lim x c gx ( ) f' ( x) lim x c g' ( x) (EQ 79) 1
13 4.4 Recap on moment generating functions M( θ) Ee [ xθ ] j e x j θ px ( j ) e xθ fx ( ) dx if X is discrete if X is continuous (EQ 8) for continuous rv, Laplace transform L X ( s) Ls ( ) M X ( s) e sx f X ( x) dx (EQ 81) for discrete rv, z-transform G X ( z) Gz ( ) Ez [ X ] M X ( lnz) p X ()z i i (EQ 8) i e Xθ 1 Xθ X θ Xk θ k ! k! (EQ 83) M( θ) EE [ Xθ ] 1 EX [ ]θ EXk [ ]θ k k! (EQ 84) M is called a moment generating function because moments of X can be extracted as follows: EX [ k ] k d M( θ) or EX [ k ] ( 1) k k d Ls ( ) (EQ 85) dθ k ds k θ s For a discrete rv EX [ ] dg and EX [ ] d G + dg (EQ 86) dz dz dz z 1 z 1 z 1 References [1] D. Bertsekas and R. Gallager, Data Networks, Prentice Hall, Second Edition, 199. [] K. S. Trivedi, Probability, Statistics with Reliability, Queueing and Computer Science Applications, First Edition, Prentice Hall, ISBN r. [3] A. Leon Garcia and I. Widjaja, Communication Networks, McGraw Hill,, First Edition. 13
14 [4] E. Pinsky, A. Conway and W. Liu, Blocking Formulae for the Engset Model, IEEE Transactions on Communications, vol. 4, no. 6, June 1994, pp [5] R. Syski, Introduction to Congestion Theory in Telephone Systems, Oliver and Boyd, Edinburgh, 196. [6] Mischa Schwartz, Telecommunications Networks, Protocols, Modeling and Analysis, Addison Wesley, [7] D. Gross and C. M. Harris, Fundamentals of Queueing Theory, Wiley Series in Probability and Mathematical Statistics, [8] S. M. Ross, Stochastic Processes. [9] Bob Boorstyn s notes. 14
M/M/1 and M/M/m Queueing Systems
M/M/ and M/M/m Queueing Systems M. Veeraraghavan; March 20, 2004. Preliminaries. Kendall s notation: G/G/n/k queue G: General - can be any distribution. First letter: Arrival process; M: memoryless - exponential
More informationIEOR 6711: Stochastic Models, I Fall 2012, Professor Whitt, Final Exam SOLUTIONS
IEOR 6711: Stochastic Models, I Fall 2012, Professor Whitt, Final Exam SOLUTIONS There are four questions, each with several parts. 1. Customers Coming to an Automatic Teller Machine (ATM) (30 points)
More informationStochastic Processes and Queueing Theory used in Cloud Computer Performance Simulations
56 Stochastic Processes and Queueing Theory used in Cloud Computer Performance Simulations Stochastic Processes and Queueing Theory used in Cloud Computer Performance Simulations Florin-Cătălin ENACHE
More information4 The M/M/1 queue. 4.1 Time-dependent behaviour
4 The M/M/1 queue In this chapter we will analyze the model with exponential interarrival times with mean 1/λ, exponential service times with mean 1/µ and a single server. Customers are served in order
More informationPerformance Analysis of a Telephone System with both Patient and Impatient Customers
Performance Analysis of a Telephone System with both Patient and Impatient Customers Yiqiang Quennel Zhao Department of Mathematics and Statistics University of Winnipeg Winnipeg, Manitoba Canada R3B 2E9
More informationOverview of Monte Carlo Simulation, Probability Review and Introduction to Matlab
Monte Carlo Simulation: IEOR E4703 Fall 2004 c 2004 by Martin Haugh Overview of Monte Carlo Simulation, Probability Review and Introduction to Matlab 1 Overview of Monte Carlo Simulation 1.1 Why use simulation?
More informationNetwork Design Performance Evaluation, and Simulation #6
Network Design Performance Evaluation, and Simulation #6 1 Network Design Problem Goal Given QoS metric, e.g., Average delay Loss probability Characterization of the traffic, e.g., Average interarrival
More informationQueueing Systems. Ivo Adan and Jacques Resing
Queueing Systems Ivo Adan and Jacques Resing Department of Mathematics and Computing Science Eindhoven University of Technology P.O. Box 513, 5600 MB Eindhoven, The Netherlands March 26, 2015 Contents
More informatione.g. arrival of a customer to a service station or breakdown of a component in some system.
Poisson process Events occur at random instants of time at an average rate of λ events per second. e.g. arrival of a customer to a service station or breakdown of a component in some system. Let N(t) be
More informationExponential Distribution
Exponential Distribution Definition: Exponential distribution with parameter λ: { λe λx x 0 f(x) = 0 x < 0 The cdf: F(x) = x Mean E(X) = 1/λ. f(x)dx = Moment generating function: φ(t) = E[e tx ] = { 1
More informationThe Joint Distribution of Server State and Queue Length of M/M/1/1 Retrial Queue with Abandonment and Feedback
The Joint Distribution of Server State and Queue Length of M/M/1/1 Retrial Queue with Abandonment and Feedback Hamada Alshaer Université Pierre et Marie Curie - Lip 6 7515 Paris, France Hamada.alshaer@lip6.fr
More information6.263/16.37: Lectures 5 & 6 Introduction to Queueing Theory
6.263/16.37: Lectures 5 & 6 Introduction to Queueing Theory Massachusetts Institute of Technology Slide 1 Packet Switched Networks Messages broken into Packets that are routed To their destination PS PS
More informationBasic Multiplexing models. Computer Networks - Vassilis Tsaoussidis
Basic Multiplexing models? Supermarket?? Computer Networks - Vassilis Tsaoussidis Schedule Where does statistical multiplexing differ from TDM and FDM Why are buffers necessary - what is their tradeoff,
More informationAnalysis of a Production/Inventory System with Multiple Retailers
Analysis of a Production/Inventory System with Multiple Retailers Ann M. Noblesse 1, Robert N. Boute 1,2, Marc R. Lambrecht 1, Benny Van Houdt 3 1 Research Center for Operations Management, University
More informationMathematical Finance
Mathematical Finance Option Pricing under the Risk-Neutral Measure Cory Barnes Department of Mathematics University of Washington June 11, 2013 Outline 1 Probability Background 2 Black Scholes for European
More information1. (First passage/hitting times/gambler s ruin problem:) Suppose that X has a discrete state space and let i be a fixed state. Let
Copyright c 2009 by Karl Sigman 1 Stopping Times 1.1 Stopping Times: Definition Given a stochastic process X = {X n : n 0}, a random time τ is a discrete random variable on the same probability space as
More informationBasic Queueing Theory
Basic Queueing Theory Dr. János Sztrik University of Debrecen, Faculty of Informatics Reviewers: Dr. József Bíró Doctor of the Hungarian Academy of Sciences, Full Professor Budapest University of Technology
More informationThe Exponential Distribution
21 The Exponential Distribution From Discrete-Time to Continuous-Time: In Chapter 6 of the text we will be considering Markov processes in continuous time. In a sense, we already have a very good understanding
More informationSimple Markovian Queueing Systems
Chapter 4 Simple Markovian Queueing Systems Poisson arrivals and exponential service make queueing models Markovian that are easy to analyze and get usable results. Historically, these are also the models
More informationIntroduction to Queueing Theory and Stochastic Teletraffic Models
Introduction to Queueing Theory and Stochastic Teletraffic Models Moshe Zukerman EE Department, City University of Hong Kong Copyright M. Zukerman c 2000 2015 Preface The aim of this textbook is to provide
More informationScheduling Policies, Batch Sizes, and Manufacturing Lead Times
To appear in IIE Transactions Scheduling Policies, Batch Sizes, and Manufacturing Lead Times Saifallah Benjaafar and Mehdi Sheikhzadeh Department of Mechanical Engineering University of Minnesota Minneapolis,
More informationLoad Balancing and Switch Scheduling
EE384Y Project Final Report Load Balancing and Switch Scheduling Xiangheng Liu Department of Electrical Engineering Stanford University, Stanford CA 94305 Email: liuxh@systems.stanford.edu Abstract Load
More informationA QUEUEING-INVENTORY SYSTEM WITH DEFECTIVE ITEMS AND POISSON DEMAND. bhaji@usc.edu
A QUEUEING-INVENTORY SYSTEM WITH DEFECTIVE ITEMS AND POISSON DEMAND Rasoul Hai 1, Babak Hai 1 Industrial Engineering Department, Sharif University of Technology, +98-1-66165708, hai@sharif.edu Industrial
More informationExample: 1. You have observed that the number of hits to your web site follow a Poisson distribution at a rate of 2 per day.
16 The Exponential Distribution Example: 1. You have observed that the number of hits to your web site follow a Poisson distribution at a rate of 2 per day. Let T be the time (in days) between hits. 2.
More informationPoisson Processes. Chapter 5. 5.1 Exponential Distribution. The gamma function is defined by. Γ(α) = t α 1 e t dt, α > 0.
Chapter 5 Poisson Processes 5.1 Exponential Distribution The gamma function is defined by Γ(α) = t α 1 e t dt, α >. Theorem 5.1. The gamma function satisfies the following properties: (a) For each α >
More informationImportant Probability Distributions OPRE 6301
Important Probability Distributions OPRE 6301 Important Distributions... Certain probability distributions occur with such regularity in real-life applications that they have been given their own names.
More informationLECTURE 16. Readings: Section 5.1. Lecture outline. Random processes Definition of the Bernoulli process Basic properties of the Bernoulli process
LECTURE 16 Readings: Section 5.1 Lecture outline Random processes Definition of the Bernoulli process Basic properties of the Bernoulli process Number of successes Distribution of interarrival times The
More informationOn the mathematical theory of splitting and Russian roulette
On the mathematical theory of splitting and Russian roulette techniques St.Petersburg State University, Russia 1. Introduction Splitting is an universal and potentially very powerful technique for increasing
More informationDefinition: Suppose that two random variables, either continuous or discrete, X and Y have joint density
HW MATH 461/561 Lecture Notes 15 1 Definition: Suppose that two random variables, either continuous or discrete, X and Y have joint density and marginal densities f(x, y), (x, y) Λ X,Y f X (x), x Λ X,
More informationProbability Generating Functions
page 39 Chapter 3 Probability Generating Functions 3 Preamble: Generating Functions Generating functions are widely used in mathematics, and play an important role in probability theory Consider a sequence
More informationQUEUING THEORY. 1. Introduction
QUEUING THEORY RYAN BERRY Abstract. This paper defines the building blocks of and derives basic queuing systems. It begins with a review of some probability theory and then defines processes used to analyze
More informationLecture 6: Discrete & Continuous Probability and Random Variables
Lecture 6: Discrete & Continuous Probability and Random Variables D. Alex Hughes Math Camp September 17, 2015 D. Alex Hughes (Math Camp) Lecture 6: Discrete & Continuous Probability and Random September
More informationHydrodynamic Limits of Randomized Load Balancing Networks
Hydrodynamic Limits of Randomized Load Balancing Networks Kavita Ramanan and Mohammadreza Aghajani Brown University Stochastic Networks and Stochastic Geometry a conference in honour of François Baccelli
More informationBrownian Motion and Stochastic Flow Systems. J.M Harrison
Brownian Motion and Stochastic Flow Systems 1 J.M Harrison Report written by Siva K. Gorantla I. INTRODUCTION Brownian motion is the seemingly random movement of particles suspended in a fluid or a mathematical
More informationBasic Queuing Relationships
Queueing Theory Basic Queuing Relationships Resident items Waiting items Residence time Single server Utilisation System Utilisation Little s formulae are the most important equation in queuing theory
More informationOptimal Hiring of Cloud Servers A. Stephen McGough, Isi Mitrani. EPEW 2014, Florence
Optimal Hiring of Cloud Servers A. Stephen McGough, Isi Mitrani EPEW 2014, Florence Scenario How many cloud instances should be hired? Requests Host hiring servers The number of active servers is controlled
More informationMASSACHUSETTS INSTITUTE OF TECHNOLOGY 6.436J/15.085J Fall 2008 Lecture 5 9/17/2008 RANDOM VARIABLES
MASSACHUSETTS INSTITUTE OF TECHNOLOGY 6.436J/15.085J Fall 2008 Lecture 5 9/17/2008 RANDOM VARIABLES Contents 1. Random variables and measurable functions 2. Cumulative distribution functions 3. Discrete
More informationProbability and Statistics Prof. Dr. Somesh Kumar Department of Mathematics Indian Institute of Technology, Kharagpur
Probability and Statistics Prof. Dr. Somesh Kumar Department of Mathematics Indian Institute of Technology, Kharagpur Module No. #01 Lecture No. #15 Special Distributions-VI Today, I am going to introduce
More informationECE302 Spring 2006 HW3 Solutions February 2, 2006 1
ECE302 Spring 2006 HW3 Solutions February 2, 2006 1 Solutions to HW3 Note: Most of these solutions were generated by R. D. Yates and D. J. Goodman, the authors of our textbook. I have added comments in
More informationUNIT 2 QUEUING THEORY
UNIT 2 QUEUING THEORY LESSON 24 Learning Objective: Apply formulae to find solution that will predict the behaviour of the single server model II. Apply formulae to find solution that will predict the
More informationProbability density function : An arbitrary continuous random variable X is similarly described by its probability density function f x = f X
Week 6 notes : Continuous random variables and their probability densities WEEK 6 page 1 uniform, normal, gamma, exponential,chi-squared distributions, normal approx'n to the binomial Uniform [,1] random
More informationModeling and Performance Evaluation of Computer Systems Security Operation 1
Modeling and Performance Evaluation of Computer Systems Security Operation 1 D. Guster 2 St.Cloud State University 3 N.K. Krivulin 4 St.Petersburg State University 5 Abstract A model of computer system
More information1. Repetition probability theory and transforms
1. Repetition probability theory and transforms 1.1. A prisoner is kept in a cell with three doors. Through one of them he can get out of the prison. The other one leads to a tunnel: through this he is
More informationSimple Queuing Theory Tools You Can Use in Healthcare
Simple Queuing Theory Tools You Can Use in Healthcare Jeff Johnson Management Engineering Project Director North Colorado Medical Center Abstract Much has been written about queuing theory and its powerful
More informationBinomial lattice model for stock prices
Copyright c 2007 by Karl Sigman Binomial lattice model for stock prices Here we model the price of a stock in discrete time by a Markov chain of the recursive form S n+ S n Y n+, n 0, where the {Y i }
More informationModelling the performance of computer mirroring with difference queues
Modelling the performance of computer mirroring with difference queues Przemyslaw Pochec Faculty of Computer Science University of New Brunswick, Fredericton, Canada E3A 5A3 email pochec@unb.ca ABSTRACT
More informationCooperative Multiple Access for Wireless Networks: Protocols Design and Stability Analysis
Cooperative Multiple Access for Wireless Networks: Protocols Design and Stability Analysis Ahmed K. Sadek, K. J. Ray Liu, and Anthony Ephremides Department of Electrical and Computer Engineering, and Institute
More informationTransformations and Expectations of random variables
Transformations and Epectations of random variables X F X (): a random variable X distributed with CDF F X. Any function Y = g(x) is also a random variable. If both X, and Y are continuous random variables,
More information1.5 / 1 -- Communication Networks II (Görg) -- www.comnets.uni-bremen.de. 1.5 Transforms
.5 / -- Communication Networks II (Görg) -- www.comnets.uni-bremen.de.5 Transforms Using different summation and integral transformations pmf, pdf and cdf/ccdf can be transformed in such a way, that even
More informationNonparametric adaptive age replacement with a one-cycle criterion
Nonparametric adaptive age replacement with a one-cycle criterion P. Coolen-Schrijner, F.P.A. Coolen Department of Mathematical Sciences University of Durham, Durham, DH1 3LE, UK e-mail: Pauline.Schrijner@durham.ac.uk
More informationSection 5.1 Continuous Random Variables: Introduction
Section 5. Continuous Random Variables: Introduction Not all random variables are discrete. For example:. Waiting times for anything (train, arrival of customer, production of mrna molecule from gene,
More informationTenth Problem Assignment
EECS 40 Due on April 6, 007 PROBLEM (8 points) Dave is taking a multiple-choice exam. You may assume that the number of questions is infinite. Simultaneously, but independently, his conscious and subconscious
More informationChapter 1. Introduction
Chapter 1 Introduction 1.1. Motivation Network performance analysis, and the underlying queueing theory, was born at the beginning of the 20th Century when two Scandinavian engineers, Erlang 1 and Engset
More informationMonte Carlo Methods in Finance
Author: Yiyang Yang Advisor: Pr. Xiaolin Li, Pr. Zari Rachev Department of Applied Mathematics and Statistics State University of New York at Stony Brook October 2, 2012 Outline Introduction 1 Introduction
More informationQueuing Theory. Long Term Averages. Assumptions. Interesting Values. Queuing Model
Queuing Theory Queuing Theory Queuing theory is the mathematics of waiting lines. It is extremely useful in predicting and evaluating system performance. Queuing theory has been used for operations research.
More informationFurther Topics in Actuarial Mathematics: Premium Reserves. Matthew Mikola
Further Topics in Actuarial Mathematics: Premium Reserves Matthew Mikola April 26, 2007 Contents 1 Introduction 1 1.1 Expected Loss...................................... 2 1.2 An Overview of the Project...............................
More informationMath 526: Brownian Motion Notes
Math 526: Brownian Motion Notes Definition. Mike Ludkovski, 27, all rights reserved. A stochastic process (X t ) is called Brownian motion if:. The map t X t (ω) is continuous for every ω. 2. (X t X t
More informationNotes on Continuous Random Variables
Notes on Continuous Random Variables Continuous random variables are random quantities that are measured on a continuous scale. They can usually take on any value over some interval, which distinguishes
More information6.041/6.431 Spring 2008 Quiz 2 Wednesday, April 16, 7:30-9:30 PM. SOLUTIONS
6.4/6.43 Spring 28 Quiz 2 Wednesday, April 6, 7:3-9:3 PM. SOLUTIONS Name: Recitation Instructor: TA: 6.4/6.43: Question Part Score Out of 3 all 36 2 a 4 b 5 c 5 d 8 e 5 f 6 3 a 4 b 6 c 6 d 6 e 6 Total
More informationMaximum Likelihood Estimation
Math 541: Statistical Theory II Lecturer: Songfeng Zheng Maximum Likelihood Estimation 1 Maximum Likelihood Estimation Maximum likelihood is a relatively simple method of constructing an estimator for
More informationMaster s Theory Exam Spring 2006
Spring 2006 This exam contains 7 questions. You should attempt them all. Each question is divided into parts to help lead you through the material. You should attempt to complete as much of each problem
More informationCHAPTER 2 Estimating Probabilities
CHAPTER 2 Estimating Probabilities Machine Learning Copyright c 2016. Tom M. Mitchell. All rights reserved. *DRAFT OF January 24, 2016* *PLEASE DO NOT DISTRIBUTE WITHOUT AUTHOR S PERMISSION* This is a
More informationLecture 7: Continuous Random Variables
Lecture 7: Continuous Random Variables 21 September 2005 1 Our First Continuous Random Variable The back of the lecture hall is roughly 10 meters across. Suppose it were exactly 10 meters, and consider
More informationPull versus Push Mechanism in Large Distributed Networks: Closed Form Results
Pull versus Push Mechanism in Large Distributed Networks: Closed Form Results Wouter Minnebo, Benny Van Houdt Dept. Mathematics and Computer Science University of Antwerp - iminds Antwerp, Belgium Wouter
More informationuation of a Poisson Process for Emergency Care
QUEUEING THEORY WITH APPLICATIONS AND SPECIAL CONSIDERATION TO EMERGENCY CARE JAMES KEESLING. Introduction Much that is essential in modern life would not be possible without queueing theory. All communication
More informationAnalysis of Load Frequency Control Performance Assessment Criteria
520 IEEE TRANSACTIONS ON POWER SYSTEMS, VOL. 16, NO. 3, AUGUST 2001 Analysis of Load Frequency Control Performance Assessment Criteria George Gross, Fellow, IEEE and Jeong Woo Lee Abstract This paper presents
More information4. Life Insurance. 4.1 Survival Distribution And Life Tables. Introduction. X, Age-at-death. T (x), time-until-death
4. Life Insurance 4.1 Survival Distribution And Life Tables Introduction X, Age-at-death T (x), time-until-death Life Table Engineers use life tables to study the reliability of complex mechanical and
More information5. Continuous Random Variables
5. Continuous Random Variables Continuous random variables can take any value in an interval. They are used to model physical characteristics such as time, length, position, etc. Examples (i) Let X be
More informationPricing Barrier Options under Local Volatility
Abstract Pricing Barrier Options under Local Volatility Artur Sepp Mail: artursepp@hotmail.com, Web: www.hot.ee/seppar 16 November 2002 We study pricing under the local volatility. Our research is mainly
More informationMULTIVARIATE PROBABILITY DISTRIBUTIONS
MULTIVARIATE PROBABILITY DISTRIBUTIONS. PRELIMINARIES.. Example. Consider an experiment that consists of tossing a die and a coin at the same time. We can consider a number of random variables defined
More informationWHERE DOES THE 10% CONDITION COME FROM?
1 WHERE DOES THE 10% CONDITION COME FROM? The text has mentioned The 10% Condition (at least) twice so far: p. 407 Bernoulli trials must be independent. If that assumption is violated, it is still okay
More informationA Model of Optimum Tariff in Vehicle Fleet Insurance
A Model of Optimum Tariff in Vehicle Fleet Insurance. Bouhetala and F.Belhia and R.Salmi Statistics and Probability Department Bp, 3, El-Alia, USTHB, Bab-Ezzouar, Alger Algeria. Summary: An approach about
More informationThe sample space for a pair of die rolls is the set. The sample space for a random number between 0 and 1 is the interval [0, 1].
Probability Theory Probability Spaces and Events Consider a random experiment with several possible outcomes. For example, we might roll a pair of dice, flip a coin three times, or choose a random real
More informationST 371 (IV): Discrete Random Variables
ST 371 (IV): Discrete Random Variables 1 Random Variables A random variable (rv) is a function that is defined on the sample space of the experiment and that assigns a numerical variable to each possible
More informationThe 8th International Conference on e-business (inceb2009) October 28th-30th, 2009
ENHANCED OPERATIONAL PROCESS OF SECURE NETWORK MANAGEMENT Song-Kyoo Kim * Mobile Communication Divisions, Samsung Electronics, 94- Imsoo-Dong, Gumi, Kyungpook 730-350, South Korea amang.kim@samsung.com
More informationEXIT TIME PROBLEMS AND ESCAPE FROM A POTENTIAL WELL
EXIT TIME PROBLEMS AND ESCAPE FROM A POTENTIAL WELL Exit Time problems and Escape from a Potential Well Escape From a Potential Well There are many systems in physics, chemistry and biology that exist
More informationHow To Balance In A Distributed System
6 IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS, VOL. 11, NO. 1, JANUARY 2000 How Useful Is Old Information? Michael Mitzenmacher AbstractÐWe consider the problem of load balancing in dynamic distributed
More informationA DISCRETE TIME MARKOV CHAIN MODEL IN SUPERMARKETS FOR A PERIODIC INVENTORY SYSTEM WITH ONE WAY SUBSTITUTION
A DISCRETE TIME MARKOV CHAIN MODEL IN SUPERMARKETS FOR A PERIODIC INVENTORY SYSTEM WITH ONE WAY SUBSTITUTION A Class Project for MATH 768: Applied Stochastic Processes Fall 2014 By Chudamani Poudyal &
More informationTHE CENTRAL LIMIT THEOREM TORONTO
THE CENTRAL LIMIT THEOREM DANIEL RÜDT UNIVERSITY OF TORONTO MARCH, 2010 Contents 1 Introduction 1 2 Mathematical Background 3 3 The Central Limit Theorem 4 4 Examples 4 4.1 Roulette......................................
More informationRandom variables, probability distributions, binomial random variable
Week 4 lecture notes. WEEK 4 page 1 Random variables, probability distributions, binomial random variable Eample 1 : Consider the eperiment of flipping a fair coin three times. The number of tails that
More informationEffective Utilization of Mobile Call Center Using Queuing Models
Effective Utilization of Mobile Call Center Using Queuing Models Osahenvemwen O. A. and Odiase O. F. Abstract This study presents effective utilization of mobile call center using queuing models. Aim at
More informationHow To Model Cloud Computing
Performance analysis of Cloud Computing Centers Hamzeh Khazaei 1, Jelena Mišić 2, and Vojislav B. Mišić 2 1 University of Manitoba, Winnipeg, Manitoba, Canada, hamzehk@cs.umanitoba.ca, WWW home page: http://www.cs.umanitoba.ca/~hamzehk
More informationGrey Brownian motion and local times
Grey Brownian motion and local times José Luís da Silva 1,2 (Joint work with: M. Erraoui 3 ) 2 CCM - Centro de Ciências Matemáticas, University of Madeira, Portugal 3 University Cadi Ayyad, Faculty of
More informationReinforcement Learning
Reinforcement Learning LU 2 - Markov Decision Problems and Dynamic Programming Dr. Martin Lauer AG Maschinelles Lernen und Natürlichsprachliche Systeme Albert-Ludwigs-Universität Freiburg martin.lauer@kit.edu
More informationCHAPTER 6: Continuous Uniform Distribution: 6.1. Definition: The density function of the continuous random variable X on the interval [A, B] is.
Some Continuous Probability Distributions CHAPTER 6: Continuous Uniform Distribution: 6. Definition: The density function of the continuous random variable X on the interval [A, B] is B A A x B f(x; A,
More informationModels for Distributed, Large Scale Data Cleaning
Models for Distributed, Large Scale Data Cleaning Vincent J. Maccio, Fei Chiang, and Douglas G. Down McMaster University Hamilton, Ontario, Canada {macciov,fchiang,downd}@mcmaster.ca Abstract. Poor data
More informationCBE 6333, R. Levicky 1 Differential Balance Equations
CBE 6333, R. Levicky 1 Differential Balance Equations We have previously derived integral balances for mass, momentum, and energy for a control volume. The control volume was assumed to be some large object,
More informationFluid Approximation of Smart Grid Systems: Optimal Control of Energy Storage Units
Fluid Approximation of Smart Grid Systems: Optimal Control of Energy Storage Units by Rasha Ibrahim Sakr, B.Sc. A thesis submitted to the Faculty of Graduate and Postdoctoral Affairs in partial fulfillment
More informationLoad Balancing with Migration Penalties
Load Balancing with Migration Penalties Vivek F Farias, Ciamac C Moallemi, and Balaji Prabhakar Electrical Engineering, Stanford University, Stanford, CA 9435, USA Emails: {vivekf,ciamac,balaji}@stanfordedu
More informationPeriodic Capacity Management under a Lead Time Performance Constraint
Periodic Capacity Management under a Lead Time Performance Constraint N.C. Buyukkaramikli 1,2 J.W.M. Bertrand 1 H.P.G. van Ooijen 1 1- TU/e IE&IS 2- EURANDOM INTRODUCTION Using Lead time to attract customers
More informationData Modeling & Analysis Techniques. Probability & Statistics. Manfred Huber 2011 1
Data Modeling & Analysis Techniques Probability & Statistics Manfred Huber 2011 1 Probability and Statistics Probability and statistics are often used interchangeably but are different, related fields
More informationRobust Staff Level Optimisation in Call Centres
Robust Staff Level Optimisation in Call Centres Sam Clarke Jesus College University of Oxford A thesis submitted for the degree of M.Sc. Mathematical Modelling and Scientific Computing Trinity 2007 Abstract
More informationOptimal Charging Strategies for Electrical Vehicles under Real Time Pricing
1 Optimal Charging Strategies for Electrical Vehicles under Real Time Pricing Mohammad M. Karbasioun, Ioannis Lambadaris, Gennady Shaikhet, Evangelos Kranakis Carleton University, Ottawa, ON, Canada E-mails:
More informationLectures on Stochastic Processes. William G. Faris
Lectures on Stochastic Processes William G. Faris November 8, 2001 2 Contents 1 Random walk 7 1.1 Symmetric simple random walk................... 7 1.2 Simple random walk......................... 9 1.3
More informationA SYSTEMS APPROACH TO OPTIMIZE A MULTI ECHELON REPAIRABLE ITEM INVENTORY SYSTEM WITH MULTIPLE CLASSES OF SERVICE
A SYSTEMS APPROACH TO OPTIMIZE A MULTI ECHELON REPAIRABLE ITEM INVENTORY SYSTEM WITH MULTIPLE CLASSES OF SERVICE by Paul Lee Ewing Jr. A thesis submitted to the Faculty and the Board of Trustees of the
More informationDrop Call Probability in Established Cellular Networks: from data Analysis to Modelling
Drop Call Probability in Established Cellular Networks: from data Analysis to Modelling G. Boggia, P. Camarda, A. D Alconzo, A. De Biasi and M. Siviero DEE - Politecnico di Bari, Via E. Orabona, 4-7125
More informationRouting Strategies for Multi-Channel Call Centers: Should we Delay the Call Rejection?
Routing Strategies for Multi-Channel Call Centers: Should we Delay the Call Rejection? September 18, 2015 Abstract We study call rejection and agent reservation strategies in multi-channel call centers
More informationFluid Approximation of a Priority Call Center With Time-Varying Arrivals
Fluid Approximation of a Priority Call Center With Time-Varying Arrivals Ahmad D. Ridley, Ph.D. William Massey, Ph.D. Michael Fu, Ph.D. In this paper, we model a call center as a preemptive-resume priority
More informationReinforcement Learning
Reinforcement Learning LU 2 - Markov Decision Problems and Dynamic Programming Dr. Joschka Bödecker AG Maschinelles Lernen und Natürlichsprachliche Systeme Albert-Ludwigs-Universität Freiburg jboedeck@informatik.uni-freiburg.de
More informationLecture Notes 1. Brief Review of Basic Probability
Probability Review Lecture Notes Brief Review of Basic Probability I assume you know basic probability. Chapters -3 are a review. I will assume you have read and understood Chapters -3. Here is a very
More information