ordergibbs: Gibbs sampling for a hierarchical regression model

Description Usage Arguments Value Author(s) Examples

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

bayesball/LearnBayes documentation built on May 11, 2019, 9:21 p.m.