• No results found

Exponential Distribution

N/A
N/A
Protected

Academic year: 2021

Share "Exponential Distribution"

Copied!
19
0
0

Loading.... (view fulltext now)

Full text

(1)

Exponential Distribution

• Definition: Exponential distribution with parameter λ: f (x) =  λe −λx x ≥ 0 0 x < 0 • The cdf: F (x) = Z x −∞ f (x)dx =  1 − e −λx x ≥ 0 0 x < 0 • Mean E(X) = 1/λ.

• Moment generating function: φ(t) = E[etX] = λ

λ − t , t < λ • E(X2) = dtd22φ(t)|t=0 = 2/λ2.

(2)

• Properties 1. Memoryless: P (X > s + t|X > t) = P (X > s). P (X > s + t|X > t) = P (X > s + t, X > t) P (X > t) = P (X > s + t) P (X > t) = e −λ(s+t) e−λt = e−λs = P (X > s)

– Example: Suppose that the amount of time one

spends in a bank is exponentially distributed with mean 10 minutes, λ = 1/10. What is the prob-ability that a customer will spend more than 15 minutes in the bank? What is the probability that a customer will spend more than 15 min-utes in the bank given that he is still in the bank after 10 minutes?

Solution:

P (X > 15) = e−15λ = e−3/2 = 0.22 −1/2

(3)

– Failure rate (hazard rate) function r(t) r(t) = f (t)

1 − F (t)

P (X ∈ (t, t + dt)|X > t) = r(t)dt.

– For exponential distribution: r(t) = λ, t > 0.

– Failure rate function uniquely determines F (t): F (t) = 1 − e−R0tr(t)dt .

(4)

2. If Xi, i = 1, 2, ..., n, are iid exponential RVs with

mean 1/λ, the pdf of Pni=1 Xi is:

fX1+X2+···+Xn(t) = λe−λt (λt) n−1 (n − 1)! ,

gamma distribution with parameters n and λ.

3. If X1 and X2 are independent exponential RVs with mean 1/λ1, 1/λ2,

P (X1 < X2) = λ1 λ1 + λ2

.

4. If Xi, i = 1, 2, ..., n, are independent exponential RVs with rate µi. Let Z = min(X1, ..., Xn) and Y = max(X1, ..., Xn). Find distribution of Z and Y .

Z is an exponential RV with rate Pn

i=1 µi. P (Z > x) = P (min(X1, ..., Xn) > x) = P (X1 > x, X2 > x, ..., Xn > x) = P (X1 > x)P (X2 > x) · · · P (Xn > x) = n Y i=1 e−µix = e−(Pni=1µi)x FY(x) = P (Y < x) = Qni=1(1 − e−µix).

(5)

Poisson Process

• Counting process: Stochastic process {N (t), t ≥ 0}

is a counting process if N (t) represents the total

num-ber of “events” that have occurred up to time t.

N (t) ≥ 0 and are of integer values.

N (t) is nondecreasing in t.

• Independent increments: the numbers of events

oc-curred in disjoint time intervals are independent.

• Stationary increments: the distribution of the number

of events occurred in a time interval only depends on the length of the interval and does not depend on the position.

(6)

• A counting process {N (t), t ≥ 0} is a Poisson

pro-cess with rate λ, λ > 0 if

1. N (0) = 0.

2. The process has independent increments. 3. The process has staionary increments and

N (t+s)−N (s) follows a Poisson distribution with

parameter λt: P (N (t+s)−N (s) = n) = e−λt(λt) n n! , n = 0, 1, ... • Note: E[N (t + s) − N (s)] = λt. E[N (t)] = E[N (t + 0) − N (0)] = λt.

(7)

Interarrival and Waiting Time

• Define Tn as the elapsed time between (n − 1)st and

the nth event.

{Tn, n = 1, 2, ...}

is a sequence of interarrival times.

• Proposition 5.1: Tn, n = 1, 2, ... are independent identically distributed exponential random variables with mean 1/λ.

• Define Sn as the waiting time for the nth event, i.e.,

the arrival time of the nth event. Sn = n X i=1 Ti . • Distribution of Sn: fSn(t) = λe−λt (λt) n−1 (n − 1)! ,

gamma distribution with parameters n and λ.

(8)

• Example: Suppose that people immigrate into a

terri-tory at a Poisson rate λ = 1 per day. (a) What is the

expected time until the tenth immigrant arrives? (b) What is the probability that the elapsed time between the tenth and the eleventh arrival exceeds 2 days? Solution:

Time until the 10th immigrant arrives is S10.

E(S10) = 10/λ = 10 . P (T11 > 2) = e−2λ = 0.133 .

(9)

Further Properties

• Consider a Poisson process {N (t), t ≥ 0} with rate λ. Each event belongs to two types, I and II. The type

of an event is independent of everything else. The probability of being in type I is p.

• Examples: female vs. male customers, good emails

vs. spams.

• Let N1(t) be the number of type I events up to time t. • Let N2(t) be the number of type II events up to time

t.

(10)

• Proposition 5.2: {N1(t), t ≥ 0} and {N2(t), t ≥ 0}

are both Poisson processes having respective rates λp

and λ(1 − p). Furthermore, the two processes are

in-dependent.

• Example: If immigrants to area A arrive at a Poisson

rate of 10 per week, and if each immigrant is of En-glish descent with probability 1/12, then what is the

probability that no people of English descent will im-migrate to area A during the month of February?

Solution:

The number of English descent immigrants arrived up to time t is N1(t), which is a Poisson process with

mean λ/12 = 10/12.

(11)

• Conversely: Suppose {N1(t), t ≥ 0} and {N2(t), t ≥ 0} are independent Poisson processes having

respec-tive rates λ1 and λ2. Then N (t) = N1(t) + N2(t) is a

Poisson process with rate λ = λ1 + λ2. For any event occurred with unknown type, independent of every-thing else, the probability of being type I is p = λ1

λ12

and type II is 1 − p.

• Example: On a road, cars pass according to a Poisson

process with rate 5 per minute. Trucks pass

accord-ing to a Poisson process with rate 1 per minute. The

two processes are indepdendent. If in 3 minutes, 10

veicles passed by. What is the probability that 2 of

them are trucks? Solution:

Each veicle is independently a car with probability

5 5+1 =

5

6 and a truck with probability 1

6. The

probabil-ity that 2 out of 10 veicles are trucks is given by the

binomial distribution:  10 2   1 6 2  5 6 8

(12)

Conditional Distribution of Arrival Times

• Consider a Poisson process {N (t), t ≥ 0} with rate

λ. Up to t, there is exactly one event occurred. What

is the conditional distribution of T1?

• Under the condition, T1 uniformly distributes on [0, t]. • Proof P (T1 < s|N (t) = 1) = P (T1 < s, N (t) = 1) P (N (t) = 1) = P (N (s) = 1, N (t) − N (s) = 0) P (N (t) = 1) = P (N (s) = 1)P (N (t) − N (s) = 0) P (N (t) = 1) = (λse −λs) · e−λ(t−s) λte−λt = s t Note: cdf of a uniform

(13)

• If N (t) = n, what is the joint conditional distribution

of the arrival times S1, S2, ..., Sn?

• S1, S2, ..., Sn is the ordered statistics of n independent

random variables uniformly distributed on [0, t].

• Let Y1, Y2, ..., Yn be n RVs. Y(1), Y(2),..., Y(n) is the ordered statistics of Y1, Y2, ..., Yn if Y(k) is the kth

smallest value among them.

• If Yi, i = 1, ..., n are iid continuous RVs with pdf f , then the joint density of the ordered statistics Y(1),

Y(2),..., Y(n) is fY(1),Y(2),...,Y(n)(y1, y2, ..., yn) =  n! Q n i=1 f (yi) y1 < y2 < · · · < yn 0 otherwise

(14)

• We can show that f (s1, s2, ..., sn | N (t) = n) = n! tn 0 < s1 < s2· · · < sn < t Proof f (s1, s2, ..., sn | N (t) = n) = f (s1, s2, ..., sn, n) P (N (t) = n)) = λe −λs1λe−λ(s2−s1) · · · λe−λ(sn−sn−1)e−λ(t−sn) e−λt(λt)n/n! = n! tn , 0 < s1 < · · · < sn < t

• For n independent uniformly distributed RVs on [0, t], Y1, ..., Yn:

f (y1, y2, ..., yn) = 1 tn .

• Proposition 5.4: Given Sn = t, the arrival times S1, S2, ..., Sn−1 has the distribution of the ordered statis-tics of a set n − 1 independent uniform (0, t) random

(15)

Generalization of Poisson Process

• Nonhomogeneous Poisson process: The counting

pro-cess {N (t), t ≥ 0} is said to be a nonhomogeneous

Poisson process with intensity function λ(t), t ≥ 0 if

1. N (0) = 0.

2. The process has independent increments.

3. The distribution of N (t+s)−N (t) is Poisson with

mean given by m(t + s) − m(t), where m(t) =

Z t

0

λ(τ )dτ . • We call m(t) mean value function.

• Poisson process is a special case where λ(t) = λ, a

(16)

• Compound Poisson process: A stochastic process {X(t), t ≥ 0} is said to be a compound Poisson

pro-cess if it can be represented as

X(t) =

N (t) X i=1

Yi , t ≥ 0

where {N (t), t ≥ 0} is a Poisson process and

{Yi, i ≥ 0} is a family of independent and identically

distributed random variables which are also indepen-dent of {N (t), t ≥ 0}.

• The random variable X(t) is said to be a compound

Poisson random variable.

• Example: Suppose customers leave a supermarket in

accordance with a Poisson process. If Yi, the amount

spent by the ith customer, i = 1, 2, ..., are

indepen-dent and iindepen-dentically distributed, then X(t) = PN (t)i=1 Yi, the total amount of money spent by customers by time

(17)

• Find E[X(t)] and V ar[X(t)]. • E[X(t)] = λtE(Y1). • V ar[X(t)] = λt(V ar(Y1) + E2(Y1)) • Proof E(X(t)|N (t) = n) = E( N (t) X i=1 Yi|N (t) = n) = E( n X i=1 Yi|N (t) = n) = E( n X i=1 Yi) = nE(Y1) E(X(t)) = EN (t)E(X(t)|N (t)) = ∞ X n=1 P (N (t) = n)E(X(t)|N (t) = n) = ∞ X n=1 P (N (t) = n)nE(Y1) = E(Y1) ∞ X n=1 nP (N (t) = n)

(18)

V ar(X(t)|N (t) = n) = V ar( N (t) X i=1 Yi|N (t) = n) = V ar( n X i=1 Yi|N (t) = n) = V ar( n X i=1 Yi) = nV ar(Y1) V ar(X(t)|N (t) = n) = E(X2(t)|N (t) = n) − (E(X(t)|N (t) = n))2 E(X2(t)|N (t) = n) = V ar(X(t)|N (t) = n) + (E(X(t)|N (t) = n))2 = nV ar(Y1) + n2E2(Y1)

(19)

V ar(X(t)) = E(X2(t)) − (E(X(t)))2 = ∞ X n=1 P (N (t) = n)E(X2(t)|N (t) = n) − (E(X(t)))2 = ∞ X n=1 P (N (t) = n)(nV ar(Y1) + n2E2(Y1)) − (λtE(Y1))2 = V ar(Y1)E(N (t)) + E2(Y1)E(N2(t)) − (λtE(Y1))2

= λtV ar(Y1) + λtE2(Y1) = λt(V ar(Y1) + E2(Y1)) = λtE(Y12)

References

Related documents

Applications of Fourier transform ion cyclotron resonance (FT-ICR) and orbitrap based high resolution mass spectrometry in metabolomics and lipidomics. LC–MS-based holistic metabolic

It was decided that with the presence of such significant red flag signs that she should undergo advanced imaging, in this case an MRI, that revealed an underlying malignancy, which

Based on the idea, we have put forward novel routing strategies for Barrat- Barthelemy- Vespignani (BBV) weighted network. By defining the weight of edges as

For instance, North America and Europe, both being mature markets, are the most consolidated markets where the top three distributors hold 30 to 40% and 15 to 20% of the

There are infinitely many principles of justice (conclusion). 24 “These, Socrates, said Parmenides, are a few, and only a few of the difficulties in which we are involved if

The ethno botanical efficacy of various parts like leaf, fruit, stem, flower and root of ethanol and ethyl acetate extracts against various clinically

This essay asserts that to effectively degrade and ultimately destroy the Islamic State of Iraq and Syria (ISIS), and to topple the Bashar al-Assad’s regime, the international

Data on seed weight and embryo occupancy of seeds from the 2010 and 2012 crop years suggest that the low germination capacity of the 2010 crop year and high germination