{
  "_id": "6a1f267fb401979e73421fd3",
  "Package": "RCtest",
  "Title": "Reality Check and Predictive Ability Tests for Forecast\nEvaluation",
  "Authors@R": "c(\nperson(\"Joanna\", \"Jedrzejewska\", , \"j.jedrzejewska3@uw.edu.pl\", role = c(\"aut\", \"cre\"),\ncomment = \"Faculty of Economic Sciences, University of Warsaw, Poland\"),\nperson(\"Krzysztof\", \"Drachal\", , \"kdrachal@wne.uw.edu.pl\", role = \"ctb\",\ncomment = \"Faculty of Economic Sciences, University of Warsaw, Poland\")\n)",
  "Description": "Implements a comprehensive suite of statistical tests for\nevaluating the accuracy of forecasting models against a\nbenchmark. The package is grounded in the reality check\nframework of White (2000) <doi:10.1111/1468-0262.00152>,\nextended by Hansen (2005) <doi:10.1198/073500105000000063> for\nSuperior Predictive Ability (SPA), 'Giacomini' & White (2006)\n<doi:10.1111/j.1468-0262.2006.00718.x> for Conditional\nPredictive Ability (CPA), and 'Corradi' & Swanson (2006)\n<doi:10.1016/j.jeconom.2005.07.026> for predictive density\nevaluation via the 'Kullback'-'Leibler' Information Criterion\n('KLIC') and 'ZP' Quantile Loss test, the Continuous Ranked\nProbability Score ('CRPS') ('Gneiting' & 'Raftery', 2007)\n<doi:10.1198/016214506000001437>, coverage tests ('Kupiec',\n1995) <doi:10.3905/jod.1995.407942>, 'HAC' covariance\nestimation ('Newey' & West, 1987) <doi:10.2307/1913610>, and\nMoving Block Bootstrap resampling ('Kunsch', 1989)\n<doi:10.1214/aos/1176347265>.",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Note": "This research was funded in whole by National Science Centre,\nPoland, grant number 2022/45/B/HS4/00510.",
  "RoxygenNote": "7.3.3",
  "Version": "1.0",
  "Date": "2026-05-29",
  "License": "GPL-3",
  "NeedsCompilation": "no",
  "Author": "Joanna Jedrzejewska [aut, cre] (Faculty of Economic Sciences,\nUniversity of Warsaw, Poland), Krzysztof Drachal [ctb] (Faculty\nof Economic Sciences, University of Warsaw, Poland)",
  "Maintainer": "Joanna Jedrzejewska <j.jedrzejewska3@uw.edu.pl>",
  "Packaged": {
    "Date": "2026-06-02 18:49:55 UTC",
    "User": "root"
  },
  "Language": "en-US",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-06-02 08:20:08 UTC",
  "RemoteUrl": "https://github.com/cran/RCtest",
  "RemoteRef": "HEAD",
  "RemoteSha": "962f5566a52320505b1dc09c1193521ea883b7f0",
  "MD5sum": "e54f6d77dcf7600f691f55f1cf14e5bf",
  "_user": "cran",
  "_type": "src",
  "_file": "RCtest_1.0.tar.gz",
  "_fileid": "31767b3972fd09f36e5bf52016d55b7b35e3901c98f7173cdc67791edb4d0bf3",
  "_filesize": 434011,
  "_sha256": "31767b3972fd09f36e5bf52016d55b7b35e3901c98f7173cdc67791edb4d0bf3",
  "_created": "2026-06-02T18:49:55.000Z",
  "_published": "2026-06-02T18:52:47.070Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79147862171,
      "time": 110,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7366983218"
    },
    {
      "job": 79147862222,
      "time": 132,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7366989011"
    },
    {
      "job": 79147373501,
      "time": 157,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7366939480"
    },
    {
      "job": 79147862246,
      "time": 99,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7366977465"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/26840860978",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/RCtest",
  "_commit": {
    "id": "962f5566a52320505b1dc09c1193521ea883b7f0",
    "author": "Joanna Jedrzejewska <j.jedrzejewska3@uw.edu.pl>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.0\n",
    "time": 1780388408
  },
  "_maintainer": {
    "name": "Joanna Jedrzejewska",
    "email": "j.jedrzejewska3@uw.edu.pl",
    "login": "joannajedrzejewska",
    "uuid": 145331632
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "gridExtra",
      "role": "Imports"
    },
    {
      "package": "ggrepel",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-23",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "1.0",
      "date": "2026-06-02"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "joannajedrzejewska",
      "count": 1,
      "uuid": 145331632
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/RCtest"
  },
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/RCtest.html",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.0",
      "date": "2026-06-02"
    }
  ],
  "_exports": [
    "compute_crps",
    "compute_klic",
    "compute_kupiec",
    "compute_per_model_statistics",
    "compute_zp",
    "create_unified_summary",
    "estimate_forecast_variance",
    "estimate_long_run_covariance",
    "extract_and_flatten_results_aggregated",
    "generate_comprehensive_report",
    "kullback_leibler_test",
    "mbb_resample_data",
    "plot_cumulative_loss",
    "plot_density_forecast",
    "plot_performance_metrics",
    "reality_check_zp_test",
    "run_comprehensive_erc_analysis",
    "superior_predictive_ability_test",
    "white_reality_check",
    "white_reality_check_cdf_approx",
    "white_reality_check_conditional"
  ],
  "_datasets": [
    {
      "name": "metals",
      "title": "Forecasts of Base Metals Prices",
      "object": "metals",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [
        "BDMM-SS",
        "BDMM-NR",
        "BDMM-K",
        "DMA",
        "DMS",
        "DMA-K",
        "B-LASSO",
        "B-RIDGE",
        "BMA",
        "BMS",
        "TVP-REG",
        "TVP-K",
        "AR_1",
        "Lin_reg",
        "HA"
      ],
      "rows": 165,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "compute_crps",
      "title": "Compute Continuous Ranked Probability Score (CRPS)",
      "topics": [
        "compute_crps"
      ]
    },
    {
      "page": "compute_klic",
      "title": "Compute Kullback-Leibler Information Criterion (KLIC) Negative Log-Likelihood Scores",
      "topics": [
        "compute_klic"
      ]
    },
    {
      "page": "compute_kupiec",
      "title": "Value-at-Risk (VaR) Unconditional Coverage Test (Kupiec)",
      "topics": [
        "compute_kupiec"
      ]
    },
    {
      "page": "compute_per_model_statistics",
      "title": "Per-Model Diebold-Mariano Test (HAC + MBB Bootstrap)",
      "topics": [
        "compute_per_model_statistics"
      ]
    },
    {
      "page": "compute_zp",
      "title": "Compute ZP Quantile Loss",
      "topics": [
        "compute_zp"
      ]
    },
    {
      "page": "create_unified_summary",
      "title": "Create Unified Summary",
      "topics": [
        "create_unified_summary"
      ]
    },
    {
      "page": "estimate_forecast_variance",
      "title": "Estimate Forecast Variance via Rolling Window",
      "topics": [
        "estimate_forecast_variance"
      ]
    },
    {
      "page": "estimate_long_run_covariance",
      "title": "Long-Run Covariance Estimator via Bartlett Kernel (HAC)",
      "topics": [
        "estimate_long_run_covariance"
      ]
    },
    {
      "page": "extract_and_flatten_results_aggregated",
      "title": "Flatten Results for Export",
      "topics": [
        "extract_and_flatten_results_aggregated"
      ]
    },
    {
      "page": "generate_comprehensive_report",
      "title": "Generate Comprehensive Markdown Report",
      "topics": [
        "generate_comprehensive_report"
      ]
    },
    {
      "page": "kullback_leibler_test",
      "title": "Kullback-Leibler Information Criterion (KLIC) Test",
      "topics": [
        "kullback_leibler_test"
      ]
    },
    {
      "page": "mbb_resample_data",
      "title": "Moving Block Bootstrap (MBB) Resampler",
      "topics": [
        "mbb_resample_data"
      ]
    },
    {
      "page": "metals",
      "title": "Forecasts of Base Metals Prices",
      "topics": [
        "metals"
      ]
    },
    {
      "page": "plot_cumulative_loss",
      "title": "Plot Cumulative Loss Differences",
      "topics": [
        "plot_cumulative_loss"
      ]
    },
    {
      "page": "plot_density_forecast",
      "title": "Plot Density Forecast",
      "topics": [
        "plot_density_forecast"
      ]
    },
    {
      "page": "plot_performance_metrics",
      "title": "Plot Performance Metrics Comparison",
      "topics": [
        "plot_performance_metrics"
      ]
    },
    {
      "page": "reality_check_zp_test",
      "title": "ZP Quantile Loss Reality Check Test",
      "topics": [
        "reality_check_zp_test"
      ]
    },
    {
      "page": "run_comprehensive_erc_analysis",
      "title": "Run Comprehensive Forecast Evaluation Analysis",
      "topics": [
        "run_comprehensive_erc_analysis"
      ]
    },
    {
      "page": "superior_predictive_ability_test",
      "title": "Superior Predictive Ability (SPA) Test",
      "topics": [
        "superior_predictive_ability_test"
      ]
    },
    {
      "page": "white_reality_check",
      "title": "White's Reality Check (WRC)",
      "topics": [
        "white_reality_check"
      ]
    },
    {
      "page": "white_reality_check_cdf_approx",
      "title": "White's Reality Check via Expected Loss CDF Comparison (CDF-RC)",
      "topics": [
        "white_reality_check_cdf_approx"
      ]
    },
    {
      "page": "white_reality_check_conditional",
      "title": "Conditional Predictive Ability (CPA) Reality Check Test",
      "topics": [
        "white_reality_check_conditional"
      ]
    }
  ],
  "_rundeps": [
    "cli",
    "cpp11",
    "farver",
    "ggplot2",
    "ggrepel",
    "glue",
    "gridExtra",
    "gtable",
    "isoband",
    "labeling",
    "lifecycle",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "rlang",
    "S7",
    "scales",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_score": 1,
  "_indexed": false,
  "_nocasepkg": "rctest",
  "_universes": [
    "cran",
    "joannajedrzejewska"
  ],
  "_indexurl": "https://joannajedrzejewska.r-universe.dev/RCtest",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0",
      "date": "2026-06-02T18:51:50.000Z",
      "distro": "noble",
      "commit": "962f5566a52320505b1dc09c1193521ea883b7f0",
      "fileid": "4b74ee1f9354e3f5a79729440af96aa0d1706286fa1b782d7357f5e7bed953f4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26840860978"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0",
      "date": "2026-06-02T18:52:02.000Z",
      "distro": "noble",
      "commit": "962f5566a52320505b1dc09c1193521ea883b7f0",
      "fileid": "2219cf2f85e78d2df83d6c26758c6aece457f9ed25ebcd3eb44af76d54043cba",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26840860978"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0",
      "date": "2026-06-02T18:51:57.000Z",
      "commit": "962f5566a52320505b1dc09c1193521ea883b7f0",
      "fileid": "2153dcfade57b24b786bbbaf5d46a6dc0897e578c879ed901c7b05628e03bd71",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26840860978"
    }
  ]
}