Skip to content

anthropedia/tci-stats

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)