Cohen's Kappa (with customizable weightings)
This script is entirely and completely based on the previously published Cohen's Kappa script by Giuseppe Cardillo, available here:
http://www.mathworks.com/matlabcentral/fileexchange/15365
His script allowed you to calculate unweighted, linearly weighted, and quadratically weighted Cohen's Kappa. All that I have done is allow you to enter in a custom weighting matrix for use if your weights are not linear or quadratic.
For more information on Cohen's Kappa see:
http://en.wikipedia.org/wiki/Cohen%27s_kappa
Cite As
AS (2026). Cohen's Kappa (with customizable weightings) (https://www.mathworks.com/matlabcentral/fileexchange/22308-cohen-s-kappa-with-customizable-weightings), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired by: Cohen's Kappa
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
