Detection (surveillance) bias and immortal time bias in observational studies
Detection (surveillance) bias arises when one group's outcomes are searched for more intensively, creating a spurious excess of diagnoses. Immortal time bias arises when exposed people must survive event-free to become exposed, so their pre-treatment time inflates the treated group's person-time and makes the treatment look protective.
Overview
Two biases that frequently create false associations in observational research are detection (surveillance) bias and immortal time bias. Both are systematic errors, so enlarging the sample does not remove them; they must be prevented by study design.
| Detection (surveillance) bias | Immortal time bias | |
|---|---|---|
| Family | Information (measurement) bias | Time-related misclassification of exposure / person-time |
| Core problem | Outcome is looked for more intensively or more accurately in one group | Exposed group gets credit for follow-up time during which the outcome could not have occurred |
| Typical design | Cohort, case-control, registry and quality-metric studies; unblinded trials | Cohort studies of drugs or treatments using databases |
| Usual direction | Spurious excess of the outcome in the more-watched group (can also underestimate) | Spurious benefit of the exposure (protective-looking HR/RR) |
| Fix | Equal, protocol-driven, blinded outcome ascertainment | Align time zero with exposure assignment; time-dependent exposure analysis |
Detection (surveillance) bias: key principles
Detection bias is a systematic difference between groups in how outcomes are determined. If the exposure itself causes people to be examined, tested or imaged more often, more (often subclinical) disease will be found in exposed people even if true risk is equal.
- Classic example: postmenopausal estrogen and endometrial cancer. Estrogen causes uterine bleeding, which leads to endometrial biopsy, so cancers are diagnosed more often in users, inflating the association.
- Patients with diabetes or on chronic medications attend clinic more often, so incidental diagnoses (hypothyroidism, early cancers) are recorded more often.
- Hospitals that order more surveillance duplex ultrasound report higher DVT rates and look worse on quality rankings ('the more you look, the more you find').
- Unblinded outcome assessors in trials exaggerate treatment effects; a systematic review found odds ratios exaggerated by about one-third on average.
- Can also underestimate effects: e.g., larger prostates make biopsy less sensitive, hiding cancers in obese men.
Immortal time bias: key principles
Immortal time is a period of follow-up during which, because of how exposure is defined, an exposed participant could not have experienced the outcome. If a person must survive long enough to receive (or fill a prescription for) a treatment, the time between cohort entry and treatment start is 'immortal'.
- Misclassified immortal time: the pre-treatment interval is counted as exposed person-time, inflating the denominator of the treated group and lowering its event rate.
- Excluded immortal time: starting follow-up at treatment for the treated but at cohort entry for the untreated; the untreated group keeps its early deaths.
- First recognized in heart-transplant survival studies (1970s): patients who lived long enough to get a donor heart looked better simply because early deaths were all counted as 'not transplanted'.
- Pharmacoepidemiology examples: inhaled corticosteroids after COPD admission (apparent rate ratio 0.66 became 0.79 after correction) and statins and diabetes progression (naive HR 0.74 reversed to 1.97 with time-dependent analysis).
- The bias grows as the immortal period lengthens and can reverse a conclusion.
How to recognize them on an exam
| Clue in the stem | Bias |
|---|---|
| Exposure leads to more doctor visits, tests or imaging; outcome is a diagnosis that can be subclinical | Detection / surveillance bias |
| Exposure defined as 'ever received drug during follow-up' or 'filled a prescription within 90 days of discharge'; follow-up starts at diagnosis/discharge for everyone | Immortal time bias |
| Screened patients appear to survive longer only because diagnosis was earlier | Lead-time bias |
| Screening picks up slow-growing tumors | Length-time bias |
| Early symptoms of a disease prompt the exposure (e.g., analgesic before cancer diagnosis) | Protopathic bias (reverse causation) |
| Cases recall exposure better than controls | Recall bias |
| Outcome assessor knows exposure status | Observer bias (related to detection bias) |
How to prevent or correct them
- Detection bias: use the same protocol-driven surveillance in all groups (e.g., scheduled imaging for everyone), blind outcome assessors, choose outcomes that do not depend on looking (all-cause mortality), adjust or stratify for frequency of health-care contact, and randomize when possible.
- Immortal time bias: align time zero with treatment assignment (the target-trial principle: eligibility, assignment and start of follow-up at the same moment); analyze treatment as a time-dependent exposure (person-time before starting counts as unexposed); use a landmark analysis (classify exposure at a fixed landmark time and begin follow-up there); or use new-user/active-comparator designs.
- Randomized trials avoid immortal time because assignment happens at time zero, and intention-to-treat keeps groups comparable.
Worked example / calculation
A database cohort of 1,000 patients is followed for 1 year after MI. 500 start a new drug at month 6; the other 500 never do. Assume the drug truly has no effect and everyone dies at 10 per 100 person-years.
- Treated patients had to survive to month 6, so they contribute 250 person-years of immortal time (500 × 0.5 y) with 0 deaths, then 250 exposed person-years with about 25 deaths.
- Naive analysis (all 500 person-years counted as exposed): 25 / 500 = 5 per 100 PY, half the true rate. The drug looks 50% protective.
- Correct analysis (time-dependent): exposed rate = 25 / 250 = 10 per 100 PY; the first 250 PY are added to unexposed time. The rate ratio returns to ≈ 1.0.
Detection example: two cohorts have a true DVT incidence of 2%. Group A receives routine ultrasound; group B is imaged only for symptoms, detecting about half of DVTs. Observed incidence 2% vs 1% → apparent RR = 2.0 created entirely by differential surveillance.
🩺 Next best step: classic exam scenarios
- A cohort shows women on hormone therapy have higher rates of diagnosed endometrial cancer; users had more biopsies for bleeding → detection (surveillance) bias.
- A registry finds that hospitals performing the most surveillance CTs have the highest reported pulmonary embolism rates → surveillance bias; standardize ascertainment.
- Patients who 'received a statin at any time after cancer diagnosis' lived longer than nonusers; follow-up began at diagnosis → immortal time bias; analyze statin use as time-dependent.
- An investigator asks how to fix immortal time in a planned database study → define exposure at time zero (or a landmark) and treat later exposure as time-varying.
- An open-label trial uses unblinded physicians to diagnose 'clinical relapse' → risk of detection/observer bias; use blinded adjudication.
🔥 Exam pearls
- Detection bias = more looking → more finding; fix with equal surveillance and blinding.
- Immortal time bias = exposed must survive to be exposed → treatment looks protective.
- Words like 'ever used', 'received within 90 days' or 'transplanted during follow-up' should trigger immortal time.
- Fix immortal time: time-dependent exposure, landmark analysis, align time zero (target-trial emulation).
- Both are systematic errors: bigger samples give a more precise wrong answer.
- Randomization prevents immortal time; blinding prevents detection bias.
Sources: Catalogue of Bias: Detection bias · Catalogue of Bias: Immortal time bias
