The InputData Space (TradLife_A_EX1)#
Input data loaded from input.xlsx.
This Space is TradLife_A.InputData with additional
Cells that read the Solvency II life-shock and correlation inputs. The
existing readers (policy data, assumptions, mortality tables, scenarios,
product specs and scalar constants) are unchanged; see
TradLife_A.InputData for them.
Cells Summary#
New Cells#
life_shock_data() reads the LifeShocks named range and returns
a dict of shock factors keyed by (risk, shock, scope,
extra_key) integer codes. life_corr_data() reads the LifeCorr
named range and returns the life-risk correlation matrix as a
DataFrame indexed on both axes by LifeRiskID codes.
Life shock factors from the |
|
Life-risk correlation matrix from the |
Updated Cells#
const_params() now also exposes the new CoCRate
(cost-of-capital) parameter read from the ConstParams range.
Scalar parameters from the |
Cells Descriptions#
- life_shock_data()[source]#
Life shock factors from the
LifeShocksnamed range.Returns a
dictof shock factors keyed by(risk, shock, scope, extra_key). The enum-name strings in the input (e.g.MORT,UP,LIMIT) are converted to the corresponding integer codes ofEnums, and a blank qualifier maps to0. Consumed per key bylife_shock_param().
- life_corr_data()[source]#
Life-risk correlation matrix from the
LifeCorrnamed range.Returns a square
DataFramewhose row and column labels areLifeRiskIDinteger codes (the enum-name headers in the input are converted to codes). Consumed bylife_corr().