Skip to contents

A policyholder sits on one of the levels 0, ..., levels - 1 of a scale, 0 the best, and moves each year by the number of claims reported. Under Poisson claims with mean lambda the levels are a Markov chain; over a mixed Poisson portfolio the scale has a stationary distribution of levels and Norberg's optimal relativities (bonus_malus_portfolio()).

Usage

bonus_malus(levels = NULL, start, down = 1, up_per_claim = NULL, table = NULL)

bonus_malus_scale(ptr)

Arguments

levels

The number of levels, at least 2 (with a rule).

start

The level a newcomer starts on.

down

Levels down after a claim-free year.

up_per_claim

Levels up for each claim, at least 1.

table

A matrix of next levels, instead of a rule.

ptr

Internal.

Value

A bonus_malus with properties levels, start and transitions (the table).

Details

bonus_malus() builds the scale from a rule (down down levels after a claim-free year, up up_per_claim levels for each claim, capped at both ends; the -1/+top scale is down = 1, up_per_claim = levels - 1) or from a table: an integer matrix with one row per level and one column per claim count from 0, entry [l + 1, k + 1] the level after k claims from level l, the last column for that many claims or more.

Levels are numbered from 0 as in the literature; a vector over the levels has level l in element l + 1.

Examples

scale <- bonus_malus(6, start = 5, up_per_claim = 3)
scale@transitions
#>      [,1] [,2] [,3]
#> [1,]    0    3    5
#> [2,]    0    4    5
#> [3,]    1    5    5
#> [4,]    2    5    5
#> [5,]    3    5    5
#> [6,]    4    5    5
bonus_malus_transition(scale, 0.1)
#>           [,1]      [,2]      [,3]       [,4]       [,5]       [,6]
#> [1,] 0.9048374 0.0000000 0.0000000 0.09048374 0.00000000 0.00467884
#> [2,] 0.9048374 0.0000000 0.0000000 0.00000000 0.09048374 0.00467884
#> [3,] 0.0000000 0.9048374 0.0000000 0.00000000 0.00000000 0.09516258
#> [4,] 0.0000000 0.0000000 0.9048374 0.00000000 0.00000000 0.09516258
#> [5,] 0.0000000 0.0000000 0.0000000 0.90483742 0.00000000 0.09516258
#> [6,] 0.0000000 0.0000000 0.0000000 0.00000000 0.90483742 0.09516258