insurancerating0.7.4 package

Analytic Insurance Rating Techniques

reexports

Objects exported from other packages

refit_glm

Refitting Generalized Linear Models

add_prediction

Add predictions to a data frame

autoplot.bootstrap_rmse

Automatically create a ggplot for objects obtained from bootstrap_rmse...

autoplot.check_residuals

Automatically create a ggplot for objects obtained from check_residual...

autoplot.constructtariffclasses

Automatically create a ggplot for objects obtained from construct_tari...

autoplot.fitgam

Automatically create a ggplot for objects obtained from fit_gam()

autoplot.restricted

Automatically create a ggplot for objects obtained from restrict_coef(...

autoplot.riskfactor

Automatically create a ggplot for objects obtained from rating_factors...

autoplot.smooth

Automatically create a ggplot for objects obtained from smooth_coef()

summary.reduce

Automatically create a summary for objects obtained from reduce()

autoplot.truncated_dist

Automatically create a ggplot for objects obtained from fit_truncated_...

autoplot.univariate

Automatically create a ggplot for objects obtained from univariate()

biggest_reference

Set reference group to the group with largest exposure

bootstrap_rmse

Bootstrapped RMSE

check_overdispersion

Check overdispersion of Poisson GLM

check_residuals

Check model residuals

construct_model_points

Construct model points from Generalized Linear Model

construct_tariff_classes

Construct insurance tariff classes

fisher

Fisher's natural breaks classification

fit_gam

Generalized additive model

fit_truncated_dist

Fit a distribution to truncated severity (loss) data

histbin

Create a histogram with outlier bins

model_data

Get model data

model_performance

Performance of fitted GLMs

period_to_months

Split period to months

rating_factors

Include reference group in regression output

reduce

Reduce portfolio by merging redundant date ranges

restrict_coef

Restrict coefficients in the model

rgammat

Generate data from truncated gamma distribution

rlnormt

Generate data from truncated lognormal distribution

rmse

Root Mean Squared Error

rows_per_date

Find active rows per date

smooth_coef

Smooth coefficients in the model

univariate

Univariate analysis for discrete risk factors

update_formula_add

Create new offset-term and new formula

update_glm

Refitting Generalized Linear Models

Methods for insurance rating. It helps actuaries to implement GLMs within all relevant steps needed to construct a risk premium from raw data. It provides a data driven strategy for the construction of insurance tariff classes. This strategy is based on the work by Antonio and Valdez (2012) <doi:10.1007/s10182-011-0152-7>. It also provides recipes on how to easily perform one-way, or univariate, analyses on an insurance portfolio. In addition it adds functionality to include reference categories in the levels of the coefficients in the output of a generalized linear regression analysis.

  • Maintainer: Martin Haringa
  • License: GPL (>= 2)
  • Last published: 2024-05-20