{
  "_id": "6a4794eb2f27a93436c0de18",
  "Package": "RSDC",
  "Title": "Regime-Switching Dynamic Correlation Models",
  "Version": "1.5-0",
  "Authors@R": "c(person(\"David\", \"Ardia\", role = c(\"aut\", \"cre\", \"cph\", \"fnd\"),\nemail = \"david.ardia.ch@gmail.com\",\ncomment = c(ORCID = \"0000-0003-2823-782X\")),\nperson(\"Benjamin\", \"Seguin\", role = \"aut\"),\nperson(\"Roosevelt Ymele\", \"Nguemo\", role = \"aut\",\ncomment = c(ORCID = \"0009-0003-9399-6256\")))",
  "Description": "Estimation, forecasting, simulation, and portfolio\nconstruction for regime-switching models with exogenous\nvariables as in Pelletier (2006)\n<doi:10.1016/j.jeconom.2005.01.013>.",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "Language": "en-US",
  "Roxygen": "list(markdown = TRUE)",
  "URL": "https://github.com/ArdiaD/RSDC",
  "BugReports": "https://github.com/ArdiaD/RSDC/issues",
  "Config/testthat/edition": "3",
  "RdMacros": "Rdpack",
  "LazyData": "true",
  "VignetteBuilder": "knitr",
  "Config/roxygen2/version": "8.0.0",
  "Repository": "https://ardiad.r-universe.dev",
  "Date/Publication": "2026-07-02 16:38:20 UTC",
  "RemoteUrl": "https://github.com/ardiad/rsdc",
  "RemoteRef": "HEAD",
  "RemoteSha": "db3bb5e03868afc74404257c83bea6c6649425dd",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-07-02 20:40:11 UTC",
    "User": "root"
  },
  "Author": "David Ardia [aut, cre, cph, fnd] (ORCID:\n<https://orcid.org/0000-0003-2823-782X>),\nBenjamin Seguin [aut],\nRoosevelt Ymele Nguemo [aut] (ORCID:\n<https://orcid.org/0009-0003-9399-6256>)",
  "Maintainer": "David Ardia <david.ardia.ch@gmail.com>",
  "_user": "ardiad",
  "_type": "src",
  "_file": "RSDC_1.5-0.tar.gz",
  "_fileid": "https://r2.ropensci.org/769b3626700f2bf0fe5c1a872dbd8d49c4546334a41eef8bc8cee74c43c5f95f",
  "_filesize": 498825,
  "_sha256": "769b3626700f2bf0fe5c1a872dbd8d49c4546334a41eef8bc8cee74c43c5f95f",
  "_expires": "2026-10-11T10:54:34.000Z",
  "_created": "2026-07-02T20:40:11.000Z",
  "_published": "2026-07-03T10:54:35.561Z",
  "_jobs": [
    {
      "job": 84984862916,
      "time": 202,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8051134687"
    },
    {
      "job": 84984862921,
      "time": 156,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8051117745"
    },
    {
      "job": 84984863210,
      "time": 175,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8051125493"
    },
    {
      "job": 84984863184,
      "time": 156,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8051117147"
    },
    {
      "job": 84984863415,
      "time": 115,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8051101559"
    },
    {
      "job": 84984863250,
      "time": 267,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8051157033"
    },
    {
      "job": 84984863030,
      "time": 99,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8051095794"
    },
    {
      "job": 84984862685,
      "time": 240,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8051147550"
    },
    {
      "job": 84984862669,
      "time": 233,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8051056397"
    },
    {
      "job": 84984862912,
      "time": 170,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8051122016"
    },
    {
      "job": 84984862942,
      "time": 71,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 84984863043,
      "time": 83,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 84984862940,
      "time": 77,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "FAIL",
      "artifact": ""
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/ardiad/actions/runs/28619940493",
  "_status": "success",
  "_upstream": "https://github.com/ardiad/rsdc",
  "_commit": {
    "id": "db3bb5e03868afc74404257c83bea6c6649425dd",
    "author": "Roosevelt NGUEMO <rooseveltnguemo0@gmail.com>",
    "committer": "Roosevelt NGUEMO <rooseveltnguemo0@gmail.com>",
    "message": "Audit polish: input validation, column alignment, docs, dead guards\n\nLow-priority findings from the 1.5-0 audit (L2-L4, L7, L8):\n\n- rsdc_minvar()/rsdc_maxdiv(): detect misaligned y columns when value_cols is\n  character and y has column names - reorder to value_cols (with a warning)\n  when the names match as a set, otherwise warn that positional order is\n  assumed. Previously colnames(y) were silently overwritten. (L2)\n\n- rsdc_forecast_ahead(): validate that X_future has the same number of columns\n  as the estimation covariate matrix X. (L3)\n\n- plot.rsdc_fit(): corrected the error message - stored regime probabilities\n  do not depend on compute_se. (L4)\n\n- Docs: rsdc_corr_bands() documents the truncation of invalid Gaussian draws\n  near parameter bounds. (L8)\n\n- Removed dead requireNamespace(\"mvtnorm\") guards; mvtnorm is a hard Imports\n  dependency. (L7)\n\nR CMD check: Status OK. Test suite: 189 pass, 0 fail.\n\n",
    "time": 1783010300
  },
  "_maintainer": {
    "name": "David Ardia",
    "email": "david.ardia.ch@gmail.com",
    "login": "ardiad",
    "orcid": "0000-0003-2823-782X",
    "description": "Professor in Quantitative Finance",
    "uuid": 11246455
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "Rdpack",
      "version": ">= 2.0",
      "role": "Imports"
    },
    {
      "package": "DEoptim",
      "role": "Imports"
    },
    {
      "package": "mvtnorm",
      "role": "Imports"
    },
    {
      "package": "numDeriv",
      "role": "Imports"
    },
    {
      "package": "generics",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "quadprog",
      "role": "Suggests"
    },
    {
      "package": "Rsolnp",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    }
  ],
  "_owner": "ardiad",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-31",
      "n": 9
    },
    {
      "week": "2025-33",
      "n": 7
    },
    {
      "week": "2025-34",
      "n": 7
    },
    {
      "week": "2025-35",
      "n": 6
    },
    {
      "week": "2026-26",
      "n": 23
    },
    {
      "week": "2026-27",
      "n": 2
    }
  ],
  "_tags": [
    {
      "name": "v1.1-0",
      "date": "2025-08-21"
    },
    {
      "name": "v1.1-2",
      "date": "2025-08-28"
    }
  ],
  "_stars": 2,
  "_contributors": [
    {
      "user": "ardiad",
      "count": 34,
      "uuid": 11246455
    },
    {
      "user": "benjaminseguin",
      "count": 19,
      "uuid": 156557319
    },
    {
      "user": "nryoo",
      "count": 6,
      "uuid": 87915955
    }
  ],
  "_userbio": {
    "uuid": 11246455,
    "type": "user",
    "name": "David Ardia",
    "followers": 155,
    "description": "Professor in Quantitative Finance"
  },
  "_downloads": {
    "count": 209,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/RSDC"
  },
  "_devurl": "https://github.com/ardiad/rsdc",
  "_searchresults": 4,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/RSDC.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/ardiad/rsdc",
  "_realowner": "ardiad",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.1-2",
      "date": "2025-09-03"
    }
  ],
  "_exports": [
    "rsdc_bootstrap",
    "rsdc_corr_bands",
    "rsdc_estimate",
    "rsdc_forecast",
    "rsdc_forecast_ahead",
    "rsdc_hamilton",
    "rsdc_likelihood",
    "rsdc_maxdiv",
    "rsdc_minvar",
    "rsdc_simulate",
    "rsdc_viterbi"
  ],
  "_datasets": [
    {
      "name": "greenbrown",
      "title": "Green vs Brown portfolio dataset",
      "object": "greenbrown",
      "class": [
        "data.frame"
      ],
      "fields": [
        "DATE",
        "return_green",
        "return_brown"
      ],
      "rows": 2266,
      "table": true,
      "tojson": true
    },
    {
      "name": "mccc",
      "title": "Media Climate Change Concerns (MCCC) index",
      "object": "mccc",
      "class": [
        "data.frame"
      ],
      "fields": [
        "DATE",
        "mccc"
      ],
      "rows": 2266,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "augment.rsdc_fit",
      "title": "Augment data with fitted RSDC regime information",
      "topics": [
        "augment.rsdc_fit"
      ]
    },
    {
      "page": "autoplot.rsdc_fit",
      "title": "Plot a fitted RSDC model with 'ggplot2'",
      "topics": [
        "autoplot.rsdc_fit"
      ]
    },
    {
      "page": "glance.rsdc_fit",
      "title": "Glance at a fitted RSDC model",
      "topics": [
        "glance.rsdc_fit"
      ]
    },
    {
      "page": "greenbrown",
      "title": "Green vs Brown portfolio dataset",
      "topics": [
        "greenbrown"
      ]
    },
    {
      "page": "mccc",
      "title": "Media Climate Change Concerns (MCCC) index",
      "topics": [
        "mccc"
      ]
    },
    {
      "page": "rsdc_estimate",
      "title": "Estimate Regime-Switching or Constant Correlation Model (Wrapper)",
      "topics": [
        "coef.rsdc_fit",
        "confint.rsdc_fit",
        "logLik.rsdc_fit",
        "nobs.rsdc_fit",
        "plot.rsdc_fit",
        "predict.rsdc_fit",
        "print.rsdc_fit",
        "rsdc_estimate",
        "simulate.rsdc_fit",
        "summary.rsdc_fit",
        "vcov.rsdc_fit"
      ]
    },
    {
      "page": "RSDC",
      "title": "RSDC: Regime-Switching Dynamic Correlation Models",
      "topics": [
        "RSDC-package",
        "RSDC"
      ]
    },
    {
      "page": "rsdc_bootstrap",
      "title": "Parametric bootstrap standard errors for a fitted RSDC model",
      "topics": [
        "rsdc_bootstrap"
      ]
    },
    {
      "page": "rsdc_corr_bands",
      "title": "Uncertainty bands for the predicted correlation path",
      "topics": [
        "rsdc_corr_bands"
      ]
    },
    {
      "page": "rsdc_forecast",
      "title": "Forecast Covariance/Correlation Paths from an RSDC Model",
      "topics": [
        "rsdc_forecast"
      ]
    },
    {
      "page": "rsdc_forecast_ahead",
      "title": "Multi-step-ahead regime and correlation forecasts",
      "topics": [
        "rsdc_forecast_ahead"
      ]
    },
    {
      "page": "rsdc_hamilton",
      "title": "Hamilton Filter (Fixed P or TVTP)",
      "topics": [
        "rsdc_hamilton"
      ]
    },
    {
      "page": "rsdc_likelihood",
      "title": "Negative Log-Likelihood for Regime-Switching Correlation Models",
      "topics": [
        "rsdc_likelihood"
      ]
    },
    {
      "page": "rsdc_maxdiv",
      "title": "Maximum-Diversification Portfolio (Rolling Weights)",
      "topics": [
        "rsdc_maxdiv"
      ]
    },
    {
      "page": "rsdc_minvar",
      "title": "Minimum-Variance Portfolio (Rolling Weights)",
      "topics": [
        "rsdc_minvar"
      ]
    },
    {
      "page": "rsdc_simulate",
      "title": "Simulate Multivariate Regime-Switching Data (TVTP)",
      "topics": [
        "rsdc_simulate"
      ]
    },
    {
      "page": "rsdc_viterbi",
      "title": "Most likely regime path (Viterbi decoding)",
      "topics": [
        "rsdc_viterbi"
      ]
    },
    {
      "page": "tidy.rsdc_fit",
      "title": "Tidy a fitted RSDC model",
      "topics": [
        "tidy.rsdc_fit"
      ]
    }
  ],
  "_readme": "https://github.com/ardiad/rsdc/raw/HEAD/README.md",
  "_rundeps": [
    "DEoptim",
    "generics",
    "mvtnorm",
    "numDeriv",
    "rbibutils",
    "Rcpp",
    "RcppArmadillo",
    "Rdpack"
  ],
  "_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": "rsdc-intro.Rmd",
      "filename": "rsdc-intro.html",
      "title": "Getting started with RSDC",
      "engine": "knitr::rmarkdown",
      "headings": [
        "A fitted object is an \"rsdc_fit\"",
        "Standard methods",
        "Model comparison",
        "Forecasting and simulation",
        "Genuine out-of-sample forecasts",
        "Uncertainty, decoding, multi-step forecasts, and tidy output",
        "More than three regimes",
        "Validation: parameter recovery"
      ],
      "created": "2026-06-24 09:26:00",
      "modified": "2026-06-24 20:02:29",
      "commits": 4
    }
  ],
  "_score": 5.079181246047625,
  "_indexed": true,
  "_nocasepkg": "rsdc",
  "_universes": [
    "ardiad"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.3-0",
      "date": "2026-06-24T10:28:21.000Z",
      "commit": "f0670d71bd5f6c68c4383413be12b9cad642189b",
      "fileid": "325459ee63267796f50fee7d2791589f029deb04276ea0fe3dbd75d858632b94",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/ardiad/actions/runs/28091836272"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.3-0",
      "date": "2026-06-24T10:28:25.000Z",
      "commit": "f0670d71bd5f6c68c4383413be12b9cad642189b",
      "fileid": "b83d66d25241d966cde5f4c48a6466e5494eafe13ec0079120b32ac7f439de77",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/ardiad/actions/runs/28091836272"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.3-0",
      "date": "2026-06-24T10:28:08.000Z",
      "commit": "f0670d71bd5f6c68c4383413be12b9cad642189b",
      "fileid": "d59d64a3e3815bf25011c5212d4684b06094303fee9ec040d8625832a0dfbfae",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/ardiad/actions/runs/28091836272"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.5-0",
      "date": "2026-07-02T20:43:41.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "db3bb5e03868afc74404257c83bea6c6649425dd",
      "fileid": "https://r2.ropensci.org/9361de6638b2e9e014556178158a56d0520b07b9a0ca3afd82d460de00a67e7f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ardiad/actions/runs/28619940493"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.5-0",
      "date": "2026-07-02T20:42:47.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "db3bb5e03868afc74404257c83bea6c6649425dd",
      "fileid": "https://r2.ropensci.org/48e1006f29537159c5a5f98342712f6bace23ec82ee44a1aca4e0ac0b66ffce2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ardiad/actions/runs/28619940493"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.5-0",
      "date": "2026-07-02T20:43:16.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "db3bb5e03868afc74404257c83bea6c6649425dd",
      "fileid": "https://r2.ropensci.org/49c7cf241ce306b28fc99a052b013cc0b99888f3cfdac1ea47dc5a37e4c3d100",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ardiad/actions/runs/28619940493"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.5-0",
      "date": "2026-07-02T20:42:46.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "db3bb5e03868afc74404257c83bea6c6649425dd",
      "fileid": "https://r2.ropensci.org/04c0603070a614fd2e5ab06f9d7cb52c2104e1e80e36f0c97ec36f11ccd7bec6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ardiad/actions/runs/28619940493"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.5-0",
      "date": "2026-07-02T20:42:08.000Z",
      "arch": "aarch64",
      "commit": "db3bb5e03868afc74404257c83bea6c6649425dd",
      "fileid": "https://r2.ropensci.org/1b488995d4d1981c395df0df8bbb29f1dd9b1f62c35ef2ef4d5169ba469a87f1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ardiad/actions/runs/28619940493"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.5-0",
      "date": "2026-07-02T20:43:51.000Z",
      "arch": "x86_64",
      "commit": "db3bb5e03868afc74404257c83bea6c6649425dd",
      "fileid": "https://r2.ropensci.org/7d8cdbd4e984711472ff2519d085b29800481e7777e9bb309b52636b0eaa2d28",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ardiad/actions/runs/28619940493"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.5-0",
      "date": "2026-07-02T20:41:54.000Z",
      "arch": "aarch64",
      "commit": "db3bb5e03868afc74404257c83bea6c6649425dd",
      "fileid": "https://r2.ropensci.org/e20fc593f5b4d22e0d9770fcc1ccf3d7caa0b1f256cb44bc40b7973d4f243be3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ardiad/actions/runs/28619940493"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.5-0",
      "date": "2026-07-02T20:43:33.000Z",
      "arch": "x86_64",
      "commit": "db3bb5e03868afc74404257c83bea6c6649425dd",
      "fileid": "https://r2.ropensci.org/45fd38f344b5e15adc472ffe7780414cee6a109c6503ee807f25d37f4d401201",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ardiad/actions/runs/28619940493"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.5-0",
      "date": "2026-07-02T20:43:18.000Z",
      "arch": "emscripten",
      "commit": "db3bb5e03868afc74404257c83bea6c6649425dd",
      "fileid": "https://r2.ropensci.org/fb88a884e7824b4553a14e52a023a2774c70bf88fc76289e0a3d5660cab47dff",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ardiad/actions/runs/28619940493"
    }
  ]
}