

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Material Type: Notes; Class: INTR THY PROBAB&S I; Subject: STATISTICS; University: Iowa State University; Term: Unknown 1989;
Typology: Study notes
1 / 2
This page cannot be seen from the preview
Don't miss anything!


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
f (y) = yα−^1 e−y/β βαΓ(α) 0 ≤ y < ∞
where Γ(α) =
∫ (^) ∞ 0 y α− (^1) e−ydy.
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.^
μ = E(Y ) = αβ
σ^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.
(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.
(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?