Hierarchical Bayes
[21/0%]For the model (3.3.1), let be a single-prior Bayes posterior and be a hierarchical Bayes posterior. Show that , where .
For the situation of Problem 5.1, show that:
;
;
and hence that will tend to have a larger variance than .
For the model (3.3.3), show that:
The marginal prior of , unconditional on , is given by
which for and is Student's -distribution with degrees of freedom.
The marginal posterior of is given by
Albert and Gupta (1985) investigate theory and applications of the hierarchical model
Show that
[Note that and are not expressible in a simple form.]
Unconditionally on , the 's have conditional covariance
Ignoring the prior distribution of , show how to construct an empirical Bayes estimator of . (Again, this is not expressible in a simple form.)
[Albert and Gupta (1985) actually consider a more general model than given here, and show how to approximate the Bayes solution. They apply their model to a problem of nonresponse in mail surveys.]
Analogous to Problem 1.7.9, establish that for any random variable , and ,
For the hierarchy
show that .
If , where and are known, then
[Part (c) points to what can be considered a limitation in the applicability of some hierarchical models, that they imply a positive correlation structure in the posterior distribution.]
The one-way random effects model of Example 2.7 (see also Examples 3.5.1 and 3.5.5) can be written as the hierarchical model
If, in addition, we specify that Uniform , show that the Bayes estimator of under squared error loss is given by (3.5.13), the UMVU predictor of .
Referring to Example 6.6:
Using the prior distribution for given in (5.6.27), show that the mode of the posterior distribution is , and hence the empirical Bayes estimator based on this does not equal the hierarchical Bayes estimator (5.6.29).
Show that if we estimate using its posterior expectation , then the resulting empirical Bayes estimator is equal to the hierarchical Bayes estimator.
The method of Monte Carlo integration allows the calculation of (possibly complicated) integrals by using (possibly simple) generations of random variables.
To calculate , generate a sample , iid, from . Then, as .
If it is difficult to generate random variable from , then generate pairs of random variables
Then, as . [Show that if is generated according to and , then .]
If it is difficult to generate as in part (b), then generate
for and .
Show that:
-
for each is a Markov chain. If it is also an ergodic Markov chain , as , where has the stationary distribution of the chain.
-
If the stationary distribution of the chain is , then
as .
This is the basic theory behind the Gibbs sampler. For each , we have generated independent random variables , where is distributed according to . It is also the case that for each and large is approximately distributed according to , although the variables are not now independent. The advantages and disadvantages of these computational schemes (one-long-chain vs. manyshort-chains) are debated in Gelman and Rubin 1992; see also Geyer and Thompson 1992 and Smith and Roberts 1992. The prevailing consensus leans toward one long chain.
To understand the convergence of the Gibbs sampler, let , and define
Show that the function that solves is , the marginal distribution of .
Write down the analogous integral equation that is solved by .
Define a sequence of functions recursively by where is arbitrary but satisfies . Show that
and, hence, converges to .
[The method of part (c) is called successive substitution. When there are two variables in the Gibbs sampler, it is equivalent to data augmentation (Tanner and Wong 1987). Even if the variables are vector-valued, the above results establish convergence. If the original vector of variables contains more than two variables, then a more general version of this argument is needed (Gelfand and Smith 1990).]
A direct Monte Carlo implementation of substitution sampling is provided by the data augmentation algorithm (Tanner and Wong 1987). If we define
then from Problem 5.9, as .
To calculate using Monte Carlo integration:
-
Generate .
-
Generate, for each .
-
Calculate . Then, as , and hence the data augmentation algorithm converges.
To implement (a)(i), we must be able to generate a random variable from a mixture distribution. Show that if , then the algorithm
-
Select with probability
-
Generate produces a random variable with distribution .
Hence, show how to implement step (a)(i) by generating random variables from . Tanner and Wong (1987) note that this algorithm will work even if , which yields the approximation
identical to the Gibbs sampler. The data augmentation algorithm can also be seen as an application of the process of multiple imputation (Rubin 1976, 1987, Little and Rubin 1987).
Successive substitution sampling can be implemented via the Gibbs sampler in the following way. From Problem 5.8(c), we want to calculate
Show that as .
Given , a Monte Carlo approximation to is
where and as .
Hence, as .
This is the Gibbs sampler, which is usually implemented with .
For the situation of Example 5.6, show that
Discuss when equality might hold in (b). Can you give an example?
Show that for the hierarchy (5.5.1), the posterior distributions and satisfy
and, hence, are stationary points of the Markov chains in (5.5.13).
Starting from a uniform random variable , it is possible to construct many random variables through transformations.
Show that .
Show that , where are iid as .
Let . Write as a function of .
Let , an integer. Write as a function of , iid as .
Starting with a random variable, the transformations of Problem 5.14 will not get us normal random variables, or gamma random variables with noninteger shape parameters. One way of doing this is to use the Accept-Reject Algorithm (Ripley 1987, Section 3.2), an algorithm for simulating :
-
Generate , independent.
-
Calculate where .
-
If , set , otherwise return to i).
Show that the algorithm will generate .
Starting with , show how to generate .
Show how to generate a gamma random variable with a noninteger shape parameter.
Consider the normal hierarchical model
where , are known.
Show that the posterior distribution of is
where and .
Find an expression for the Kullback-Leibler information and show that it is a decreasing function of .
The original proof of Theorem 5.7 (Goel and DeGroot 1981) used Rényi's entropy function (Rényi 1961)
where and are densities, is a dominating measure, and is a constant, .
Show that satisfies and .
Show that Theorem 5.7 holds if is used instead of .
Show that , and provide another proof of Theorem 5.7.
The Kullback-Leibler information, (5.5.25), is not symmetric in and , and a modification, called the divergence, remedies this. Define , the divergence between and , to be . Show that, analogous to Theorem 5.7, .
Goel and DeGroot (1981) define a Bayesian analog of Fisher information [see (2.5.10)] as
the information that has about the posterior distribution. As in Theorem 5.7, show that , again showing that the influence of is less than that of .
Each of spores has a probability of germinating. Of the spores that germinate, each has probability of bending in a particular direction. If bends in the particular direction, a probability model to describe this process is the bivariate binomial, with mass function
Show that the Jeffreys prior is .
If is considered a nuisance parameter, the reference prior is
Compare the posterior means under both the Jeffreys and reference priors. Is one more appropriate?
What is the effect of the different priors on the posterior variance?
[Priors for the bivariate binomial have been considered by Crowder and Sweeting (1989), Polson and Wasserman (1990), and Clark and Wasserman (1993), who propose a reference/Jeffreys trade-off prior.]
Let be a family of probability densities. The Kullback-Leibler information for discrimination between two densities in can be written
Recall that the gradient of is and the Hessian is .
If integration and differentiation can be interchanged, show that
where is the Fisher information of .
George and McCulloch (1993) argue that choosing is an appealing least informative choice of priors. What justification can you give for this?