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 moz-measure-noise 2.70.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| moz_measure_noise-2.70.0.tar.gz | 23.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| moz_measure_noise-2.70.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 44.7 kB
Release files / moz_measure_noise-2.70.0.tar.gz
| Download URL | moz_measure_noise-2.70.0.tar.gz |
|---|---|
| Size | 23.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
12019ccf56e42c9cebf2a09aebbe38b69e4c9ee5995c61ea7fe8abfb387b18f0
|
|
BLAKE2b-256 checksum How to use checksums |
d5c6561da4fc2c21515d61ff28e27f90bac77b6771999fb4cbb0eab10ed773eb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.15
|
Release files / moz_measure_noise-2.70.0-py3-none-any.whl
| Download URL | moz_measure_noise-2.70.0-py3-none-any.whl |
|---|---|
| Size | 21.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e068a383753346dcbd636987d76997d8e03494b61c55a835a16161ad7d2e8d56
|
|
BLAKE2b-256 checksum How to use checksums |
2bc9bf190ed3de9d1f3e47829833cbf805a3dde20e6381e02f473bcb2de9c609
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.15
|