ei.reg.bayes(formula, data, sample = 1000, weights = NULL, truncate=FALSE)
cbind(c1, c2, ...)
~ cbind(r1, r2, ...)
ei.reg.bayes
c_i ~ cbind(r1, r2, ...)
are
performed. See the documentation for ei.reg
for the accounting
identities and constancy assumption underlying this Bayesian linear
model.The sampling density is given by $$y|\beta, \sigma^2, X \sim N(X\beta, \sigma^2 I)$$
The improper prior is $p(beta,sigma^2|X) proportional to 1/sigma^2$.
The proper prior is $p(beta, sigma^2|x) proportional to I(beta in [0,1])* 1/sigma^2$.