{
  "_id": "6ac774edde46216d5edd02c2",
  "Package": "MSwM",
  "Type": "Package",
  "Title": "Fitting Markov Switching Models",
  "Version": "1.5",
  "Date": "2021-06-05",
  "Author": "Josep A. Sanchez-Espigares, Alberto Lopez-Moreno",
  "Maintainer": "Josep A. Sanchez-Espigares <josep.a.sanchez@upc.edu>",
  "Description": "Estimation, inference and diagnostics for Univariate\nAutoregressive Markov Switching Models for Linear and\nGeneralized Models. Distributions for the series include\ngaussian, Poisson, binomial and gamma cases. The EM algorithm\nis used for estimation (see Perlin (2012)\n<doi:10.2139/ssrn.1714016>).",
  "License": "GPL (>= 2.0)",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-08 09:55:24 UTC",
    "User": "root"
  },
  "RoxygenNote": "6.0.1",
  "Repository": "https://josepasanchez.r-universe.dev",
  "Date/Publication": "2021-06-06 09:20:02 UTC",
  "RemoteUrl": "https://github.com/cran/MSwM",
  "RemoteRef": "HEAD",
  "RemoteSha": "1b67aa050ae04c55dea9980586905d3bb0262fa7",
  "_user": "josepasanchez",
  "_type": "src",
  "_file": "MSwM_1.5.tar.gz",
  "_fileid": "https://r2.ropensci.org/e0f8a1ea7d7145e6cf972954b43c2780bbbcfe94b8e203cf8abd0aaa495d914a",
  "_filesize": 459929,
  "_sha256": "e0f8a1ea7d7145e6cf972954b43c2780bbbcfe94b8e203cf8abd0aaa495d914a",
  "_expires": "2027-01-16T10:48:11.000Z",
  "_created": "2026-10-08T09:55:24.000Z",
  "_published": "2026-10-08T10:48:13.509Z",
  "_buildurl": "https://github.com/r-universe/josepasanchez/actions/runs/37759579256",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 113253926964,
      "time": 129,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "11541359748"
    },
    {
      "job": 113253927042,
      "time": 136,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "11541598426"
    },
    {
      "job": 113253927017,
      "time": 187,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "11544287718"
    },
    {
      "job": 113253927013,
      "time": 163,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "11544032445"
    },
    {
      "job": 113252590569,
      "time": 208,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11541129504"
    },
    {
      "job": 113253927179,
      "time": 86,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11541857121"
    },
    {
      "job": 113253926931,
      "time": 72,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "11541249857"
    },
    {
      "job": 113253927023,
      "time": 74,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "11542185609"
    },
    {
      "job": 113253926915,
      "time": 72,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "11542110858"
    }
  ],
  "_upstream": "https://github.com/cran/MSwM",
  "_commit": {
    "id": "1b67aa050ae04c55dea9980586905d3bb0262fa7",
    "author": "Josep A. Sanchez-Espigares <josep.a.sanchez@upc.edu>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.5\n",
    "time": 1622971202
  },
  "_maintainer": {
    "name": "Josep A. Sanchez-Espigares",
    "email": "josep.a.sanchez@upc.edu",
    "login": "josepasanchez",
    "description": "",
    "uuid": 60511983
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "methods",
      "role": "Depends"
    },
    {
      "package": "graphics",
      "role": "Depends"
    },
    {
      "package": "parallel",
      "role": "Depends"
    },
    {
      "package": "nlme",
      "role": "Imports"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 1,
  "_updates": [],
  "_tags": [],
  "_stars": 6,
  "_contributors": [
    {
      "user": "josepasanchez",
      "count": 6,
      "uuid": 60511983
    }
  ],
  "_userbio": {
    "uuid": 60511983,
    "type": "user",
    "name": "JosepASanchez",
    "followers": 1
  },
  "_downloads": {
    "count": 4011,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/MSwM"
  },
  "_mentions": 1,
  "_searchresults": 121,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/MSwM.html"
  ],
  "_realowner": "josepasanchez",
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.0",
      "date": "2013-01-04"
    },
    {
      "version": "1.01",
      "date": "2013-02-05"
    },
    {
      "version": "1.2",
      "date": "2014-02-24"
    },
    {
      "version": "1.3",
      "date": "2018-06-12"
    },
    {
      "version": "1.4",
      "date": "2018-07-16"
    },
    {
      "version": "1.5",
      "date": "2021-06-06"
    }
  ],
  "_exports": [
    "AIC",
    "intervals",
    "msmFit",
    "msmResid",
    "plot",
    "plotDiag",
    "plotProb",
    "plotReg",
    "summary"
  ],
  "_datasets": [
    {
      "name": "energy",
      "title": "Price of energy in Spain",
      "object": "energy",
      "file": "energy.csv.gz",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Price",
        "Oil",
        "Gas",
        "Coal",
        "EurDol",
        "Ibex35",
        "Demand"
      ],
      "rows": 1784,
      "table": true,
      "tojson": true
    },
    {
      "name": "example",
      "title": "Example data generated",
      "object": "example",
      "file": "example.csv.gz",
      "class": [
        "data.frame"
      ],
      "fields": [
        "x",
        "y"
      ],
      "rows": 300,
      "table": true,
      "tojson": true
    },
    {
      "name": "traffic",
      "title": "Traffic Deads in Spain",
      "object": "traffic",
      "file": "traffic.csv.gz",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Date",
        "NDead",
        "Temp",
        "Prec"
      ],
      "rows": 365,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "MSM-package",
      "title": "MSwM package",
      "topics": [
        "MSwM-package",
        "MSwM"
      ]
    },
    {
      "page": "AIC",
      "title": "Akaike Information Criterion for Markov Switching models.",
      "topics": [
        "AIC",
        "AIC,MSM.glm-method",
        "AIC,MSM.lm-method",
        "AIC-methods",
        "AIC.MSM.glm",
        "AIC.MSM.lm"
      ]
    },
    {
      "page": "energy",
      "title": "Price of energy in Spain",
      "topics": [
        "energy"
      ]
    },
    {
      "page": "example",
      "title": "Example data generated",
      "topics": [
        "example"
      ]
    },
    {
      "page": "intervals",
      "title": "Function: Confidence Intervals on Coefficients",
      "topics": [
        "intervals",
        "intervals,MSM.glm-method",
        "intervals,MSM.lm-method",
        "intervals-methods",
        "intervals.MSM.glm",
        "intervals.MSM.lm"
      ]
    },
    {
      "page": "MSM.fitted-class",
      "title": "Class \"MSM.fitted\"",
      "topics": [
        "MSM.fitted-class",
        "[,MSM.fitted,character,missing,missing-method"
      ]
    },
    {
      "page": "MSM.glm-class",
      "title": "Class \"MSM.glm\"",
      "topics": [
        "MSM.glm-class",
        "[,MSM.glm,character,missing,missing-method"
      ]
    },
    {
      "page": "MSM.lm-class",
      "title": "Class \"MSM.lm\"",
      "topics": [
        "MSM.lm-class",
        "[,MSM.lm,character,missing,missing-method"
      ]
    },
    {
      "page": "msmFit",
      "title": "Fitting Markov Switching Models",
      "topics": [
        "msmFit",
        "msmFit,formula,numeric,logical,ANY,data.frame,ANY-method",
        "msmFit,glm,numeric,logical,ANY,missing,ANY-method",
        "msmFit,lm,numeric,logical,ANY,missing,missing-method",
        "msmFit-methods"
      ]
    },
    {
      "page": "msmResid",
      "title": "Extract Markov Switching Model Residuals",
      "topics": [
        "msmResid",
        "msmResid,MSM.glm,ANY-method",
        "msmResid,MSM.glm,missing-method",
        "msmResid,MSM.lm,ANY-method",
        "msmResid,MSM.lm,missing-method",
        "msmResid-methods"
      ]
    },
    {
      "page": "plot",
      "title": "Function: plot for Markov Switching Models",
      "topics": [
        "plot",
        "plot,MSM.linear,missing-method",
        "plot-methods"
      ]
    },
    {
      "page": "plotDiag",
      "title": "Plot Diagnostics for an msm Object",
      "topics": [
        "plotDiag",
        "plotDiag,MSM.linear,ANY-method",
        "plotDiag,MSM.linear,missing,ANY-method",
        "plotDiag,MSM.linear,missing-method",
        "plotDiag-methods"
      ]
    },
    {
      "page": "plotProb",
      "title": "Plot of filtered and smoothed probabilities with regimes specifications.",
      "topics": [
        "plotProb",
        "plotProb,MSM.linear,ANY-method",
        "plotProb,MSM.linear-method",
        "plotProb-methods"
      ]
    },
    {
      "page": "plotReg",
      "title": "Comparative plots of response and explanatory variables with regime specifications.",
      "topics": [
        "plotReg",
        "plotReg,MSM.linear,character-method",
        "plotReg,MSM.linear,missing-method",
        "plotReg-methods"
      ]
    },
    {
      "page": "summary",
      "title": "Function: Summary for Markov Switching Models",
      "topics": [
        "summary",
        "summary,MSM.glm-method",
        "summary,MSM.lm-method",
        "summary-methods"
      ]
    },
    {
      "page": "traffic",
      "title": "Traffic Deads in Spain",
      "topics": [
        "traffic"
      ]
    }
  ],
  "_rundeps": [
    "lattice",
    "nlme"
  ],
  "_vignettes": [
    {
      "source": "examples.rnw",
      "filename": "examples.pdf",
      "title": "example",
      "engine": "utils::Sweave",
      "headings": [],
      "created": "2014-02-05",
      "modified": "2018-07-16 16:40:12",
      "commits": 2
    }
  ],
  "_score": 4.941310537401403,
  "_indexed": true,
  "_nocasepkg": "mswm",
  "_universes": [
    "josepasanchez"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.5",
      "date": "2026-10-08T09:57:38.000Z",
      "distro": "resolute",
      "commit": "1b67aa050ae04c55dea9980586905d3bb0262fa7",
      "fileid": "https://r2.ropensci.org/407488c669ef52442add978d8ae6c4c6f626f48fe92e2474cfcda56746093592",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/josepasanchez/actions/runs/37759579256"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.5",
      "date": "2026-10-08T09:57:41.000Z",
      "distro": "resolute",
      "commit": "1b67aa050ae04c55dea9980586905d3bb0262fa7",
      "fileid": "https://r2.ropensci.org/d15633084d0f11676158ea03277d83039c849fdf0cd406b55b80cf0ba2a9e22f",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/josepasanchez/actions/runs/37759579256"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.5",
      "date": "2026-10-08T10:47:06.000Z",
      "commit": "1b67aa050ae04c55dea9980586905d3bb0262fa7",
      "fileid": "https://r2.ropensci.org/c85400785a658f2cce622eba8f501cc29223af74282c793483017d19440bc4b7",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/josepasanchez/actions/runs/37759579256"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.5",
      "date": "2026-10-08T10:44:42.000Z",
      "commit": "1b67aa050ae04c55dea9980586905d3bb0262fa7",
      "fileid": "https://r2.ropensci.org/1f15a9432027bf8c7a7055723d20120dbfd41745b6d11a1fb9dbeaace52c72c1",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/josepasanchez/actions/runs/37759579256"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.5",
      "date": "2026-10-08T09:57:10.000Z",
      "commit": "1b67aa050ae04c55dea9980586905d3bb0262fa7",
      "fileid": "https://r2.ropensci.org/4c4809f0ad6a4dd191ddfb658980ed29bb394f0a96ddf7e7a2f8be75bdd63d98",
      "status": "success",
      "buildurl": "https://github.com/r-universe/josepasanchez/actions/runs/37759579256"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.5",
      "date": "2026-10-08T09:56:31.000Z",
      "commit": "1b67aa050ae04c55dea9980586905d3bb0262fa7",
      "fileid": "https://r2.ropensci.org/3cbf909896e6fc0dee01bbf15fd88a75d91594be05ae1c2b35d7492ebf7b04f9",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/josepasanchez/actions/runs/37759579256"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.5",
      "date": "2026-10-08T09:56:35.000Z",
      "commit": "1b67aa050ae04c55dea9980586905d3bb0262fa7",
      "fileid": "https://r2.ropensci.org/74028b18a3663ab14fafa0d39d9477171bc377c2f8bf0a10ad4f0806242a6384",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/josepasanchez/actions/runs/37759579256"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.5",
      "date": "2026-10-08T09:56:35.000Z",
      "commit": "1b67aa050ae04c55dea9980586905d3bb0262fa7",
      "fileid": "https://r2.ropensci.org/f1f559624b761bbd3523ec973ff73298bc17da986509e29bb9e62cb0a03c6fb2",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/josepasanchez/actions/runs/37759579256"
    }
  ]
}