Smaller groups give noisier curves.
Months from diagnosis until half the patients have died.
Months from diagnosis to the first genomic test result.
Loading the simulator…
What to try
- Set the wait to zero. Everyone is in the data from diagnosis, and both curves match the truth.
- Raise the wait. The curve counted from diagnosis climbs above the truth: only patients who lived long enough to get their result are in the data, and their wait is counted as time survived.
- Pair short survival with a long wait. More patients die before their result comes back, and the overstatement grows.
- Shrink the group and press New patients a few times. The corrected curve is noisier than the naive one, most of all at the start, when few patients have their result back. The colorectal study handles that stretch with a stability rule.
How the patients are made
- Each patient's time from diagnosis to death has a constant risk of death, so the true median is the one you choose.
- Waits vary the way real ones do: a quarter of patients wait less than about half the median wait, and a quarter more than about twice it.
- Waits are drawn independently of survival. The correction relies on that. If patients who live longer also tend to wait longer, it no longer recovers the truth.
- Follow-up ends 60 months after diagnosis. A patient is in the data only if their result came back while they were alive and before follow-up ended.
- The curves are Kaplan-Meier estimates. Counted from diagnosis, every patient in the data is at risk from month 0. Corrected, each is at risk only from the month their result came back. The shaded stretch is where fewer than 20 patients are at risk on the corrected curve.
For the same bias in real patients, by tumor genotype, see the colorectal cancer study.
Made-up patients, for learning only. For research and education. Not medical advice, and not for decisions about any one patient.