
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
Practice problems for midterm 2 of the bayesian statistics course, focusing on the analysis of a hierarchical model for counts of nuclear power plant pump failures. Students are asked to identify lines of winbugs code specifying the hierarchical model stages, analyze autocorrelation, estimate mean and standard deviation, and interpret credible sets. Additional questions cover the estimation of variance and the use of gelman-rubin diagnostic plots.
Typology: Exams
1 / 1
This page cannot be seen from the preview
Don't miss anything!

Name: -------------------------------------------
Bayesian Statistics
Midterm 2, 2005
PRACTICE PROBLEMS for Midterm 2
We have studied a hierarchical model for counts of the number of times that pupmps in10 nuclear power plants failed. The attached WinBUGS code and output are for the samedata. The model is exactly the same as the one we studied
except
for the prior on
alpha
Three samplers were run using different sets of initial values. WinBUGS history plots, auto-correlation plots, and BGR diagnostic plots, and density plots are given for the parameters α
β
,^ θ
θ
10
, and
thetamean
. (The plots for the remaining
θ
’s are similar.) is shown. Use
the attached code, plots, and table of node statistics to answer the following questions.
(Copy it or them here.)
model? (Copy it or them here.)
output?
marginal distribution of
theta[10]
the failure rates of individual pumps are drawn? (Numeric answer)
or in other words, the variance of the distribution from which the failure rates ofindividual pumps are drawn.
Let’s refer to this variance as
σ
Is it possible to
estimate the posterior distribution of
σ
2 θ^
by monitoring any quantity in the WinBUGS
model as given? (yes/no)
If your answer to the previous question was “no,” write the line or lines of WinBUGScode that you would need to add to the model in order to get samples from theposterior distribution of
σ
Circle
all of the
true
statements in the following list:
(a) The numbers in the “MC error” column help us assess the accuracy of the esti-
mated posterior means.
(b) In order to use the Gelman-Rubin convergence diagnostic, one must run more
than one chain. (c) In choosing initial values for an MCMC sampler, one must not look at the current
dataset being analyzed.
(d) In this hierarchical model, the data from pumps numbered 2 to 10 play a role in
estimating
theta[1]
(e) High autocorrelation in MCMC sampler output causes the Markov chain to con-
verge slowly to its stationary distribution. (f) The Gelman Rubin diagnostic plot for
alpha
shows failure to converge because
not all of the lines are on top of each other.
alpha
based on the model
specification in the attached WinBugs code.