{
  "_id": "6aa98fb5ea78b3e62eac7f7b",
  "Package": "ardldml",
  "Type": "Package",
  "Title": "Bounds Testing for Cointegration with Many Persistent Controls",
  "Version": "0.1.0",
  "Authors@R": "person(\"Merwan\", \"Roudane\",\nemail = \"merwanroudane920@gmail.com\",\nrole  = c(\"aut\", \"cre\", \"cph\"))",
  "Description": "An implementation of the DML-Bounds procedure of Villena\n(2026) <doi:10.2139/ssrn.6472826> for testing cointegration in\ndata-rich time-series settings. The Autoregressive Distributed\nLag (ARDL) bounds test of Pesaran, Shin and Smith (2001)\n<doi:10.1002/jae.616> avoids pretesting the integration order\nof the regressors but is not designed for a high-dimensional\nconditioning set. Residualising the lagged levels against\npersistent controls can absorb stochastic trends and thereby\nchange the finite-sample null distribution, so what governs the\nnull is the effective number of stochastic trends surviving\nresidualisation rather than the integration order of the\noriginal regressors. The procedure combines h-block\ncross-fitting, a balanced nuisance projection in the Double\nMachine Learning (DML) style of Chernozhukov and others (2018)\n<doi:10.1111/ectj.12097>, adaptive weighting after Zou (2006)\n<doi:10.1198/016214506000000735>, and a restricted system wild\nbootstrap that regenerates the dependent variable and the focal\nregressor jointly. No critical-value table is shipped: the\nclassical bracket is regenerated by simulation and the\noperational critical value is bootstrapped. A trend-absorption\ndiagnostic and a penalty-sensitivity sweep report whether a\nverdict survives a change of conditioning set. Monthly United\nStates macroeconomic series from the 'FRED-MD' database of\nMcCracken and Ng (2016) <doi:10.1080/07350015.2015.1086655> are\nbundled so every example runs offline.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Language": "en-GB",
  "VignetteBuilder": "knitr",
  "LazyData": "true",
  "RoxygenNote": "7.3.3",
  "URL": "https://github.com/merwanroudane/ardldml",
  "BugReports": "https://github.com/merwanroudane/ardldml/issues",
  "Config/testthat/edition": "3",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-09-15 18:31:37 UTC",
    "User": "root"
  },
  "Author": "Merwan Roudane [aut, cre, cph]",
  "Maintainer": "Merwan Roudane <merwanroudane920@gmail.com>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-09-15 12:20:09 UTC",
  "RemoteUrl": "https://github.com/cran/ardldml",
  "RemoteRef": "HEAD",
  "RemoteSha": "96545b448e1ff181ce549ff8220ca89e80e631fa",
  "_user": "cran",
  "_type": "src",
  "_file": "ardldml_0.1.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/e3b7a79184c0c5c3148b1bbfa4ccdb53e29fd6fe3a0c697c56d4a7e8af942d72",
  "_filesize": 598307,
  "_sha256": "e3b7a79184c0c5c3148b1bbfa4ccdb53e29fd6fe3a0c697c56d4a7e8af942d72",
  "_expires": "2026-12-24T18:34:27.000Z",
  "_created": "2026-09-15T18:31:37.000Z",
  "_published": "2026-09-15T18:34:29.595Z",
  "_jobs": [
    {
      "job": 104512720354,
      "time": 136,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "10411294877"
    },
    {
      "job": 104512720455,
      "time": 132,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "10412054584"
    },
    {
      "job": 104511511469,
      "time": 204,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10412985135"
    },
    {
      "job": 104512720425,
      "time": 121,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "10411444402"
    },
    {
      "job": 104512720530,
      "time": 69,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "10412650825"
    },
    {
      "job": 104512720413,
      "time": 84,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "10411584096"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/35007655383",
  "_status": "success",
  "_upstream": "https://github.com/cran/ardldml",
  "_commit": {
    "id": "96545b448e1ff181ce549ff8220ca89e80e631fa",
    "author": "Merwan Roudane <merwanroudane920@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.1.0\n",
    "time": 1789474809
  },
  "_maintainer": {
    "name": "Merwan Roudane",
    "email": "merwanroudane920@gmail.com"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "glmnet",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "grDevices",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "tseries",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-38",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.1.0",
      "date": "2026-09-15"
    }
  ],
  "_stars": 0,
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 631,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/ardldml"
  },
  "_devurl": "https://github.com/merwanroudane/ardldml",
  "_searchresults": 0,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/ardldml.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "LICENSE"
  ],
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2026-09-15"
    }
  ],
  "_exports": [
    "absorption_verdict",
    "adaptive_post_lasso",
    "ardl_colors",
    "bounds_verdict",
    "build_balanced_design",
    "CASE_LABELS",
    "classical_bounds_test",
    "classify_controls",
    "compute_statistic",
    "conditional_ecm",
    "CONTROLS",
    "cross_fit_projection",
    "decision",
    "DEFAULT_INTEGRATED",
    "DEFAULT_LEVELS",
    "dml_bootstrap",
    "dml_bounds",
    "dml_spec",
    "hblock_folds",
    "k_convention_offset",
    "LOG_SERIES",
    "n_restrictions",
    "parula_colors",
    "passthrough_regime",
    "PASSTHROUGH_REGIMES",
    "PENALTY_RULES",
    "penalty_sensitivity",
    "plot_bracket",
    "plugin_penalty",
    "pss_reference",
    "rademacher",
    "REDUCED_DROP",
    "sample_use",
    "sample_use_table",
    "simulate_pss_bounds",
    "trend_absorption",
    "tscv_penalty"
  ],
  "_datasets": [
    {
      "name": "passthrough",
      "title": "Exchange-Rate Pass-Through Data",
      "object": "passthrough",
      "class": [
        "data.frame"
      ],
      "fields": [
        "date",
        "cpi",
        "neer",
        "m2",
        "ffr",
        "ip",
        "unrate",
        "oil",
        "gs10",
        "baa"
      ],
      "rows": 576,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "adaptive_post_lasso",
      "title": "Adaptive Post-LASSO",
      "topics": [
        "adaptive_post_lasso"
      ]
    },
    {
      "page": "ardl_colors",
      "title": "Colours Used by the Package's Figures",
      "topics": [
        "ardl_colors"
      ]
    },
    {
      "page": "bounds_verdict",
      "title": "Mark a Statistic Against a Pair of Bounds",
      "topics": [
        "bounds_verdict"
      ]
    },
    {
      "page": "build_balanced_design",
      "title": "Build the Balanced First-Stage Design",
      "topics": [
        "build_balanced_design",
        "print.ardl_design"
      ]
    },
    {
      "page": "CASE_LABELS",
      "title": "Deterministic Case Labels",
      "topics": [
        "CASE_LABELS"
      ]
    },
    {
      "page": "classical_bounds_test",
      "title": "The Classical Bounds Test",
      "topics": [
        "classical_bounds_test"
      ]
    },
    {
      "page": "classify_controls",
      "title": "Split the Control Set into Stationary and Integrated Blocks",
      "topics": [
        "classify_controls"
      ]
    },
    {
      "page": "compute_statistic",
      "title": "Build the Design, Cross-Fit, Residualise and Test",
      "topics": [
        "compute_statistic"
      ]
    },
    {
      "page": "conditional_ecm",
      "title": "Fit the Unrestricted Conditional Error Correction Model",
      "topics": [
        "conditional_ecm"
      ]
    },
    {
      "page": "CONTROLS",
      "title": "The Seven Controls of the Full Conditioning Set",
      "topics": [
        "CONTROLS"
      ]
    },
    {
      "page": "cross_fit_projection",
      "title": "Cross-Fitted Projection",
      "topics": [
        "cross_fit_projection"
      ]
    },
    {
      "page": "decision",
      "title": "Verdict of a Fitted Test",
      "topics": [
        "decision"
      ]
    },
    {
      "page": "DEFAULT_INTEGRATED",
      "title": "Controls Treated as Integrated of Order One",
      "topics": [
        "DEFAULT_INTEGRATED"
      ]
    },
    {
      "page": "DEFAULT_LEVELS",
      "title": "Significance Levels Reported by Default",
      "topics": [
        "DEFAULT_LEVELS"
      ]
    },
    {
      "page": "dml_bootstrap",
      "title": "The Restricted System Wild Bootstrap",
      "topics": [
        "dml_bootstrap"
      ]
    },
    {
      "page": "dml_bounds",
      "title": "Test for a Long-Run Relationship with Many Persistent Controls",
      "topics": [
        "dml_bounds",
        "print.dml_bounds",
        "summary.dml_bounds"
      ]
    },
    {
      "page": "dml_spec",
      "title": "Specification of a DML-Bounds Fit",
      "topics": [
        "dml_spec",
        "print.dml_spec"
      ]
    },
    {
      "page": "hblock_folds",
      "title": "h-Block Cross-Fitting Folds",
      "topics": [
        "as.data.frame.ardl_folds",
        "hblock_folds",
        "print.ardl_folds"
      ]
    },
    {
      "page": "k_convention_offset",
      "title": "The k-Convention Offset",
      "topics": [
        "k_convention_offset"
      ]
    },
    {
      "page": "LOG_SERIES",
      "title": "Series Transformed to Logs",
      "topics": [
        "LOG_SERIES"
      ]
    },
    {
      "page": "n_restrictions",
      "title": "Number of Restrictions in the Bounds Test",
      "topics": [
        "n_restrictions"
      ]
    },
    {
      "page": "parula_colors",
      "title": "MATLAB Parula Color Palette",
      "topics": [
        "parula_colors"
      ]
    },
    {
      "page": "passthrough",
      "title": "Exchange-Rate Pass-Through Data",
      "topics": [
        "passthrough"
      ]
    },
    {
      "page": "passthrough_regime",
      "title": "Load a Regime of the Pass-Through Data",
      "topics": [
        "passthrough_regime"
      ]
    },
    {
      "page": "PASSTHROUGH_REGIMES",
      "title": "The Four Monetary Regimes",
      "topics": [
        "PASSTHROUGH_REGIMES"
      ]
    },
    {
      "page": "PENALTY_RULES",
      "title": "Penalty Rules of the Robustness Grid",
      "topics": [
        "PENALTY_RULES"
      ]
    },
    {
      "page": "penalty_sensitivity",
      "title": "Sweep the Penalty and the Projection",
      "topics": [
        "penalty_sensitivity"
      ]
    },
    {
      "page": "plot_bracket",
      "title": "Plot the Trend-Absorption Bracket",
      "topics": [
        "plot_bracket"
      ]
    },
    {
      "page": "plot.dml_bounds",
      "title": "Plot the Simulated Null of a Fitted Test",
      "topics": [
        "plot.dml_bounds"
      ]
    },
    {
      "page": "plugin_penalty",
      "title": "The Plug-In Penalty",
      "topics": [
        "plugin_penalty"
      ]
    },
    {
      "page": "print.classical_bounds",
      "title": "Print a Classical Bounds Test",
      "topics": [
        "print.classical_bounds"
      ]
    },
    {
      "page": "pss_reference",
      "title": "Published Bounds for a Validated Cell",
      "topics": [
        "pss_reference"
      ]
    },
    {
      "page": "rademacher",
      "title": "Rademacher Weights",
      "topics": [
        "rademacher"
      ]
    },
    {
      "page": "REDUCED_DROP",
      "title": "Controls Dropped to Form the Reduced Set",
      "topics": [
        "REDUCED_DROP"
      ]
    },
    {
      "page": "sample_use",
      "title": "Share of the Sample Available for Training",
      "topics": [
        "sample_use"
      ]
    },
    {
      "page": "sample_use_table",
      "title": "Training Share Across a Grid of K and h",
      "topics": [
        "sample_use_table"
      ]
    },
    {
      "page": "simulate_pss_bounds",
      "title": "Generate the Classical Bounds by Simulation",
      "topics": [
        "simulate_pss_bounds"
      ]
    },
    {
      "page": "trend_absorption",
      "title": "The Trend-Absorption Diagnostic",
      "topics": [
        "absorption_verdict",
        "as.data.frame.trend_absorption",
        "print.trend_absorption",
        "trend_absorption"
      ]
    },
    {
      "page": "tscv_penalty",
      "title": "Rolling-Origin Cross-Validation for the Penalty",
      "topics": [
        "tscv_penalty"
      ]
    }
  ],
  "_rundeps": [
    "codetools",
    "foreach",
    "glmnet",
    "iterators",
    "lattice",
    "Matrix",
    "Rcpp",
    "RcppEigen",
    "shape",
    "survival"
  ],
  "_vignettes": [
    {
      "source": "ardldml.Rmd",
      "filename": "ardldml.html",
      "title": "Bounds testing when the controls carry trends",
      "author": "Dr Merwan Roudane",
      "engine": "knitr::rmarkdown",
      "headings": [
        "What this package is for",
        "The second unknown",
        "Why no bounds table ships with this package",
        "The data",
        "A first fit",
        "The diagnostic you must run",
        "Penalty sensitivity",
        "Where the critical values come from",
        "Validation",
        "Limitations",
        "References"
      ],
      "created": "2026-09-15 12:20:09",
      "modified": "2026-09-15 12:20:09",
      "commits": 1
    }
  ],
  "_score": 2,
  "_indexed": true,
  "_nocasepkg": "ardldml",
  "_universes": [
    "cran",
    "merwanroudane"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-09-15T18:33:50.000Z",
      "distro": "resolute",
      "commit": "96545b448e1ff181ce549ff8220ca89e80e631fa",
      "fileid": "https://r2.ropensci.org/ee12a1afef3644c1ac8bd00b6e592e1f94d9458201def7f2b7d3ed463e12f746",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/35007655383"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-09-15T18:33:45.000Z",
      "distro": "resolute",
      "commit": "96545b448e1ff181ce549ff8220ca89e80e631fa",
      "fileid": "https://r2.ropensci.org/f41ea26b94c96d0fdcf9f27d516812673315379bb2347eb639ef2e97999c1c3a",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/35007655383"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-09-15T18:33:53.000Z",
      "commit": "96545b448e1ff181ce549ff8220ca89e80e631fa",
      "fileid": "https://r2.ropensci.org/75548fa61db03a6a87b69c8a6b4fa529e7286f159a1f740242b30bef75edb86f",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/35007655383"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-09-15T18:32:39.000Z",
      "commit": "96545b448e1ff181ce549ff8220ca89e80e631fa",
      "fileid": "https://r2.ropensci.org/4087bdf110b8f2fdc678f6e85830b2dd79974f02e8eeae4824ebb098052488dc",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/35007655383"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-09-15T18:32:53.000Z",
      "commit": "96545b448e1ff181ce549ff8220ca89e80e631fa",
      "fileid": "https://r2.ropensci.org/3e56238beef93e66b0d71f8304caca0ff3638ee2bdfd374c82eddbb33af3217d",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/35007655383"
    }
  ]
}