My first post was about how to slice-sample from the variance component of linear regression when the half-Cauchy prior is assigned.

Enough for the review of what the horseshoe distribution is and let’s move on to what I found interesting while I was reading this paper. The variance component of the linear model could be sampled from its full conditional because the distribution for slice sampling was not degenerate. But if we want to assign a horseshoe prior for each regression coefficient, which essentially shrinks the estimates toward the origin, we can’t use slice sampling.

(A short review for what a horseshoe distribution is. Horseshoe distribution does not have a PDF that we can write down but it can be written as a scale mixture of normal,

where denotes the half-Cauchy distribution which is a sort of a truncated distribution. Then, the marginal of becomes the horseshoe which in fact cannot be represented in terms of a PDF unfortunately.)

So what they’ve done is, they found out a hierarchical representation of the half-Cauchy distribution.

Then, the marginal . Let’s prove this.

It’s just integration.

But this is the density of not so we use change of variable, . Then, and .

That is the density function of a half-Cauchy(0,A) distribution. Using such a hierarchical representation simplifies the derivation of Gibbs sampler and thus facilitates the inference.

[1] Wand, M. P., Ormerod, J. T., Padoan, S. A., & Fuhrwirth, R. (2011). Mean field variational Bayes for elaborate distributions. Bayesian Analysis, 6(4), 847-900.

### Like this:

Like Loading...