Skip to main content

Sums of beta-bernoulli random variables

Project description

betabernsum

Sums of beta-bernoulli variables

Installation

For Python:

pip3 install betabernsum

or

pip3 install --user betabernsum

For R:

library(devtools)
install_github("anthony-aylward/betabernsum")

Examples

In Python:

from betabernsum import bbs_pmf, bbs_cdf, bbs_test
help(bbs_pmf)
help(bbs_cdf)
help(bbs_test)
bbs_pmf(5, [30, 12], [4, 5], [6, 5], independent=False)
bbs_cdf(5, [30, 12], [4, 5], [6, 5], independent=False)
bbs_test(5, [30, 12], [4, 5], [6, 5], independent=False)

In R:

library(betabernsum)
help(dbbs)
help(pbbs)
help(bbs_test)
dbbs(5, c(30, 12), shape1 = c(4, 5), shape2 = c(6, 5), independent = FALSE)
pbbs(5, c(30, 12), shape1 = c(4, 5), shape2 = c(6, 5), independent = FALSE)
bbs_test(5, c(30, 12), shape1 = c(4, 5), shape2 = c(6, 5), independent = FALSE)

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

betabernsum-0.1.1.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

betabernsum-0.1.1-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file betabernsum-0.1.1.tar.gz.

File metadata

  • Download URL: betabernsum-0.1.1.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.4

File hashes

Hashes for betabernsum-0.1.1.tar.gz
Algorithm Hash digest
SHA256 db25da7ebaade125281be04bd1efae38977d98c1e239db954c1dd64dcf321c10
MD5 89badbdddb1b44065b3d625e1f5a749e
BLAKE2b-256 59bc32bf46b4948c9d0efa50a2827203f3de3b1a86ebdbc38d812de135af2eda

See more details on using hashes here.

File details

Details for the file betabernsum-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: betabernsum-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 6.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.4

File hashes

Hashes for betabernsum-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1822d3345e1dbcf782bf0022f1d3697b83e75a0c54096974551e3b1b0133e2aa
MD5 aa6dbbc2e9f08c56cb0bc7e039cb52aa
BLAKE2b-256 aa82360c6adf801808bf0fbede46b62f11319fa8d65d1244a44966dd9b545ee5

See more details on using hashes here.

Supported by

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