9
$\begingroup$

One approach to model comparison in a Bayesian framework uses a Bernoulli indicator variable to determine which of two models is likely to be the "true model". When applying MCMC-based tools for fitting such a model, it is common to use pseudo-priors to improve mixing in the chains. See here for a very accessible treatment of why pseudo-priors are useful.

In their seminal paper on the topic, Carlin & Chib (p. 475) state that "the form of [the pseudo-prior] is irrelevant," which I take to mean that it should not affect posterior inference based on the model (though it might affect MCMC mixing during model fitting). However, my inuition is that the form of the pseudo-prior DOES matter. I asked about this previously in this question. @Xi'an commented (4th comment): "inference about which model is correct does not depend on the pseudo-priors".

Recently I read comments from Martyn Plummer that contradict my understanding of Carlin & Chib. Martyn says: "In order for the Carlin-Chib method to work, the pseudo-prior must match the posterior when the model is true."

(I am NOT saying that Plummer contradicts Carlin & Chib; only that he contradicts my understanding of Carlin & Chib's claim).

All of this leaves me with five questions:

  1. What is going on here? Provided that the model converges and yields a good effective sample size from the posterior, will my inference about which variables to include in a model depend on my pseudo-prior?
  2. If not, how do we square this with my intuition and Plummer's comment? If so, how do we square this with Carlin & Chib's paper and Xi'an's comment (4th comment)?
  3. If my understanding of Plummer's comment is correct, and the pseudo-priors must correspond to the posterior when the variable is included... does this mean it's impermissible to pseudo-priors corresponding exactly to the true priors? This would mean that pseudo-priors are much more than a convenient technique to improve the mixing in the MCMC!!
  4. What if the indicator variable turns on and off a part of the model with several parameters (for example, a random effect with a grand mean, a variance, and n group effects)? Which of the following are permissible (in order of how confident I am that the approach is permissible)? Is there a better approach that I do not list?

    i. Use a pseudo-prior that approximates the full joint posterior distribution of all of the parameters.

    ii. If mixing is acceptably non-atrocious, don't use pseudo-priors at all (i.e. use pseudo-priors equivalent to the true priors).

    iii. Use a pseudo-prior based on the univariate posterior distributions for each parameter, but don't worry about how they are jointly distributed.

    iv. Following the apparently plain language of Carlin & Chib, use any pseudo-prior that gives computationally efficient mixing in the MCMC chains, as "the form of [the pseudo-prior] is irrelevant".

  5. What does @Xi'an mean in the first comment on my question in saying "the pseudo-priors need correction in an importance sampling type of correction."

$\endgroup$
1
  • $\begingroup$ Have you checked this similar question? It points out that Doing Bayesian Data Analysis 2ed, by Kruschke, is using Carlin and Chib's method [chapter 10]. This would be a soft introduction to the method if the original paper sounds too hard. $\endgroup$
    – Xi'an
    Commented Aug 22, 2017 at 10:58

1 Answer 1

3
$\begingroup$
  1. What is going on here?

This is a very generic question with the obvious answer to study in details Carlin & Chib (1995). The essential idea is to consider the joint parameter $(m,\theta_1,\theta_2)$ where $m$ denotes the model index ($m=1,2$) and $\theta_1,\theta_2$ the parameters of both models, in the sense that the data comes from the density $$f(x|m,\theta_1,\theta_2)=f_m(x|\theta_m)$$ i.e. one of the two parameters $\theta_{3-m}$ is superfluous once the model index $m$ is set.

Once this completion is done, a prior has to be chosen on the triplet $(m,\theta_1,\theta_2)$, which is $$\pi(m,\theta_1,\theta_2)=\pi(m)\pi_m(\theta_m)\tilde\pi_m(\theta_{3-m})$$ where I denote by $\pi(m)$ and $\pi_m(\theta_m)$ the true priors on the model index and on the parameter of each model. The additional $\tilde\pi_m(\theta_{3-m})$ is free because the posterior on $\theta_{3-m}$ is equal to the prior: $$\pi(m,\theta_1,\theta_2|x)=\pi(m|x)\pi_m(\theta_m|x)\tilde\pi_m(\theta_{3-m})$$ The data does not impact the parameter it does not depend of. And thus inference about $\theta_m$ is not impacted by the choice of $\tilde\pi_m(.)$. In practice, this means that the algorithm of simulating from the augmented model produces

  1. a frequency for each model approximating the posterior probability of this model
  2. a sequence of parameters $\theta_m$ when $m$ is the model index, to be used for inference on this parameter
  3. a sequence of parameters $\theta_{3-m}$ when $m$ is the model index, to be ignored.
  1. how do we square this with my intuition and Plummer's comment?

What Martyn Plummer means in his comment is that the pseudo-prior does not matter on the parameter with the other index $m$ but must be the true prior on the parameter with the current index $3-m$. This is 100% coherent with Carlin & Chib (1995) paper.

  1. does this mean it's impermissible to pseudo-priors corresponding exactly to the true priors?

Pseudo-priors can be taken as the true priors, provided these are proper. But as Carlin & Chib (1995) indicate, it is much more efficient to take an approximation of the true posterior, $\pi_{3-m}(\theta_{3-m}|x)$, approximation that can be obtained by a preliminary MCMC run for each model.

  1. What if the indicator variable turns on and off a part of the model with several parameters

The resolution to this conundrum is to consider different sets of parameters for all different models, i.e., to have no common parameters between any two models. If you are in a variable selection problem, this means using a different parameter and a different notation for the coefficient of variable $X_1$ when $X_2$ is part of the regression and when $X_2$ is not part of the regression. From this point, use any pseudo-prior you want on the superfluous parameters.

  1. What does @Xi'an mean in the first comment

I mean that if the probabilities of visits to the two models are not the probabilities in the prior, the posterior probability of one model estimated by the simulated frequency must be corrected.

$\endgroup$
5
  • $\begingroup$ I respect your expertise in this issue and I trust this answer is right. However, I find it difficult to square this answer with Plummer's full comment, where he suggests to "Fit model 1 after adding the entry m=1 to the data (forcing model 1 to be true). Monitor the values of a1[1], b1[1] and c1[1]. Set the pseudo prior for a1[2], b1[2], c1[2] so that it matches the posterior moments of a1[1], b1[1] and c1[1], Do the same for model 2 but with m=2 in the data. Set the pseudo prior for a2[1], b2[1], c2[1] to match the posterior moments of a2[2], b2[2] and c2[2] in this model." $\endgroup$ Commented Aug 23, 2017 at 13:52
  • $\begingroup$ This is but one (valid) choice of pseudo-prior. $\endgroup$
    – Xi'an
    Commented Aug 23, 2017 at 13:55
  • $\begingroup$ Great. So my last snag is to square these answers with the following. If model 1 has pseudopriors that don't strongly overlap the posterior mass and model 2 has good pseudopriors, and the two models have similar posterior probability given the data, it will be easy to jump from 1 to 2, and hard to jump from 2 to 1. I cannot grasp how this doesn't cause the MCMC to spend more time in model 2, leading to invalid posterior inference on m. Plummer's full comment seems like it would solve this issue (false issue?). $\endgroup$ Commented Aug 23, 2017 at 14:01
  • $\begingroup$ An inefficient MCMC that does not visit often a particular region will compensate by staying very long in that region so that on average it is there the right amount of time. $\endgroup$
    – Xi'an
    Commented Aug 23, 2017 at 14:18
  • $\begingroup$ Thanks again. Last question: Clearly I don't fully understand Carlin & Chib. Can you pinpoint what I'm missing? Because I thought that the Markov chain for m should take a random walk where the per-step probability of switching to 2 (given m=1) is lower than the per-step probability of switching to 1 (given m=2)? When m=1, the parameters of model 2 are sampled from their (not good) pseudopriors, so it's hard to accept a proposal where m=2. But when m=2, the parameters of model 1 are sampled from their (good) pseudopriors, so it should be easy to accept a proposal where m=1. $\endgroup$ Commented Aug 23, 2017 at 17:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.