Implements Gibbs sampling for estimating a two-way table of means under a order restriction.
data matrix with first two columns observed sample means and sample sizes
number of cycles of Gibbs sampling
matrix of simulated draws of the normal means where each row represents one simulated draw
1 2 3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.