pricing.premium_based_expenses()
The premium-based projection of expenses: each expense ratio split by
Usage
pricing.premium_based_expenses(
ratios,
fixed_shares,
)its fixed share and summed, as (fixed, variable). With every share 0 it is the all-variable method.
Parameters
ratios: list of float-
Expense ratios to premium.
fixed_shares: list of float-
The share of each that is fixed, in
[0, 1].
Returns
tuple of float
Examples
>>> from prospicio.pricing import premium_based_expenses
>>> fixed, variable = premium_based_expenses([0.06, 0.10], [0.5, 0.0])
>>> round(fixed, 6), round(variable, 6)(0.03, 0.13)