Drill 3: association, agreement, diagnosis
Correlation, agreement and diagnostic accuracy are easy to mix up, because all three look at two columns. Sort out which question each study is asking.
What runs in CodeSplash
- Correlation test (Pearson / Spearman / Kendall) Verified in Python and R
- Partial and semipartial correlation Verified in Python and R
- Test for any dependence (ξ, Hoeffding, distance correlation, HSIC) Verified in Python and R
- Polychoric / polyserial correlation (ordinal variables) Verified in Python and R
- Compare two correlations (Fisher z, Williams, Steiger) Verified in Python and R
- Cohen's kappa (two raters) Verified in Python and R
- Intraclass correlation (ICC) Verified in Python and R
- Bland–Altman limits of agreement Verified in Python and R
- Method comparison regression (Passing–Bablok, Deming) Verified in Python and R
- ROC curve and AUC (DeLong) Verified in Python and R
- Diagnostic accuracy (sensitivity, specificity, PPV, NPV) Verified in Python and R
- Internal consistency (Cronbach's α, McDonald's ω) Verified in Python and R
You will be able to
- Tell association, agreement and diagnostic questions apart
- Choose among correlation measures by the form of the relationship
- Choose an agreement method by the type of rating
Read first
Three look-alikes
ReadAll three start with two columns. They ask different things.
- Association: do they move together, in any units?
- Agreement: are the values the same? Two thermometers can correlate perfectly while one reads 5 degrees high.
- Diagnostic accuracy: does this column identify a known condition?
Ask which sentence you want to write, and the branch usually follows.
Round one
CheckpointCheck yourself
Height and weight in 500 adults, with a roughly straight-line scatter. How strongly are they related?
Show the answer
Answer: a
Two numeric variables, linear, and they measure different things, so agreement isn't the question.
Check yourself
Income against life satisfaction: it rises and then levels off. How strongly are they related?
Show the answer
Answer: b
A monotonic but curved relationship. Spearman works on ranks, so it isn't limited to straight lines.
Check yourself
The scatter looks like a U. You want to know whether the variables are related in any way at all.
Show the answer
Answer: c
A U can have a Pearson and a Spearman correlation near zero. In CodeSplash, correlation.dependence tests for any shape.
Check yourself
Do exercise and blood pressure relate after allowing for age?
Show the answer
Answer: b
"After allowing for" means adjusting. Whether adjusting for age is right depends on what age is doing, which is a question about causes.
Round two
CheckpointCheck yourself
Two radiologists classify scans as normal or abnormal. Do they agree beyond chance?
Show the answer
Answer: b
Two raters, categorical ratings. Beware kappa when one category dominates; Gwet's AC1 is the usual companion in that case.
Check yourself
A new wearable and a hospital monitor both measure heart rate in the same 80 people. Can the wearable replace the monitor?
Show the answer
Answer: b
High correlation doesn't show agreement. Limits of agreement show how far apart readings can be, and you can compare that with what is clinically acceptable.
Check yourself
Three judges each score the same 40 essays out of 100. How consistent are they?
Show the answer
Answer: b
Several raters, numeric scores. Choose the ICC form that matches the design, for instance judges as random or fixed.
Check yourself
A 12-item questionnaire, answered by 300 people. Do the items hang together as one scale?
Show the answer
Answer: b
This is internal consistency of items: Scale reliability in the Test Chooser. A factor analysis would then look at whether one dimension is enough.
Round three
CheckpointCheck yourself
A numeric blood marker and a confirmed disease status. How well does the marker identify the disease, and at which cut-off?
Show the answer
Answer: b
Separation is a different question from a difference in means. The ROC card reads sensitivity and specificity across thresholds, and a cut-off needs the costs of each error.
Check yourself
A rapid test (positive or negative) against a lab standard, in 400 patients. What should you report?
Show the answer
Answer: a
A two-level test against a reference. PPV and NPV depend on prevalence, so state where they apply.
See why correlation misleads
PredictPredict first
Two scales' readings correlate at , and one reads 2 kg higher across the board. Do they agree?
Reveal
Only with a correction. They differ by a fixed bias of 2 kg, which a correlation can't see. That is why agreement studies need bias and limits of agreement, or a method-comparison analysis.
Try them on your data
In the appBind two columns to the Association card, then try the same pair on the Agreement card. The difference in what each one reports makes the point better than any description.
Recap
Recap- Association asks whether two columns move together; agreement asks whether they are the same; diagnostic accuracy asks whether one identifies a condition.
- Match the correlation measure to the form of the relationship.
- Match the agreement measure to the type of rating and the number of raters.
Concepts in this lesson