

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!


Name: -------------------------------------------
A neurologist has four patients with epilepsy, all of whom are taking the same drug to controltheir seizures. They have been on the drug long enough that their pattern of seizures hasstabilized.The neurologist asks each patient to keep track of the number of seizures he or she has ineach of three months. Let
x
i,j
represent the number of seizures that patient
i
has in month
j
, where
i
goes from 1 to 4 and
j
goes from 1 to 3.
The neurologist believes that each patient has a true mean number of seizures per month θ
i
, and that the number of seizures that each patient has in a given month is a draw from
a Poisson distribution with parameter
θ
i
. That is,
x
i,j
θ
i
P oisson
θ
i
i
, j
and the
x
i,j
s are considered conditionally independent given
θ
i
Furthermore, she believes that, although the
θ
i
s are different for different patients, they are
similar, and that that similarity can be expressed by saying that all the
θ
i
s are like draws
from a common Gamma density. That is:
θ
i
α, β
Gamma
α, β
i
Finally, she believes that the following prior densities are appropriate for the parameters
α
and
β
α
Exponential
β
Gamma
The neurologist carries out a Bayesian analysis to learn about each individual patient’s meanparameter
θ
i
and about the density from which the
θ
i
s are drawn. She uses WinBUGS to
run three MCMC chains using different sets of initial values. Code, plots, and the table ofnode statistics from the WinBUGS analysis are attached.
conditional density of
α
? You do
not
need to derive the form of the full conditional
density; just name the quantities that will appear in it.
(a) All of the
x
i,j
s for all patients and all months are treated as exchangeable in this
model.
(b)
x
2
,
1
x
2
,
2
and
x
2
,
3
are considered exchangeable in this model.
(c) All the
θ
i
s are treated as exchangeable in this model.
(d) None of the above.
α
, the autocorrelation between values drawn from the MCMC
samplers 5 iterations apart is (circle the
one
best answer):
(a) close to 0 (b) close to 0.
(c) close to 1 (d) impossible to estimate from output provided
α
suggest should be
discarded as burn-in? Give a rough numeric answer and explain in one or two sentenceshow you chose it.
θ
2
(numeric answer)?
previous question.
(a) Using different prior densities for
α
and
β
could have changed the endpoints of
the credible set for
θ
2
(b) For the neurologist, there is 95% probability that patient number 2’s true mean
rate of seizures per month lies in this interval.
(c) In 95% of all possible months, the number of seizures that patient 2 has will lie
in this interval.
(d) If the neurologist ran her WinBUGS samplers for an addition 5000 iterations,
the endpoints of the credible set would be likely to change a little bit but notsubstantially.
Identify each of the expressions in the first column as one
of the following types:
prior, joint posterior, marginal posterior, or full conditional
density. Also indicate with “yes” or “no” whether useful Bayesian inference might bebased on it.
Density
——— Density Type ———-
Useful for inference?
p
θ
1
θ
2
,... , θ
4
, α, β,
x
p
θ
1
,... , θ
4
, α, β
x
p
α
p
θ
1
x
apply):
(a) helps locate all modes in the posterior density (b) reduces autocorrelation in the output from each chain
(c) enables the use of the BGR diagnostic in WinBUGS (d) makes trace plots more helpful in indicating convergence failure
(e) shrinks the estimates of posterior standard deviations
kept all other aspects of the analysis the same. Would you expect her to obtain thesame posterior means and standard deviations for
θ
1
θ
2
, and
θ
3
as she obtained when
all 4 patients were in the analysis? Explain in one or two sentences why or why not.