The Gibbs sampler (Geman and Geman, 1984) is one of the simplest MCMC methods, in which transitions between states of the Markov chain result from sampling each component of the state conditioned on the current value of all other variables.
in our case, this means alternating between sampling from two distributions: , and every two steps we generate a new sample of t and θ.