The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.
An R package implementing the extended Vasicek single-factor credit loss model, where the probability of default depends on macroeconomic covariates. All parameters, including the asset value correlation, are estimated in closed form via probit-transformed OLS.
From CRAN (once published):
install.packages("vasicekfit")Development version from GitHub:
# install.packages("remotes")
remotes::install_github("externalmemory/vasicekfit-cran-package")library(vasicekfit)
set.seed(1)
n <- 500
unemp <- rnorm(n)
hpi <- rnorm(n)
z <- rnorm(n)
y <- pnorm((qnorm(0.03) + 0.13 * unemp - 0.07 * hpi + sqrt(0.05) * z) / sqrt(0.95))
d <- data.frame(default_rate = y, unemp = unemp, hpi = hpi)
fit <- vasicekfit(default_rate ~ unemp + hpi, data = d)
summary(fit)
coef(fit)
confint(fit)Vasicek, O. A. (2002), The distribution of loan portfolio value. Risk, 15(12), 160-162.
Yang, Bill Huajian (2014), Estimating Long-Run PD, Asset Correlation, and Portfolio Level PD by Vasicek Models, MPRA Paper No. 57244 https://mpra.ub.uni-muenchen.de/57244/1/MPRA_paper_57244.pdf
Mayorov, Dmitriy, Macroeconomic Sensitivity in the Vasicek Credit Loss Model: Closed-Form Maximum Likelihood Estimation via OLS (April 01, 2026). Available at SSRN: https://ssrn.com/abstract=6506378 or http://dx.doi.org/10.2139/ssrn.6506378
MIT
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.