Convenience function to create a beta prior

createBetaPrior(a, b, lower = 0, upper = 1)

Arguments

a

shape1 of the beta distribution

b

shape2 of the beta distribution

lower

lower values for the parameters

upper

upper values for the parameters

Details

This creates a beta prior, assuming that lower / upper values for parameters are are fixed. The beta is the calculated relative to this lower / upper space.

Note

for details see createPrior

See also

createPriorDensity createPrior createTruncatedNormalPrior createUniformPrior createBayesianSetup