Reliability Theory (Weighted Agreement Model)The underlying model family class (e.g. GLM, linear model, categorical matrix, log-linear).Parametric ReferenceStatistical methods that assume a specific probability distribution family (typically normal).12-stage workflow
Weighted Kappa
The engine for Ordinal Agreement. Weighted Kappa audits the consistency between two observers on a ranked scale, assigning 'Partial Credit' for near-misses to reflect the gravity of disagreement.
Model familyReliability Theory (Weighted Agreement Model)
Determine the true level of agreement while respecting the natural ranking of the categories.
G2
Error-Gravity Mapping
Penalize disagreements based on their 'Distance' (e.g., a 'High vs Low' miss is worse than 'High vs Med').
G3
Clinical Precision Discovery
Quantify the reliability of staging systems or ordinal diagnostic tools.
Visual Overview Dashboard
1
What is it?
Weighted Kappa quantifies the degree of agreement, consistency, or concordance among raters, measurements, or scale items.
The engine for Ordinal Agreement. Weighted Kappa audits the consistency between two observers on a ranked scale, assigning 'Partial Credit' for near-misses to reflect the gravity of disagreement.
2
Goals & Indications
Ordinal Consensus Audit: Determine the true level of agreement while respecting the natural ranking of the categories.
Error-Gravity Mapping: Penalize disagreements based on their 'Distance' (e.g., a 'High vs Low' miss is worse than 'High vs Med').
Clinical Precision Discovery: Quantify the reliability of staging systems or ordinal diagnostic tools.
3
Core Idea Diagram
4
Claims tested
H₀:H₀: κw = 0 (weighted agreement no better than chance)
Hₐ:Hₐ: κw > 0 (weighted agreement exceeds chance)
5
How it works
Assign penalty weight matrix W representing distance between ordinal categories.
Multiply observed and expected contingency cells by category distance weights.
Sum weighted cells to determine weighted observed and chance agreements.
Ordinal Categories with Meaningful Order: Categories must have natural ordering where near-misses are meaningful (e.g., disease severity: mild < moderate < severe). Nominal categories should use unweighted kappa.
Equal Category Spacing: Standard linear/quadratic weights assume equal intervals between adjacent categories. If spacing is unequal, custom weights needed.
Pragmatic null and alternative hypotheses defined in mathematical notation.
A hypothesis is a question sharpened to a point. Ambiguity is the enemy of inference.
Logic Core
Null · H₀
H₀: κw = 0 (weighted agreement no better than chance)
Alternative · Hₐ
Hₐ: κw > 0 (weighted agreement exceeds chance)
Why it matters one-tailed
Weighted kappa gives partial credit for disagreements based on distance. κw > 0.60 = substantial, κw > 0.80 = almost perfect (Landis & Koch, 1977).
02Model diagnostics
Assumptions
The core mathematical criteria needed to ensure that statistical testing remains unbiased and valid.
Build your analysis on rock, not sand. Verify the mathematical foundation before building the model.
Integrity Shield
5
Assumptions
0
Critical / High Severity
How to check
Verify categories can be ranked. If ordering is arbitrary or multiple orderings are defensible, weighted kappa is inappropriate.
If violated
Weights will be meaningless. Use unweighted Cohen's kappa for nominal data.
How to check
Assess if distance between mild-moderate equals moderate-severe conceptually. If not, consider custom weights or ICC.
If violated
Standard weights may over/underweight certain disagreements. Results may not reflect true agreement.
How to check
Linear: all disagreements matter proportionally. Quadratic: extreme disagreements matter much more than adjacent disagreements.
If violated
Wrong weights can overestimate or underestimate agreement. Quadratic usually recommended for ordinal clinical scales.
How to check
Verify all subjects rated by same two raters. For >2 raters with ordinal data, use ICC or ordinal Fleiss' kappa approximation.
If violated
Different rater pairs confound agreement estimates. Use appropriate multi-rater method.
How to check
Use blinded procedures. Raters work separately without discussing cases.
If violated
Inflated agreement estimates that don't reflect true inter-rater reliability.
03Residual Forensics
Diagnostics
Checking residual plots and indices to examine model deviations and ensure standard error integrity.
Trust, but verify. The outliers often hold more truth than the averages.
System Health
Essential checks
Weighted kappa with linear weights (κw-linear)
Weighted kappa with quadratic weights (κw-quadratic)
Unweighted Cohen's kappa for comparison
Confusion matrix with marginal totals
Observed weighted agreement (Pow)
Expected weighted agreement by chance (Pew)
Confidence intervals for weighted kappa
Statistical significance test (z-test against H₀: κw=0)
Recommended checks
Compare weighted vs unweighted kappa (if very similar, ordering may not matter)
Examine off-diagonal confusion matrix cells (where are disagreements?)
Intraclass correlation coefficient (ICC) as alternative for ordinal data
Kendall's tau-b or Spearman correlation for ordinal association
Prevalence and bias indices if marginals are imbalanced
04Live Instances
Applied Minds
Review concrete study examples, data layout guidelines, and copy executable syntax scripts.
Theory is the map. Practice is the terrain. Simulation bridges the gap.
Applied Wisdom
Example 01
Pain Scale Agreement (5-point ordinal)
Two physicians independently rate 120 patients' pain severity on 5-point ordinal scale (0=None, 1=Mild, 2=Moderate, 3=Severe, 4=Very Severe). Complete analysis with unweighted, linear, and quadratic weighted kappa, weight matrices, bootstrap confidence intervals, and 6 visualizations.
Interpretation Blueprint
Quadratic weighted kappa (κw=0.74) exceeds unweighted kappa (κ=0.63) by 0.11, indicating many adjacent disagreements receive partial credit. With 65% exact agreement and 28% adjacent disagreements, the substantial agreement (Landis & Koch) supports clinical reliability. Bootstrap CIs confirm precision. The difference between linear and quadratic weights shows that extreme disagreements (≥2 categories apart) are rare (3%), validating quadratic weighting for this pain scale.
05Tactical Pivots
Alternatives
Structured fallback pathways for choosing alternative tests when normality or slopes requirements fail.
When the path is blocked, pivot. Rigor is not rigidity; it is the intelligent adaptation to reality.
Significance is noise. Magnitude is the signal. Measure the impact, not just the probability.
Impact Magnitude
Poor - worse than chance
Slight
Fair
Moderate
Substantial
Almost Perfect
Recommended Metric: Report both quadratic weighted κw and unweighted κ with 95% CIs. Specify weight type. Report systematic bias if present.
Small 0.2
Medium 0.5
Large 0.8
0.50
Report both quadratic weighted κw and unweighted κ with 95% CIs. Specify weight type. Report systematic bias if present.
Recommended Measure
1
Available Metrics
ReportUse Report both quadratic weighted κw and unweighted κ with 95% CIs. Specify weight type. Report systematic bias if present. to represent clinical impact magnitude.
08Statistical Power
Sample Size
Guidelines for minimum sample requirements and power analysis parameters.
An underpowered study is an ethical failure. Respect the data by collecting enough of it.
Power Protocol
Floor Requirements
The 'Distance Buffer': A minimum of 50 subjects is recommended for a 2-rater ordinal audit. Weighted Kappa requires enough 'Near-Miss' occurrences to stabilize the partial-credit penalty math.
Effect Size
Parameters
Required n
Small Effect
Expected κ_w = .40
n ≈ 100
Medium Effect
Expected κ_w = .60
n ≈ 45
Large Effect
Expected κ_w = .80
n ≈ 25
Key considerations
The 'Large Gap' Penalty: If your observers frequently disagree by 2 or more levels, the Quadratic penalty will 'Choke' your Kappa. Increase N by 15% if you expect high clinical variance in rater judgment.
G*Power StrategyBenchmark: Ordinal inter-rater agreement. Parameters: Weighted κ magnitude, α = .05, Power = .80. Note: Power depends on the 'Weighting Scheme'—Quadratic weights often yield higher point estimates but require more data to remain stable.
09APA narrative blueprint
Reporting
How to compile statistical results into publication prose matching APA and journal style guides.
Data does not speak for itself. It requires a translator. Be clear, be precise, be honest.
Narrative Arc
Reusable template
Inter-rater reliability for measure was assessed using weighted kappa with linear/quadratic weights. Agreement between Rater 1 and Rater 2 was interpretation (κw = value, 95% CI lower, upper), compared to unweighted κ = value. X% of ratings were in exact agreement, with Y% differing by one category. If bias: Rater [X systematically rated higher/lower by M = diff scale points.]
10Exhibit Builder
Manuscript Lab
Copy standard summary tables and forensic reporting grids to outline analysis details.
Table 1: Weighted Kappa for Ordinal Clinical Ratings
Metric
Kappa (κ)
SE
p-value
Agreement Strength
Unweighted Kappa
0.45
0.08
< .001
Moderate
Weighted Kappa (Linear)
0.72
0.06
< .001
Substantial
Note. N = 100 cases. Weighting: Linear (Absolute distance). Range: 1-4 Severity.
0.45 vs 0.72Dramatic Forensic Reveal. The low unweighted kappa was misleading; raters agree on the general severity level very well, even if they occasionally miss the exact category by 1 step.
Header glossary
The 'Severity' Guard. Penalizes disagreements more heavily if they are further apart on the ordinal scale.
The Proportional Penalty. A 2-step disagreement is twice as bad as a 1-step disagreement.
11Algorithmic Logic
Command Center
Syntax libraries and function parameters for executing calculations in stats packages.
Code is the modern laboratory. Clean execution ensures reproducible discovery.
Squared-weighted Kappa is mathematically identical to the Intraclass Correlation Coefficient (ICC). Use Linear weighting for ordinal data, and Squared weighting only if you want to mirror ICC results.
Analytical caveats and corrections to maintain modeling integrity.
Wisdom is learning from the failures of others. Anticipate the error before it occurs.
Defensive Logic
Why it's wrong
Weights assume ordering. For nominal data (e.g., cancer type: lung, breast, colon), there's no meaningful distance between categories.
The correction
Use unweighted Cohen's kappa for nominal data. Reserve weighted kappa for ordinal scales with clear ranking.
Why it's wrong
Linear vs quadratic weights can yield substantially different values. Readers cannot interpret or replicate results.
The correction
Always report weight type: 'quadratic weighted kappa' or 'linear weighted kappa'. Quadratic is more common for clinical scales.
Why it's wrong
One rater consistently rating higher/lower reduces kappa even if correlation is perfect. Weighted kappa conflates agreement with bias.
The correction
Test for systematic bias (paired t-test or Wilcoxon). Report mean differences. If substantial bias exists, agreement is limited even with high κw. Consider ICC which separates consistency from absolute agreement.
Why it's wrong
If most disagreements are extreme (e.g., 1 vs 5 on 5-point scale), weighted kappa may be similar or even lower than unweighted.
The correction
Examine confusion matrix. Many near-misses → weighted much higher. Few disagreements or extreme disagreements → similar values. Pattern informs about error types.
Why it's wrong
Standard weighted kappa is for 2 raters only. Extensions to >2 raters are complex and not well-supported in software.
The correction
For ordinal data with >2 raters, use intraclass correlation coefficient (ICC) which naturally handles ordinal/continuous data and multiple raters.
Why it's wrong
The difference between weighted and unweighted reveals information about disagreement patterns. If identical, ordering may be irrelevant.
The correction
Always report both weighted and unweighted kappa. Large difference (>0.10) indicates many adjacent disagreements. Small difference suggests ordering less important or extreme disagreements.
Why it's wrong
Standard linear/quadratic weights assume equal intervals. For scales like 'none/mild/severe/critical' where severe-critical gap may be larger than mild-severe, standard weights are inappropriate.
The correction
For unequal spacing, define custom weight matrix based on clinical/theoretical importance of disagreements, or use ICC treating as continuous.
Why it's wrong
High Pearson correlation (r=0.90) only means raters rank subjects similarly, but they could systematically disagree by a constant (e.g., Rater 2 always rates 2 points higher). Correlation measures association, not agreement.
The correction
Use weighted kappa or ICC for agreement. Supplement with Bland-Altman plot to visualize systematic bias. Report both correlation (for ranking consistency) and kappa/ICC (for actual agreement). A paired t-test detects systematic bias.
13Academic Lineage
References
Scholarly lineage and citation keys grounding the statistical framework.
We stand on the shoulders of giants. Honor the source of the method.
Academic Lineage
[1]
[2]
[3]
[4]
[5]
[6]
14Model Ecosystem
Related Tests
Bridges to simpler, more complex, non-parametric, or alternative versions.
No model exists in isolation. Understanding the family tree reveals the true nature of the test.
Model Ecosystem
cohens kappa
Unweighted version for nominal categories
intraclass correlation
For ordinal/continuous with 2+ raters; separates consistency from absolute agreement
kendall tau b
Ordinal correlation; different concept than agreement
kendall w
Concordance for multiple raters on rankings
spearman correlation
Rank correlation; not agreement per se
A miss is not always a fail. Use Weights to acknowledge the nuance of professional judgment, but audit the large gaps with extreme suspicion.