Skip to contents

Distributions

distribution()
Abstract parent of every distribution class
lognormal()
Lognormal distribution
lognormal_from_mean_cv()
Lognormal distribution from its mean and coefficient of variation
grid_distribution()
Distribution on an evenly spaced grid
discretize()
Discretize a severity onto a grid
remove_fuzz()
Remove FFT round-off from a grid
map_grid()
Transform a grid distribution
discrete_distribution() discrete_skewness() quantile_upper() return_periods()
Distribution on finitely many values, of either sign
normal_distribution()
Normal distribution
ogive() ogive_from_counts()
Ogive from grouped data
invert_chf() chf_distribution()
A distribution from its characteristic function
normal_inverse_gaussian_distribution()
The normal inverse Gaussian law
stable_add() stable_scale() stable_copies() stable_from_compound_pareto()
Algebra of alpha-stable laws
stable_distribution()
An alpha-stable law
tempered_stable_distribution()
The CGMY tempered stable law
tweedie_power_distribution()
The Tweedie law at any power
variance_gamma_distribution()
The variance gamma law
chf_to_grid()
The masses of a characteristic-function inversion as a grid
sampled()
Distribution of equally weighted draws
gamma_distribution() gamma_from_mean_cv() gamma_from_mean_dispersion()
Gamma distribution
tweedie() tweedie_from_poisson_gamma() tweedie_from_cv() tweedie_from_cv_dispersion() tweedie_from_compound()
Tweedie distribution
weibull_distribution()
Weibull distribution
loglogistic_distribution()
Loglogistic distribution
exponential_distribution()
Exponential distribution
inverse_gamma_distribution()
Inverse gamma distribution
inverse_gaussian_distribution()
Inverse Gaussian distribution
burr_distribution()
Burr distribution
beta_distribution()
Beta distribution on [0, scale]
truncated_distribution() splice_distribution()
Truncated severity and splicing
affine_distribution()
Scaled and shifted severity
size_of_loss()
Severity from a size-of-loss table
policy_limits_distribution()
Severity under a mix of policy limits
mixture_distribution()
Mixture of severities
custom_distribution()
Custom severity from your own distribution function
dist_to_json() dist_from_json()
Save and load distributions as JSON
log_density()
Log density
layer_third_moment()
Third moment of a layer

Large-loss severities

pareto()
Single-parameter Pareto distribution
piecewise_pareto()
Piecewise Pareto distribution
log_affine_pareto()
Log-affine local Pareto distribution
generalized_pareto() generalized_pareto_riegel()
Generalized Pareto severity
pareto_fit() piecewise_pareto_fit() pareto_standard_error() piecewise_pareto_standard_errors() generalized_pareto_fit()
Maximum likelihood fits to large losses
severity_fit()
Fit a severity to large losses
fit_curves()
Every fitted family's survival against the data's plotting positions
ks_bootstrap()
The p-value of a severity fit's KS distance by the parametric bootstrap
grouped_fit() grouped_goodness_of_fit() lev_distance_fit()
Fit a severity to grouped losses
product_limit() goodness_of_fit()
Product-limit estimate and goodness of fit for large losses
local_pareto_to_piecewise()
Convert a local Pareto distribution to piecewise Pareto
survival() layer_variance() layer_second_moment()
Survival function and layer moments
local_alpha()
Local Pareto alpha

Claim counts

Distribution functions

cdf()
Distribution function
variance()
Variance of a distribution
std_dev()
Standard deviation of a distribution
draws()
Reproducible random draws
lev() stop_loss() layer()
Limited expected value, stop-loss and layer
VaR() TVaR()
Value at risk and tail value at risk
window_tvar()
Window TVaR, the mean between two probability levels
statistics()
A results table's statistics
bootstrap_se()
Bootstrap standard errors of a results table's statistics
co_statistics()
Items read at a driver's percentiles
risk_ratios()
Risk ratios of a result
tvar_threshold()
Level at which TVaR reaches VaR

Predictive distributions

predictive_distribution()
Joint predictive distribution
blend_predictive()
Blend predictive distributions
join_predictive() reorder_groups() reorder_groups_by_copula() group_spearman()
Join predictive distributions into a portfolio
marginal()
One component of a predictive distribution
select_components()
One part of a predictive distribution
scale_to_totals()
Rescale components to new totals
total()
Total over all components
draw_matrix()
Draw matrix of a predictive distribution
provenance()
Where a result came from
multivariate_normal() multivariate_lognormal() multivariate_gaussian()
Multivariate normal and lognormal joints
predictive_from_gaussian()
Draw a multivariate normal or lognormal joint

Aggregate loss

compound_distribution()
Compound (aggregate) loss distribution
recommend_grid() compound_auto() round_bucket()
FFT grid sizing
audit_grid() validate_grid() dyadic_lattice_step() lattice_candidates() lattice_bucket() audit_portfolio_grid() recommend_portfolio_grid()
Grids for several units, and the grid audit
simulate_events()
Simulated years of losses
simulate_events_weighted()
Simulated years for importance sampling
hawkes() hawkes_simulate() hawkes_counts() hawkes_event_set() hawkes_moments() hawkes_log_likelihood()
Self-exciting (Hawkes) event times
hawkes_fit()
Fit a Hawkes process to event times
event_set_from_long()
Year loss table in long form
read_ylt() event_set_from_ylt()
Read a year loss table
day_hour_times()
Times of loss from days and hours
event_loss_table() unit_event_loss_tables() elt_severity_moments() elt_oep() elt_occurrence_pml() simulate_elt()
Event loss table
elt_severity_grid() elt_aggregate_grid()
An event loss table on a grid
merge_event_sets()
Merge two event sets
permute_events()
Event set years in another order
filter_events()
The losses with some label values
contract_years()
Contract years of dated events
with_aggregate_part() aggregate_part()
An aggregate part beside the events
hours_clause()
Hours clause
occurrence_pml() occurrence_exceedance() annual_maxima()
The occurrence exceedance (OEP) curve and occurrence PMLs
compound_moments() moment_approximation() approximation_cdf() approximation_quantile()
Compound moments to third order and moment approximations
eventual_ruin()
Eventual ruin by the Pollaczeck–Khinchine formula
finite_horizon_ruin()
Ruin within a finite horizon
wiener_hopf()
Eventual ruin for renewal claims by Wiener-Hopf
pnl_ledger() pnl_leg() pnl_group() ledger_sheet() ledger_marginal() ledger_card() ledger_legs() ledger_validation() ledger_ratios() ledger_stack() ledger_result() ledger_row()
P&L ledger
pnl_book() pnl_expense() book_ledger() derive_premium()
Book of a seller and its annual covers
deal_ledger()
The reinsurer's P&L ledger of a layer or a deal
occurrence_source() book_occurrence_ledger()
Occurrence covers on the joint gross and ceded loss
book_occurrence_peel() ledger_is_stitched()
Several occurrence layers peeled one by one
pnl_program() pnl_program_stated() round_premium() size_premium()
Premium ladder from target combined ratios
layer_loss_picks()
Layer loss picks
fft_bivariate() clash_model() clash_severity() clash_aggregate()
Two lines hit by the same events, and clash
copula_severity()
Per-event severity of two lines coupled by a copula
events_from_years()
Years of losses from elsewhere
event_sums_insured()
Sums insured of one year's losses
event_times()
Times of one year's losses
with_uniform_times()
Date events uniformly over the year
with_seasonal_times()
Date events by a season
with_labels() event_labels()
Label the events
event_set()
Simulated years of losses (class)
events()
One simulated year's losses
event_counts()
Number of losses in each simulated year
term_years()
Split simulated years into a contract term
correlated_years() calibrate_year_correlation() year_correlation_for_ratio()
Underwriting years with a rank correlation
timeline() timeline_from_years() timeline_years() uniform_exposure()
Timeline of a term shared by its underwriting years

Reinsurance

xol_layer()
Excess-of-loss reinsurance layer
with_loss_corridor()
Loss corridor
with_rate_on_line() with_premium_rate() with_deposit_premium()
Layer premium from a quote
with_ceding_commission() with_sliding_scale() with_profit_commission()
Ceding and profit commissions
with_brokerage() with_brokerage_scale() with_deduction() with_scales_before_annual_terms() with_brokerage_within_commission_range() brokerage_for() deduction_for()
Brokerage and other deductions from a layer's premium
with_profit_commission_carry_forward() with_sliding_scale_carry_forward() profit_commissions_over() ceding_commissions_over()
Deficits and credits carried over a contract term
with_no_claims_bonus()
No-claims bonus
with_swing_rating()
Swing-rated premium
premium_for() ceding_commission_for() profit_commission_for() no_claims_bonus_for()
Premium and commissions for a year's ceded loss
retro_premium()
Retrospectively rated premium
quota_share()
Quota share
aggregate_stop_loss()
Aggregate stop-loss
surplus_treaty()
Surplus treaty
ceded()
Ceded loss for one year
ceded_by_event()
Ceded loss per event
layer_trial_statistics()
How often a layer is attached and used up in simulated years
reinstatement_premium()
Reinstatement premium for one year
reinsurance_tower()
Reinsurance tower
inuring_tower()
Reinsurance tower with inuring order
tower_to_json() tower_from_json()
Save and load reinsurance towers as JSON
tower_ceded()
Ceded loss of each layer in a tower for one year
apply_tower()
Apply a reinsurance tower to simulated years
apply_tower_term()
Reinsurance tower over a contract term
with_cover_basis() apply_tower_timeline()
Reinsurance tower on a timeline
with_interlocking()
Interlocking contracts under risks attaching
with_scope()
A layer scoped to some perils or classes
per_risk_inuring()
A per-risk excess of loss inuring to a cat cover
with_franchise() with_disappearing() occurrence_moments() with_nth_event() with_top_and_drop()
Franchise, nth-event and top-and-drop covers
ceded_events()
A tower's ceded losses by event
deal_ratios()
Deal ratios of a layer or a deal
with_deal_scale()
Deal scales on several layers together
tower_on_grid()
Reinsurance tower on the aggregate grid
tower_on_annual_grid()
A tower on an annual loss distribution
tower_price()
Price each view of a tower on the grid
occurrence_layer_statistics()
Statistics of a per-occurrence layer
occurrence_cession_statistics() aggregate_layer_statistics()
Statistics of a total cession and of an aggregate cover

Reinsurer default

Solvency II counterparty default

solvency2_probability_by_step() solvency2_probability_by_ratio()
Solvency II probability of default
solvency2_reinsurance_lgd()
Solvency II loss given default of a reinsurance arrangement
solvency2_type1()
Solvency II capital requirement for type 1 exposures

Economic scenarios

Short rates (Vasicek, CIR, Hull-White), the Svensson curve, and economic and superimposed inflation with correlated shocks, simulated by path and step.

Multi-year projection

A company rolled forward along economic scenarios, with an underwriting cycle, tax, dividends and injections, the losses’ dependence on inflation, and finite-time ruin and capital breach.

Pricing

collective_model()
Collective risk model
collective_simulate()
Simulate a collective model
excess_frequency()
Expected excess frequency
ilf() loss_elimination_ratio() pareto_extrapolation() alpha_between_layers() alpha_between_frequency_and_layer() alpha_between_frequencies()
Layer rating
layer_cv()
Coefficient of variation of a layer's loss
censored_las()
Limited average severity from censored size-of-loss tables
risk_loaded_price() price_portfolio()
Risk-loaded prices from simulated losses
reinsurance_frontier()
An efficient frontier of reinsurance structures
cat_bond() cat_bond_apply() cat_bond_price() cat_bond_calibrate() cat_bond_lane_spread() cat_bond_returns() cat_bond_basis_risk()
Cat bonds
price_with_reinstatements()
Upfront premium with reinstatement premium in the price
capital_portfolio()
Portfolio for natural allocation
natural_price()
Natural allocation of a portfolio's price
calibrate_portfolio()
Calibrate a distortion to a portfolio
portfolio_kappa() portfolio_assets()
A portfolio's conditional expectations and assets
bodoff_allocation() epd_ratio() assets_for_epd()
Bodoff allocation, EPD and assets
bodoff_price()
Bodoff's layers priced by a distortion
allocation_set()
The natural allocation set
priority_ladder() priority_kappa()
Priority ladder
price_stand_alone() comonotonic_allocation()
Each unit priced alone, and the comonotonic allocation
technical_quote() implied_quote()
A cover's quote
tower_quote()
A tower quoted layer by layer and as one
layer_quote()
A layer's quote with its deposit solved for
payment_pattern() payment_pattern_from_development() payment_pattern_unpaid() pattern_values()
Payment pattern
payment_pattern_monthly() cashflow_patterns_from_annual()
Monthly patterns from a payment pattern
price_over_payout()
Price over a payout
npv() irr() moic() leverage() tiered_fee()
Return metrics on simulated cash flows
cashflow_terms() cashflow_run() cashflow_trace()
A collateralised deal's monthly cash flows
cashflow_requirement()
A collateral requirement
cashflow_adjustment()
A premium adjustment
cashflow_valuation() cashflow_actual_state() cashflow_forward() cashflow_valuation_trace()
A bound deal valued from its actual accounts
condition_on_paid()
Simulated loss ratios conditioned on the loss paid to date
deal_ave()
Actual against expected paid loss of a bound deal
deal_run() deal_run_from_tower() deal_book() book_names() book_n_sims() book_items() book_select() book_shift() book_amounts() book_summary() book_distribution() book_cashflows() book_calendar()
A book of deals on one shared simulation
book_marginal_price()
The marginal price of a deal on a book
book_adequacy()
Price adequacy of a book's deals
trend_large_losses()
Large losses trended to the prospective period
burning_cost()
Burning cost of large losses
development_pattern() development_pattern_from_history() pattern_factor()
Development pattern
index_clause()
Index clause
as_if_history()
As-if history of large losses
casualty_profile()
A book of casualty policies for exposure rating
ilf_table() elf_table()
ILF and ELF tables for casualty exposure rating
casualty_rate() casualty_rate_by_frequency()
Rate a casualty treaty over a book of policies
casualty_occurrences() casualty_sweep() casualty_expected_claims() casualty_count_test()
Counts, the Pareto sweep and the count test for casualty exposure
pareto_anchor()
The Pareto anchor of a casualty exposure rating
poisson_tail()
One-sided Poisson tail toward an observed count
pentagon()
Premium, margin and capital pentagon
premium_bounds()
Pricing bounds
pricing_bounds() distortion_envelope()
Pricing bounds for other risks
classical_premium() calibrate_classical()
Classical premium principles
mbbefd() swiss_re_curve() swiss_re_for_mean_rate() swiss_re_for_layer_share() exposure_curve() exposure_layer_share() severity_exposure_curve() rate_quantile()
MBBEFD exposure curves
tabulated_curve() tabulated_curve_from_severity()
Tabulated exposure curve
risk_profile() profile_simulate() profile_layer_loss() profile_surplus_loss()
Risk profile for property per-risk business
match_tower()
Match a reinsurance tower
fit_pml_curve()
Fit a PML curve
fit_references()
Fit references
tower_diagnostics()
Checks on a tower model's shape
tower_model()
Tower model

Credibility

credibility_standard() limited_fluctuation_credibility()
Limited fluctuation credibility
buhlmann_straub()
Bühlmann–Straub credibility
hierarchical_credibility() credibility_premiums() credibility_predictive()
Bayesian hierarchical credibility
hachemeister() hachemeister_fit()
Hachemeister's regression credibility
bonus_malus() bonus_malus_scale()
Bonus-malus and no-claim-discount scales
bonus_malus_transition() bonus_malus_stationary() bonus_malus_after() bonus_malus_years() bonus_malus_efficiency() bonus_malus_mean_relativity()
A bonus-malus scale at one claim frequency
bonus_malus_portfolio()
A bonus-malus scale over a mixed Poisson portfolio

Ratemaking

year_fraction()
Year fractions on the half-month grid
average_written_date() average_earned_date()
Average written and earned dates of a period
rate_level()
Premium at the current rate level: the parallelogram method
trend_fit() trend_factor()
Trend fits and factors
schedule_trend()
Trend factors by a calendar-year rate schedule
loss_ratio_experience() pure_premium_experience()
Experience for the loss ratio and pure premium methods
cumulative_loss_ratio()
Running premium-weighted loss ratio
indicated_change() indicated_rate() permissible_loss_ratio()
The overall rate indication
premium_based_expenses() credibility_weighted() trended_present_rates()
Expense provisions and credibility against a complement

Earned exposure

earned_exposure() in_force_amount() calendar_windows()
Earned exposure from policy dates

Retrospective rating

insurance_charge()
Insurance charge and savings (Table M, Table L)
retro_balance()
Retrospective rating plan

Experience modification

experience_ratio_modification()
Experience modification: the general liability experience ratio plan
split_plan_modification()
Experience modification: the workers compensation split plan

Risk measures

distortion()
Distortion risk measure
distortion_g() distortion_weights()
Distortion function and rank weights
distortion_mass() distortion_g_inv() distortion_g_dual()
Distortion mass, inverse and dual
distortion_mixture() distortion_minimum() distortion_convex()
Mixtures, minimums and convex hulls of distortions
calibrate_distortion()
Calibrate a distortion to a price
calibrate_distortions()
Calibrate a set of distortion families to a price
distortion_from_gini()
The distortion with a given Gini index
risk_measure()
Distortion risk measure of a distribution
allocate()
Allocate a risk measure to components
capital_allocation()
Capital allocation and diversification
shapley_allocation()
Shapley allocation of any cost
haircut_allocation() equal_risk_allocation()
Haircut and equal risk allocations
rearrange() worst_var()
The Rearrangement Algorithm and the worst VaR of a sum
entropic_risk() esscher_premium()
Exponential-utility risk measures
marginal_expected_shortfall() esscher_allocation() covar()
Systemic risk contributions

Models

glm_fit()
Fit a generalized linear model
glm_nb_fit() tweedie_glm_fit() tweedie_profile()
GLMs with a family parameter estimated
glmm_fit() glmm_model()
Generalized linear mixed models with random intercepts and slopes
dglm_fit() dglm_model()
Double GLMs: a model for the dispersion as well as the mean
zeroinfl_fit() hurdle_fit() zero_model() count_log_likelihoods() vuong_test()
Zero-inflated and hurdle count models
quantreg_fit() quantreg_model() expectreg_fit() expectreg_model()
Quantile and expectile regression
ice() ale() shap_values()
ICE curves, accumulated local effects and SHAP values
glm_model()
Fitted GLM (class)
glm_diagnostics() prediction_se() sum_prediction_error() glm_gcv() log_likelihood_at()
Diagnostics and prediction errors of a fitted GLM
f_test() likelihood_ratio_test()
Tests of nested GLMs
vif()
Variance inflation factors
robust_vcov()
Sandwich covariance of a GLM
bayes_glm_fit()
Fit a Bayesian GLM by NUTS
bayes_glm_model()
Sampled Bayesian GLM (class)
bayes_glmm_fit() bayes_glmm_model()
Bayesian GLMMs by NUTS
bayes_loo()
PSIS-LOO of a Bayesian GLM
bayes_ppc() bayes_loo_pit() bayes_replicate() ppc_check() loo_pit()
Posterior predictive checks
save_model() load_model()
Save and load a model
elastic_net_fit()
Fit an elastic-net GLM
elastic_net_model()
Fitted elastic net (class)
elastic_net_cv()
Cross-validate an elastic net
gam_fit()
Fit a generalized additive model
gam_model()
Fitted GAM (class)
mars_knots() mars_formula()
Knots for hinge terms by MARS
cann_fit()
Fit a CANN (combined actuarial neural network)
cann_model()
Fitted CANN (class)
attention_cann_fit()
Fit an attention CANN
attention_cann_model()
Fitted attention CANN (class)
network_correction()
A network's correction to the linear predictor
tabular_net_fit()
Fit a tabular network with embeddings and several heads
tabular_net_model()
Fitted tabular network (class)
net_head()
A head of a tabular network
network_embeddings()
The embedding of a factor in a tabular network
embedding_columns()
Embedded factors as numeric columns
attention_weights()
Attention weights of an attention CANN
onnx_model()
Load a network from an ONNX file
onnx_model_class()
ONNX model (class)
onnx_run()
Run an ONNX model
onnx_predictor()
An ONNX model behind the model interface
onnx_predictor_class()
ONNX predictor (class)
booster_fit()
Fit gradient-boosted trees
booster_model()
Fitted gradient-boosted trees (class)
check_monotone()
Check a booster's monotonicity in a feature
booster_contributions()
Tree SHAP contributions of a boosted model
simulate_from_means()
Predictive distribution from fitted means
predict_quantiles()
Quantile sets from several quantile boosters
predict_dispersion()
Dispersion per row of a boosted model
predict_distribution()
Joint predictive distribution of a fitted model
family_deviance() gini_index() lift_table() crps_draws() pinball_loss() log_score() pit_values() quantile_residuals() ks_uniform() pit_from_draws() pit_histogram() deviance_score()
Model metrics
conformal_split() conformal_cqr() conformal_plus() conformal_intervals()
Conformal prediction intervals
isotonic_fit() recalibrate() balance_correction() reliability() murphy()
Auto-calibration: isotonic recalibration, balance and reliability
normalized_gini() double_lift_table() loss_ratio_table() roc_curve() confusion_matrix()
Charts for comparing and validating models
k_fold() group_k_fold() time_ordered() time_splits() permutation() bootstrap_rows()
Resampling splits
permutation_importance() interaction_screen() partial_dependence()
Model-agnostic explanations: permutation importance, interactions and partial dependence
target_encode() encode_target()
Out-of-fold target encoding with credibility
cross_validate() grid_search() random_search()
Cross-validation and hyperparameter search
compare_models()
Compare models on the same splits
actual_vs_expected()
Monitor a model: actual against expected by period
mcmc_diagnostics()
MCMC convergence diagnostics
read_stan_csv() mcmc_draws() draws_summary() draws_loo()
Draws from another sampler
elpd_loo() elpd_lppd() elpd_waic()
Expected log pointwise predictive density
stacking_weights() pseudo_bma_weights()
Model weights for blending: stacking and pseudo-BMA
bayes_stacking() hierarchical_stacking() pooling_scales()
Bayesian and hierarchical stacking
stacking_fit()
Posterior stacking weights (class)

Dependence

copula() gaussian_copula() t_copula() archimedean_copula() nested_archimedean_copula() nac_node()
Copulas
copula_sample()
Draw uniforms from a copula
copula_cdf()
Copula distribution function
copula_cdf_estimate()
Gaussian copula cdf with its error estimate
copula_sample_qmc()
Gaussian copula draws on Sobol points
mvn_cdf()
Multivariate normal probability
sobol_points()
Sobol points
weighted_tail()
Tail statistics of weighted draws
vine_copula() pair_copula() copula_log_density()
Vine copulas
fit_pair_copula() select_pair_copula() kendall_tau() pseudo_obs()
Fit a pair copula
rvine_copula() rvine_structure()
R-vine copulas
fit_vine_copula()
Fit a vine copula
copula_simulate()
Simulate marginals joined by a copula
iman_conover()
Reorder draws to a target correlation (Iman-Conover)

Extreme value tails

pot_tail()
Peaks-over-threshold tail
mean_excess() hill_estimator()
Tail diagnostics
threshold_diagnostics()
Threshold diagnostics for peaks over threshold
gpd_fit()
Generalized Pareto fit

Reserving

triangle()
Loss triangle
read_triangle()
Read a triangle from a CSV file or a workbook
schedule_p_triangle()
Schedule P triangles from the CAS loss reserve database
subset.triangle
Select segments and columns of a triangle by name
aggregate.triangle
Sum a triangle over keys
triangle_views
View, summarise and print a triangle
to_incremental() to_cumulative()
Incremental and cumulative triangles
latest_diagonal()
Latest diagonal of a triangle
link_ratios()
Link ratios of a triangle
grain()
Change the grain of a triangle
max_age()
Keep the development ages up to an age
chain_ladder_fit() chain_ladder()
Chain ladder
mack_fit() mack()
Mack chain ladder
odp_glm_fit() odp_glm()
Over-dispersed Poisson GLM on a triangle
odp_glm_cells()
The cells of a triangle, for an ODP GLM's design
excess_layer() scale_shift() pareto_shape() excess_pattern() excess_selected() excess_credibility_weights() layer_share() layer_at_shift() layer_exposure()
Excess-layer development from a ground-up triangle
ratio_development()
Development of a ratio of two columns
ulae_estimate()
Unpaid unallocated loss adjustment expense
frequency_severity() frequency_severity_fit()
Frequency-severity
future_cells()
Projected future increments, for re-inflation
index_paths()
Index paths, one per simulation
indexation() indexation_factor() restate() inflate() reinflated() reinflate()
Indexation of a triangle and re-inflation of its projection
reinflate_draws()
Re-inflate simulated future cells
apc_glm_fit() apc_glm()
The age-period-cohort reserving GLM
separation_fit() separation() separation_glm()
Taylor's separation method
disposal_method() disposal_fit()
The disposal rate method
case_outstanding() case_outstanding_fit() case_development_factor()
Case outstanding development
development_method()
A chain ladder to project claim counts or severities
trended()
A value selected at a base origin and trended
case_adequacy_adjust() average_case() settlement_rate_adjust() berquist_sherman_adjust() exponential_trend() trend_by_age() pooled_trend() ratio_column()
The Berquist-Sherman adjustments
layer_share_prior() layer_prior_total() bayes_bf_layer() bayes_bf_layer_one_year()
A Bayesian Bornhuetter-Ferguson prior for an excess layer
residual_summary()
Residuals of an ODP GLM by group
claims_development_result()
Claims development result: the one-year view of a Mack fit
munich_fit() munich_chain_ladder()
Munich chain ladder: paid and incurred developed together
calendar_index() calendar_index_value()
An index by calendar period
calendar_year_test() calendar_year_effect()
Mack's calendar-year effect test
development_correlation_test() development_correlation()
Mack's development-factor correlation test
discount_curve() discount_curve_factor() discount_curve_rate()
A discount curve
discounted_reserves() discounted_reserves_class() segment_runoff() risk_adjustment()
Discounted reserves and the IFRS 17 risk adjustment
tail_constant()
Constant tail factor
tail_curve()
Curve-fitted tail
tail_bondy()
Bondy tail
tail_log_linear()
R ChainLadder's log-linear tail
underwriting_basis()
How an underwriting period's policies are written and earned
expected_loss_fit() expected_loss() bornhuetter_ferguson() benktander()
Expected loss, Bornhuetter-Ferguson and Benktander
cape_cod_fit() cape_cod()
Cape Cod
latest_valuation() as_latest_valuation()
Latest valuation: each origin's latest value on its own
with_exposure() with_past_pattern_end()
Exposure and the rule past the pattern's end of a latest valuation
to_chain_ladder()
A fit frozen as a chain ladder
odp_bootstrap_fit() odp_bootstrap()
ODP bootstrap
mack_bootstrap_fit() mack_bootstrap()
Bootstrap of Mack's model
bayes_odp_fit() bayes_odp()
Bayesian over-dispersed Poisson chain ladder
bayes_bf_fit() bayes_bf()
Bayesian Bornhuetter-Ferguson
bayes_bf_normalised_fit() bayes_bf_normalised()
Bayesian Bornhuetter-Ferguson with a normalised pattern
hierarchical_bf_fit() bayes_hierarchical_bf()
Hierarchical Bayesian Bornhuetter-Ferguson over programs
hierarchical_bf_one_year_fit() bayes_hierarchical_bf_one_year()
One-year view of the hierarchical Bayesian Bornhuetter-Ferguson
hierarchical_bf_program()
One program of a hierarchical Bayesian Bornhuetter-Ferguson fit
industry_prior_fit() industry_prior() industry_prior_at_age() bayes_bf_industry() bayes_bf_industry_one_year()
An industry prior for the Bayesian Bornhuetter-Ferguson
pattern_prior()
A prior on the Bayesian Bornhuetter-Ferguson's development pattern
bayes_odp_fits() bayes_odp_segments()
Bayesian over-dispersed Poisson chain ladder over segments
meyers_fit() meyers()
Meyers' CRC, CSR and CAY models
meyers_fits() meyers_segments()
Meyers' CRC, CSR and CAY models over segments
backtest() diagonal_backtest()
Diagonal backtest
odp_glm_spec() bayes_odp_spec() meyers_spec()
Models for the diagonal backtest
compartmental_backtest_model() compartmental_candidate() compartmental_model_2_candidate()
Gesmann and Morris' compartmental model in the diagonal backtest
compartmental_outstanding_backtest()
Held-out outstanding of a compartmental candidate
compartmental_fit() compartmental() compartmental_model_2()
Gesmann and Morris' compartmental model
compartmental_fits() compartmental_segments()
Gesmann and Morris' compartmental model over segments
compartmental_one_year_fit() compartmental_one_year() compartmental_model_2_one_year() compartmental_one_year_fits() compartmental_one_year_segments()
One-year view of the compartmental model
compartmental_priors() gesmann_morris_priors() gesmann_morris_2_priors() compartmental_diffuse_priors()
Priors of Gesmann and Morris' compartmental model
compartmental_prior_predictive()
Prior predictive check of the compartmental model
one_year_fit() odp_one_year() mack_one_year()
Simulated one-year view
bayes_one_year_fit() bayes_one_year_fits() bayes_odp_one_year() bayes_odp_one_year_segments()
One-year view of the Bayesian chain ladder
bayes_bf_one_year()
One-year view of the Bayesian Bornhuetter-Ferguson
bayes_bf_normalised_one_year()
One-year view of the Bayesian Bornhuetter-Ferguson
meyers_one_year() meyers_one_year_segments()
One-year view of Meyers' CRC, CSR and CAY models
clark_fit() clark_ldf() clark_cape_cod() growth()
Clark's growth-curve methods
paid_incurred_fit() paid_incurred_chain()
Merz and Wuthrich's paid-incurred chain
benchmark_curve_fit() benchmark_curve() benchmark_percent_developed() benchmark_cdf() benchmark_selected()
A growth curve fitted to a benchmark pattern
development_curve_fit() development_curve() development_curve_selected() development_curve_tail() development_curve_compare()
A development curve fitted over every age
development_exhibit_class() development_exhibit()
Development exhibit
ultimate_exhibit_class() ultimate_exhibit()
Ultimate exhibit
select_ultimates()
Select ultimates by weighting methods
totals_frame() development_frame() segment()
Long results of a fit over every segment
ultimate_draws() loss_ratio_draws() ultimate_distribution()
Ultimates and loss ratios per simulation
pattern_draws() monthly_pattern_draws()
Development patterns per simulation
new_year_fit() bayes_new_year()
The loss ratio of a new underwriting year

IFRS 17 measurement

A group of contracts under the general model or the premium allocation approach, and reinsurance contracts held, rolled forward period by period with a saved state.

as_expected()
The next period's cash flows as expected
ifrs17_add_contracts()
Add contracts to an IFRS 17 group within its cohort's year
ifrs17_group()
An IFRS 17 group of insurance contracts (general model)
ifrs17_to_json() ifrs17_from_json()
Save and restore an IFRS 17 group
paa_group()
An IFRS 17 group under the premium allocation approach
reinsurance_held()
An IFRS 17 group of reinsurance contracts held
roll_forward()
Roll an IFRS 17 group forward over one period