Skip to content

beta_dist

Beta-distribution PDF or CDF.

v = beta_dist(x, alpha, beta, cumulative, A, B)

Returns the beta PDF or CDF at x for shape parameters alpha and beta. Optional A and B rescale the distribution from [0, 1] to [A, B].

beta_dist(0.5, 2, 5, true)