The Assumptions Space#
The space representing assumptions
The Assumptions space represents a set of assumptions.
This space is parameterized with asmp_id
.
For each value of asmp_id
,
a dynamic subspace of this space is created,
representing the specific assumption set associated
with the value of asmp_id
.
Parameters
- asmp_id#
a string ID representing an assumption set
References
Example
The sample code below demonstrates how to examine the contents of
Assumptions
for a specific value of asmp_id
.
>>> import modelx as mx
>>> m = mx.read_model("IntegratedLife")
>>> m.Assumptions["202312"].asmp_file()
WindowsPath('C:/Users/User1/appliedlife/input_tables/assumptions_202312.xlsx')
>>> m.Assumptions["202312"].lapse_tables()
L001 L002 L003 L004
duration
0 0.03 0.03 0.01 0.05
1 0.04 0.04 0.02 0.05
2 0.05 0.05 0.03 0.05
3 0.06 0.06 0.04 0.05
4 0.07 0.07 0.05 0.05
5 0.08 0.08 0.06 0.05
6 0.09 0.09 0.07 0.05
7 0.20 0.10 0.08 0.05
8 0.15 0.11 0.09 0.05
9 0.10 0.20 0.10 0.05
10 0.10 0.15 0.10 0.05
11 0.10 0.10 0.10 0.05
12 0.10 0.10 0.10 0.05
13 0.10 0.10 0.10 0.05
14 0.10 0.10 0.10 0.05
Formulas#
Lapse rate assumptions |
|
The file path to an assumption file |
|
Mortality scalar tables |
|
Stacked lapse tables |
|
Stacked mortality scalar tables |
|
Dynamic lapse parameters |