mvskew: Multivariate skew distribution samplers
This package provides access a set of multivariate distribution samplers. Implemented multivariate distributions are:
- normal
- skew normal
- extended skew normal
- Cauchy
- skew Cauchy
- extended skew Cauchy
- Student T
- skew Student T
- extended skew T
Installation
Tha package is distributed through PyPI:
pip install mvskew
Usage
While the package contains functions to call samplers directly and a broad set
of helper functions, the main feature of the package is the class object
multivariate_samplers, which wraps around all core functionalities provided.
An example to use it:
# Set params
xi = np.ones(10)
Omega = np.diag(np.ones(10))
alpha = np.array([3,2,1,4,5,6,8,5,2,0])
tau = -1
#Sample from a multivariate skew T5 truncated about -1
mvs = multivariate_samplers(distribution='T',disttype='skew', df=5)
mvs.sample(20,xi,Omega,alpha,tau)
References
The skew and extended skew families are described in detail in:
- Azzalini, A., in collaboration with Capitanio, A., The Skew-Normal and Related Families, IMS Monograph series, Cambridge University Press, Cambridge, UK, 2014.
- Azzalini, A. and Dalla Valle, A. The Multivariate Skew-Normal Distribution, Biometrika, Vol. 83, No. 4 (1996), pp. 715-726.
Metadata
Release files for mvskew 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mvskew-0.0.2-py3-none-any.whl | Python 3 | none | any | Details for mvskew-0.0.2-py3-none-any.whl |
Release files / mvskew-0.0.2-py3-none-any.whl
| Download URL | mvskew-0.0.2-py3-none-any.whl |
|---|---|
| Size | 25.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8ff227002f32e90aea24d770d64f778adcab3f079cff21c33840364fc9d586bd
|
|
BLAKE2b-256 checksum How to use checksums |
20f19e46408ece83c39052d6c79671be8d4bc8a6bef8262e1659b9013e3f1bec
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.6.1 requests/2.24.0 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.5
|
Security for mvskew 0.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.