Description Usage Arguments Value Author(s) Examples
Implements Gibbs sampling for estimating a two-way table of means under a hierarchical regression model.
1 |
data |
data matrix with columns observed sample means, sample sizes, and values of two covariates |
m |
number of cycles of Gibbs sampling |
beta |
matrix of simulated values of regression vector |
mu |
matrix of simulated values of cell means |
var |
vector of simulated values of second-stage prior variance |
Jim Albert
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.