Specifies beta prior distribution for a binomial probability parameter.
BetaPrior(a = 1, b = 1, mean = NULL, sample.size = NULL,
initial.value = NULL)
A positive real number interpretable as a prior success count.
A positive real number interpretable as a prior failure count.
A positive real number representing a/(a+b)
.
A positive real number representing a+b
.
An initial value to be used for the variable
being modeled. If NULL
then the mean of the distribution
will be used instead.
Steven L. Scott steve.the.bayesian@gmail.com
The distribution should be specified either with a
and
b
, or with mean
and sample.size
.
Gelman, Carlin, Stern, Rubin (2003), "Bayesian Data Analysis", Chapman and Hall.