Comparison of Two Diagnostic Tests on the Same Subjects
Comparison of two diagnostic tests on the same subjects contrasts their sensitivity, specificity and predictive values when every subject receives both tests and a reference standard.
동일 대상자 두 진단검사 비교는 모든 대상자가 두 검사와 기준검사를 모두 받았을 때 두 검사의 민감도·특이도·예측도를 대응 설계로 비교하는 방법입니다.
Both screening tests were done on every patient and I know who truly had the condition; is test A more sensitive or more specific than test B?
환자 모두에게 두 가지 선별검사를 했고 실제 질환 여부도 알고 있는데, A 검사가 B 검사보다 민감도나 특이도가 더 높다고 할 수 있을까요?
Because each subject contributes a result from both tests, sensitivity and specificity are compared with McNemar's test on the discordant pairs, and relative true- and false-positive rates are reported with log-scale confidence intervals. Predictive values depend on prevalence and on overlapping groups of positives, so they are compared with the generalized score test of Leisenring, Alonzo and Pepe.
When to use Comparison of Two Diagnostic Tests on the Same Subjects
- Every subject has results from both index tests and from the reference standard.
- You want to know whether one test detects more cases or produces fewer false positives than the other.
- You need relative sensitivity (rTPR) and relative false-positive rate (rFPR) with confidence intervals for a paired accuracy study.
When to use something else
- The two tests were given to different subjects; compare the two independent proportions with a chi-square or Fisher test instead.
- The tests give continuous scores and you want to compare overall discrimination; compare paired ROC curves with DeLong's test instead.
Assumptions and requirements
- Test results and the reference standard are coded 0/1 (1 = positive/diseased).
- The reference standard classifies the condition without error.
- Subjects are independent; pairing is only between the two tests within a subject.
What the analysis reports
- Sensitivity, specificity, PPV and NPV for each test
- McNemar test (exact binomial when fewer than 25 discordant pairs) for sensitivity and specificity
- Paired difference with Wald CI, rTPR and rFPR with 95% CIs
- Generalized score statistics and p-values for PPV and NPV
How to report it
Sensitivity was [value] for test A and [value] for test B (rTPR = [value], 95% CI [[value], [value]], McNemar p = [value]); specificity was [value] and [value] (p = [value]); PPVs did not differ (generalized score χ²(1) = [value], p = [value]).
Related methods
- McNemar's Test
- ROC Curve and AUC
How this method is validated
이 방법의 검증 근거
- Automated tests. Checked by automated run tests; no external reference comparison is recorded yet.
자동 시험. 자동 실행 시험을 거칩니다. 외부 참조값과 대조한 기록은 아직 없습니다.
Run Comparison of Two Diagnostic Tests on the Same Subjects on Quorant
- Data you need
- a table (CSV or Excel) with an outcome variable and predictor (feature) columns
- Price
- 400 credits for one analysis up to 10,000 rows (complexity level 3); larger or wider data costs more. Optional methodologist review: 1800 credits.
- Checking
- Automated run tests; no external reference comparison yet
- Before you pay
- A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.