In computational statistics, reversible-jump Markov chain Monte Carlo is an extension to standard Markov chain Monte Carlo (MCMC) methodology that allows simulation of the posterior distribution on spaces of varying dimensions. Thus, the simulation is possible even if the number of parameters in the model is not known.
Let
n m ∈ N m = { 1 , 2 , … , I } be a model indicator and M = ⋃ n m = 1 I R d m the parameter space whose number of dimensions d m depends on the model n m . The model indication need not be finite. The stationary distribution is the joint posterior distribution of ( M , N m ) that takes the values ( m , n m ) .
The proposal m ′ can be constructed with a mapping g 1 m m ′ of m and u , where u is drawn from a random component U with density q on R d m m ′ . The move to state ( m ′ , n m ′ ) can thus be formulated as
( m ′ , n m ′ ) = ( g 1 m m ′ ( m , u ) , n m ′ ) The function
g m m ′ := ( ( m , u ) ↦ ( ( m ′ , u ′ ) = ( g 1 m m ′ ( m , u ) , g 2 m m ′ ( m , u ) ) ) ) must be one to one and differentiable, and have a non-zero support:
s u p p ( g m m ′ ) ≠ ∅ so that there exists an inverse function
g m m ′ − 1 = g m ′ m that is differentiable. Therefore, the ( m , u ) and ( m ′ , u ′ ) must be of equal dimension, which is the case if the dimension criterion
d m + d m m ′ = d m ′ + d m ′ m is met where d m m ′ is the dimension of u . This is known as dimension matching.
If R d m ⊂ R d m ′ then the dimensional matching condition can be reduced to
d m + d m m ′ = d m ′ with
( m , u ) = g m ′ m ( m ) . The acceptance probability will be given by
a ( m , m ′ ) = min ( 1 , p m ′ m p m ′ f m ′ ( m ′ ) p m m ′ q m m ′ ( m , u ) p m f m ( m ) | det ( ∂ g m m ′ ( m , u ) ∂ ( m , u ) ) | ) , where | ⋅ | denotes the absolute value and p m f m is the joint posterior probability
p m f m = c − 1 p ( y | m , n m ) p ( m | n m ) p ( n m ) , where c is the normalising constant.