Skip to main content

An awesome package for confidence intervals.

Project description

# Confidence Interval Library

The Confidence Interval Library is a Python package for calculating confidence intervals for various statistical metrics. This library simplifies the process of estimating the confidence intervals around a sample mean, proportion, or other statistical estimates.

## Installation

You can install the Confidence Interval Library directly from PyPI:

```bash
pip install confidence_interval

Features

  • Mean Confidence Interval: Calculate the confidence interval for the mean of a dataset.
  • Proportion Confidence Interval: (If applicable) Calculate the confidence interval for the proportion of a dataset.
  • Custom Confidence Levels: Allows specifying different confidence levels.

Usage

Here is how you can use the Confidence Interval Library:

Calculating Mean Confidence Interval

from confidence_interval import mean_confidence_interval
data = [1, 2, 3, 4, 5]
mean, lower_bound, upper_bound = mean_confidence_interval(data)
print("Mean:", mean)
print("Lower bound:", lower_bound)
print("Upper bound:", upper_bound)

Requirements

  • Python 3.6+
  • NumPy
  • SciPy

Contributing

Contributions are welcome! Please fork the repository and open a pull request with your additions, or open an issue if you find any bugs or have suggestions.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Authors

Acknowledgments

  • To my students
  • Logic and Mathematics
  • Life

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

Stats_CI-0.1.2.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

Stats_CI-0.1.2-py3-none-any.whl (1.8 kB view details)

Uploaded Python 3

File details

Details for the file Stats_CI-0.1.2.tar.gz.

File metadata

  • Download URL: Stats_CI-0.1.2.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.5

File hashes

Hashes for Stats_CI-0.1.2.tar.gz
Algorithm Hash digest
SHA256 c6f42502ccc4495d6172e3be96e050754130c64827abc110c637d2ec610745fd
MD5 60589e0cd4749f6219b9de5840992fb6
BLAKE2b-256 6a3e54315ff2887975f95d722cc8c198af5c5c42a7cf494e152fb832acd162b2

See more details on using hashes here.

File details

Details for the file Stats_CI-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: Stats_CI-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 1.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.5

File hashes

Hashes for Stats_CI-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c398969bef508c172c302ca8e7918c78053d887cedd8d9e5b52f7b66be298fe3
MD5 d5a8398e656fbc7632689af028c84a1f
BLAKE2b-256 40add15d4fe9d9fe6b564f3b97f5db2c177eb19262958d695d3a983c61398e66

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page