Package: ExactVaRTest 0.1.3
ExactVaRTest: Exact Finite-Sample Value-at-Risk Back-Testing
Provides fast dynamic-programming algorithms in 'C++'/'Rcpp' (with pure 'R' fallbacks) for the exact finite-sample distributions and p-values of Christoffersen (1998) independence (IND) and conditional-coverage (CC) VaR backtests. For completeness, it also provides the exact unconditional-coverage (UC) test following Kupiec (1995) via a closed-form binomial enumeration. See Christoffersen (1998) <doi:10.2307/2527341> and Kupiec (1995) <doi:10.3905/jod.1995.407942>.
Authors:
ExactVaRTest_0.1.3.tar.gz
ExactVaRTest_0.1.3.zip(r-4.7-x86_64)ExactVaRTest_0.1.3.zip(r-4.7-arm64)ExactVaRTest_0.1.3.zip(r-4.6-x86_64)ExactVaRTest_0.1.3.zip(r-4.6-arm64)ExactVaRTest_0.1.3.zip(r-4.5-x86_64)
ExactVaRTest_0.1.3.tgz(r-4.6-x86_64)ExactVaRTest_0.1.3.tgz(r-4.6-arm64)ExactVaRTest_0.1.3.tgz(r-4.5-x86_64)ExactVaRTest_0.1.3.tgz(r-4.5-arm64)
ExactVaRTest_0.1.3.tar.gz(r-4.7-arm64)ExactVaRTest_0.1.3.tar.gz(r-4.7-x86_64)ExactVaRTest_0.1.3.tar.gz(r-4.6-arm64)ExactVaRTest_0.1.3.tar.gz(r-4.6-x86_64)
ExactVaRTest_0.1.3.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
ExactVaRTest/json (API)
| # Install 'ExactVaRTest' in R: |
| install.packages('ExactVaRTest', repos = c('https://yujianchen219.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/yujianchen219/exactvartest/issues
backtesting-toolsdynamic-programmingexact-inferencerisk-managementcpp
Last updated from:c49a920026. Checks:15 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 96 | ||
| linux-devel-x86_64 | OK | 122 | ||
| source / vignettes | OK | 209 | ||
| linux-release-arm64 | OK | 92 | ||
| linux-release-x86_64 | OK | 128 | ||
| macos-release-arm64 | OK | 138 | ||
| macos-release-x86_64 | OK | 329 | ||
| macos-oldrel-arm64 | OK | 127 | ||
| macos-oldrel-x86_64 | OK | 407 | ||
| windows-devel-arm64 | OK | 340 | ||
| windows-devel-x86_64 | OK | 117 | ||
| windows-release-arm64 | OK | 347 | ||
| windows-release-x86_64 | OK | 79 | ||
| windows-oldrel-x86_64 | OK | 85 | ||
| wasm-release | OK | 88 |
Exports:backtest_allbacktest_lrlr_cc_distlr_cc_statlr_ind_distlr_ind_statlr_uc_distlr_uc_statpval_lr_ccpval_lr_indpval_lr_uc
Dependencies:Rcpp
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| ExactVaRTest – Exact Finite-Sample VaR Back-Testing | ExactVaRTest-package ExactVaRTest |
| Exact UC/IND/CC back‑tests in one call | backtest_all |
| Exact finite‑sample back‑test for a VaR exception series | backtest_lr |
| Exact LR_cc (and LR_uc) distribution (auto‑select engine) | lr_cc_dist |
| Christoffersen LR_cc statistic | lr_cc_stat |
| Exact LR_ind distribution (auto‑select engine) | lr_ind_dist |
| Christoffersen LR_ind statistic | lr_ind_stat |
| Exact LR_uc distribution (closed‑form binomial) | lr_uc_dist |
| Christoffersen LR_uc statistic | lr_uc_stat |
| Print method for ExactVaRBacktest | print.ExactVaRBacktest |
| Print method for ExactVaRBacktestAll | print.ExactVaRBacktestAll |
| Exact p-value for LR_cc | pval_lr_cc |
| Exact p-value for LR_ind | pval_lr_ind |
| Exact p-value for LR_uc | pval_lr_uc |
