Skip to main content
# 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

Metadata

Release files for Stats-CI 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for Stats-CI 0.1.2
File Size Uploaded
Stats_CI-0.1.2.tar.gz 2.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for Stats-CI 0.1.2
File Interpreter ABI Platform
Stats_CI-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 4.1 kB

Release files / Stats_CI-0.1.2.tar.gz

Download URL Stats_CI-0.1.2.tar.gz
Size 2.3 kB
Tags Source
SHA-256 checksum
How to use checksums
c6f42502ccc4495d6172e3be96e050754130c64827abc110c637d2ec610745fd
BLAKE2b-256 checksum
How to use checksums
6a3e54315ff2887975f95d722cc8c198af5c5c42a7cf494e152fb832acd162b2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.11.5

Release files / Stats_CI-0.1.2-py3-none-any.whl

Download URL Stats_CI-0.1.2-py3-none-any.whl
Size 1.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c398969bef508c172c302ca8e7918c78053d887cedd8d9e5b52f7b66be298fe3
BLAKE2b-256 checksum
How to use checksums
40add15d4fe9d9fe6b564f3b97f5db2c177eb19262958d695d3a983c61398e66
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.11.5

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page