Description Arguments Details Value See Also
A method to plot predicted vs actual payments for models from the BALD package.
object |
The object of type |
type |
A singe character value specifying whether to plot/return the predicted incremental or cumulative payments. Valid values are "incremental" or "cumulative." See details as to why these may not match up. |
logScale |
A logical value. If |
mergePredictedWithObserved |
A logical value. If |
plotObservedValues |
A logical value. If |
plotPredictedOnlyWhereObserved |
A logical value. If |
quantiles |
A vector of quantiles for the predicted payments to return. Usefull for constructing credible intervals. |
plot |
A logical value. If |
This method accounts for zero payments. By weighting estimated predicted payments by the probably that the payment is greater than zero.
Because the model is Bayesian, each estimated payment comes as a distribution. The median of this distribution is used as a point estimate when plotting and/or returning values. Note: One cannot calculate the estimated incremental payments from the estimated cumulative payments (and vice versa) since the median of sums need not be equal to the sum of medians.
Mainly called for the side effect of plotting. Also returns a named array (with the same structure as the input triangle) containing the predicted log incremental payments. Returned invisibly.
accountForZeroPayments
predictedPayments
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.