Skip to contents

Calls .resolve_bootstrap() to optionally build a BootstrapTriangle on the premium target, then maps its summary columns onto the projected cells of result$full. Sets result$ci_type and a thin result$bootstrap metadata list. Mirrors .lossfit_bootstrap() in R/loss.R.

Usage

.premiumfit_bootstrap(result, x, groups, bootstrap, B, seed, alpha)

Arguments

result

An augmented premium fit (post .premiumfit_augment()).

x

The original Triangle.

groups

Character vector of group columns.

bootstrap, B, seed, alpha

Forwarded to .resolve_bootstrap().

Value

The updated fit with bootstrap CI overlaid on $full and ci_type / bootstrap slots set.