Set up the book and the two carriers
Set up the book and the two carriers
The book is the synthetic six-household book in
relativities-examples/ppa/book. Carrier A
rates liability and collision per vehicle for a six-month term. Carrier B rates an account for a
twelve-month term and returns one premium. Compare carriers shows
how to check what each carrier receives.Define the households
Build aBook from a dict of DataFrames, one per table, with the PPA schema. These two households
differ in one fact: when their driver was first licensed. Both ask for liability alone.
submissions.household_id and submissions.effective_date. The book adds each
other core column, typed and empty. Text dates become dates.
Price a grid of mileages
Make one scenario per mileage, from 0 to 32,000 miles a year in steps of 500. Put the scenarios in aStudy, and rate the study with the market.
steps set each mileage to 0 first, so baseline is the first grid point. The market
prices each household in all 65 scenarios.
Annualize the premiums
Put both premiums on a twelve-month term: double carrier A’s six-month premium. Then put the two programs side by side.Find the bands
Label each grid point with the cheaper carrier. Then join adjacent points with the same label and the same premiums into one band.Read the bands
- Carrier A is cheaper up to 8,000 miles a year.
- Carrier B is cheaper from 8,500 to 10,000 miles a year, by $12 for a twelve-month term.
- Carrier A is cheaper again from 10,500 to 25,000 miles a year.