Description Usage Arguments Value Author(s) Examples
Gives a simulated sample from the joint posterior distribution of the regression vector and the error standard deviation for a linear regression model with a noninformative or g prior.
1 |
y |
vector of responses |
X |
design matrix |
m |
number of simulations desired |
prior |
list with components c0 and beta0 of Zellner's g prior |
beta |
matrix of simulated draws of beta where each row corresponds to one draw |
sigma |
vector of simulated draws of the error standard deviation |
Jim Albert
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.