Description Usage Arguments Value Author(s) Examples
Computes the log posterior of (beta, log sigma) for a normal regression model with a g prior with parameters beta0 and c0.
1 | reg.gprior.post(theta, dataprior)
|
theta |
vector of components of beta and log sigma |
dataprior |
list with components data and prior; data is a list with components y and X, prior is a list with components b0 and c0 |
value of the log posterior
Jim Albert
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.