Plot the scaled residuals returned by check_residuals() against their
theoretical uniform quantiles. Systematic departures from the diagonal can
indicate remaining structure, distributional mismatch or influential
observations in a fitted pricing model.
# S3 method for check_residuals
autoplot(object, show_message = TRUE, max_points = 1000, ...)A ggplot2::ggplot object.
An object produced by check_residuals().
Logical. If TRUE, print a concise interpretation of
the Kolmogorov-Smirnov p-value.
Maximum number of QQ-plot points to display. If the
residual check contains more points, an evenly spaced subset is shown.
Use Inf to display all points.
Currently unused.
Martin Haringa
The subtitle reports the uniformity-test p-value stored in object. This
p-value is a diagnostic signal rather than a stand-alone model acceptance
criterion. The shape and location of deviations should be assessed together
with exposure, fitted values and relevant risk-factor levels.
Reducing max_points affects only the displayed QQ points; it does not
change the residual calculation or the reported test.
check_residuals(), check_overdispersion()