Systems and records
Record linkage vs causal inference: what a joined dataset may claim
By SourceX Editorial · Updated
10 sections
Short answer
A linked record shows that two entries describe the same case; a causal explanation claims one event changed another. Joining CRM, ticketing and billing records supplies the first, never the second. In a record linkage causal inference dataset, grade every relationship as linked, ordered, asserted or tested, keep the gaps explicit, and let no training target claim more than its weakest link supports.
System export
Record linkage
Key takeaways
- A join establishes identity, sometimes with error; it never contains the comparison a causal claim needs.
- Links such as Jira's "is caused by", Zendesk's problem-incident status and Salesforce's campaign influence record workflow choices or rules, not findings.
- Keeping only cases that link cleanly can create associations, and pooling across groups can reverse them, as the 1973 Berkeley admissions data showed.
- Store a claim level with every relationship (linked, ordered, asserted or tested) and let no training target exceed it.
- A minimal packet with explicit gaps beats more joined systems; the missing piece is usually a comparison group.
What is the difference between a linked record and a causal explanation?
A linked record says two entries describe the same case; a causal explanation says one event changed another. Record linkage across CRM, ticketing and billing systems can establish the first. It cannot establish the second, because a join contains no comparison with what would have happened otherwise.
The distinction matters most when a dataset is built to teach a model why things happen. A team reconstructing a business task joins a support ticket to an engineering bug, the bug to a release and the release to a renewal decision. The chain reads like a story, and a field named churn driver or root cause is one assignment away. If that field is filled from the join alone, the model learns to narrate causes from co-occurrence, and it will do so confidently on new cases.
Judea Pearl's 2019 Communications of the ACM article on causal inference and machine learning describes a three-level hierarchy that limits and governs causal inference. The practical version for business records is coarser: say, for every relationship in the dataset, how far the evidence actually reaches, and never let a training target claim more.
Linkage errors that pass for findings
A wrong join can create a pattern that looks like a discovery, and a missed join can erase a real one. Linkage error is a measurement problem before it is a causal one.
Doidge and Harron set out the mechanics in the International Journal of Epidemiology (2019): "Linkage error can manifest as missing data, misclassification or measurement error, or erroneous inclusion or exclusion of people from an analysis." Errors can split one entity's records into several or merge several entities into one. In business data that looks like two subsidiaries merged under one email domain, so one customer's outage tickets attach to another customer's cancellation.
Harron and colleagues' 2017 guide in the same journal gives three ways to check linkage quality: run the linkage on a subset with known true matches to measure error, compare the characteristics of linked and unlinked records to spot bias, and test how sensitive the results are to changes in the linkage procedure. A dataset that claims any relationship between systems should report all three, or say plainly which it skipped.
Links written by workflow rules, not by analysts
Many links in business systems are created by a rule or a dropdown, so they record a workflow decision, not an analysis of cause. Treat them as assertions with an author and a date.
Jira Service Management lets an agent link an incident record to a problem report or change request by selecting "is caused by" in the linked work items field, and Jira admins can configure link types whose outward and inward descriptions read "causes" and "is caused by". The words are causal; the evidence is one person's choice at one moment, possibly before any investigation finished.
Zendesk's problem and incident tickets show how status can be inherited rather than observed. Agents link incident tickets to a problem ticket, and when the problem is solved, the status of every linked incident is set to solved automatically. An incident can be linked to only a single problem ticket, so a case with two contributing faults has to be filed under one.
Salesforce's campaign influence works the same way on the revenue side. Its standard models create influence records through auto-association from criteria an admin sets, and an auto-association time frame decides how long a campaign membership counts as influential. A campaign linked to a won deal by that rule was inside a window; whether it changed the buyer's mind is a separate question the record cannot answer.
Selection by linkage and the pooled-total trap
Restricting a dataset to cases that link cleanly can manufacture an association, and pooling linked records across groups can reverse one. Both errors come from how the dataset was assembled, not from the business.
Hernán, Hernández-Díaz and Robins (Epidemiology, 2004) showed that selection bias across many study designs shares one structure: conditioning on a common effect of two variables. Linkage can create exactly that condition. Suppose tickets join to renewal records only for accounts with a named account manager, and accounts get a manager when they are large or when they are troubled. Among linked accounts, the large ones will look less troubled than small ones even if size and trouble are unrelated across all customers, because the join kept only accounts selected by one or the other.
Pooling has its own classic failure. Bickel, Hammel and O'Connell's 1975 Science paper found that aggregate graduate admissions data at Berkeley for fall 1973 showed "a clear but misleading pattern of bias against female applicants"; broken down by department, few units departed significantly from expected admission rates, and about as many appeared to favor women as men. A joined dataset that totals outcomes across product lines, regions or customer tiers can mislead the same way.
Claim levels for a record linkage and causal inference dataset
Give every relationship in the dataset one of four claim levels, and store the level as data next to the link itself. Each level needs specific evidence, and each has a claim it cannot carry.
Levels are cumulative only when the evidence is: an asserted link between two records that were never reliably linked is still just linked. The tested level is rare in operational data and usually comes from a documented change, such as a policy that took effect for some accounts and not others, with a comparison group defined before the outcome was known.
The four claim levels:
| Claim level | What the records show | Evidence required | Cannot support | Stored value |
|---|---|---|---|---|
| Linked | Two records describe the same case | Match method, key type, error rate from a hand-checked sample | Any direction or influence | claim_level: linked |
| Ordered | One event preceded the other on comparable clocks | Time zones, clock source, the decision date and not only a status change | That the earlier event mattered | claim_level: ordered |
| Asserted | Someone recorded at the time that A explains B | Who, in what role, when, through which link type or reason code | That the assertion is correct | claim_level: asserted |
| Tested | Outcomes differed when A changed, against comparable cases | A comparison group, the timing of the change, the selection rule | A general rule beyond the tested population | claim_level: tested |
Worked packet (illustrative): a support escalation before a lost renewal
The worked packet below shows a lost renewal that the joined records make look solved, and how annotation keeps it honest. The account, counts and dates are illustrative and describe no real company.
The task the packet supports is narrow: given an account's records up to the renewal date, describe what the evidence says about the loss and what it does not. A tempting label, "lost because of the login bug", would teach a model to name a cause. The supportable label is longer and more useful: renewal lost; sales recorded "product issues" as the reason; nine linked incidents trace to a bug fixed three weeks before the renewal date; no comparison with similar accounts; cause not established.
Packet contents, each annotated with the claim level it reaches:
- Renewal opportunity, closed lost, with the loss reason "product issues" picked by the account executive at close. Asserted, by sales rather than product or the customer.
- Fourteen support tickets in the 90 days before renewal, nine filed as incidents under one problem ticket and set to solved when the problem was solved. Linked by agent choice; resolution inherited, not observed.
- Engineering bug linked to the problem ticket with "is caused by", and fixed in a release dated three weeks before renewal. Asserted by an engineer; the fix and renewal dates are ordered.
- Win-back webinar campaign auto-associated to the opportunity inside the influence window. Linked by rule; attendance unknown.
- Support organization joined to the CRM account by email domain, with a sister subsidiary on the same domain. Linked, unverified; two tickets may belong to the sister account.
- Absent: product usage, price changes at renewal, competing offers and whether the customer's sponsor left. Recorded as gaps, not filled by inference.
Context completeness map for the escalation packet
The completeness map lists every element a causal label would need, whether the packet has it, the claim level reached and what would close the gap. Read down the third column: no element reaches tested, so no field in this packet may name a cause.
Two rows matter most. The comparison row is empty because no record shows how accounts hit by the same bug renewed, which is the evidence a causal claim needs. The identity row is weak because a domain match can merge two customers, which is exactly the error Doidge and Harron describe.
Map for the illustrative escalation packet:
| Context element | In the packet? | Claim level reached | Gap to record | What would close it |
|---|---|---|---|---|
| Same customer across systems | Yes, by email-domain match | Linked, unverified | A subsidiary shares the domain | Account ID crosswalk or hand-checked sample |
| Incidents traced to the bug | Yes, agent and engineer links | Asserted | Incidents were solved with the problem | Customer confirmation after the fix |
| Order of fix and renewal decision | Yes, timestamps | Ordered | Notice may predate the stage change | Date the customer gave notice |
| Reason for the loss | Yes, sales pick-list value | Asserted by sales | No customer statement | Written notice or exit interview |
| Campaign influence | Yes, auto-associated | Linked by rule | Window, not exposure | Attendance record |
| Renewals of comparable accounts | No | None | No comparison group | Outcomes for affected and unaffected accounts |
| Usage, price and sponsor changes | No | None | Rival explanations unknown | Usage logs, price history, contact changes |
Does joining more systems explain more?
Usually not. Each additional join adds linkage error, privacy exposure and selection, while adding context only when the new records bear on the task's decision.
The temptation is understandable: if the packet lacks a comparison, pull in more systems until a cause emerges. But marketing automation, call logs and website analytics add records about the same account without adding a counterfactual. Every join also needs its own quality check, and Harron's comparison of linked and unlinked records has to be repeated for each one. Combining more sources about the same people also raises re-identification risk, which a privacy review has to weigh against the task.
A minimal packet is the better default: the records that bear directly on the decision, with timing, authority and relationships kept intact and each gap stated. When a causal question matters, the record that closes it is usually a comparison group or a documented change, not one more linked system.
Label, downgrade or withhold: rules for causal fields
Decide each causal field from its weakest supporting link, and write the decision into the data dictionary so a buyer can audit it. These rules cover most cases:
- Label a field as causal only when its relationship reaches tested, and store the comparison group and selection rule with it.
- Downgrade a causal field to an asserted reason when the evidence is a link type, a pick-list value or a note, and keep the author's role and the timestamp.
- Downgrade to ordered when the only evidence is sequence, and say which clock each timestamp came from.
- Withhold any explanation field whose identity link has not been checked against a sample with known true matches.
- Flag status values inherited from a parent record, such as incidents solved with their problem, so they are not read as independent outcomes.
- Report linked and unlinked counts per system and compare their characteristics before any relationship is used as a training target.
Specifying claim levels in a data request
State in the request which relationships the dataset must carry, the claim level each needs and the acceptance test that will check it. A requirement that says linked tickets and renewals is a different order from one that says ordered tickets and renewals with verified notice dates and a comparison group.
A useful acceptance test is a hand-checked sample: draw a number of linked pairs at random, have someone with system access confirm each match and each claim level, and set the error rate that will be accepted before any delivery is reviewed. Ask for the gap list as a deliverable, not an apology.
SourceX sources datasets on request from U.S. businesses rather than from inventory. Buyers describe the scope, volume, language, format, timing and licensing they need through the request form, and the claim level for each relationship belongs in that description, with the intended use and the acceptance test. Whether any given business holds records that can meet it is assessed for each request.
Frequently asked questions
Can record linkage prove causation?
No. Record linkage establishes that records from different systems describe the same case, sometimes with error. A causal claim needs evidence that outcomes differed when the suspected cause changed, compared with similar cases where it did not, and a join supplies no such comparison.
Is a Jira "is caused by" link evidence of a cause?
It is evidence of an assertion. An agent or engineer chose that link type at a point in time, often before an investigation finished. Store it as an asserted relationship with the author's role and date, not as a verified cause.
What is linkage error bias?
It is the distortion that wrong or missed matches introduce into analysis. Doidge and Harron describe it as showing up as missing data, misclassification, measurement error or the wrong records being included or excluded. A dataset should report a checked error rate and compare linked with unlinked records.
Should a training dataset include a root cause field?
Only if the relationship behind it reaches the tested level, with the comparison group stored alongside. Otherwise label it as an asserted reason or a sequence, so the model learns what the records actually show rather than a cause inferred from co-occurrence.
How many systems should a task packet join?
As few as the task needs. Each extra join adds linkage error, selection and privacy exposure, and records that do not bear on the decision add noise. When a causal question matters, a comparison group usually helps more than another linked system.
Sources
- Harron et al. (2017) give three ways to evaluate linkage quality: gold-standard subsets, comparing linked and unlinked records, and sensitivity of results to the linkage procedure. Source
- Doidge and Harron (2019): linkage error can manifest as missing data, misclassification or measurement error, or erroneous inclusion or exclusion; errors can split or merge entities. Source
- Hernán, Hernández-Díaz and Robins (2004): selection bias shares the structure of conditioning on a common effect of two variables, distinct from confounding by common causes. Source
- Bickel, Hammel and O'Connell (1975): aggregate Berkeley admissions for fall 1973 showed a misleading pattern of bias against women that disappeared department by department. Source
- Pearl (2019) describes a three-level hierarchy that restricts and governs inferences in causal reasoning. Source
- Jira Service Management: link an incident record to a problem or change by selecting 'is caused by' in the linked work items field. Source
- Jira admins configure work item link types; the documented example pairs the outward description 'causes' with the inward 'is caused by'. Source
- Zendesk: solving a problem ticket automatically sets linked incident tickets to solved; an incident can be linked to only one problem ticket. Source
- Salesforce standard campaign influence models create influence records by auto-association, limited by an auto-association time frame. Source
Tell us what data you need
Share scope, volume, format, timing and licensing needs. Datasets are sourced on request.