Description Usage Arguments Value Examples
View source: R/BootstrapBornFerg.R
BootstrapBornFerg
computes the bootstraped distribution for IBNR on a Bornhuetter Fergusson method.
1 | BootstrapBornFerg(triangle, ultimateClaims, nBoot = 1000, weight = NA)
|
triangle |
Cumulated triangle as a matrix. The matrix should be square |
ultimateClaims |
Ultimate claims by accident year. |
nBoot |
Number of samples. Default value equals to 1000. |
weight |
Boolean matrix the same size of the triangle to tell if the value is to be considered: 1 for yes, 0 for no. First column is not considered |
A list containing the following objects:
triangleList: the list of bootsraped triangles
ibnrByAccidentYear: a data frame containing ibnrs by accident year
ibnr: a vector of the total ibnr values)
predictionError: estimation of the prediction error on IBNR
1 2 | ultimateClaims <- c(3901463,5433719,5378826,5297906,4858200,5111171,5660771,6784799,5642266,4969825)
bbf <- BootstrapBornFerg(triangleExampleEngland, ultimateClaims, 1000)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.