claims_by_link_ratio {imaginator} | R Documentation |
Claims by link ratio
Description
Given a data frame of claims, this will simulate claim development by applying a (possibly) random link ratio.
Usage
claims_by_link_ratio(tbl_claims, links, lags)
Arguments
tbl_claims |
A claims data frame |
links |
A vector of the same length as 'lags' of factors, or their distributions, determining how severities change from one evaluation date to the next. |
lags |
A vector of lags |
Details
This function will apply the link ratio algorithm at an individual claim level.
Value
A claims data frame
Examples
tbl_policy <- policy_year_new(10, 2001)
tbl_claims <- claims_by_first_report(
tbl_policy,
frequency = 10,
payment_severity = 100,
lags = 1)
tbl_claims <- claims_by_link_ratio(
tbl_claims,
links = c(1.25, 1.1, 1.05),
lags = 1:4)
[Package imaginator version 1.0.0 Index]