Return the allocation audit table from an object produced by
allocate_excess_loss().
Usage
# S3 method for class 'excess_allocation'
summary(object, compare_to_empirical = FALSE, ...)Arguments
- object
An object returned by
allocate_excess_loss().- compare_to_empirical
Logical. If
TRUE, appendallocation_differenceandallocation_difference_ratioto compare the credibility-weighted allocation with historically observed excess loss.- ...
Unused.
Value
A data.frame with aggregated allocation statistics. The returned
table has one row per risk-factor level. The original risk-factor and
allocation-weight names are preserved. "Observed" refers to historical
excess loss in the input data; "allocated" refers to the
credibility-weighted allocation. Loadings are amounts per unit of
allocation weight and losses are total amounts for the level. The returned
columns are:
<risk_factor>Risk-factor level. For example,
risk_factor = "sector"returns asectorcolumn. When no risk factor is supplied, this column is namedrisk_factorand contains"portfolio".<allocation_weight>Total allocation weight for the level. For example,
allocation_weight = "earned_exposure"returns anearned_exposurecolumn.<claim_count>Number of claims in the level. When
claim_countis supplied, its original column name is preserved. Whenclaim_count = NULL, inferred counts are returned asclaim_count.excess_claim_countNumber of claim records with excess loss.
observed_excess_lossHistorically observed excess loss.
observed_excess_loadingObserved excess loss per unit of allocation weight.
<risk_factor>_excess_loadingRisk-factor-specific excess loading before pooling. When no risk factor is supplied, this column is named
risk_factor_excess_loading.<risk_factor>_credibilityCredibility weight assigned to the risk-factor-level estimate.
portfolio_excess_loadingPortfolio-level excess loading per unit of allocation weight.
blended_excess_loadingCredibility-weighted blend of the risk-factor and portfolio estimates. For
risk_factor = "sector", this is calculated assector_excess_loading * sector_credibility + portfolio_excess_loading * (1 - sector_credibility).expected_excess_lossTotal expected excess loss allocated to the level, calculated as
blended_excess_loading * <allocation_weight>.allocation_differenceExpected minus observed excess loss, included when
compare_to_empirical = TRUE. A positive value means the level receives more allocated excess loss than it generated historically.allocation_difference_ratioAllocation difference relative to observed excess loss, included when
compare_to_empirical = TRUE. When observed excess loss is zero this value isNA_real_, because a relative comparison with zero observed excess loss is undefined.
