Gibbs sampling for a hierarchical regression model

Share:

Description

Implements Gibbs sampling for estimating a two-way table of means under a order restriction.

Usage

1

Arguments

data

data matrix with first two columns observed sample means and sample sizes

m

number of cycles of Gibbs sampling

Value

matrix of simulated draws of the normal means where each row represents one simulated draw

Author(s)

Jim Albert

Examples

1
2
3

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.