finalCumulativeDiff,AnnualAggLossDevModelOutput-method {BALD}R Documentation

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

Description

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

Arguments

object

The object of type AnnualAggLossDevModelOuput 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

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.

If expYearRange is “fullyObs”, then only exposure years with a non missing value in the first column will be plotted.

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

finalCumulativeDiff


[Package BALD version 1.0.0-3 Index]