Skip to contents

Carr, Geman, Madan and Yor's law (2002) with a location mu for invert_chf(): its cumulant generating function is mu s + C gamma(-Y) ((M - s)^Y - M^Y + (G + s)^Y - G^Y) for -G < s < M.

Usage

tempered_stable_distribution(C, G, M, Y, mu = 0)

Arguments

C

Activity, positive.

G

Left tempering, positive.

M

Right tempering, positive.

Y

Index, below 2 and not 0 or 1.

mu

Location.

Value

A tempered_stable_distribution with properties C, G, M, Y, mu, mean, variance and skewness.

Examples

tempered_stable_distribution(1, 5, 10, 0.5)@mean
#> [1] -0.2321663