pricing.trended_present_rates()
The trended present rates complement as an indicated change:
Usage
pricing.trended_present_rates(
prior_indicated,
prior_implemented,
trend,
)(1 + prior_indicated) / (1 + prior_implemented) * trend - 1, with trend the factor from the last review’s target effective date to the new one (the loss trend over the premium trend for a loss ratio).
Parameters
prior_indicated: floatprior_implemented: floattrend: float
Returns
float
Examples
>>> from prospicio.pricing import trend_factor, trended_present_rates
>>> c = trended_present_rates(0.10, 0.06, trend_factor(0.05, 2.0))
>>> round(200 * (1 + c), 2)228.82