A python module implementing power analysis to estimate sample size
Project description
sample-size
This python project is a helper package that uses power analysis to calculate required sample size for any experiment.
Script Usage Guide
Sample size script lets you get the sample size estimation easily by providing metric inputs.
Requirements
Please make sure you have Python 3 installed before using the script.
Verify Python was installed
python -V # python version should >=3.7.1, <3.11
Verify pip was installed
pip -V
Install the package
pip install sample-size
pip show sample-size # verify package was installed
Start using the script
run-sample-size
will promp you questions for you to enter the input it needs
run-sample-size
Script Constraints
- This package supports
- Single metric per calculator for now
- Metric types: Boolean, Numeric, and Ratio
- Default statistical power (80%) is used in
run-sample-size
all the time - Input constraints
Contributing
All contributors and contributions are welcome! Please see the contributing docs for more information.
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
sample-size-1.0.0.tar.gz
(6.7 kB
view hashes)
Built Distribution
Close
Hashes for sample_size-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 840081d9f7da3ee4f18126535d70bc2ca9c2dc6f266a2df3a9c84a2ae22a263b |
|
MD5 | 560804f95a874e3a7fc3bcbe01e4cf08 |
|
BLAKE2b-256 | 080e5310a8896455e1c65bcecca23315d04170db03b10970b10964a0d24dd0ae |