Regression analysis for dichotomous (binary) data usually proceeds by specifying a link function that maps a linear model on the real line back to the unit interval. The most common link function is the logit link, leading to logistic regression. The likelihood function in this case is simply a Bernoulli likelihood for each data point. This is the most well-known case of a generalized linear model.
In a Bayesian setting, it is computationally more convenient (as I will describe) to use a probit link, which is the cumulative distribution function (CDF) of a standard normal random variable. In this class I will provide no detailed discussion of how the probit and the logit link differ, except to say that in many practical situations the distinction will be minimal (especially for the purpose of classification tasks).
The reason the probit model is so useful in a Bayesian set up is that one can consider the dichotomous data as arising via a deterministic transformation of a continuous latent variable:
If we then assume that
we can deduce that
that is, a probit model.
How did we arrive at this? Note that the probability that is the integral from zero to positive infinity of a normal density function with variance one centered at
. By a change of variables shifting this density over by
, we see this area is the same as that under the curve of a standard normal random variable from
to positive infinity. But because the standard normal is symmetric about zero, we see that this is the same as the area under the curve from negative infinity to
, hence the result.
Anyway, the point of this is that performing inference for the regression coefficients of a probit model reduces to iteratively sampling a linear regression model and then sampling the latent variables . The convenient thing about sampling the
variable is that, conditional on
, the updates are independent across observations and are simply draws from a truncated normal distribution.
Fortunately, truncated normal distributions are easy to draw from using the inverse CDF method. See this demo script.
For the original paper presenting this idea, see Albert and Chib (1993).
