Learn R Programming

BALD (version 1.0.0-3)

probablityOfPayment,AnnualAggLossDevModelOutputWithZeros-method: A method to plot the probability of a payment.

Description

A method to plot the probability of a payment.

Arguments

object

The object from which to plot the probability of a payment.

plot

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

Value

Mainly called for the side effect of plotting. Also returns a matrix containing the (median) probably of payment. Returned invisibly.

Details

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: Negative payments are treated as missing and are not accounted for.

See Also

accountForZeroPayments