

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


(a) Evaluate the normal approximation to the distribution of Y by plotting the density of (Y − μ)/
φμ for various values of φ. (b) Derive the moment generating function of X = log Y and hence find formulas for E(X) and var(X). (c) Plot the density of (X − E(X))/
var(X) for the values of the dispersion pa- rameter considered in part (a). Hence evaluate the normal approximation to the distribution of X. (d) Plot the density of the signed (and scaled) likelihood root statistic
r = sign(Y − μ)
φ
− log
μ
Y − μ μ
for the values of the dispersion parameter considered in part (a). Hence evaluate the normal approximation to the distribution of r.
f (y; μ, α) = Γ(α + y) y! Γ(α)
α α + μ
)α( 1 − α α + μ
)y , y = 0, 1 , 2 ,....
Note: if α is a positive integer, then this is just the usual negative binomial with sucess probability p = α/(α + μ), i.e., the distribution of the number of failures prior to the αth success in a sequence of independent Bernoulli trials with sucess probability p.
(a) Assuming that α is known, show that f (y; μ, α) is an exponential dispersion family and identify the canonical parameter θ as a function of μ and α. (Note that when α is unknown, NB(μ, α) is not an exponential dispersion family.) (b) Find the MLE for θ when α is known. (c) Derive the ML estimating equation for α when θ is known. (d) Describe an algorithm for finding the m.l.e. (θ,ˆ αˆ). (e) The number of species of fish in 70 lakes around the world are given in the dataset “Fish counts” available from the class website. Test the goodness-of-fit of a Poisson distribution to these counts. (f) Write a computer program to fit a negative binomial distribution to the counts. Email your program to the course TA in a form that he can run. The output from the program should include the results of each iteration.
F (y) =
0 , y ≤ 0 , Φ
λ y
−1 + (^) μy
λ y
1 + (^) μy
, y > 0.
(a) Show that F has density f given by
f (y) =
0 , y ≤ 0 , ( λ 2 πy^3
exp
− λ(y−μ)
2 2 μ^2 y
, y > 0.
(b) Show that the density can be written in exponential dispersion form. Identify the cumulant function, b(θ), the canonical link, and the variance function for this model.
logit π = β 0 + β 1 x
to the space shuttle data available from the class website using the IRLS algorithm described in class. In this model x denotes the temperature at launch time and π = P (number of damaged o-rings > 0) (in the data set, the variable “ndo” denotes number of damaged o-rings).
(a) Email your program to me in a form that I can run. The output from the program should include the results of each iteration and the Wald and LR statistics for testing Ho : β 1 = 0. (b) Explain the criterion you used to determine convergence. (c) Plot the fitted value of π as a function of temperature and mark the estimated value for x = 32o^ (the temperature the morning of the Challenger disaster).