The PolicyAttrs Space#
Policy attributes and policy values.
This Space holds policy attributes and policy-level values used by
Projection and its base spaces.
Some Cells in this Space, such as product() and issue_age(),
retrieve attributes for the model points from
policy_data(). Other Cells,
such as those used by
gross_prem_rate(), derive
policy-level values from product specs looked up through
product_spec().
Most cells return per-policy NumPy arrays whose layout matches the rows
of policy_data(), so callers
index into them with the integer policy index idx.
Parameters and References#
- input_data#
Alias for
InputData. Per-policy attributes are read from thePolicyDatarange in input.xlsx viapolicy_data(), and product specs fromproduct_spec().
- prem_term#
Alias for
policy_term().
- return_array#
When
True(the default), helper functions inherited fromUtilitiesreturn NumPy arrays instead of pandas objects.- Type:
bool
Inherited helpers
Inherited from Utilities:
Cells Summary#
Policy Attributes#
Model point attributes read directly from
policy_data() for each policy.
|
Per-policy product type as a |
Per-policy policy type from the |
|
|
Per-policy sex as a |
Per-policy issue age in years. |
|
Per-policy premium payment frequency (number of payments per year). |
|
Per-policy policy term in years. |
|
Per-policy number of policies in the model point. |
|
Per-policy sum assured. |
|
|
Per-policy generation (cohort) identifier. |
|
Per-policy distribution channel. |
|
Per-policy elapsed policy duration in years. |
Product Bases#
Per-policy interest rate and mortality table identifiers, selected by rate basis (premium or valuation).
Loadings#
Per-policy acquisition and maintenance loadings used by
gross_prem_rate(), together with
the raw ProductSpecTable parameters they are built from.
Acquisition Loading per Sum Assured |
|
Per-policy |
|
Per-policy |
|
Maintenance Loading per Gross Premium |
|
Per-policy |
|
Per-policy |
|
Maintenance Loading per Gross Premium for Premium Waiver |
|
Maintenance Loading per Sum Assured during Premium Payment |
|
Maintenance Loading per Sum Assured during Premium Payment |
Surrender Charges#
The per-policy initial surrender charge rate and the raw
ProductSpecTable parameters it is built from.
Initial Surrender Charge Rate |
|
Per-policy |
|
Per-policy |
Misc#
Placeholder cells reserved for future use.
Warning
gross_prem_table(), reserve_rate() and
uern_prem_rate() are placeholders that currently return
None and are to be implemented.
Gross premium table |
|
Valuation Reserve Rate per Sum Assured |
|
Unearned Premium Rate |
Cells Descriptions#
- policy_type()[source]#
Per-policy policy type from the
PolTypecolumn ofpolicy_data().