Let be the quantile function. For ,
The reverse implication is immediate from the infimum defining . For the forward implication, if there is a point with . If , choose with ; monotonicity and right continuity give
The endpoint values have zero probability under a continuous uniform variable.
Consequently
Thus the inverse transform sampling identity is
Choose an initial value . One sweep of the Gibbs sampler consists of
After a burn-in period, the pairs are retained as approximate samples. Standard irreducibility and recurrence conditions are needed for convergence from the chosen starting point.
The transition density from to is
Suppose currently has density . The density after one sweep is
This proves the stationarity of the two-coordinate Gibbs sampler:
Write
Multiplying the likelihood by the improper prior gives the Bayesian posterior kernel
Since
the first full conditional is
Holding fixed and comparing powers and exponential rates gives
The assumed parity of makes a positive integer.
Initialize arbitrarily. At iteration , put
Draw independent uniform variables and set
By sampling an integer-shape gamma distribution, this has the required law. Next draw independently and set
These are exactly the two full-conditional updates of the normal mean-precision Gibbs sampler. After discarding burn-in, the pairs are approximate samples from the posterior by Markov chain Monte Carlo.

Articles by others on the same topic (0)

There are currently no matching articles.