beta {bayesforecast} | R Documentation |
Define a beta prior distribution
Description
beta(shape1,shape2)
Usage
beta(shape1 = 2, shape2 = 2)
Arguments
shape1 |
the first form parameter |
shape2 |
the second form parameter |
Details
Define a beta prior distribution using the hyper parameters shape1 and shape2, by default a beta(2,2) distribution is return.
Value
a numerical vector interpreted as a prior in Stan
[Package bayesforecast version 1.0.5 Index]