Why Outcome Misclassification Matters
A causal analysis can correctly handle treatment assignment and still give a misleading result if the outcome is recorded inaccurately. A diagnostic code, survey response, or screening test may fail to identify some true cases or may label some noncases as cases. The resulting outcome is not the true outcome of interest, so its risks and treatment contrast need not equal the causal risks and contrast for the true outcome.
The key distinction is whether the outcome classification process has the same accuracy in the treatment groups. With nondifferential misclassification, sensitivity and specificity are equal across treatment groups, subject to the conditioning set used to define that claim. With differential misclassification, at least one of these accuracy measures differs across groups. The distinction matters: common error has a simple effect on a risk difference, while group-specific error can generate an apparent effect even when the true causal effect is zero.
True Outcomes, Recorded Outcomes, and Classification Accuracy
Let \(A\) be a binary treatment, with \(A=1\) denoting treatment and \(A=0\) control. Let \(Y\) be the true binary outcome, where \(Y=1\) indicates the event, and let \(Y^*\) be the recorded, possibly misclassified outcome. For a causal comparison, write \(Y(a)\) for the true outcome that would occur under treatment level \(a\). The causal risk under \(a\) is \(p_a=P(Y(a)=1)\), and the causal risk difference is \(p_1-p_0\).
These probabilities describe the classification process, not treatment assignment. In an observational study, a causal interpretation also requires suitable identification conditions, such as consistency, positivity, and conditional exchangeability given measured confounders. Randomization can support identification without adjustment for confounding. Neither randomization nor adjustment makes a misclassified outcome accurate: they address different problems.
For clarity, first consider risks within treatment groups where the true risks are causally identified—for example, in a randomized study. The observed risk is \(q_a=P(Y^*=1\mid A=a)\). If the sensitivity and specificity in group \(a\) apply to that group’s true outcomes, then the observed positives consist of true positives plus false positives:
This expression separates two sources of recorded cases. Among the proportion \(p_a\) who are true cases, a proportion \(Se_a\) are recorded positive. Among the proportion \(1-p_a\) who are true noncases, a proportion \(1-Sp_a\) are incorrectly recorded positive. Rearranging gives a useful equivalent form:
Thus sensitivity and specificity affect the observed risk through both missed true cases and false positives. Even when classification accuracy is the same in both groups, the observed risk is generally not the true risk.
Worked Example: Common Misclassification Changes Both Risks
Suppose a hypothetical randomized study has 1,000 people per group. The true event risks are 0.20 under control and 0.40 under treatment. A common outcome classification process has sensitivity 0.85 and specificity 0.95 in both groups. Treat the following calculations as expected counts under these risks and classification probabilities.
In the control group, there are \(1{,}000(0.20)=200\) true cases and 800 true noncases. Expected recorded cases are \(200(0.85)=170\) true positives plus \(800(1-0.95)=40\) false positives, for \(210\) recorded cases. Therefore \(q_0=210/1{,}000=0.210\).
In the treatment group, there are \(1{,}000(0.40)=400\) true cases and 600 true noncases. Expected recorded cases are \(400(0.85)=340\) true positives plus \(600(0.05)=30\) false positives, for \(370\) recorded cases. Therefore \(q_1=370/1{,}000=0.370\).
The true causal risk difference is \(0.40-0.20=0.200\), or 20 percentage points. The recorded-outcome risk difference is \(0.370-0.210=0.160\), or 16 percentage points. Misclassification has reduced the contrast, but the recorded risks are not simply the true risks multiplied by a constant: each also includes false positives.
What Nondifferential Misclassification Does to a Risk Difference
When sensitivity and specificity are common across treatment groups, write them as \(Se\) and \(Sp\). Subtract the observed control risk from the observed treatment risk using the risk formula:
The false-positive component \(1-Sp\) cancels because it is common to both groups. The true risk difference is multiplied by \(J=Se+Sp-1\), sometimes called Youden’s index. This result concerns the risk difference; it does not say that every effect measure is attenuated in the same way.
In most applications, a classifier performs better than chance, so \(0<J\leq1\). Under that condition, a nonzero risk difference is attenuated toward zero. The conclusion depends on the assumptions: if sensitivity or specificity differs by treatment, the false-positive components need not cancel, and this result does not apply. Also, “nondifferential” must be understood relative to the variables being conditioned on. If accuracy is equal across treatment groups within covariate strata but varies between strata, the marginal relationship need not follow the simple formula with one common pair of accuracy values.
Worked Example: Checking the Risk-Difference Result
Return to the hypothetical study with \(Se=0.85\), \(Sp=0.95\), \(p_0=0.20\), and \(p_1=0.40\). The classification factor is \(J=0.85+0.95-1=0.80\). The result predicts an observed risk difference of \(0.80(0.40-0.20)=0.160\), or 16 percentage points.
The direct calculation gives \(q_0=0.210\) and \(q_1=0.370\), so \(q_1-q_0=0.370-0.210=0.160\). The two calculations agree.
The true risk ratio is \(0.40/0.20=2.00\), while the observed risk ratio is \(0.370/0.210\approx1.76\). Unlike the risk-difference result, there is no general rule that a risk ratio is multiplied by \(J\). The false-positive contribution can matter substantially, especially when true risks are low, so a relative contrast need not be attenuated in a simple or universal way.
Why Differential Misclassification Can Create or Reverse an Effect
When classification accuracy varies by treatment group, the observed contrast is
Now the false-positive terms do not generally cancel, and the two true risks are multiplied by different factors. Consequently, the observed contrast can differ in magnitude or sign from the true causal contrast. In particular, group-specific errors can produce different observed risks even when the true risks are equal.
Worked Example: Differential Error Creates an Apparent Effect
Consider a hypothetical randomized study with 1,000 people per group and a true event risk of 0.20 in both groups. The true causal risk difference is therefore \(0.20-0.20=0\). Suppose sensitivity is 0.90 in each group, but specificity is 0.95 in control and 0.80 in treatment.
In control, expected recorded cases are \(200(0.90)=180\) true positives plus \(800(0.05)=40\) false positives. The observed risk is \(q_0=220/1{,}000=0.220\).
In treatment, expected recorded cases are also \(200(0.90)=180\) true positives, but there are \(800(0.20)=160\) false positives. The observed risk is \(q_1=340/1{,}000=0.340\).
The observed risk difference is \(0.340-0.220=0.120\), or 12 percentage points, despite a true causal risk difference of zero. The difference arose because treatment-group noncases were more likely to be classified as cases. The result does not indicate a causal treatment effect on the true outcome.
Worked Example: Differential Error Reverses the Contrast
Suppose a second hypothetical randomized study has true risks \(p_0=0.20\) and \(p_1=0.30\), so the true risk difference is \(0.10\), or 10 percentage points. In the control group, sensitivity is 0.95 and specificity is 0.98. In the treatment group, sensitivity is 0.30 and specificity is 0.90.
For control, the observed risk is \(q_0=0.02+(0.95+0.98-1)(0.20)=0.02+0.186=0.206\). Equivalently, out of 1,000 people, expected recorded cases are \(200(0.95)+800(0.02)=190+16=206\).
For treatment, the observed risk is \(q_1=0.10+(0.30+0.90-1)(0.30)=0.10+0.060=0.160\). The corresponding expected count is \(300(0.30)+700(0.10)=90+70=160\).
The observed risk difference is \(0.160-0.206=-0.046\), or minus 4.6 percentage points. It has the opposite sign from the true difference of plus 10 percentage points. This reversal is possible because sensitivity is much lower in the treatment group and specificity also differs; it is not a contradiction of the nondifferential result, whose assumptions do not hold here.
Interpreting the Causal Contrast Carefully
In a randomized study, the observed group risks \(q_a\) can estimate the risks of the recorded outcome under assignment to \(a\), subject to ordinary sampling and follow-up considerations. They do not automatically estimate \(p_a\), the causal risk of the true outcome. In an observational study, confounding adjustment may identify the causal risks for \(Y^*\), but that still does not make those risks the causal risks for \(Y\). Identification of treatment effects and accurate outcome measurement are separate requirements.
The classification properties should be relevant to the population and conditions in which the causal risks are being compared. If sensitivity and specificity vary with covariates, a single marginal pair may not describe both groups after adjustment or standardization. A sound interpretation therefore states the outcome definition, the treatment groups, and the assumed or estimated classification accuracy. Validation information can help assess accuracy, but the calculations here describe how accuracy relates to risks; they do not by themselves establish that the assumed accuracy values are correct.
Common Mistake
- Wrong reasoning: “The outcome error is nondifferential, so it cannot bias the causal effect.”
- Correction: Nondifferential error can change both observed risks and attenuate a risk difference. Under the specific common-\(Se\), common-\(Sp\) conditions, the observed risk difference equals \(J\) times the true difference; it equals the true difference only when \(J=1\), apart from a true difference of zero.
- Wrong reasoning: “Any outcome misclassification pulls the effect toward the null.”
- Correction: That claim is not valid for differential misclassification, and it is not a universal statement about every effect measure. Different sensitivities or specificities can create or reverse a risk difference.
Check Your Understanding
Use the definitions and risk formulas above to answer the following questions.
- If sensitivity is 0.80 and specificity is 0.90 in both groups, what is \(J\), and how does it relate the observed risk difference to the true risk difference?
- Why can a common false-positive rate change each observed risk while cancelling from the risk difference under nondifferential misclassification?
- With equal true risks in two treatment groups, how could different specificities produce a nonzero observed risk difference?
- Does nondifferential misclassification imply that the observed risk ratio is the true risk ratio multiplied by \(J\)? Explain.
- In an observational study, why does confounding adjustment for the recorded outcome not by itself correct outcome misclassification?