An IFRS 17 group of insurance contracts (general model)
ifrs17_group.RdA group of insurance contracts under IFRS 17's general measurement
model, recognised from its expected cash flows and rolled forward a
period at a time (docs/design/reserving-ifrs17-measurement.md): the
present value of future cash flows, the risk adjustment (RA), the
contractual service margin (CSM) and the loss component.
Usage
ifrs17_group(
expected,
risk_adjustment,
curve,
coverage_units = NULL,
discount_coverage_units = FALSE,
period_years = 1,
oci = FALSE,
accretion_curve = NULL,
allocation = "locked_in",
crediting_rates = NULL,
ptr = NULL
)Arguments
- expected
The expected cash flows by future period, the next first: a named list of numeric vectors
premiums,claims,expenses,acquisitionandinvestment_component(absent ones nil), and optionallypremium_timing,claim_timingandacquisition_timing("start","mid"or"end"; premiums and acquisition at the start and claims at the end by default).- risk_adjustment
The RA at recognition.
- curve
The locked-in
discount_curve().- coverage_units
One per period of coverage; equal when
NULL.- discount_coverage_units
Discount the coverage units.
- period_years
The length of a period in years.
- oci
Disaggregate insurance finance income or expense: profit or loss takes it at the
allocation's rates, other comprehensive income the rest.- accretion_curve
The curve the CSM accretes at, when it differs.
- allocation
How profit or loss takes the finance expense under
oci:"locked_in"(B131), or for cash flows that vary with financial risk"effective_yield"(B132(a)(i)) or"projected_crediting"(B132(a)(ii)); see the Rust reference ofFinanceAllocation.- crediting_rates
For
"projected_crediting": the crediting rates expected at recognition, one per period, as fractions.- ptr
Internal.
Value
An ifrs17_group, with properties balances (a list:
present_value, present_value_locked_in, present_value_allocated,
risk_adjustment, csm, loss_component, liability and
accumulated_oci), period (the periods rolled forward) and
allocation_rates (the rates per period at which profit or loss
accretes the present value under an effective yield or projected
crediting, the next first; empty under "locked_in") and
locked_in_curve (the discount_curve() at recognition, or the
weighted average after ifrs17_add_contracts()).
Details
The group holds its state: roll_forward() changes it in place (a copy
of the R object is the same group), and ifrs17_to_json() saves it to
roll forward next period, in the format Python's Ifrs17Group.to_json()
writes (risk_rs.ifrs17_group). saveRDS() does not keep the state;
save the JSON instead.
Examples
# IFRS 17 Example 1A: premium 900 at once, claims of 200 a year, RA 120.
g <- ifrs17_group(list(premiums = c(900, 0, 0), claims = rep(200, 3)), 120,
discount_curve(1, 0.05))
round(g@balances$csm)
#> [1] 235
year <- roll_forward(g, as_expected(g), list(claims = rep(200, 2)), 80)
round(c(year$closing$csm, year$closing$liability))
#> [1] 165 617
year$by_component
#> line present_value risk_adjustment csm
#> 1 opening 0.00000 0 0.00000
#> 2 new_contracts -355.35039 120 235.35039
#> 3 future_service 0.00000 0 0.00000
#> 4 csm_recognised 0.00000 0 -82.37264
#> 5 risk_expired 0.00000 -40 0.00000
#> 6 experience_adjustments 0.00000 0 0.00000
#> 7 finance_expenses 27.23248 0 11.76752
#> 8 premiums_received 900.00000 0 0.00000
#> 9 claims_and_expenses_paid -200.00000 0 0.00000
#> 10 acquisition_paid 0.00000 0 0.00000
#> 11 closing 371.88209 80 164.74528