The Assumptions Space (TradLife_A_EX1)#

Assumption input and calculations for individual policies.

This Space is TradLife_A.Assumptions with additional Cells that supply the Solvency II life-risk parameters. The per-policy assumption pipeline (map_to_policies then pandas_to_array) and all the existing assumption Cells are unchanged; see TradLife_A.Assumptions for them.

Cells Summary#

New Cells#

life_shock_param() forwards a life-shock factor from life_shock_data(), keyed by the (risk, shock, scope, extra_key) codes. life_corr() forwards a single life-risk correlation coefficient from life_corr_data() as a native float. coc_rate() forwards the cost-of-capital rate (CoCRate) used by risk_margin().

life_shock_param(risk[, shock, scope, extra_key])

Life shock factor for the given risk / shock / scope / extra key.

life_corr(risk_i, risk_j)

Correlation coefficient between two life underwriting sub-risks.

coc_rate()

Cost-of-capital rate for the Solvency II risk margin.

Cells Descriptions#

life_shock_param(risk, shock=0, scope=0, extra_key=0)[source]#

Life shock factor for the given risk / shock / scope / extra key.

Forwards a single value from life_shock_data(), the LifeShocks input keyed by the (risk, shock, scope, extra_key) integer codes. Arguments left at their default 0 select the entry with no shock / scope / extra qualifier.

Parameters:
  • risk – A LifeRiskID code for the life sub-risk.

  • shock – A LapseShockID code (lapse risk only); defaults to 0.

  • scope – A LapseScopeID code; defaults to 0.

  • extra_key – An ExtraKeyID code (e.g. LIMIT, INFL); defaults to 0.

life_corr(risk_i, risk_j)[source]#

Correlation coefficient between two life underwriting sub-risks.

Forwards a single coefficient from the correlation matrix read by life_corr_data(). The two risks are taken as integer parameters and a plain float is returned (rather than a dict or DataFrame) so that the consuming risk_life() cell stays on native scalar types, which matters when the projection is compiled with Cython.

Parameters:
  • risk_i – A LifeRiskID code for the first sub-risk.

  • risk_j – A LifeRiskID code for the second sub-risk.

coc_rate()[source]#

Cost-of-capital rate for the Solvency II risk margin.

Forwards the CoCRate scalar from the ConstParams named range (read by const_params()) to the projection, where it is used by risk_margin(). The value is a native float (e.g. 0.06 for 6%).