Skip to contents

The model through the points of a PML curve: amounts[j] is exceeded once in return_periods[j] years.

Usage

fit_pml_curve(return_periods, amounts, tail_alpha = 2, truncation = NULL)

Arguments

return_periods

Numeric vector.

amounts

Numeric vector, one per return period.

tail_alpha

Alpha above the largest amount.

truncation

Truncation of the last piece, or NULL.

Value

A tower_model.

Examples

m <- fit_pml_curve(c(10, 40, 100), c(1e6, 2e6, 3e6))
excess_frequency(m, 2e6)
#> [1] 0.025