triResi-comma-AnnualAggLossDevModelOutput-dash-method: A method to plot and/or return residuals for models in the...

Description Arguments Details Value See Also

Description

A method to plot and/or return residuals for models in the BALD package.

Arguments

object

The object of type AnnualAggLossDevModelOuput from which to plot and/or return the residuals.

timeAxis

A character value describing along which of the three (3) time axis to plot the residuals. ‘dy’ for development year time, ‘cy’ for calendar year time, ‘ey’ for exposure year time.

standardize

A logical value. If TRUE, the plotted and returned residuals are normalized to their respective standard deviation.

plot

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

Details

Because the model is Bayesian, each residual comes as a distribution. To ease graphical interpretation, only the median for each residual is plotted/returned. The residual is defined as the observed value minus the posterior mean; if standardized, it is also divided by its posterior standard deviation.

Value

Mainly called for the side effect of plotting. Also returns a named array with the same structure as the input triangle. Returned invisibly.

See Also

triResi QQPlot


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