The Assumptions Space#
Assumption input and calculations for individual policies.
This Space holds assumption parameters and rates used by
Projection and its base spaces.
Most cells in this Space return per-policy NumPy arrays whose layout
matches the rows of
policy_data(), so callers index
into them with the integer policy index idx. A few cells, such as
asmp_tables() and mortality_tables(), return tables shared
across all policies.
Parameters and References#
- input_data#
Alias for
InputData. Per-policy assumptions are read from theAssumptionTablerange in input.xlsx viaassumption(), and mortality / lapse tables fromassumption_tables()andmortality_tables().
- return_array#
When
True(the default), helper functions inherited fromUtilitiesreturn NumPy arrays instead of pandas objects.- Type:
bool
Inherited helpers
Inherited from Utilities:
Child spaces
AsmpID: Enum-style codes identifying entries in theAsmpByDurationtable.
Cells Summary#
Commission Assumptions#
Per-policy initial and renewal commission rates and the renewal commission term.
Initial commission per premium |
|
Renewal commission per premium |
|
Renewal commission term |
Expense Assumptions#
Per-policy acquisition and maintenance expense assumptions, expressed per annualized premium, per policy and per sum assured.
Acquisition expense per annualized premium |
|
Acquisition expense per policy |
|
Acquisition expense per sum assured |
|
Maintenance expense per annualized premium |
|
Maintenance expense per policy |
|
Maintenance expense per sum assured |
Tax and Inflation Assumptions#
The consumption tax rate and the expense inflation rate.
Consumption tax rate |
|
Inflation rate |
Mortality#
The mortality-table block and the per-policy indices that select each policy’s base mortality rates and its last mortality age.
Mortality tables read from input.xlsx. |
|
Per-policy mortality table identifier. |
|
Per-policy column index into |
|
Last mortality age per policy (first age where mortality reaches 1). |
Mortality Factor and Lapse#
The assumption-by-duration table and the per-policy indices that select mortality factors and lapse rates, together with its row count.
Assumption tables by duration. |
|
Per-policy column index into |
|
Per-policy column index into |
|
Number of rows (durations) in |
Cells Descriptions#
- mortality_tables()[source]#
Mortality tables read from input.xlsx.
Returns the full mortality-table block from the
MortalityTablesrange as a 2-D NumPy array (whenreturn_arrayisTrue), where rows are indexed by age and columns by(MortTable, Sex).
- mort_table_index()[source]#
Per-policy mortality table identifier.
Maps the
BaseMortassumption keyed by the model point lookup (product, policy type, gen) to each row ofpolicy_data().
- mort_array_index()[source]#
Per-policy column index into
mortality_tables().Returns a 1-D integer array of column positions in
mortality_tables()for each policy’s(mort_table_index, sex)pair.
- asmp_tables()[source]#
Assumption tables by duration.
Returns the
AsmpByDurationrange from input.xlsx as a 2-D NumPy array indexed by duration (rows) and assumption ID (columns). Used bymort_factor()andlapse_rate()together withmort_factor_index()andlapse_rate_index().
- mort_factor_index()[source]#
Per-policy column index into
asmp_tables()for mortality factors.Resolves each policy’s
MortFactorassumption (referencing anAsmpID) to its column position in theAsmpByDurationtable.
- lapse_rate_index()[source]#
Per-policy column index into
asmp_tables()for lapse rates.Resolves each policy’s
Surrenderassumption (referencing anAsmpID) to its column position in theAsmpByDurationtable.
- asmp_table_len()[source]#
Number of rows (durations) in
asmp_tables().