Introduction
In the context of statistics, the Vasicek distribution is a continuous distribution governing the open interval between 0 and 1 with two parameters, namely Rho and P, which is similar to the Beta and Kumaraswamy distributions.
The Vasicek distribution has often been used to describe the portfolio credit loss in the development of Economic Capital models. The py_vsk package is a collection of miscellaneous python functions related to the Vasicek distribution with the intent to make the lives of risk modelers easier.
Core Functions
py_vsk
|-- vsk_mle() : Estimates Vasicek parameters by using MLE.
|-- vsk_imm() : Estimates Vasicek parameters by using indirect moment matching.
|-- vsk_dmm() : Estimates Vasicek parameters by using direct moment matching.
|-- vsk_qbe() : Estimates Vasicek parameters by using quantile-based estimator.
|-- vsk_Rho() : Estimates the Rho parameter by assuming P known and varying.
|-- vsk_pdf() : Calculates the probability density function of Vasicek.
|-- vsk_cdf() : Calculates the probability cumulative function of Vasicek.
|-- vsk_ppf() : Calculates the percentile point function (CDF inverse) of Vasicek.
|-- vsk_rvs() : Generates random numbers following the Vasicek distribution.
|-- get_Rho() : Solves for the Rho parameter such that vsk_cdf(x, Rho, P) = Alpha.
|-- gof_ks() : Performs the Kolmogorov-Smirnov GoF test for the Vasicek distribution.
`-- gof_chisq() : Performs the Chi-Square GoF test for the Vasicek distribution.
Reference
Tasche, Dirk. (2008). The Vasicek Distribution.
Metadata
Release files for py-vsk 0.0.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| py_vsk-0.0.8.tar.gz | 4.6 kB | Without provenance | Details for py_vsk-0.0.8.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| py_vsk-0.0.8-py3-none-any.whl | Python 3 | none | any | Details for py_vsk-0.0.8-py3-none-any.whl |
Total release size: 10.3 kB
Release files / py_vsk-0.0.8.tar.gz
| Download URL | py_vsk-0.0.8.tar.gz |
|---|---|
| Size | 4.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
df42c365fdc08b834172981a9c371db1e3d096f97a554f5aef007f94cc433d9a
|
|
BLAKE2b-256 checksum How to use checksums |
3136cafe359939f4be73fdedc38d0596a71dbf3939d399a05a31443011e1083a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5
|
Release files / py_vsk-0.0.8-py3-none-any.whl
| Download URL | py_vsk-0.0.8-py3-none-any.whl |
|---|---|
| Size | 5.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
30f7042eb6b5a29fbb8ee9a43724f9a751eec1bed1e36ca71942be9286af99ee
|
|
BLAKE2b-256 checksum How to use checksums |
72fdef1cc5ebe9234008944376e61175dd56ea2df12084db786e69ce9843890d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5
|
Security for py-vsk 0.0.8
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.