Tutorials › CAS Exam 5 - Basic Ratemaking and Estimated Claim Liabilities › Claim Identifiers and Duplicate-Count Controls

CAS Exam 5 · Loss and Expense Measures · Tutorial 82 of 989

Claim Identifiers and Duplicate-Count Controls

Learn to define the right record key, quantify repeated records, and distinguish duplicate rows from valid multiple claims or coverages.

Beginner 10 min read

What You'll Learn

  • Define the data grain before selecting an identifier.
  • Build claim keys from identifiers whose combination uniquely identifies the intended unit.
  • Reconcile row counts, distinct-key counts, and rows beyond first occurrences.
  • Avoid merging legitimate claims that share a policy or claim number.
  • Handle missing, reused, and inconsistent identifiers with explicit controls.

Why Identifier Controls Matter

A loss file can contain several rows for one claim, or several legitimate claims under one policy. Counting every row as a claim can overstate frequency; collapsing every row with the same policy number can understate it. The first control is therefore to decide what one row is meant to represent, then use identifiers that distinguish those units.

This tutorial focuses on claim, policy, and coverage identifiers in a claim-level or claim-coverage-level data extract. A repeated identifier is a signal to investigate, not automatic proof that a row should be deleted. In particular, this discussion does not treat every repeated claim identifier as a duplicate transaction or prescribe how claim transactions are totaled.

Definition: The grain of a data set is the entity represented by one row, such as one claim or one claim-coverage unit. A key is one identifier or a combination of identifiers used to distinguish those entities. A duplicate key occurs when multiple rows have the same key. It indicates repeated representation at the chosen grain, but does not by itself establish that the rows are erroneous.

A policy identifier usually identifies a policy, not a claim. One policy may have multiple claims. A claim number may identify a claim only within a particular policy or administrative system; the same number can be reused elsewhere. A coverage identifier distinguishes coverage types, but whether coverage belongs in the key depends on the intended unit. If the measure is a count of claims, one claim with two coverages is still one claim. If the measure is a count of claim-coverage units, those coverages may be separate units.

A useful key must be complete, stable, and sufficiently specific for the intended population. For example, a claim key might be the combination of policy identifier and claim identifier. If claim identifiers can be reused across systems, a system identifier may also be needed. For claim-coverage units, the key may additionally include coverage. There is no universally correct key independent of the data grain and the identifier rules.

Counting Rows and Distinct Keys

Suppose a file has \(R\) rows with valid keys. Let \(K\) be the number of distinct keys, and let \(n_j\) be the number of rows carrying distinct key \(j\). The rows beyond the first occurrence of each key are a useful reconciliation measure.

$$ \text{Rows beyond first occurrences} =\sum_{j=1}^{K}(n_j-1) =R-K $$

The equality holds because each key contributes \(n_j\) rows to the file and one first occurrence. Summing the rows gives \(R=\sum_{j=1}^{K}n_j\); subtracting one for each of the \(K\) distinct keys gives \(\sum_{j=1}^{K}(n_j-1)=R-K\). This count measures repeated occurrences of keys, not necessarily erroneous rows. It is a reconciliation, not a deletion rule.

Worked Example: Reconciling Repeated Claim Keys

A hypothetical claim-level extract has 9 rows. After checking that all keys are present, the key frequencies are: key A appears 3 times, key B appears 2 times, key C appears once, and key D appears 3 times. Find the number of distinct claims and the number of rows beyond the first occurrence of each claim. State the control check.

Method: frequency reconciliation. There are four different keys, A through D, so the distinct-claim count is \(K=4\).

The stated frequencies total \(3+2+1+3=9\), consistent with the file's 9 rows. The rows beyond first occurrences are \((3-1)+(2-1)+(1-1)+(3-1)=2+1+0+2=5\).

The independent reconciliation gives \(R-K=9-4=5\), agreeing with the frequency calculation. Thus the file contains 4 distinct claim keys and 5 occurrences beyond the first row for each key.

Common mistake avoided: Do not call the 5 repeated occurrences “5 duplicate claims” without checking what each row represents. The arithmetic establishes repeated keys; the data grain and source details determine whether those are duplicate representations.

Selecting a Key Without Collapsing Legitimate Claims

The key must distinguish the units being counted. If the intended unit is a claim, grouping only by policy identifier is too broad: all claims on one policy would be combined. Conversely, grouping only by claim number can be too broad when claim numbers are reused across policies. A composite key can preserve the distinction.

The following example uses a hypothetical claim-level extract. The key values have been checked against the stated identifier scope, and each repeated key is under review as a repeated claim-level representation.

Worked Example: Combining Policy and Claim Identifiers

A hypothetical file contains these 8 rows, where each pair is (policy ID, claim ID): (P, 41) appears twice, (P, 42) appears once, (Q, 41) appears three times, (R, 9) appears once, and (R, 10) appears once. Find the distinct claim count and rows beyond first occurrences. Explain why neither policy ID alone nor claim ID alone is a sufficient key.

Method: composite-key count. Use the ordered pair (policy ID, claim ID). Its distinct values are (P, 41), (P, 42), (Q, 41), (R, 9), and (R, 10), giving \(K=5\) distinct claims.

The row frequencies sum to \(2+1+3+1+1=8\), matching the file size. The number beyond first occurrences is \((2-1)+(1-1)+(3-1)+(1-1)+(1-1)=1+0+2+0+0=3\). The row-count check gives \(8-5=3\).

If policy ID alone were used, P, Q, and R would produce only 3 groups, incorrectly merging multiple claims within each policy. If claim ID alone were used, the distinct values would be 41, 42, 9, and 10, or 4 groups; this would merge (P, 41) with (Q, 41), even though they are different claims under the stated scope. The composite key gives the correct count of 5.

Common mistake avoided: A claim number that looks unique in a small sample is not necessarily globally unique. Check the identifier's defined scope before relying on it by itself.

When Coverage Belongs in the Key

The key changes when the grain changes. If the row represents a claim-coverage unit, adding coverage to the key can distinguish two legitimate coverage records for the same claim. If the row represents a claim, adding coverage and counting distinct keys would instead count a multi-coverage claim more than once. The analyst should record the chosen grain and key together so that the count has an interpretable meaning.

Worked Example: Claim Count Versus Claim-Coverage Count

A hypothetical extract is specified to contain one record per claim-coverage unit. Its 7 rows have these (policy ID, claim ID, coverage) keys: (T, 7, BI) appears twice, (T, 7, PD) appears once, (T, 8, BI) appears once, (U, 7, BI) appears twice, and (U, 8, PD) appears once. Find the distinct claim-coverage count, the distinct claim count, and the rows beyond first occurrences at claim-coverage grain.

Method: count at each explicitly stated grain. For claim-coverage units, use all three fields. The distinct keys are (T, 7, BI), (T, 7, PD), (T, 8, BI), (U, 7, BI), and (U, 8, PD). Therefore, the claim-coverage count is 5.

The frequencies total \(2+1+1+2+1=7\). The rows beyond first occurrences at this grain are \((2-1)+(1-1)+(1-1)+(2-1)+(1-1)=2\); equivalently, \(7-5=2\).

For a claim count, use (policy ID, claim ID) and ignore coverage when distinguishing claims. The distinct claim keys are (T, 7), (T, 8), (U, 7), and (U, 8), so there are 4 claims. Claim (T, 7) has both BI and PD coverage records but remains one claim. The example therefore has 5 claim-coverage units but 4 claims.

Common mistake avoided: Do not report the claim-coverage count as the claim count. The first count answers a question about coverage-level units; the second answers a question about claims.

Missing or Unreliable Identifiers

A row with a missing key cannot be safely classified as a new claim or as a repeat of another claim. Treating every blank as one shared value falsely groups unrelated records; treating each blank row as a distinct claim assumes information that is absent. Report the number of unresolved rows separately and investigate them using an approved source or data-quality process. Do not silently substitute a field that does not have the required uniqueness.

Also check for representation differences that can create false nonmatches: leading zeros removed from an identifier, spaces, inconsistent capitalization, or inconsistent data types. Standardization can help only when it follows documented rules. For example, stripping leading zeros is unsafe if “007” and “7” can be different identifiers. Preserve the original values, document any normalization, and check whether it changes distinct-key counts.

1
State the grain.
Specify whether one unit is a claim, policy, or claim-coverage record. Do not infer the grain from the available columns alone.
2
Define the key.
Use the identifier or combination of identifiers that distinguishes units at that grain, accounting for the scope in which IDs are unique.
3
Check key quality.
Identify missing values and inconsistent formats. Keep unresolved records visible rather than assigning them an unsupported key.
4
Reconcile and investigate.
Compare total rows, valid-key rows, distinct keys, and rows beyond first occurrences. Review repeated keys before deciding whether any rows are erroneous.

Common Traps and Practical Controls

A defensible duplicate-count control produces both a count and an explanation of its scope. At minimum, retain the row count, the key definition, the number of rows with valid keys, the distinct-key count, and the count of rows beyond first occurrences. Where rows lack keys, report them separately. If an extract is expected to have one row per claim, repeated keys merit investigation; if it is expected to have one row per claim-coverage unit, the key must reflect that unit.

  • Counting rows as claims: Rows are observations in a file; they are not necessarily distinct claims.
  • Using policy ID as a claim key: This can collapse several legitimate claims under one policy.
  • Using claim ID without checking scope: The same claim number may be used under different policies or systems.
  • Adding coverage without considering the question: This may be appropriate for claim-coverage counts but overcounts claims with multiple coverages.
  • Deleting every repeated key: A repeated key calls for review; the row grain and source context determine whether it is a true duplicate.
  • Ignoring blanks: Missing identifiers make distinct counts incomplete or uncertain and should be disclosed.

These controls make counts reproducible and help prevent duplicate representations from distorting loss and frequency measures, while preserving legitimate multiple claims under one policy. The identifier discipline described here is aligned with the CAS Exam 5 (Basic Ratemaking and Estimated Claim Liabilities) syllabus.

Key takeaway: Define the row grain first, select a key that is unique at that grain, and reconcile rows to distinct keys. A repeated key is evidence to investigate, not a sufficient reason to merge or delete records.

Check Your Understanding

For each problem, identify the relevant grain before counting. Treat all stated identifiers as valid unless the problem identifies a missing value.

  1. A claim-level file has 11 rows: key A appears 4 times, key B appears 3 times, key C appears twice, and keys D and E appear once each. How many distinct keys are present, and how many rows are beyond first occurrences? (Answer: 5 distinct keys; 6 rows beyond first occurrences.)
  2. A claim-level file has 8 rows with (policy ID, claim ID) frequencies (U, 05) twice, (U, 06) once, (V, 05) twice, and (W, 08) three times. How many claims are represented under the composite key, and how many rows are beyond first occurrences? How many groups would claim ID alone produce? (Answer: 4 claims; 4 rows beyond first occurrences; 3 claim-ID groups.)
  3. A claim-level file has 7 rows: (A, 101) appears twice, (A, 102) once, (B, 101) once, (B, 103) twice, and (C, 204) once. Using (policy ID, claim ID), find the distinct-claim count, repeated occurrences beyond first rows, and distinct-policy count. (Answer: 5 distinct claims; 2 repeated occurrences; 3 policies.)
  4. A file has one row per claim-coverage unit. Its 6 rows are (T, 7, BI) twice, (T, 7, PD) once, (T, 8, BI) once, and (U, 7, BI) twice. Find the distinct claim-coverage count, the distinct claim count using (policy ID, claim ID), and repeated occurrences at claim-coverage grain. (Answer: 4 claim-coverage units; 3 claims; 2 repeated occurrences.)
  5. A claim-level file has 6 rows: (A, 1) appears twice, (A, 2) once, (B, 1) once, and two rows have a missing claim ID. How many valid-key rows and distinct known claims are there, how many repeated valid-key occurrences are there, and what can be concluded about the total claim count? (Answer: 4 valid-key rows; 3 distinct known claims; 1 repeated occurrence; the total claim count cannot be determined without resolving the 2 missing IDs.)
Clinical Biostats