hierarch1: Hierarchal Bayes Model

Description Usage Arguments Details Value References See Also Examples

Description

Computes the Gibbs sampler for the two conditional pdf's, g(lambda | x, b) and g(b | x, lambda).

Usage

1
hierarch1(nsims = 0, x = 0, tau = 0.05, kstart = 1)

Arguments

nsims

Number of iterations for the Gibbs sampler

x

Value observed

tau

Statistic used to measure the ordinal association between

kstart

Indicates at which value of nsims the Gibbs sample commences

Details

Computes the solution to Example 11.4.2 on page 681.

Value

**NEED INFO

References

Hogg, R. McKean, J. Craig, A. (2018) Introduction to Mathematical Statistics, 8th Ed. Boston: Pearson.

See Also

gibbser2

Examples

1
2
hierarch1(nsims = 300, x = 6, tau = 0.05, kstart = 20)
hierarch1(nsims = 150, x = 3, tau = 0.045, kstart = 35)

joemckean/mathstat documentation built on May 30, 2019, 2:01 p.m.