A method to plot and/or return the difference between final actual and predicted cumulative payments.
The object of type AnnualAggLossDevModelOuputWithZeros
from which to plot and/or return the difference between final actual and predicted cumulative payments.
A logical value. If TRUE
, the plot is generated and the statistics are returned; otherwise only the statistics are returned.
Either a range of years (for example c(1995, 2006)) or one of the keywords “all” or “fullyObs”.
Mainly called for the side effect of plotting the difference between final actual and predicted cumulative payments by exposure year. Also returns a named array for the percentiles in the plot. Returned invisibly.
This method accounts for zero payments. By weighting estimated predicted payments by the probably that the payment is greater than zero.
The relative difference (x/y - 1) between the final observed cumulative payment and the corresponding predicted cumulative payment is plotted for each exposure year.
The horizontal lines of each box represent (starting from the top) the 90th, 75th, 50th, 20th, and 10th percentiles. Exposure years in which all cumulative payments are NA
are omitted.
accountForZeroPayments
finalCumulativeDiff
finalCumulativeDiff,AnnualAggLossDevModelOutput-method