Python library for simplifying statistical analysis and making it more consistent
Project description
Nightingale
I named this package Nightingale in honour of Florence Nightingale, The lady with the data.
Installation
You can use pip to install Nightingale:
pip install nightingale
Usage
Population Proportion
from nightingale import get_sample_size, PopulationProportion, get_z_score
print('z-score for 0.95 confidence:', get_z_score(confidence=0.95))
print('sample size:', get_sample_size(confidence=0.95, error_margin=0.05, population_size=1000))
print('with 10% group proportion:', get_sample_size(confidence=0.95, error_margin=0.05, population_size=1000, group_proportion=0.1))
population_proportion = PopulationProportion(sample_n=239, group_proportion=0.5)
print('error:', population_proportion.get_error(confidence=0.95))
Ordinary Least Squares (OLS)
ANOVA
References
z-score: https://stackoverflow.com/questions/20864847/probability-to-z-score-and-vice-versa-in-python
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
nightingale-1.2.tar.gz
(3.6 kB
view hashes)
Built Distribution
Close
Hashes for nightingale-1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b688b460d38e5b48671accfee1a1e4325911633495ea4767fbe36a78317cd92 |
|
MD5 | e416a1abfc274e7863fefa9f0a1aaf71 |
|
BLAKE2b-256 | 10eced7200b044cb85d1aa72effdec657d303f7cb00c516dbfc15c2849df6c8a |