Skip to contents

stable_add(x, y) is the law of X + Y for independent stable laws with a common alpha (gamma^alpha adds, beta is the gamma^alpha weighted average, the locations add) or of X + y for a number y; stable_scale(x, c) the law of c X for a real c != 0 (the log term at alpha = 1 included); stable_copies(x, t) the sum of t > 0 independent copies; stable_from_compound_pareto() the stable limit of a Poisson compound with a Pareto tail (the generalized central limit theorem: the compound's mean and right tail). Each operand is an independent copy, so stable_add(x, x) is stable_copies(x, 2), not stable_scale(x, 2).

Usage

stable_add(x, y)

stable_scale(x, c)

stable_copies(x, t)

stable_from_compound_pareto(frequency, alpha, theta, sev_mean)

Arguments

x, y

stable_distribution()s, or y a number.

c

A real number, not 0.

t

A positive number of copies, not necessarily whole.

frequency

The expected claim count.

alpha

The severity's tail index, strictly between 1 and 2.

theta

The severity's tail scale, P(X > x) ~ (theta / x)^alpha.

sev_mean

The severity's mean.

Examples

x <- stable_distribution(1.5, 0.4, 2, 1)
y <- stable_distribution(1.5, -0.8, 1, -3)
stable_add(x, y)@beta
#> [1] 0.08655535
stable_copies(x, 2.7)@scale
#> [1] 3.877982
stable_from_compound_pareto(50, 1.6, 3, 12)@loc
#> [1] 600