Learn R Programming

BALD (version 1.0.0-3)

gompertzParameters,AnnualAggLossDevModelOutputWithZeros-method: A method to plot and/or return the posterior of the parameters for the gompertz curve which describes the probability of payment.

Description

A method to plot and/or return the posterior of the parameters for the gompertz curve which describes the probability of payment.

Arguments

object

The object from which to plot and/or return the parameters.

parameter

A character describing which parameter to plot. “scale” for the scale parameter. “fifty.fifty” for the point at which the gompertz give a probably of fifty percent.

plotDensity

A logical value. If TRUE, then the density is plotted. If plotTrace is also TRUE, then two plots are generated. If they are both FALSE, then only the statistics are returned.

plotTrace

A logical value. If TRUE, then the trace is plotted. If plotDensity is also TRUE, then two plots are generated. If they are both FALSE, then only the statistics are returned.

Value

Mainly called for the side effect of plotting.

Details

The scale parameter describes how steep the curve is. Larger values are steeper. Positive values indicate that the probability of a positive payment should decrease with development time. (The scale is restricted to be positive.)

The fifty.fifty parameter gives the point (in development time) when the gompertz curve gives a probability of fifty percent.

See Also

gompertzParameters