Skip to main content

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)

Release files for betabernsum 0.1.3

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

Source distribution (sdist)

Source distribution for betabernsum 0.1.3
File Size Uploaded
betabernsum-0.1.3.tar.gz 4.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for betabernsum 0.1.3
File Interpreter ABI Platform
betabernsum-0.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 10.8 kB

Release files / betabernsum-0.1.3.tar.gz

Download URL betabernsum-0.1.3.tar.gz
Size 4.6 kB
Tags Source
SHA-256 checksum
How to use checksums
d922c89fe594e182c182c6923061b2680d979e1bf3384e4ad1e80003e60c0dea
BLAKE2b-256 checksum
How to use checksums
d0612813f0b149b84b551b240f47ce6ac0c8d6bf849f50ff8a9f88d7046458d9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.10

Release files / betabernsum-0.1.3-py3-none-any.whl

Download URL betabernsum-0.1.3-py3-none-any.whl
Size 6.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
31f7f60602058c84eeba3b43bcb5cb33d402542799b59f6a3ea4b5105c560104
BLAKE2b-256 checksum
How to use checksums
ee4b166b197c1cdea31a7de1d8f17370fe7d2ffc90094804e8dbafdfa7ddd831
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.10
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