Degree of agreement among raters.
Project description
The irrCAC is a Python package that provides several functions for calculating various chance-corrected agreement coefficients. This package closely follows the general framework of inter-rater reliability assessment presented by Gwet (2014).
The functionality covers calculations for various chance-corrected agreement coefficients (CAC) among 2 or more raters. Among the CAC coefficients covered are Cohen’s kappa, Conger’s kappa, Fleiss’ kappa, Brennan-Prediger coefficient, Gwet’s AC1/AC2 coefficients, and Krippendorff’s alpha. Multiple sets of weights are proposed for computing weighted analyses.
The functions included in this package can handle 2 types of input data. Those types with the corresponding coefficients are in the following list:
Contingency Table
Brennar-Prediger
Cohen’s kappa
Gwet AC1/AC2
Krippendorff’s Alpha
Percent Agreement
Schott’s Pi
Raw Data
Fleiss’ kappa
Gwet AC1/AC2
Krippendorff’s Alpha
Conger’s kappa
Brennar-Prediger
Installation
To install the package, run:
pip install irrCAC
Developers
To use the code for development it is recommended to install poetry and run:
poetry install
And add the pre-commit hook:
pre-commit install
and update the hooks:
pre-commit autoupdate
To update the project dependencies, run:
poetry update
Next run the tests:
poetry run pytest
There is also a config file for tox so you can automatically run the tests for various python versions like this:
tox
Documentation
The documentation of the project is available at the following page: http://irrcac.readthedocs.io/
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file irrcac-0.4.4.tar.gz
.
File metadata
- Download URL: irrcac-0.4.4.tar.gz
- Upload date:
- Size: 18.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.4 CPython/3.10.12 Linux/5.4.0-189-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 153fc4c5dc6b5c47a44a8ad3f025cc495bc15fc2c2ba50754a6cc48724a10ed6 |
|
MD5 | 50bee318bcb12d01b1d15507c637db1e |
|
BLAKE2b-256 | cf0398154fe1cdb333b6aefa878fb1e078ae41807ebde8f19b1e50c47905ee16 |
File details
Details for the file irrcac-0.4.4-py3-none-any.whl
.
File metadata
- Download URL: irrcac-0.4.4-py3-none-any.whl
- Upload date:
- Size: 21.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.4 CPython/3.10.12 Linux/5.4.0-189-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | abce6bc8a9b8edb58e78d21326477deceb6792615d1660972ece17701344173f |
|
MD5 | 11bd998fa9dcfe8ca00fbc8874d7771f |
|
BLAKE2b-256 | d99238f94f143cc687d615d5a211f9fc40233d59be89ad7b3dbb61ead5acdef7 |