{
  "_id": "6a616b8ef673e46fff56b537",
  "Package": "RSDC",
  "Title": "Regime-Switching Dynamic Correlation Models",
  "Version": "1.7-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-23 00:14:28 UTC",
  "RemoteUrl": "https://github.com/ardiad/rsdc",
  "RemoteRef": "HEAD",
  "RemoteSha": "240e57714bf456e9ca7b8d0443e8fdfa68675147",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-07-23 01:12:31 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.7-0.tar.gz",
  "_fileid": "https://r2.ropensci.org/04981aab50de4ed10cfd6e27c4438204fa26da37c786d7982f1d8530419de4eb",
  "_filesize": 818417,
  "_sha256": "04981aab50de4ed10cfd6e27c4438204fa26da37c786d7982f1d8530419de4eb",
  "_expires": "2026-10-31T01:17:00.000Z",
  "_created": "2026-07-23T01:12:31.000Z",
  "_published": "2026-07-23T01:17:02.325Z",
  "_jobs": [
    {
      "job": 89093462507,
      "time": 133,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8549772768"
    },
    {
      "job": 89093462502,
      "time": 173,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8549782520"
    },
    {
      "job": 89093462460,
      "time": 140,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8549774434"
    },
    {
      "job": 89093462517,
      "time": 161,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8549779933"
    },
    {
      "job": 89093462506,
      "time": 92,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8549761930"
    },
    {
      "job": 89093462522,
      "time": 215,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8549793263"
    },
    {
      "job": 89093462530,
      "time": 162,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8549780218"
    },
    {
      "job": 89093462485,
      "time": 208,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8549791564"
    },
    {
      "job": 89093035094,
      "time": 193,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8549737517"
    },
    {
      "job": 89093462430,
      "time": 120,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8549769264"
    },
    {
      "job": 89093462466,
      "time": 145,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8549775865"
    },
    {
      "job": 89093462544,
      "time": 154,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8549778157"
    },
    {
      "job": 89093462470,
      "time": 164,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8549780602"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/ardiad/actions/runs/29971066076",
  "_status": "success",
  "_upstream": "https://github.com/ardiad/rsdc",
  "_commit": {
    "id": "240e57714bf456e9ca7b8d0443e8fdfa68675147",
    "author": "David Ardia <ArdiaD@users.noreply.github.com>",
    "committer": "David Ardia <ArdiaD@users.noreply.github.com>",
    "message": "Rename precran.R to run_precran.R (run_ script convention); sync .Rbuildignore pattern\n",
    "time": 1784765668
  },
  "_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.6",
      "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": "parallel",
      "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
    },
    {
      "week": "2026-28",
      "n": 10
    },
    {
      "week": "2026-29",
      "n": 11
    },
    {
      "week": "2026-30",
      "n": 13
    }
  ],
  "_tags": [
    {
      "name": "v1.1-0",
      "date": "2025-08-21"
    },
    {
      "name": "v1.1-2",
      "date": "2025-08-28"
    }
  ],
  "_stars": 2,
  "_contributors": [
    {
      "user": "ardiad",
      "count": 43,
      "uuid": 11246455
    },
    {
      "user": "nryoo",
      "count": 31,
      "uuid": 87915955
    },
    {
      "user": "benjaminseguin",
      "count": 19,
      "uuid": 156557319
    }
  ],
  "_userbio": {
    "uuid": 11246455,
    "type": "user",
    "name": "David Ardia",
    "followers": 155,
    "description": "Professor in Quantitative Finance"
  },
  "_downloads": {
    "count": 155,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/RSDC"
  },
  "_devurl": "https://github.com/ardiad/rsdc",
  "_searchresults": 6,
  "_topics": [
    "openblas",
    "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_starts",
    "rsdc_viterbi"
  ],
  "_datasets": [
    {
      "name": "ff5ind",
      "title": "Five Fama-French industry portfolios with MCCC and VIX (daily)",
      "object": "ff5ind",
      "class": [
        "data.frame"
      ],
      "fields": [
        "DATE",
        "Manuf",
        "Enrgy",
        "HiTec",
        "Hlth",
        "Utils",
        "mccc",
        "vix"
      ],
      "rows": 5155,
      "table": true,
      "tojson": true
    },
    {
      "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": "ff5ind",
      "title": "Five Fama-French industry portfolios with MCCC and VIX (daily)",
      "topics": [
        "ff5ind"
      ]
    },
    {
      "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",
      "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_estimate",
      "title": "Estimate Regime-Switching or Constant Correlation Model (Wrapper)",
      "topics": [
        "rsdc_estimate"
      ]
    },
    {
      "page": "rsdc_fit-methods",
      "title": "Methods for fitted RSDC models",
      "topics": [
        "coef.rsdc_fit",
        "confint.rsdc_fit",
        "logLik.rsdc_fit",
        "nobs.rsdc_fit",
        "plot.rsdc_fit",
        "predict.rsdc_fit",
        "print.rsdc_fit",
        "rsdc_fit-methods",
        "simulate.rsdc_fit",
        "summary.rsdc_fit",
        "vcov.rsdc_fit"
      ]
    },
    {
      "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_starts",
      "title": "Data-driven warm starts for high-dimensional estimation",
      "topics": [
        "print.rsdc_starts",
        "rsdc_starts"
      ]
    },
    {
      "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": "liblapack",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.32+ds-5",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libblas",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.32+ds-5",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "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-07-22 22:46:47",
      "commits": 6
    }
  ],
  "_score": 5.2552725051033065,
  "_indexed": true,
  "_nocasepkg": "rsdc",
  "_universes": [
    "ardiad"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.7-0",
      "date": "2026-07-23T01:14:37.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "240e57714bf456e9ca7b8d0443e8fdfa68675147",
      "fileid": "https://r2.ropensci.org/ca8164865a3098b2f0cade37dec9554a88ba0d52e5eaab218ad5b739eed5bfd3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ardiad/actions/runs/29971066076"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.7-0",
      "date": "2026-07-23T01:15:05.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "240e57714bf456e9ca7b8d0443e8fdfa68675147",
      "fileid": "https://r2.ropensci.org/03765af13bec9bc886751353964467fb9d58e03d103a4287175416875444a28b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ardiad/actions/runs/29971066076"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.7-0",
      "date": "2026-07-23T01:14:41.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "240e57714bf456e9ca7b8d0443e8fdfa68675147",
      "fileid": "https://r2.ropensci.org/af8022f02632657bee5da41d11f75305013bb32a3cfd85802dd387f0bdc29aa3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ardiad/actions/runs/29971066076"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.7-0",
      "date": "2026-07-23T01:14:59.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "240e57714bf456e9ca7b8d0443e8fdfa68675147",
      "fileid": "https://r2.ropensci.org/4f09b87d0b5b757de3421406cd424c3a61711144123543dea55fad789636d847",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ardiad/actions/runs/29971066076"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.7-0",
      "date": "2026-07-23T01:14:04.000Z",
      "arch": "aarch64",
      "commit": "240e57714bf456e9ca7b8d0443e8fdfa68675147",
      "fileid": "https://r2.ropensci.org/30092de5f65f2017275e785c564ae94089845a765e22fa4eca2910e1012bf44b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ardiad/actions/runs/29971066076"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.7-0",
      "date": "2026-07-23T01:15:19.000Z",
      "arch": "x86_64",
      "commit": "240e57714bf456e9ca7b8d0443e8fdfa68675147",
      "fileid": "https://r2.ropensci.org/6446f1b3c114e28d03387999b5b25cc4630b6e10cf8f9dd2ee97314bbeef14de",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ardiad/actions/runs/29971066076"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.7-0",
      "date": "2026-07-23T01:14:41.000Z",
      "arch": "aarch64",
      "commit": "240e57714bf456e9ca7b8d0443e8fdfa68675147",
      "fileid": "https://r2.ropensci.org/1da2b667c84c7a3234cc5128c92b0eb72494ad802761bcc89c313e6cee4b0868",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ardiad/actions/runs/29971066076"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.7-0",
      "date": "2026-07-23T01:15:16.000Z",
      "arch": "x86_64",
      "commit": "240e57714bf456e9ca7b8d0443e8fdfa68675147",
      "fileid": "https://r2.ropensci.org/18a42d2e33278882fa96cb81ee9ce95ba411da4034539d876d3ddb2783d51e07",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ardiad/actions/runs/29971066076"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.7-0",
      "date": "2026-07-23T01:14:51.000Z",
      "arch": "emscripten",
      "commit": "240e57714bf456e9ca7b8d0443e8fdfa68675147",
      "fileid": "https://r2.ropensci.org/c1d50831845ce8389f3a8514a7880ba9e6bc3769a7382f17159d684209f682b1",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ardiad/actions/runs/29971066076"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.7-0",
      "date": "2026-07-23T01:13:53.000Z",
      "arch": "x86_64",
      "commit": "240e57714bf456e9ca7b8d0443e8fdfa68675147",
      "fileid": "https://r2.ropensci.org/3f93827d2fa9fdcbc9e4438c94ce7a9d2f6da2e477e17fd591972baa0264f2ef",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ardiad/actions/runs/29971066076"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.7-0",
      "date": "2026-07-23T01:13:57.000Z",
      "arch": "x86_64",
      "commit": "240e57714bf456e9ca7b8d0443e8fdfa68675147",
      "fileid": "https://r2.ropensci.org/d6d0dd891dc7dc69856547d9eea2c4ce3824895fe33116f2f837d56af6c9418c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ardiad/actions/runs/29971066076"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.7-0",
      "date": "2026-07-23T01:14:26.000Z",
      "arch": "x86_64",
      "commit": "240e57714bf456e9ca7b8d0443e8fdfa68675147",
      "fileid": "https://r2.ropensci.org/b63914b0908a08e200c3687e245e8d1eb709a8c3971cd140b074304972314acf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ardiad/actions/runs/29971066076"
    }
  ]
}