statistics — a reasoning module

Studies, screening tests and significance tests decided, and statistics and probability calculated, as a DKE Python module you compile into your own store. You record the strata of a study, a screening test's prevalence, sensitivity and specificity and a test's p-value and level; it concludes whether a pooled comparison reverses in every stratum, what a positive screen is worth and whether a result clears its level, each with its proof. It calculates means, variances, regression, the normal, binomial and Poisson distributions, chi-square, the birthday problem and a seeded Monte Carlo, bit for bit as CPython does.

Licence: MIT. Current version: 1.0.3, released in rev 143.

Get it

The whole release, as one archive:

curl -O https://dke.langsyn.com/source/statistics/1.0.3/statistics-1.0.3.tar.gz

Its SHA-256: 7283344e765da83be728516e6acd5bb4e05fb40be7dd94578596a7b38b57bcfb.

Or browse version 1.0.3 file by file. /source/statistics/latest/ always redirects to the current version. A release's files never change. When the next release supersedes this one, this version stays served at its URL, marked superseded, so cite the version and the archive's digest to say exactly which bytes you read, and use latest for a link that follows each new release.

Current release