Learn R Programming

BALD (version 1.0.0-3)

cumulate: A function to cumulate a triangle.

Description

A function to cumulate a triangle.

Usage

cumulate(triangle)

Arguments

triangle

A matrix of incremental payments. Or the incremental payment triangle. Each cell of the incremental triangle is the payment during that specific year.

Value

A matrix resulting from cumulating the input triangle. This is the cumulative triangles. Each cell is the payment-to-date of the claims.

Details

PC actuaries aggregate historical loss experience in a triangle two dimensions form. The two dimensions are accident years and development years. Most of the time, the loss experience is paid loss and/or incurred loss. Incurred loss is the sum of paid loss and case reserve put up for the estimate of future payment of the claims. For paid losses triangle, each cell could represent either net payment of the year or paid to date throughout the life of the claims. The purpose of this function is to transform the incremental payment triangle to cumulative triangle.

Examples

Run this code
# NOT RUN {
library(BALD) 
#load Generial Liability
data(IncrementalGeneralLiablityTriangle)
print(IncrementalGeneralLiablityTriangle)
#cumulate the triangle
cumulate(IncrementalGeneralLiablityTriangle)
# }

Run the code above in your browser using DataLab