Kumaraswamy
A simple implementation of the Kumaraswamy distribution.
How to use
Install it from pip (kumaraswamy only depends on numpy)
pip install kumaraswamy
and it’s ready to use from Python
import kumaraswamy
The package provides one simple class called kumaraswamy, which implements the distribution. It is intended to mimic the API of scipy.stats.
from kumaraswamy import kumaraswamy
d1 = kumaraswamy(a=0.5, b=0.5)
the d1 object now has methods
pdf(x) and logpdf(x)
cdf(x)
rvs(size)
to calculate the probability density function (and its logarithm), the cumulative density function, and to get random samples from the distribution.
Also available are some basic properties specific to the distribution
d1.mean
d1.var
d2.mode # see help(d2.mode) for details
License
Copyright 2018 João Faria.
kumaraswamy is free software made available under the MIT License. For details see the LICENSE file.
Metadata
Release files for kumaraswamy 0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| kumaraswamy-0.2.tar.gz | 5.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| kumaraswamy-0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.8 kB
Release files / kumaraswamy-0.2.tar.gz
| Download URL | kumaraswamy-0.2.tar.gz |
|---|---|
| Size | 5.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8bcfe2831095f69322edf7b37903a76dfaf20a0ac0b52f9d9b5b0fcccfa40d7e
|
|
BLAKE2b-256 checksum How to use checksums |
da291401100a2127a13b0bc8edf07c31b7aa9825f218d6935b55f1c0978e76fb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0.post20210125 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.7.10
|
Release files / kumaraswamy-0.2-py3-none-any.whl
| Download URL | kumaraswamy-0.2-py3-none-any.whl |
|---|---|
| Size | 4.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7fad521a03367a24e19be19bb99a258e13f0ab7540fc2c278afcaecae92d0ef9
|
|
BLAKE2b-256 checksum How to use checksums |
a1c4877805f75e278f972d209999da9d6085356d7e3442668945611dbc5640c7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0.post20210125 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.7.10
|