src.data_sources.annuity.policyholder_behaviors.shock_lapse.ShockLapse

class src.data_sources.annuity.policyholder_behaviors.shock_lapse.ShockLapse(path: str)

Data source for the shock lapse table.

Inheritance Diagram

Inheritance diagram of ShockLapse

Variables & Properties

Methods

__init__(path)

Constructor method.

shock_lapse_multiplier(years_after_cdsc_period)

Returns a shock lapse multiplier as a percentage of base lapse.

Details

__init__(path: str)

Constructor method. Loads data from the shock lapse table into cache.

Relative path to the shock lapse table:

resource/annuity/policyholder_behaviors/shock_lapse_multiplier.csv

Parameters:

path – Path to the shock lapse table.

cache: DataFrame

Internal cache, populated at runtime.

shock_lapse_multiplier(years_after_cdsc_period: int) float

Returns a shock lapse multiplier as a percentage of base lapse.

Parameters:

years_after_cdsc_period – Years elapsed after the CDSC period.

Returns:

Shock lapse multiplier.