Jiaping Wang Department of Mathematical Science 03/25/2013, Monday

21
The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL Chapter 5. Continuous Probability Distributions Sections 5.4, 5.5: Exponential and Gamma Distributions Jiaping Wang Department of Mathematical Science 03/25/2013, Monday

description

Chapter 5. Continuous Probability Distributions Sections 5.4, 5.5: Exponential and Gamma Distributions . Jiaping Wang Department of Mathematical Science 03/25/2013, Monday. Outline. Exponential: PDF and CDF Exponential: Mean and Variance Gamma: PDF and CDF Gamma: Mean and Variance - PowerPoint PPT Presentation

Transcript of Jiaping Wang Department of Mathematical Science 03/25/2013, Monday

Page 1: Jiaping  Wang Department of Mathematical Science  03/25/2013, Monday

The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL

Chapter 5. Continuous Probability Distributions

Sections 5.4, 5.5: Exponential and Gamma Distributions

Jiaping Wang

Department of Mathematical Science

03/25/2013, Monday

Page 2: Jiaping  Wang Department of Mathematical Science  03/25/2013, Monday

The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL

Outline Exponential: PDF and CDF

Exponential: Mean and Variance

Gamma: PDF and CDF

Gamma: Mean and Variance

More Examples

Page 3: Jiaping  Wang Department of Mathematical Science  03/25/2013, Monday

The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL

Part 1. Exponential: PDF and CDF

Page 4: Jiaping  Wang Department of Mathematical Science  03/25/2013, Monday

The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL

Probability Density Function

In general, the exponential density function is given by

Where the parameter θ is a constant (θ>0) that determines the rate at which the curve decreases.

θ = 2θ = 1/2

Page 5: Jiaping  Wang Department of Mathematical Science  03/25/2013, Monday

The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL

Cumulative Distribution Function

The exponential CDF is given as

θ = 2θ = 1/2

Page 6: Jiaping  Wang Department of Mathematical Science  03/25/2013, Monday

The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL

Part 2. Mean and Variance

Page 7: Jiaping  Wang Department of Mathematical Science  03/25/2013, Monday

The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL

Gamma Function

The gamma function Γ(α) is given as

We can show that

So

Specially,

Page 8: Jiaping  Wang Department of Mathematical Science  03/25/2013, Monday

The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL

Mean and Variance

Then we have V(X)=E(X2)-E2(X)=2θ2- θ2= θ2.

Page 9: Jiaping  Wang Department of Mathematical Science  03/25/2013, Monday

The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL

Example 5.9

A sugar refinery has three processing plants, all of which receive raw sugar in bulk. The amount of sugar that one plant can process in one day can be modeled as having an exponential distribution with a mean of 4 tons for each of the three plants. If the plants operate independently, find the probability that exactly two of the three plants will process more than 4 tons on a given day.

Answer: The probability that any given plant will process more than 4 tons a day, with X representing the amount used, is

As the plants operate independently, the problem is to find the probability of two successes out of three tries with p=0.37, which is a binomial distribution, so P(Exactly two of three plants use more than 4 tons)=

Page 10: Jiaping  Wang Department of Mathematical Science  03/25/2013, Monday

The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL

Answer: Let a denote the amount to be stocked. Because the amount to be used X has an exponential distribution, so that

So we choose a with P(X>a)=exp(-a/4)=0.05 a=11.98 (tons).

Consider a particular plant in Example 5.9. How much raw sugar should be stocked for that plant each day so that the chance of running out of product is only 0.05?

Example 5.10

Page 11: Jiaping  Wang Department of Mathematical Science  03/25/2013, Monday

The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL

Properties

1. Memoryless: 2. Relation with Poisson distribution: Assume a Poisson distribution

with λ events per hour, so in t hours, the number of events, Y, follows a Poisson with mean λt. Now we start at time zero and ask “ how long do I have to wait to see the 1st event occur?

Let X denote the length of time until 1st event occurs.

P(X≤ t)=1-exp(- ) which means the interval time between two consecutive events in Poisson distribution follows the exponential distribution.

Page 12: Jiaping  Wang Department of Mathematical Science  03/25/2013, Monday

The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL

Part 3. Gamma: PDF

Page 13: Jiaping  Wang Department of Mathematical Science  03/25/2013, Monday

The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL

Probability Density Function (PDF)

In general, the Gamma density function is given by

Where the parameters α and β are constants (α >0, β>0) that determines the shape of the curve.

Page 14: Jiaping  Wang Department of Mathematical Science  03/25/2013, Monday

The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL

Part 4. Mean and Variance

Page 15: Jiaping  Wang Department of Mathematical Science  03/25/2013, Monday

The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL

=

Similary , we can find , so

Suppose with being independent Gamma variables with parameters α and β, then

.

Page 16: Jiaping  Wang Department of Mathematical Science  03/25/2013, Monday

The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL

Example 5.11

A certain electronic system has a life length of X1, which has an exponential distribution with a mean of 450 hours. The system is supported by an identical backup system that has a life length of X2. The backup system takes over immediately when the system fails. If the system operate independently, find the probability distribution and expected value for the total life length of the primary and backup systems.

Answer: Let Y denote the total life length, Y= X1+X2, where X1 and X2 are Independent exponential random variable with mean β=450. So Y is a gammaDistribution with α=2 and β=450, that is,

Then the mean E(Y)=αβ=2(450)=900.

Page 17: Jiaping  Wang Department of Mathematical Science  03/25/2013, Monday

The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL

Example 5.12

Suppose that the length of time X needed to conduct a periodic maintenance check on a pathology lab’s microscope (known from previous experience) follows a gamma distribution with α=3 and β=2 (minutes). Suppose that a new repairperson requires 20 minutes to check a particular microscope. Does this time required to perform a maintenance check seem our of line with prior experience?

Answer: so μ=E(X)=αβ=6, σ2=V(X)=αβ2=12, the standard deviation σ=3.446,When x=20 minutes required from the repairperson, the deviation is 20-6=14 minutes,Which exceeds the mean 6 by k=14/3.446 standard deviations, so based on the Tschebysheff’s inequality, we have P(|X-6|≥14)≤(3.446/14)2=0.06, which is really small Probability, so we can say it is out of line with prior experience.

Page 18: Jiaping  Wang Department of Mathematical Science  03/25/2013, Monday

The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL

Part 3. More Examples

Page 19: Jiaping  Wang Department of Mathematical Science  03/25/2013, Monday

The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL

Additional Example 1

An insurance policy reimburses dental expense, X, up to a maximum benefitof 250 . The probability density function for X is:

where c is a constant. Calculate the median benefit for this policy. Answer: If P(X>a)=1/2, then a is a median. So c=250. As F(x)=1-exp(-x/250), we have

1-exp(-x/250)=1/2 x=250[ln(2)] = 173.29

Page 20: Jiaping  Wang Department of Mathematical Science  03/25/2013, Monday

The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL

Additional Example 2

Let X be an exponential random variable such that P(X>2) = 2P(X>4).Find the variance of X.

Answer: Let the distribution function F based on P(X>2)=2P(X>4), we have 1-F(2)=2(1-F(4))1-(1-exp(-2/θ))=2(1-(1-exp(-4/θ))

exp(-2/θ)=2exp(-4/θ) -2/θ=ln(2)-4/θ θ = 2/ln(2) V(X)=[2/ln(2)]2.

Page 21: Jiaping  Wang Department of Mathematical Science  03/25/2013, Monday

The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL

Additional Example 3

If X has probability density function given by

Find the mean and variance.

Answer: Change it to the standard form with α=3, β=/12, so we can find E(X)=αβ=3/2, V(X)=αβ2=3/4.