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 factor for the given risk / shock / scope / extra key. |
|
Correlation coefficient between two life underwriting sub-risks. |
|
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(), theLifeShocksinput keyed by the(risk, shock, scope, extra_key)integer codes. Arguments left at their default0select the entry with no shock / scope / extra qualifier.- Parameters:
risk – A
LifeRiskIDcode for the life sub-risk.shock – A
LapseShockIDcode (lapse risk only); defaults to 0.scope – A
LapseScopeIDcode; defaults to 0.extra_key – An
ExtraKeyIDcode (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 plainfloatis returned (rather than adictorDataFrame) so that the consumingrisk_life()cell stays on native scalar types, which matters when the projection is compiled with Cython.- Parameters:
risk_i – A
LifeRiskIDcode for the first sub-risk.risk_j – A
LifeRiskIDcode for the second sub-risk.
- coc_rate()[source]#
Cost-of-capital rate for the Solvency II risk margin.
Forwards the
CoCRatescalar from theConstParamsnamed range (read byconst_params()) to the projection, where it is used byrisk_margin(). The value is a nativefloat(e.g.0.06for 6%).