Data Validation
Study guides: ATPA, FAP, DISC-DA, Exam ACIA-CAPSTONE, Exam F1PC, Exam F2PC, Exam F1ILA, Exam F2ILA
Data Validation is the testing of a data set before it is used, to find values that are impossible, missing, duplicated or inconsistent and to confirm that the data agree with an independent source such as the insurer's financial records. Every difference it finds is either corrected or explained.
Data validation runs six kinds of check:
- Type and format checks test that each field holds the type its documentation says.
- Range checks test that a single field's value lies in a plausible range.
- Completeness checks test that required fields and records are present.
- Consistency checks test that the fields of a record, and the records of related tables, agree with one another.
- Duplicate detection finds records that repeat a key.
- Reconciliation compares control totals of the data with the financial records.
A date field holds valid dates, a premium field holds numbers and a code field holds a value from its code list, so text in a numeric field or a date of 2024-02-30 fails a type check.
Values must lie in a plausible range, such as an exposure between 0 and the policy's written exposure, a driver age between 16 and 100, or a deductible from the filed list. A value outside the range is flagged for review rather than deleted automatically, because a large loss can be both extreme and real.
Completeness checks count missing values field by field and compare record counts with the expected volume, such as policies per month. A month with half the usual records points to a failed extract, and a field that is blank for one branch points to a system difference. Both are missing data problems.
Fields within a record must agree with one another. A claim cannot be reported before its accident date, an accident date must fall within the policy term, and a policy cannot expire before it takes effect. Across tables, every claim must point to a policy that exists, which is the referential integrity check that a relational database key enforces.
Records that repeat a key, such as the same claim number and transaction date, are either true duplicates from a double load or legitimate repeated transactions. A duplicate inflates both counts and amounts, so a join that multiplies rows is one of the first things to test.
Which check flags each of these claim records? The policy table holds policies P101 to P150. The claim file has these records:
Claim C7, policy P120, accident date 2024-06-03, report date 2024-05-28.
Claim C8, policy P188, accident date 2024-07-14, paid $4,200.
Claim C9, policy P131, paid $-35,000 with no recovery code.
Claim C9, policy P131, the same transaction loaded a second time.
Claim C10, policy P142, state field blank.
Answer
- Record 1 fails a consistency check, because the claim was reported before the accident happened.
- Record 2 fails the referential integrity check, because policy P188 is not in the policy table, so the claim cannot be joined to its exposure.
- Record 3 fails a range check, since a large negative payment with no recovery code is questionable. It is investigated rather than assumed wrong.
- Record 4 is caught by duplicate detection on the claim number and transaction, and it would double the claim's amount.
- Record 5 fails a completeness check.
- None of these would show in a premium reconciliation, which is why the record-level checks come first.
Reconciliation to financial totals
The modelling data's premium, exposure, paid losses and claim counts are summed and compared with the financial statements or the prior analysis. For a control total built from the data set, T^{\text{data}}, and the same total from the financial records for the same period and scope, T^{\text{booked}}, the relative difference is
\Delta = \frac{T^{\text{data}} - T^{\text{booked}}}{T^{\text{booked}}}
The difference is first reduced by every item that can be explained, and only the unexplained remainder is judged against a tolerance. Data gross of recoveries will not match books net of them, and calendar-year books will not match accident-year data, so both totals are put on the same basis and scope before a difference is called an error.
Friedland and ASOP No. 23 both treat this as a review, not an audit. The analyst tests the data for reasonableness and consistency but is not required to audit the source transactions. A difference is acceptable once it is explained, and the limitations found are disclosed, as described on Data Issues and Data Quality.
Do this auto data set's premium and paid losses reconcile to the books? A modeler builds an auto data set for accident year 2024.
Total Data set ($) Booked ($) Written premium 48,630,000 50,000,000 Paid losses 31,840,000 gross of recoveries 31,020,000 net of salvage and subrogation The extract left out a program written through a managing general agent, with $1,150,000 of premium, and $180,000 of premium was booked after the extract date. The recovery file shows $870,000 received.
Answer
- The premium shortfall is
\$1{,}370{,}000before any explanation, which is 2.74% of the booked figure.- The two known items leave
50{,}000{,}000 - 48{,}630{,}000 - 1{,}150{,}000 - 180{,}000 = \$40{,}000unexplained, a\Deltaof 0.08%.- The paid losses look 2.6% too high, but they are gross of recoveries and the books are net of salvage and subrogation.
- Netting the recoveries gives
T^{\text{data}} = 31{,}840{,}000 - 870{,}000 = \$30{,}970{,}000, a\Deltaof-0.16\%.- Both remaining differences are small, so the data set reconciles within a typical tolerance.
- The modeler records the excluded program, the late bookings and the gross basis in the documentation, and decides whether the excluded program belongs in the model.
Treating a matching total as proof of the detail Premium can reconcile in total while records are coded to the wrong territory or class. Record-level checks are needed as well as control totals.