

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: -------------------------------------------
Experiments are performed on laboratory animals to assess whether chemicals are harmfulto unborn baby animals.
In these experiments, pregnant females are fed (or otherwise
exposed to) the chemical of interest and responses are recorded on each individual baby.Weil (1970) reported an experiment in which 16 pregnant female rats were fed a diet treatedwith a chemical. The parameter of interest was the population proportion of baby rats thatwould survive 21 days after birth if their mother ingested this chemical during pregnancy.The group of baby rats born to the same mother at one time are called a “litter.” Thefollowing notation will be used:
total number of litters
n
i
total number in litter
i, i
x
i
number surviving in litter
i, i
total number of baby rats in all litters
total number of survivors in all litters
The data for the individual litters were as follows (presented as
x
i
n
i
Two models for these data were fit using WinBUGS. The models are shown below, and theoutput is attached.Model 1 model{
X ~ dbin(p,N);p ~ dbeta(1,1);
Model 2 model{
for (i in 1:L) {
x[i] ~ dbin(p[i],n[i]);p[i] ~ dbeta(a,b);
theta
<- a/(a + b);
a
~ dgamma(1,.2);
b
~ dgamma(1,.2);
(a) Model 1 (b) Model 2
(c) Both (d) Neither
baby rats in all litters considered exchangeable?
(a) Model 1 (b) Model 2
(c) Both (d) Neither
litter considered exchangeable?
(a) Model 1 (b) Model 2
(c) Both (d) Neither
central posterior interval for the parameter of primary interest (the population pro-portion of baby rats that would survive 21 days after birth if their mother ingestedthe chemical during pregnancy)?
(a) according to Model 1 (b) according to Model 2
history plots, autocorrelation plots, and BGR diagnostic plots are given for the pa-rameters
a
b
, and
theta
and for one of the
p
’s.
(The plots for the remaining
p
’s
are similar.) In addition, the table corresponding to the BGR diagnostic plot for
b
is
shown. Use the plots and table to answer the following questions.
(a) For which model parameter was the autocorrelation the highest? (b) How many burn-in iterations would you discard? (Circle the best answer.)
i. none
ii. about 250
iii. about 500iv. about 750
v. 1000 or more
(c) Briefly justify your answer to the previous question, referring to specific Win-
BUGS output.
survived. We wish to use it to infer about the population proportion
p
. We wish to
use an improper prior on
p
, namely
p
Beta
(a) Is it possible to carry out a valid Bayesian analysis using this prior and the data
from litter 1 alone? (Yes/no)
(b) If your answer to the previous question was “Yes,” what is the resulting posterior
distribution,
p
p
x
)? If your answer to the previous question was “No,” why not?