View source: R/BootstrapReserve.R
plot.BootChainLadder | R Documentation |
plot.BootChainLadder
, a method to plot the output of
BootChainLadder
. It is designed to give a quick overview
of a BootChainLadder
object and to check the model assumptions.
## S3 method for class 'BootChainLadder'
plot(x, mfrow=NULL, title=NULL, log=FALSE,
which=1:4, ...)
x |
output from |
mfrow |
see |
title |
see |
log |
logical. If |
which |
if a subset of the plots is required, specify a subset of the numbers 1:4. |
... |
optional arguments. See |
plot.BootChainLadder
shows four graphs, starting with a histogram
of the total simulated IBNRs over all origin periods, including a rug
plot; a plot of the empirical cumulative distribution of the total
IBNRs over all origin periods; a box-whisker plot of simulated ultimate
claims costs against origin periods; and a box-whisker plot of
simulated incremental claims cost for the latest available calendar period
against actual incremental claims of the same period. In the last plot
the simulated data should follow the same trend as the actual data,
otherwise the original data might have some intrinsic trends which are
not reflected in the model.
The box-whisker plot of latest actual incremental claims against simulated claims follows is based on ideas from Barnett and Zehnwirth in: Barnett and Zehnwirth. The need for diagnostic assessment of bootstrap predictive models, Insureware technical report. 2007
Markus Gesmann
See also BootChainLadder
B <- BootChainLadder(RAA)
plot(B)
plot(B, log=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.