Learn R Programming

BayesianTools (version 0.1.0)

createBetaPrior: Convenience function to create a beta prior

Description

Convenience function to create a beta prior

Usage

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.

See Also

createPriorDensity createPrior createTruncatedNormalPrior createUniformPrior createBayesianSetup