Description Usage Arguments Value
Gibbs_Reg: Gibbs sampler function to sample slope coefficients in linear regression with normal noise
1 | Gibbs_Reg(Y, X, sigmasq_prior, sigmasq_prior_alpha, sigmasq, PP)
|
Y |
: dependent variable |
X |
: covariates |
sigmasq_prior |
: variance of normal prior |
sigmasq_prior_alpha |
: variance of the normal prior for |
sigmasq |
: variance of |
PP |
: number of covariates |
A draw from the posterior distribution
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.