1. Trang chủ
  2. » Khoa Học Tự Nhiên

LECTURE 7: CONTINUOUS DISTRIBUTIONS AND POISSON PROCESS docx

22 158 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 22
Dung lượng 306,63 KB

Nội dung

Exponential DistributionRandom variable can only take on positive values Used to model inter-arrival times/distances for a Poisson process Poisson process... Additional PropertiesLemma 3

Trang 1

Probability in Computing

LECTURE 7: CONTINUOUS DISTRIBUTIONS AND POISSON PROCESS

Trang 3

Continuous Random Variables

Consider a roulette wheel which has circumference 1 We spin the wheel, and when it stops, the outcome is the clockwise distance X from the “0” mark to the arrow.

Sample space Ω consists of all real numbers in [0, 1).

Assume that any point on the circumference is equally likely to

Assume that any point on the circumference is equally likely to face the arrow when the wheel stops What’s the probability of

Trang 4

Continuous Random Variables

f(x)dx = probability of the infinitesimal interval [x, x + dx).

dx x

f ( )

Pr(a ≤X<b) = E[X] =

E[g(X)] =

a f ( x ) dx

 g(x) f (x)dx

 xf ( x ) dx

Trang 5

Joint Distributions

Def: The joint distribution function of X and Y is F(x,y) = Pr(X ≤ x, Y

≤ y) = where f is the joint density function f(x, y) =

    

dudv v

u

f ( , )

) , (

2

y x

F y

x

Marginal distribution functions FX(x)=Pr(X ≤x) and FY(y)=Pr(Y ≤y).

Example: F(x,y) = 1- e -ax – e -by + e -(ax+by) , x, y >= 0.

 FX(x)=F(x,∞) = 1-e -ax

 FY(y)=1-e -by

 Since FX(x)FY(y) = F(x, y)  X and Y are independent.

Trang 6

| 3 Pr(

f

y u f

) (

) , (

Trang 7

Uniform Distribution

Used to model random variables that tend to occur “evenly” over a range of values

Probability of any interval of values proportional to its width

Used to generate (simulate) random variables from virtually any distribution

Used to generate (simulate) random variables from virtually any distribution

Used as “non-informative prior” in many Bayesian analyses

0

1 )

(

b y

a a

b y

b y

a a

b

a y

a y y

F

1

0 )

(

Trang 8

Uniform Distribution - expectation

 

) (

3

) )(

( ) (

3 3

1 1

2 )

( 2

) )(

( ) (

2 2

1 1

) (

2 2

2 2

3 3

3 2

2

2 2

2

a b

ab b

a a b a

b

a b

y a b

dy a b

y Y

E

a b a

b

a b a b a

b

a b

y a b

dy a b

y Y

E

b

a

b a

b

a

b a

2887

0 12

12

) (

12

) (

12

2 12

) 2 (

3 ) (

4

2 3

) (

) ( )

(

3

) (

2

2 2

2 2

2 2

2

2 2

2 2

2

2 2

a b a

b a

b

a b ab

b a

ab a

b ab

b a

a b ab

b a

Y E Y

E Y

V

ab b

Trang 9

Additional Properties

Lemma 1: Let X be a uniform random variable on [a, b] Then, for c ≤ d, Pr(X ≤c|X ≤d)= (c-a)/(d- a).

That is, conditioned on the fact that X ≤d, X is

uniform on [a, d].

uniform on [a, d].

Trang 10

Exponential Distribution

Random variable can only take on positive values Used to model inter-arrival times/distances for a Poisson process

Poisson process

Trang 11

Additional Properties

Lemma 3: Pr(X>s+t|X>t) = Pr(X>s)

 The exponential distribution is the only continuous memory-less distribution: time until the 1 st event in a memoryless continuous time stochastic process.

 Similarly, geometric is the only discrete memoryless distribution: time until 1st success in a sequence of independent identical Bernoulli trials.

until 1st success in a sequence of independent identical Bernoulli trials.Reliability: Amount of time a component has been in

service has no effect on the amount of time until it failsInter-event times: Amount of time since the last event contains no information about the amount of time until the next event

Service times: Amount of remaining service time is independent of the amount of service time elapsed so far

Trang 12

 Because service time is exponentially distributed  the remaining time for each customer is still exponentially distributed.

 Apply Lemma 8.5, time until 1 st agent is free is exponentially distributed with parameter

∑θi  expected time = 1 / ∑θi.

 The j th agent will become free first with prob θj/ ∑θi.

Trang 13

Counting Process

A stochastic process {N(t), t  0} is a counting process if

N(t) represents the total number of events that have

occurred in [0, t]

Then { N (t), t  0 } must satisfy:

a) N(t)  0b) N(t) is an integer for all t

c) If s < t, then N (s)  N(t) andd) For s < t, N (t ) - N (s) is the number of events that occur in the interval (s, t ]

Trang 14

Stationary & Independent Increments

independent increments

A counting process has independent increments if

for any 0  s  t  u  v,

N(t) – N(s) is independent of N(v) – N(u)i.e., the numbers of events that occur in non-overlapping

stationary increments

A counting process has stationary increments if the

distribution if, for any s < t, the distribution of

N(t) – N(s)

depends only on the length of the time interval, t – s.

i.e., the numbers of events that occur in non-overlapping intervals are independent r.v.s

Trang 15

Poisson Process Definition 1

A counting process {N(t), t  0} is a Poisson process with rate l, l > 0, if

N(0) = 0The process has independent incrementsThe number of events in any interval of length t

The number of events in any interval of length t

follows a Poisson distribution with mean t

Pr{ N(t+s) – N(s) = n } = (t)ne –t/n! , n = 0, 1,

Where  is arrival rate and t is length of the intervalNotice, it has stationary increments

Trang 16

Poisson Process Definition 2

Trang 17

Inter-Arrival and Waiting Times

The times between arrivals T1, T2, … are independent exponential random variables with mean 1/:

Trang 18

An Example

Suppose that you arrive at a single teller bank to find five other customers in the bank One being served and the other four waiting in line You join the end of the line

If the service time are all exponential with rate 5 minutes

What is the prob that you will be served in 10 minutes ?What is the prob that you will be served in 20 minutes ?What is the expected waiting time before you are served?

Trang 19

In networks: packets are queued while waiting to be forwarded by

 In networks: packets are queued while waiting to be forwarded by

a router.

We are going to:

 Analyze one of the most basic queue model.

 It uses Poisson process to model how customers arrive

 Exponentially distributed r.v to model the time required for service.

Trang 20

Typical performance characteristics of queuing models are:

L : Ave number of customers in the system

W : Ave time customer spends in the system

Trang 22

isratearrival

whereprocess,

Death -

BirthSpecial

0

]

[

1

,

1,

1

,1

Q Q

S E W

W

L W

nP L

n P

P

Ngày đăng: 12/07/2014, 18:20

TỪ KHÓA LIÊN QUAN

TÀI LIỆU CÙNG NGƯỜI DÙNG

TÀI LIỆU LIÊN QUAN

w