ultiDevFac: Calculate ultimate development factor based on current...

Description Usage Arguments Examples

View source: R/Common.R

Description

Calculate ultimate development factor based on current development year, a mean development factor schedule and its volatility. It is used to simulate the ultimate loss for open claims.

Usage

1
2
ultiDevFac(Years, meanDevFac, sdDevFac = rep(0, length(meanDevFac)),
  distType = "normal")

Arguments

Years

Include two columns: Current development year and Settlement Year

meanDevFac

A vector that contains the expected development factor schedule for Normal distribution. It is mu for Lognormal distribution and shape for Gamma distribution.

sdDevFac

A vector that contains the standard deviation of expected development factor schedule for Normal distribution. It is sigma for Lognormal distribution and scale for Gamma distribution.

distType

distribution type for development factor. It can be "normal", "lognormal" or "gamma".

Examples

1
2
3
4
meanfac<-c(1.1,1.08,1.05,1.03,1.01,1)
volfac<-rep(0.02,6)
years<-matrix(c(1:6),3,2)
ultiDevFac(years,meanfac,volfac)

cascsim documentation built on Jan. 13, 2020, 5:07 p.m.