Creates a plot of the empirical cumulative distribution function (ECDF) of the observed truncated claim amounts together with the fitted truncated CDF.
The comparison assesses whether the fitted conditional severity distribution represents the shape of the observed claims within the same truncation interval.
# S3 method for truncated_severity
autoplot(
object,
ecdf_geom = c("point", "step"),
x_label = NULL,
y_label = NULL,
y_limits = c(0, 1),
x_limits = NULL,
show_title = TRUE,
digits = 2,
truncation_digits = 2,
geom_ecdf = NULL,
xlab = NULL,
ylab = NULL,
ylim = NULL,
xlim = NULL,
print_title = NULL,
print_dig = NULL,
print_trunc = NULL,
...
)A ggplot2 object.
An object produced by fit_truncated_severity().
Character string indicating how to display the empirical
CDF. Must be one of "point" or "step".
Title of the x axis. Defaults to "severity".
Title of the y axis. Defaults to "cumulative proportion".
Numeric vector of length 2 specifying y-axis limits.
Optional numeric vector of length 2 specifying x-axis limits.
Logical. If TRUE, print title and subtitle.
Integer. Number of digits for parameter estimates in the subtitle.
Integer. Number of digits used for truncation bounds.
Deprecated argument names kept for backward compatibility.
Currently unused.
Martin Haringa
The plot compares the empirical distribution of the observed, truncated claim severities with the fitted distribution conditional on the same truncation interval. This is a visual check of whether the selected severity distribution is plausible for the part of the portfolio that is actually observed.
Systematic separation between the empirical and fitted curves can indicate that the selected gamma or lognormal distribution does not adequately represent the observed severity shape. The plot does not assess the unobserved parts of the distribution outside the truncation bounds.
fit_truncated_severity(), rlnormt(), rgammat()