This script is entirely and completely based on the previously published Cohen's Kappa script by Giuseppe Cardillo, available here:
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:
AS (2021). 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 CompatibilityWindows macOS Linux
Inspired by: Cohen's Kappa
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!