measure-noise
Measure how our data deviates from normal distribution
| Branch | Status | Coverage |
|---|---|---|
| master | ||
| dev |
Install
pip install measure-noise
Usage
The deviance() method will return a (description, score) pair describing how the samples deviate from a normal distribution, and by how much. This is intended to screen samples for use in the t-test, and other statistics, that assume a normal distribution.
SKEWED- samples are heavily to one side of the meanOUTLIERS- there are more outliers than would be expected from normal distributionMODAL- few samples are near the mean (probably bimodal)OK- no egregious deviation from normalN/A- not enough data to make a conclusion (akaOK)
Example
from measure_noise import deviance
>>> desc, score = deviance([1,2,3,4,5,6,7,8])
>>> desc
'OK'
Development
git clone https://github.com/mozilla/measure-noise.git
cd measure-noise
pip install -r requirements.txt
pip install or tests/requirements.txt
python -m unittest discover tests
Windows
You must download the scipy and numpy binary packages.
Release files for measure-noise 2.58.19240
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| measure-noise-2.58.19240.tar.gz | 2.9 kB | Details |
Release files / measure-noise-2.58.19240.tar.gz
| Download URL | measure-noise-2.58.19240.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
04f47ffa61ce237087cbee0ac0e787e0e8a2cdfc93b9cb21ff31ebd74bd4d193
|
|
BLAKE2b-256 checksum How to use checksums |
2e6dc54c4b6d7496bfea2b82000bcbb0f0292cf1beb117a3aeac9011bf18ee1e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.22.0 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/2.7.14
|