14
LECTURE 21: The Bernoulli process Definition of Bernoulli process • Stochastic processes Basic properties (memorylessness) • The time of the kth success/arrival Distribution of interarrival times Merging and splitting Poisson approximation

Introduction to Probability: Lecture 21: The Bernoulli process · LECTURE 21: The Bernoulli process • Definition of Bernoulli process • Stochastic processes • Basic properties

  • Upload
    others

  • View
    18

  • Download
    1

Embed Size (px)

Citation preview

Page 1: Introduction to Probability: Lecture 21: The Bernoulli process · LECTURE 21: The Bernoulli process • Definition of Bernoulli process • Stochastic processes • Basic properties

LECTURE 21: The Bernoulli process

• Definition of Bernoulli process

• Stochastic processes

• Basic properties (memorylessness)

• The time of the kth success/arrival

• Distribution of interarrival times

• Merging and splitting

• Poisson approximation

Page 2: Introduction to Probability: Lecture 21: The Bernoulli process · LECTURE 21: The Bernoulli process • Definition of Bernoulli process • Stochastic processes • Basic properties

The Bernoulli process

• A sequence of independent Bernoulli trials, Xi

• At each trial, i:

P(Xi = 1) - P(success at the ith trial) = p

P(Xi = O) = P(failure at the ith trial) = 1 - p

• Key assumptions:

- Independence

- Time-homogeneity

• Model of:

- Sequence of lottery wins/losses

- Arrivals (each second) to a bank

- Arrivals (at each time slot) to server

-. . .

Jacob Bernoulli

(1655-1705)

Image is in the public domain. Source: Wikipedia.

Page 3: Introduction to Probability: Lecture 21: The Bernoulli process · LECTURE 21: The Bernoulli process • Definition of Bernoulli process • Stochastic processes • Basic properties

Stochastic processes

• First view: sequence of random variables X 1 , X 2 , ...

Interested in: E[Xi] Px -(x)i

• Second view - sample space:

('""'\_ .l£ -

• Example (for Bernoulli process):

P(Xi = 1 for all i) =

Page 4: Introduction to Probability: Lecture 21: The Bernoulli process · LECTURE 21: The Bernoulli process • Definition of Bernoulli process • Stochastic processes • Basic properties

Number of successes/arrivals S in n time slots

• S=

• P(S = k) =

• E[S] =

• var(S) =

Page 5: Introduction to Probability: Lecture 21: The Bernoulli process · LECTURE 21: The Bernoulli process • Definition of Bernoulli process • Stochastic processes • Basic properties

Time until the first success/arrival

• P(T1 = k) =

1 • E[T1] = -

p

1-p• var(T 1) =

p2

Page 6: Introduction to Probability: Lecture 21: The Bernoulli process · LECTURE 21: The Bernoulli process • Definition of Bernoulli process • Stochastic processes • Basic properties

Independence, memorylessness, and fresh-start properties

• Fresh-start after time n

• Fresh-start after time T1

Page 7: Introduction to Probability: Lecture 21: The Bernoulli process · LECTURE 21: The Bernoulli process • Definition of Bernoulli process • Stochastic processes • Basic properties

Independe ce, me ory essness, and fresh -start prop ties

• Fresh-start a ter a random time N

N = time of 3rd success

N = first t·me tha 3 successes i a row have been observed

N = t e time just be ore the 1rst occurrence of 1,1,1

he process XN 1 , XN 2 , .. is.

a Bernoulli process

independent of N, X1, ... , XN (as o g as is de r i ed "ca sa 'Y" )

Page 8: Introduction to Probability: Lecture 21: The Bernoulli process · LECTURE 21: The Bernoulli process • Definition of Bernoulli process • Stochastic processes • Basic properties

T e dist - ut-on of b sy per-od

• At each slot, a server is usy o idle (Ber oul i process)

• Firs busy per·od:

- s arts with first busy slot

- e ds Just before he irst subsequent idle slot

Page 9: Introduction to Probability: Lecture 21: The Bernoulli process · LECTURE 21: The Bernoulli process • Definition of Bernoulli process • Stochastic processes • Basic properties

Time of the kth suc,cess/arrival

• Yk = time of kth arrival yk = T1 + · · · + Tk

• Tk = kth inter-arrival time = Yk - Yk-1 (k ~ 2) the Ti are i.i.d., Geometrrc(p)

• The process starts fresh after time T1

• T2 is independent of T1; Geometric(p); etc.

Page 10: Introduction to Probability: Lecture 21: The Bernoulli process · LECTURE 21: The Bernoulli process • Definition of Bernoulli process • Stochastic processes • Basic properties

T-me of the kth success/arriva

yk- 1+· +

e i a e ·• -.d., Geo e ·c(p)

k [Yk = -

p

t-k,k+ 1, ..

Page 11: Introduction to Probability: Lecture 21: The Bernoulli process · LECTURE 21: The Bernoulli process • Definition of Bernoulli process • Stochastic processes • Basic properties
Page 12: Introduction to Probability: Lecture 21: The Bernoulli process · LECTURE 21: The Bernoulli process • Definition of Bernoulli process • Stochastic processes • Basic properties
Page 13: Introduction to Probability: Lecture 21: The Bernoulli process · LECTURE 21: The Bernoulli process • Definition of Bernoulli process • Stochastic processes • Basic properties

• Interesting regi e: large n , small p, o era e .A np

• Number of arriva s S ·n n slots. Ps(k)

• Fact. for a y fixed k > 0, ·m (1 - A/n)n-k = e-,\

n • oo

n! k(l )n-k - (n - k) ! k! . P - P ' k = 0, ... , n

or fixe k - O, 1, ... ,

>._k Ps(k) ~ - e->..,

kl

Page 14: Introduction to Probability: Lecture 21: The Bernoulli process · LECTURE 21: The Bernoulli process • Definition of Bernoulli process • Stochastic processes • Basic properties

MIT OpenCourseWare https://ocw.mit.edu

Resource: Introduction to Probability John Tsitsiklis and Patrick Jaillet

The following may not correspond to a particular course on MIT OpenCourseWare, but has been provided by the author as an individual learning resource.

For information about citing these materials or our Terms of Use, visit: https://ocw.mit.edu/terms.