{
  "_id": "6afd7fbb8c54a69a6a5604b0",
  "Package": "ExactVaRTest",
  "Title": "Exact Finite-Sample Value-at-Risk Back-Testing",
  "Version": "0.1.3",
  "Language": "en-US",
  "Authors@R": "person(\"Yujian\", \"Chen\",\nemail = \"yjc4996@gmail.com\",\nrole  = c(\"aut\", \"cre\"))",
  "Maintainer": "Yujian Chen <yjc4996@gmail.com>",
  "Description": "Provides fast dynamic-programming algorithms in\n'C++'/'Rcpp' (with pure 'R' fallbacks) for the exact\nfinite-sample distributions and p-values of Christoffersen\n(1998) independence (IND) and conditional-coverage (CC) VaR\nbacktests. For completeness, it also provides the exact\nunconditional-coverage (UC) test following Kupiec (1995) via a\nclosed-form binomial enumeration. See Christoffersen (1998)\n<doi:10.2307/2527341> and Kupiec (1995)\n<doi:10.3905/jod.1995.407942>.",
  "License": "GPL (>= 3)",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "URL": "https://github.com/YujianCHEN219/ExactVaRTest",
  "BugReports": "https://github.com/YujianCHEN219/ExactVaRTest/issues",
  "Acknowledgements": "I greatly appreciate Christian Francq, Christophe\nHurlin, and Jean-Michel Zakoian's guidance and support. In\nparticular, Christian Francq generously shared the initial\nidea; without his help, this package would not exist.",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "Repository": "https://yujianchen219.r-universe.dev",
  "Date/Publication": "2025-08-25 12:36:52 UTC",
  "RemoteUrl": "https://github.com/yujianchen219/exactvartest",
  "RemoteRef": "HEAD",
  "RemoteSha": "c49a9200263f90a6f28fba9282b9a68c3e43ad73",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-11-18 09:48:09 UTC",
    "User": "root"
  },
  "Author": "Yujian Chen [aut, cre]",
  "_user": "yujianchen219",
  "_type": "src",
  "_file": "ExactVaRTest_0.1.3.tar.gz",
  "_fileid": "https://r2.ropensci.org/cd7bada1593120f37b042f7b16bf1bb3f9117cd150bb3f04b1fedf7c6db48e1c",
  "_filesize": 190965,
  "_sha256": "cd7bada1593120f37b042f7b16bf1bb3f9117cd150bb3f04b1fedf7c6db48e1c",
  "_expires": "2027-02-26T10:36:42.000Z",
  "_created": "2026-11-18T09:48:09.000Z",
  "_published": "2026-11-20T04:11:27.410Z",
  "_upstream": "https://github.com/yujianchen219/exactvartest",
  "_status": "success",
  "_maintainer": {
    "name": "Yujian Chen",
    "email": "yjc4996@gmail.com",
    "login": "yujianchen219",
    "description": "",
    "uuid": 187148923
  },
  "_jobs": [
    {
      "job": 134715741009,
      "time": 96,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14414724736"
    },
    {
      "job": 134715740907,
      "time": 122,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14415867454"
    },
    {
      "job": 134715740984,
      "time": 92,
      "config": "linux-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14414814543"
    },
    {
      "job": 134715740891,
      "time": 128,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14416970081"
    },
    {
      "job": 134715740989,
      "time": 127,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14420205547"
    },
    {
      "job": 134715740922,
      "time": 407,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14415933267"
    },
    {
      "job": 134715740939,
      "time": 138,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14418700107"
    },
    {
      "job": 134715740916,
      "time": 329,
      "config": "macos-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14417670017"
    },
    {
      "job": 134713829445,
      "time": 209,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14416002368"
    },
    {
      "job": 134715740847,
      "time": 88,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "14416601715"
    },
    {
      "job": 134715740981,
      "time": 340,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14416102837"
    },
    {
      "job": 134715740948,
      "time": 117,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14416336660"
    },
    {
      "job": 134715740908,
      "time": 85,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14416636314"
    },
    {
      "job": 134715740942,
      "time": 347,
      "config": "windows-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14415979085"
    },
    {
      "job": 134715741261,
      "time": 79,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14416595985"
    }
  ],
  "_buildurl": "https://github.com/r-universe/yujianchen219/actions/runs/44278790035",
  "_commit": {
    "id": "c49a9200263f90a6f28fba9282b9a68c3e43ad73",
    "author": "Yujian Chen <yjc4996@gmail.com>",
    "committer": "Yujian Chen <yjc4996@gmail.com>",
    "message": "CRAN now\n",
    "time": 1756125412
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "bench",
      "role": "Suggests"
    },
    {
      "package": "dplyr",
      "role": "Suggests"
    },
    {
      "package": "tidyr",
      "role": "Suggests"
    },
    {
      "package": "purrr",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "xts",
      "role": "Suggests"
    },
    {
      "package": "quantmod",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "yujianchen219",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_topics": [
    "backtesting-tools",
    "dynamic-programming",
    "exact-inference",
    "risk-management",
    "cpp"
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "yujianchen219",
      "count": 38,
      "uuid": 187148923
    }
  ],
  "_userbio": {
    "uuid": 187148923,
    "type": "user",
    "name": "Yujian Chen",
    "followers": 0
  },
  "_downloads": {
    "count": 463,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/ExactVaRTest"
  },
  "_devurl": "https://github.com/yujianchen219/exactvartest",
  "_abi": {
    "exports": [],
    "imports": [
      {
        "key": "Rcpp::Rcpp_precious_preserve()",
        "hash": "33a97ea62b293da6"
      },
      {
        "key": "Rcpp::Rcpp_precious_remove()",
        "hash": "63d26947ba7e1377"
      },
      {
        "key": "Rcpp::dataptr()",
        "hash": "54e69ad2e6668c83"
      },
      {
        "key": "Rcpp::demangle()",
        "hash": "b0cfd6754c5ebc4e"
      },
      {
        "key": "Rcpp::enterRNGScope()",
        "hash": "a04a299137cef947"
      },
      {
        "key": "Rcpp::exitRNGScope()",
        "hash": "a04a299137cef947"
      },
      {
        "key": "Rcpp::rcpp_get_stack_trace()",
        "hash": "c684a9bbe15cdc52"
      },
      {
        "key": "Rcpp::rcpp_set_stack_trace()",
        "hash": "33a97ea62b293da6"
      }
    ]
  },
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/ExactVaRTest.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/yujianchen219/exactvartest",
  "_realowner": "yujianchen219",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.3",
      "date": "2025-08-22"
    }
  ],
  "_exports": [
    "backtest_all",
    "backtest_lr",
    "lr_cc_dist",
    "lr_cc_stat",
    "lr_ind_dist",
    "lr_ind_stat",
    "lr_uc_dist",
    "lr_uc_stat",
    "pval_lr_cc",
    "pval_lr_ind",
    "pval_lr_uc"
  ],
  "_help": [
    {
      "page": "ExactVaRTest-package",
      "title": "ExactVaRTest – Exact Finite-Sample VaR Back-Testing",
      "topics": [
        "ExactVaRTest-package",
        "ExactVaRTest"
      ]
    },
    {
      "page": "backtest_all",
      "title": "Exact UC/IND/CC back‑tests in one call",
      "topics": [
        "backtest_all"
      ]
    },
    {
      "page": "backtest_lr",
      "title": "Exact finite‑sample back‑test for a VaR exception series",
      "topics": [
        "backtest_lr"
      ]
    },
    {
      "page": "lr_cc_dist",
      "title": "Exact LR_cc (and LR_uc) distribution (auto‑select engine)",
      "topics": [
        "lr_cc_dist"
      ]
    },
    {
      "page": "lr_cc_stat",
      "title": "Christoffersen LR_cc statistic",
      "topics": [
        "lr_cc_stat"
      ]
    },
    {
      "page": "lr_ind_dist",
      "title": "Exact LR_ind distribution (auto‑select engine)",
      "topics": [
        "lr_ind_dist"
      ]
    },
    {
      "page": "lr_ind_stat",
      "title": "Christoffersen LR_ind statistic",
      "topics": [
        "lr_ind_stat"
      ]
    },
    {
      "page": "lr_uc_dist",
      "title": "Exact LR_uc distribution (closed‑form binomial)",
      "topics": [
        "lr_uc_dist"
      ]
    },
    {
      "page": "lr_uc_stat",
      "title": "Christoffersen LR_uc statistic",
      "topics": [
        "lr_uc_stat"
      ]
    },
    {
      "page": "print.ExactVaRBacktest",
      "title": "Print method for ExactVaRBacktest",
      "topics": [
        "print.ExactVaRBacktest"
      ]
    },
    {
      "page": "print.ExactVaRBacktestAll",
      "title": "Print method for ExactVaRBacktestAll",
      "topics": [
        "print.ExactVaRBacktestAll"
      ]
    },
    {
      "page": "pval_lr_cc",
      "title": "Exact p-value for LR_cc",
      "topics": [
        "pval_lr_cc"
      ]
    },
    {
      "page": "pval_lr_ind",
      "title": "Exact p-value for LR_ind",
      "topics": [
        "pval_lr_ind"
      ]
    },
    {
      "page": "pval_lr_uc",
      "title": "Exact p-value for LR_uc",
      "topics": [
        "pval_lr_uc"
      ]
    }
  ],
  "_readme": "https://github.com/yujianchen219/exactvartest/raw/HEAD/README.md",
  "_rundeps": [
    "Rcpp"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "ExactVaRTest-intro.Rmd",
      "filename": "ExactVaRTest-intro.html",
      "title": "ExactVaRTest-intro",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Algorithm",
        "Test statistic",
        "State representation",
        "One-step recursion",
        "Pruning",
        "Conditional-coverage statistic (\\mathrm{LR}_{\\text{cc}})",
        "Performance",
        "Distribution comparison",
        "Size distortion",
        "Rolling back-test on real data",
        "Finite-sample Critical Values Table",
        "Backtesting CoVaR with random P′∼ Binomial(P, α′)"
      ],
      "created": "2025-07-16 22:16:06",
      "modified": "2025-07-24 19:23:20",
      "commits": 5
    }
  ],
  "_score": 3.6989700043360187,
  "_indexed": true,
  "_nocasepkg": "exactvartest",
  "_universes": [
    "yujianchen219"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.3",
      "date": "2026-11-18T09:49:50.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "c49a9200263f90a6f28fba9282b9a68c3e43ad73",
      "fileid": "https://r2.ropensci.org/25214f69628925b00e7d370f3ae69f3b75476f98979be329c8537d46b2b019a9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yujianchen219/actions/runs/44278790035"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.3",
      "date": "2026-11-18T09:50:12.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "c49a9200263f90a6f28fba9282b9a68c3e43ad73",
      "fileid": "https://r2.ropensci.org/3f52a26852edf0e840bf8f81ee19449e68be2ab42ee72292a14d1b74a9630325",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yujianchen219/actions/runs/44278790035"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.1.3",
      "date": "2026-11-18T09:49:50.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "c49a9200263f90a6f28fba9282b9a68c3e43ad73",
      "fileid": "https://r2.ropensci.org/c939000e5c557754f8e11145524a8ffae48598cef470ad74dfd49fc60b1f6ebb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yujianchen219/actions/runs/44278790035"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.1.3",
      "date": "2026-11-18T09:50:18.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "c49a9200263f90a6f28fba9282b9a68c3e43ad73",
      "fileid": "https://r2.ropensci.org/386b75b2b130ca37a9386f264cc13bec656c967dea618d9db2e1214cf1345548",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yujianchen219/actions/runs/44278790035"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.3",
      "date": "2026-11-18T10:35:54.000Z",
      "arch": "aarch64",
      "commit": "c49a9200263f90a6f28fba9282b9a68c3e43ad73",
      "fileid": "https://r2.ropensci.org/ff9924ab56058fbd718a02b2e0db8bb525d8b25588644b2685cd7e8cfa631e4b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yujianchen219/actions/runs/44278790035"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.3",
      "date": "2026-11-18T09:55:07.000Z",
      "arch": "x86_64",
      "commit": "c49a9200263f90a6f28fba9282b9a68c3e43ad73",
      "fileid": "https://r2.ropensci.org/25f605d3eaff057440d6b6b64d92cf814cbaaa63054765057536ce96bb055df3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yujianchen219/actions/runs/44278790035"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.1.3",
      "date": "2026-11-18T10:07:13.000Z",
      "arch": "aarch64",
      "commit": "c49a9200263f90a6f28fba9282b9a68c3e43ad73",
      "fileid": "https://r2.ropensci.org/4a02207e17f43dee020d659de44203f1254b6ae5020126db4e83e2051cab8b82",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yujianchen219/actions/runs/44278790035"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.1.3",
      "date": "2026-11-18T09:58:49.000Z",
      "arch": "x86_64",
      "commit": "c49a9200263f90a6f28fba9282b9a68c3e43ad73",
      "fileid": "https://r2.ropensci.org/3ace17c3caa1677aa8e84747ff5f22dfed6500ac314678b7bb023ce970825f81",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yujianchen219/actions/runs/44278790035"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.3",
      "date": "2026-11-18T09:49:55.000Z",
      "arch": "emscripten",
      "commit": "c49a9200263f90a6f28fba9282b9a68c3e43ad73",
      "fileid": "https://r2.ropensci.org/238d65820648a7cb9144302fae95a319a88ef8998a1269f988947ca7fa418a3d",
      "status": "success",
      "buildurl": "https://github.com/r-universe/yujianchen219/actions/runs/44278790035"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.3",
      "date": "2026-11-18T09:53:16.000Z",
      "arch": "aarch64",
      "commit": "c49a9200263f90a6f28fba9282b9a68c3e43ad73",
      "fileid": "https://r2.ropensci.org/1d62d647a4f7ef35e91688cea08487197a743ee21b66838c3cdf49839bdaea78",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yujianchen219/actions/runs/44278790035"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.3",
      "date": "2026-11-18T09:49:18.000Z",
      "arch": "x86_64",
      "commit": "c49a9200263f90a6f28fba9282b9a68c3e43ad73",
      "fileid": "https://r2.ropensci.org/67a807d75ad7d9d231c24b83ec5a9dbc0e1ee901bd31893ef58a4ac1565db67c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yujianchen219/actions/runs/44278790035"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.3",
      "date": "2026-11-18T09:49:19.000Z",
      "arch": "x86_64",
      "commit": "c49a9200263f90a6f28fba9282b9a68c3e43ad73",
      "fileid": "https://r2.ropensci.org/60d133697f1d5582f1484bd71d936f61aaab2039b48e759922c87e07cffc2857",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yujianchen219/actions/runs/44278790035"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.1.3",
      "date": "2026-11-18T09:53:10.000Z",
      "arch": "aarch64",
      "commit": "c49a9200263f90a6f28fba9282b9a68c3e43ad73",
      "fileid": "https://r2.ropensci.org/96a357c82c1054ffc954494973b4779c944744cd02a31a95c092482120673c4d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yujianchen219/actions/runs/44278790035"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.1.3",
      "date": "2026-11-18T09:49:17.000Z",
      "arch": "x86_64",
      "commit": "c49a9200263f90a6f28fba9282b9a68c3e43ad73",
      "fileid": "https://r2.ropensci.org/2d5365c17fe5996402b1350d50c220ef56afc7b36a36eaf9c3696f476bffce54",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yujianchen219/actions/runs/44278790035"
    }
  ]
}