Skip to content

Calculate agreement/polarization for ordered rating scales

Notifications You must be signed in to change notification settings

jarib/ordered-rating-agreement

Repository files navigation

ordered-rating-agreement

Calculate the agreement/polarization of ordered rating scales using Cees van der Eijk's (2001) measure of agreement A.

Usage:

Pass in frequency of each category. Get the agreement between -1 and 1;

const { agreement } = require('agreement');

agreement([10, 0, 0, 0, 0, 0, 0]);
// => 1

agreement([10, 10, 10, 10, 10, 10, 10]);
// => 0

agreement([30, 40, 210, 130, 530, 50, 10]);
// => 0.61

About

Calculate agreement/polarization for ordered rating scales

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published