Probability Bounds Analysis in Python
Project description
PBA
PBA is a probability bound analysis library for Python that allows one to create and calculate with probability distributions, intervals, and probability boxes (p-boxes) within Python.
Probability distributions can be specified using pba.distname(**args) where distname is any of the named distributions that scipy.stats supports. For instance, pba.N(0,1) specifies a Normal distribution with mean 0 and variance 1. P-boxes can be created by using interval arguments for these distributions. Intervals can be created using pba.I(left, right) where left and right are expressions for the lower and upper limits of the interval.
Features
Interval arithmetic (see https://en.wikipedia.org/wiki/Interval_arithmetic)
P-box arithmetic (see https://en.wikipedia.org/wiki/Probability_bounds_analysis)
Installation
Install pba by running
pip install pba
Contribute & Support
If you are having issues or would like to help with development or have intersting use cases, please let us know. You can email ngg@liv.ac.uk.
License
The project is licensed under the MIT License.
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
Built Distribution
File details
Details for the file pba-0.90.1.tar.gz
.
File metadata
- Download URL: pba-0.90.1.tar.gz
- Upload date:
- Size: 36.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b1c5abeb38ea239c43356f2054b4504b088530c87e09030dc5f97905da26fc2 |
|
MD5 | 9621cc10e9482d6e69cc6e74fd37fb65 |
|
BLAKE2b-256 | 97ae27d63c796a1edb1836019aeea0605e66e02afd702926f18ed8c4e5ed3475 |
File details
Details for the file pba-0.90.1-py3-none-any.whl
.
File metadata
- Download URL: pba-0.90.1-py3-none-any.whl
- Upload date:
- Size: 37.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a88d8f8b6476e25d9b928707ff133bc595184992d0f3f6cacd38f1779c83cc3a |
|
MD5 | ae9d34adfd00a67ce0d77ca0fd3f6741 |
|
BLAKE2b-256 | f2be190f9dc7ed5c51ec17da64cf273fef1cb40bdda516b1603b10bb347c0d57 |