aggregate.derive_premium()
The gross premium whose own expenses leave the technical premium
Usage
aggregate.derive_premium(
technical,
expenses,
)technical, aggregate’s derive premium: (T + F) / (1 - r) with F the fixed amounts and r the premium rates.
Parameters
technical: floatexpenses: list of Expense
Returns
float
Raises
ValueError- On a loss-basis term, or premium rates totalling 1 or more.
Examples
>>> from prospicio.aggregate import Expense, derive_premium
>>> round(derive_premium(5.0, [Expense("premium", 0.1), Expense("fixed", 1.0)]), 12)6.666666666667