Skip to main content

No project description provided

Project description

This is a probability bound analysis library for Python

Intervals can be specified by using pba.I(x,y)

Probability distributions can be specified using pba.distname(**args) for all distribution that scipy.stats supports. Using interval arguments return p-boxes

K out of N confidence boxes can be specified using pba.KN(k,n)

+,-,*,/ operations are supported. By default frechet convolutions are used. But independant, perfect and opposite convolutions are also supported, they can be specified using a letter as in:

A.add(B, method = 'o') # A + B using opposite convolutions
C.sub(D, method = 'p') # C - D using perfect convolutions
E.mul(F, method = 'i') # E * F using independence convolutions
G.div(H, method = 'f') # G / H using frechet convolutions

Note: currently there may be errors in creating p-boxes for certain distribution types because of the way arguments are passed to the distributions in scipy.stats library. If these errors are noticed please email me

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

pba-0.7.1.tar.gz (12.7 kB view details)

Uploaded Source

File details

Details for the file pba-0.7.1.tar.gz.

File metadata

  • Download URL: pba-0.7.1.tar.gz
  • Upload date:
  • Size: 12.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.6

File hashes

Hashes for pba-0.7.1.tar.gz
Algorithm Hash digest
SHA256 176b37957540d21828cd6692cc655150b01966b4e901078185eabf8c8529b365
MD5 34535923cf0a98b776d9dc742b3ac9df
BLAKE2b-256 9f42cfeaf948e6003dd1a50e4720ecc99a485c237f78c2f5c8f25e1bfeddeea5

See more details on using hashes here.

Supported by

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