Learn R Programming

clmplus (version 1.0.1)

plot.clmpluspredictions: Plot the hazard model fitted and forecasted parameters

Description

This function allows to define the behavior of the triangle payments.

Usage

# S3 method for clmpluspredictions
plot(x, cy.type = "fe", ...)

Value

No return value, plots coefficients of the hazard models.

Arguments

x

clmpluspredictions, Model effects (fitted and extrapolated) to be plotted.

cy.type

character, whether to show fitted period effect with or without extrapolatio Default is "fe", standing for fitted and extrapolated. Alternative is to specify "f" for fitted effect.

...

Arguments to be passed to plot.

References

Pittarello, G., Hiabu, M., & Villegas, A. M. (2023). Replicating and extending chain-ladder via an age-period-cohort structure on the claim development in a run-off triangle. arXiv preprint arXiv:2301.03858.

Examples

Run this code
data(sifa.mtpl)
sifa.mtpl.rtt <- AggregateDataPP(cumulative.payments.triangle=sifa.mtpl)
clm.fit<-clmplus(sifa.mtpl.rtt, 'a')
clm <- predict(clm.fit)
plot(clm)

Run the code above in your browser using DataLab