Ordinal weighted Cohen kappa calculator
Measure ordinal agreement between two raters while weighting larger category disagreements more heavily.
How to use this calculator
Measure ordinal agreement between two raters while weighting larger category disagreements more heavily.
- Enter First rater ordinal category indices, Second rater ordinal category indices, Number of ordered categories, Disagreement weighting. Match the units shown beside each field and review the result together with the assumptions below.
- Read the worked example below to check the expected input format and result.
- Compare another scenario by changing one input at a time. Use Reset to return to the starting values.
Ordinal weighted Cohen kappa calculator
Measure ordinal agreement between two raters while weighting larger category disagreements more heavily.
Inputs and units
- First rater ordinal category indices: Comma-separated ordinal category ratings from the first rater, paired by observation with the second list.
- Second rater ordinal category indices: Comma-separated ordinal ratings for the same observations in the same order.
- Number of ordered categories: Total ordered categories defining the ordinal distance weights; category indices must fall in this range.
- Disagreement weighting: Select linear or quadratic penalty weights; larger category gaps count more than adjacent disagreements.
Formula and method
κw=1−observed weighted disagreement/expected weighted disagreement
Worked example
For ratings A=[1,1,2,3], B=[1,2,2,3], 3 ordered categories and quadratic weights, κw=0.8.
Interpreting the result
A value of 1 is perfect weighted agreement; 0 is agreement expected from the marginal distributions. The chosen weighting scheme changes the result.
Assumptions and limits
Paired lists must have equal nonzero length and integer categories within the stated range. Identical constant ratings can make expected disagreement zero; report undefined rather than a numeric kappa in that case.
Sources and method
- Original weighted-kappa paper for ordinal agreement with scaled disagreement; the selected linear or quadratic disagreement weights are stated explicitly. Cohen (1968), weighted kappa
Frequently asked questions
What does this ordinal weighted cohen kappa result tell me?
A value of 1 is perfect weighted agreement; 0 is agreement expected from the marginal distributions. The chosen weighting scheme changes the result.
What assumptions should I check?
Paired lists must have equal nonzero length and integer categories within the stated range. Identical constant ratings can make expected disagreement zero; report undefined rather than a numeric kappa in that case.
How do I use the Ordinal weighted Cohen kappa calculator?
Enter First rater ordinal category indices, Second rater ordinal category indices, Number of ordered categories, Disagreement weighting. Match the units shown beside each field and review the result together with the assumptions below.
What is a worked example of Ordinal weighted Cohen kappa?
For ratings A=[1,1,2,3], B=[1,2,2,3], 3 ordered categories and quadratic weights, κw=0.8.
What does the Ordinal weighted Cohen kappa calculator calculate?
Measure ordinal agreement between two raters while weighting larger category disagreements more heavily.
See the calculation methodology.