get_supported_beta: Get Beta Distribution With Desired Support

Description Usage Arguments Details Value

Description

Determines the parameters for a beta distribution given an expected value and desired support at some bound.

Usage

1
get_supported_beta(mu, bound, desired_support = 0.05)

Arguments

mu

The expected value of x (see details)

bound

The desired maximum of the distribution

desired_support

The amount of probability mass to be more extreme than bound

Details

If x ~ Beta(alpha, beta), then mu = E[x] and sigma^2 = Var(x)

Value

An object of class beta_dist


convoyinc/abayes documentation built on May 12, 2019, 1:34 a.m.