CS代考程序代写 University of California, Los Angeles Department of Statistics

University of California, Los Angeles Department of Statistics
Statistics 100B Instructor: Nicolas Christou Poisson, Gamma, and Exponential distributions
• A. Relation of Poisson and exponential distribution:
Suppose that events occur in time according to a Poisson process with parameter λ. So X ∼ P oisson(λ). Let T denote the length of time until the first arrival. Then T is a continuous random variable. To find the probability density function (pdf) of T we begin with the cumulative distribution function (cdf) of T as follows:
F(t)=P(T ≤t)=1−P(T >t)=1−P(X =0)
In words: The probability that we observe the first arrival after time t is the same as the probability that we observe no arrivals from now until time t. But X is Poisson with parameter λ which has parameter λt over the time interval (0, t). We compute the above using:
(λt)0 e−λt −λt F (t) = 1 − 0! ⇒ F (t) = 1 − e
.
To find the pdf pf T we take the derivative of the cdf w.r.t. t to get: f(t) = F(t)′ = λe−λt.
We observe that if X ∼ P oisson(λ) the time until the first arrival is exponential with parameter λ.
Example:
Suppose that an average of 20 customers per hour arrive at a shop according to a
Poisson process (λ = 1 per minute). What is the probability that the shopkeeper will 3
wait more than 5 minutes before the first customer arrives?
1

• B. Relation of Poisson and gamma distribution:
Suppose that events occur in time according to a Poisson process with parameter λ. So X ∼ Poisson(λ). Let T denote the length of time until k arrivals. Then T is a continuous random variable. To find the probability density function (pdf) of T we begin with the cumulative distribution function (cdf) of T as follows:
F(t)=P(T ≤t)=1−P(T >t)=1−P(X 0,x≥0.
We observe that f(t) is the density of a gamma distribution with parameters α = k
and β = 1 . λ
Conclusion: If X ∼ P oisson(λ) the time until k arrivals is Γ(k, 1 ). λ
Example:
Suppose customers arrive at a store as a Poisson process with λ = 10 customers per hour.
a. What is the distribution of the time until the second customer arrives (see graph on next page)?
b. Find the probability that one has to wait at least half an hour until the second customer arrives.
3

Part (a):
Probability density function of Γ(2, 1 ) 10
0.0 0.2 0.4
The graph above was constructed in R:
0.6 0.8 1.0
> t <- seq(0,1,0.01) > ft <- 100*t*exp(-10*t) > plot(t,ft,type=”l”, xlab=”T”, ylab=”f(t)”)
> title(main=expression(paste(“Probability density function of “,
Gamma(2,frac(1,10)))))
T
4
0123
f(t)

Leave a Reply

Your email address will not be published. Required fields are marked *