Linear Regression
The variable selection problem has a natural Bayesian solution: Any collection of models having different sets of regressors can be computed via their Bayes factors.
A semiconjugate prior distribution
Let , then
and let , then
Then we can construct the following Gibbs sampler:

Weakly informative prior distributions
unit information prior
the parameter estimation should be invariant to changes in the scale of the regressors.
For the second case, we can derive a Monte Carlo approximation:

since
Last updated