Skip to contents

X / scale is Beta(a, b): a bounded severity, such as a damage ratio times a sum insured. Properties: d@a, d@b, d@scale.

Usage

beta_distribution(a, b, scale = 1, ptr = NULL)

Arguments

a, b, scale

Finite and positive.

ptr

Internal: an existing object to wrap.

Value

A beta_distribution object, which inherits from distribution.

Details

Supports the same operations as pareto.

Examples

d <- beta_distribution(2, 5, 10000)
mean(d)
#> [1] 2857.143
lev(d, 3000)
#> [1] 2268.898