Gamma Distribution - Lecture Notes | STAT 341, Study notes of Probability and Statistics

Material Type: Notes; Class: INTR THY PROBAB&S I; Subject: STATISTICS; University: Iowa State University; Term: Unknown 1989;

Typology: Study notes

Pre 2010

Uploaded on 09/02/2009

koofers-user-z54
koofers-user-z54 🇺🇸

10 documents

1 / 2

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Gamma Distribution - Section 4.6
The Gamma Distribution is used to model continuous data whose values are positive and have a
probability histogram that is skewed to the right. The properties of the gamma distribution are
The parameters for the gamma distribution are α > 0 and β > 0. The αparameter is
referred to as the shape parameter and the βparameter is referred to as the scale parameter
for reasons will be investigating.
The probability density function for the gamma distribution is
f(y) = yα1ey/β
βαΓ(α)0y <
where Γ(α) = R
0yα1eydy.
In most circumstances, the distribution function F(y) does not have a closed form solution.
Therefore, the probabilities for the gamma distribution must be obtained from tables or from
a statistical software package.
Here are graphs of the probability density function and the distribution function of a Gamma
distribution with α= 2 and β= 2.
p.d.f. of Gamma Distribution with alpha = 2 and beta = 2
y
f(y)
0 5 10 15
0.0 0.05 0.10 0.15
Distribution of Gamma Distribution with alpha = 2, beta = 2
y
F(y)
0 5 10 15
0.0 0.2 0.4 0.6 0.8 1.0
The theoretical mean of the gamma distribution is
µ=E(Y) = αβ
The variance of the gamma distribution is
σ2=V(Y) = αβ2
Working with the gamma distribution in R.
To find the probability P(Yy) the command in R is
pgamma(y, shape = alpha, scale = beta)
1
pf2

Partial preview of the text

Download Gamma Distribution - Lecture Notes | STAT 341 and more Study notes Probability and Statistics in PDF only on Docsity!

Gamma Distribution - Section 4.

The Gamma Distribution is used to model continuous data whose values are positive and have a probability histogram that is skewed to the right. The properties of the gamma distribution are

  • The parameters for the gamma distribution are α > 0 and β > 0. The α parameter is referred to as the shape parameter and the β parameter is referred to as the scale parameter for reasons will be investigating.
  • The probability density function for the gamma distribution is

f (y) = yα−^1 e−y/β βαΓ(α) 0 ≤ y < ∞

where Γ(α) =

∫ (^) ∞ 0 y α− (^1) e−ydy.

  • In most circumstances, the distribution function F (y) does not have a closed form solution. Therefore, the probabilities for the gamma distribution must be obtained from tables or from a statistical software package. Here are graphs of the probability density function and the distribution function of a Gamma distribution with α = 2 and β = 2. p.d.f. of Gamma Distribution with alpha = 2 and beta = 2

y

f(y)

0 5 10 15

0.^

Distribution of Gamma Distribution with alpha = 2, beta = 2

y

F(y)

0 5 10 15

0.^ 0.^ 0.^ 0.^ 0.^

  • The theoretical mean of the gamma distribution is

μ = E(Y ) = αβ

  • The variance of the gamma distribution is

σ^2 = V (Y ) = αβ^2

Working with the gamma distribution in R.

To find the probability P (Y ≤ y) the command in R is

pgamma(y, shape = alpha, scale = beta)

To find the value of y such that P (Y ≤ y) = p the command in R is

qgamma(p, shape = alpha, scale = beta)

To generate observations from a gamma distribution the command in R is

rgamma(numobs, shape = alpha, scale = beta)

where numobs is the number of observed values you would like to generate.

Problems.

  1. Four week summer rainfall total in a section of the Midwest have approximately a gamma distribution with α = 1.6 and β = 2.0. The unit of measurement is inches.

(a) Find the probability that the rainfall total for this particular four weeks in the summer will be greater than 5 inches. (b) Find the mean amount of rainfall for this particular four weeks in the summer. (c) Find the variance of the rainfall amounts for this particular four weeks in the summer.

  1. Annual incomes for heads of household in a section of a city have approximately a gamma distribution with α = 1000 and β = 20. The unit of measurement is dollars.

(a) Find the mean and variance of the incomes for heads of households in this section of the city. (b) The median income is defined as the income where 50% make more and 50% make less. Find the median income. (c) The first quartile income is defined as the income where 25% make less and 75% make more. Find the first quartile income. (d) The third quartile income is defined as the income where 75% make less and 25% make more. Find the third quartile income. (e) Between what two incomes do the middle 50% of heads of households in this section of the city make?