Learn R Programming

Boom (version 0.9.15)

dirichlet.prior: Dirichlet prior for a multinomial distribution

Description

Specifies Dirichlet prior for a discrete probability distribution.

Usage

DirichletPrior(prior.counts, initial.value = NULL)

Arguments

prior.counts

A vector of positive numbers representing prior counts.

initial.value

The initial value in the MCMC algorithm of the distribution being modeled.

Author

Steven L. Scott steve.the.bayesian@gmail.com

References

Gelman, Carlin, Stern, Rubin (2003), "Bayesian Data Analysis", Chapman and Hall.