Skip to contents

The stationary distribution of the levels and Norberg's optimal relativities under quadratic loss over a portfolio of a priori classes with frequencies lambdas and weights weights, and a residual heterogeneity Theta of mean 1 and coefficient of variation cv, gamma (a negative binomial portfolio) or inverse Gaussian. A policyholder of class k has Poisson claims with mean lambdas[k] * Theta; the relativity of level l is E[Theta | level l] over the stationary portfolio, the a priori premium charged as a factor, so the relativities balance to 1: sum(stationary * relativity) == 1. A level the portfolio never reaches gets NaN.

Usage

bonus_malus_portfolio(scale, lambdas, cv, mixing = "gamma", weights = NULL)

Arguments

scale

A bonus_malus() scale.

lambdas

The classes' expected claim frequencies.

cv

The coefficient of variation of Theta.

mixing

"gamma" or "inverse_gaussian" (also "ig").

weights

The classes' weights; equal by default.

Value

A data frame with level (from 0), stationary and relativity.

Examples

# -1/+top on six levels, a negative binomial portfolio.
scale <- bonus_malus(6, start = 5, up_per_claim = 5)
bm <- bonus_malus_portfolio(scale, 0.1, cv = 1)
bm
#>   level stationary relativity
#> 1     0 0.66666667  0.6666667
#> 2     1 0.04761905  1.3809524
#> 3     2 0.05494505  1.4835165
#> 4     3 0.06410256  1.6025641
#> 5     4 0.07575758  1.7424242
#> 6     5 0.09090909  1.9090909
sum(bm$stationary * bm$relativity)
#> [1] 1