plot.sevdist: Density plot and Q-Q plot for plain, mixing, and spliced...

Description Usage Arguments Value Author(s) Examples

Description

Given a dataset and a fitted sevdist object of type plain, mixing, or spliced, a density plot or qqplot is created to help determine the best distribution for modelling loss severity.

Usage

1
qqplot.sevdist(cell, sevdist, probabilities = NULL)

Arguments

sevdist

Fitted sevdist object

cell

List containing the data in the component cell$Loss

probabilities

Vector containing probabilities for desired quantiles. If no vector is given, default probabilities of 0.001, 0.002, ...., 0.99 will be used.

Value

Returns a density plot of the fitted sevdist object or a qqplot of the theoretical loss quantiles (sevdist object) vs. the experimental loss quantiles (loss data).

Author(s)

Nina Buoni, Marius Pfeuffer, Christina Zou

Examples

1
2
3
4
5
6
data(lossdat)
sev1 <- fitPlain(lossdat[[1]], "weibull")
plot(sev1)

sev2 <- fitSpliced(lossdat[[2]], "gamma", "gpd", method = "dAMSE")
qqplot.sevdist(lossdat[[2]], sev2)

OpVaR documentation built on Sept. 8, 2021, 5:07 p.m.