ordergibbs: Gibbs sampling for a hierarchical regression model

Description Usage Arguments Value Author(s) Examples

View source: R/ordergibbs.R

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

LearnBayes documentation built on May 30, 2017, 4:48 a.m.

Search within the LearnBayes package
Search all R packages, documentation and source code