Measure deviant noise
Project description
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.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file moz_measure_noise-2.70.0.tar.gz.
File metadata
- Download URL: moz_measure_noise-2.70.0.tar.gz
- Upload date:
- Size: 23.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
12019ccf56e42c9cebf2a09aebbe38b69e4c9ee5995c61ea7fe8abfb387b18f0
|
|
| MD5 |
8e1d898d253c6f968b5a21cc7fa2dda4
|
|
| BLAKE2b-256 |
d5c6561da4fc2c21515d61ff28e27f90bac77b6771999fb4cbb0eab10ed773eb
|
File details
Details for the file moz_measure_noise-2.70.0-py3-none-any.whl.
File metadata
- Download URL: moz_measure_noise-2.70.0-py3-none-any.whl
- Upload date:
- Size: 21.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e068a383753346dcbd636987d76997d8e03494b61c55a835a16161ad7d2e8d56
|
|
| MD5 |
06cd6410e6d90fc25242131d856d78ab
|
|
| BLAKE2b-256 |
2bc9bf190ed3de9d1f3e47829833cbf805a3dde20e6381e02f473bcb2de9c609
|