Skip to contents

What a hierarchical_bf_fit says about one program, from its programs. Per-origin properties run over the program's origins in order.

Usage

hierarchical_bf_program(ptr, index)

Arguments

ptr

A HierarchicalBfFit pointer; used internally.

index

The program's position, from 1; used internally.

Value

A hierarchical_bf_program object.

Details

Properties: label (the segment label, key values joined by " / "), key (the key values), origins, exposure, latest (the latest observed cumulative value), prior_ultimate (apriori * exposure), scale (the pooled scale per premium times the program's mean premium per origin), expected_ultimate (the posterior mean of each origin's expected ultimate), pattern (the posterior mean share at each of the fit's ages, summing to 1), loss_ratio (the posterior mean of L * s), own_loss_ratio (the loss ratio of the program's own chain ladder, with the factors pooled over every program past the ages it observes), shrinkage (how far the program stays from the collective on the log scale: 1 keeps its own level and 0 takes the collective's; NaN when its own loss ratio is not positive) and reserves (the program's part of the fit's reserves, by origin, paired with it simulation by simulation).