Skip to main content

Module trend

Module trend 

Source
Expand description

Deterministic trend transforms for vectors and triangles.

Functionsยง

apply_loss_trend
Apply one annual loss-trend rate to a vector using years-to-level by item.
apply_premium_trend
Apply one annual premium-trend rate to a vector using years-to-level by item.
detrend_triangle
Detrend each origin row of a triangle by dividing through the supplied origin factor.
retrend_triangle
Retrend each origin row of a triangle by multiplying through the supplied origin factor.
trend_to_common_level
Trend values to a common level using the supplied annual rate and item-specific years.