You are here:
autoRateDrivers
This calculation procedure rates all drivers to be insured on a per-vehicle basis. That is, it rates each driver attached to each vehicle.
Some drivers will be rated more than once by this calculation procedure.
This calculation procedure includes variables, constants, and calculation steps. Some of those calculation steps are matrix lookups that call specific calculation matrices.
We expect that you'll create your own calculation procedure to rate drivers for your auto insurance products. You can use autoRateDrivers as a model, and make changes to it so you can see how calculation procedures work.
The meat of the calculation procedure is its calculation steps. Here's what each step of the autoRateDrivers calculation procedure does:
-
Calculates the driver's age.
-
Calculates the driver's years of driving experience.
-
Calculates the number of points the driver has on their license.
-
Does a Matrix Lookup to determine whether the driver is a good student.
-
Does a Matrix Lookup to determine whether the driver is a safe driver.
-
Does a Matrix Lookup to get values for the driver class (demographic info).
-
Does a Matrix Lookup to get values based on the driver's points.
-
Does a Matrix Lookup to get values based on whether the driver is a safe driver.
-
Calculates a value for the driver's bodily injury & property damage coverage.
-
Calculates a value for the driver's uninsured motorist coverage.
-
Calculates a value for the driver's medical payment coverage.
-
Calculates a value for the driver's comprehensive coverage.
-
Calculates a value for the driver's collision coverage.
Aggregation Steps
autoRateDrivers includes aggregation steps that calculate aggregated premiums per driver for specific coverages:
-
Calculates the rated driver Bodily Injury & Property Damage (BIPD) by averaging the driverBIPD outputs from each run of the calculation steps.
If one driver has been rated twice because they're in two driver+vehicle sets, this step averages their BIPD rating and returns one value.
NoteThis works the same way and for the same reason for all the following aggregation steps.
-
Calculates the rated driver Uninsured Motorist (UM) by averaging driverUM outputs from each run of the calculation steps.
-
Calculates the rated driver Medical payments (MED) by averaging driverMED outputs from each run of the calculation steps.
-
Calculates the rated driver comprehensive (CCD) by averaging driverCCD outputs from each run of the calculation steps.
-
Calculates the rated driver Collision (COLL) by averaging driverCOLL outputs from each run of the calculation steps.
Calculation Matrices
The following calculation matrices are called by autoRateDrivers:
Calculation Matrix Name |
Description |
|---|---|
autoDriverClass |
Handles a combination of characteristics of drivers as entered by customers:
Takes inputs that vary per characteristic. These inputs are outputs of other calculation matrices. Returns percentage outputs. |
autoDriverGoodStudent |
Handles the GPA of a student driver entered by a customer. Takes a numeric value. Returns a Y or N value. |
autoDriverPoints |
Handles the points on the driver's record, entered by a customer. Takes a numeric input. Returns a number of percentage outputs. |
autoDriverSafe |
Handles user data about whether a driver is rated as safe. Takes a Y or N input. Returns a number of percentage outputs. |
autoSafeDriver |
Handles data about a driver's safety record. Takes a numeric input. Returns a Y or N output. |

