anthropedia / tci-stats

statistics module used for the TCI

Home Page:https://tci.anthropedia.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TCI statistic library

This library is in Python3 and calculate various statistics.

Right now the Cronbach Alpha is available.

Example:

from tcistats import cronbach_alpha
cronbach_alpha([[1, 2, 3], [2, 3, 4], [3, 4, 5]])

Read the tests for further usage examples.

Installation

python3 -m venv venv
source venv/bin/activate
pip install .

Running tests

source venv/bin/activate
pyhton3 -m unittest

Using in application

from tcistats import cronbach_alpha
alphas = cronbach_alpha(my_items)
print('Cronbach alpha results: ', alphas)

About

statistics module used for the TCI

https://tci.anthropedia.org


Languages

Language:Python 100.0%