finalCumulativeDiff-comma-AnnualAggLossDevModelOutputWithZeros-dash-method: A method to plot and/or return the difference between final...

Description Arguments Details Value See Also

Description

A method to plot and/or return the difference between final actual and predicted cumulative payments.

Arguments

object

The object of type AnnualAggLossDevModelOuputWithZeros from which to plot and/or return the difference between final actual and predicted cumulative payments.

plot

A logical value. If TRUE, the plot is generated and the statistics are returned; otherwise only the statistics are returned.

expYearRange

Either a range of years (for example c(1995, 2006)) or one of the keywords “all” or “fullyObs”.

Details

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.

Value

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.

See Also

accountForZeroPayments finalCumulativeDiff finalCumulativeDiff,AnnualAggLossDevModelOutput-method


BALD documentation built on May 2, 2019, 6:51 a.m.