{
  "_id": "6a168e52acfb0bcc41d77af4",
  "Package": "stochvolTMB",
  "Type": "Package",
  "Title": "Likelihood Estimation of Stochastic Volatility Models",
  "Version": "0.3.0",
  "Date": "2025-01-29",
  "Authors@R": "person(\"Jens\", \"Wahl\", role = c(\"aut\", \"cre\"), email = \"jens.c.wahl@gmail.com\")",
  "Description": "Parameter estimation for stochastic volatility models\nusing maximum likelihood. The latent log-volatility is\nintegrated out of the likelihood using the Laplace\napproximation. The models are fitted via 'TMB' (Template Model\nBuilder) (Kristensen, Nielsen, Berg, Skaug, and Bell (2016)\n<doi:10.18637/jss.v070.i05>).",
  "License": "GPL-3",
  "URL": "https://github.com/JensWahl/stochvolTMB",
  "BugReports": "https://github.com/JensWahl/stochvolTMB/issues",
  "RoxygenNote": "7.3.2",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "VignetteBuilder": "knitr",
  "Repository": "https://jenswahl.r-universe.dev",
  "Date/Publication": "2026-01-27 07:22:03 UTC",
  "RemoteUrl": "https://github.com/jenswahl/stochvoltmb",
  "RemoteRef": "HEAD",
  "RemoteSha": "578af55ccab6c2fd34c21eeded104896d8aecab6",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-05-27 06:18:48 UTC",
    "User": "root"
  },
  "Author": "Jens Wahl [aut, cre]",
  "Maintainer": "Jens Wahl <jens.c.wahl@gmail.com>",
  "MD5sum": "b5b2e6e867bf5b0bf645aa806f5f444a",
  "_user": "jenswahl",
  "_type": "src",
  "_file": "stochvolTMB_0.3.0.tar.gz",
  "_fileid": "585b37fc592077fed46bf633c3739ff69f69638b3cf31d2a32b38309827c4fdc",
  "_filesize": 1690967,
  "_sha256": "585b37fc592077fed46bf633c3739ff69f69638b3cf31d2a32b38309827c4fdc",
  "_created": "2026-05-27T06:18:48.000Z",
  "_published": "2026-05-27T06:25:22.613Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78019205656,
      "time": 160,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "7233307045"
    },
    {
      "job": 78019205659,
      "time": 172,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "7233309906"
    },
    {
      "job": 78019205648,
      "time": 166,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7233308424"
    },
    {
      "job": 78019205642,
      "time": 140,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7233302682"
    },
    {
      "job": 78019205633,
      "time": 170,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "7233309297"
    },
    {
      "job": 78019205651,
      "time": 337,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "7233350930"
    },
    {
      "job": 78019205646,
      "time": 166,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7233308332"
    },
    {
      "job": 78019205644,
      "time": 295,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7233339486"
    },
    {
      "job": 78017364381,
      "time": 950,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7233269803"
    },
    {
      "job": 78019205639,
      "time": 115,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 78019205667,
      "time": 205,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "7233317973"
    },
    {
      "job": 78019205637,
      "time": 132,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "7233300793"
    },
    {
      "job": 78019205654,
      "time": 152,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7233305486"
    }
  ],
  "_buildurl": "https://github.com/r-universe/jenswahl/actions/runs/26493875718",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/jenswahl/stochvoltmb",
  "_commit": {
    "id": "578af55ccab6c2fd34c21eeded104896d8aecab6",
    "author": "Jens Christian Wahl <jens.c.wahl@gmail.com>",
    "committer": "Jens Christian Wahl <jens.c.wahl@gmail.com>",
    "message": "more work on skew-gaussian with leverage\n",
    "time": 1769498523
  },
  "_maintainer": {
    "name": "Jens Wahl",
    "email": "jens.c.wahl@gmail.com",
    "login": "jenswahl",
    "description": "",
    "uuid": 25640115
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "RcppEigen",
      "role": "LinkingTo"
    },
    {
      "package": "TMB",
      "role": "LinkingTo"
    },
    {
      "package": "TMB",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "sn",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "data.table",
      "role": "Imports"
    },
    {
      "package": "MASS",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 2.1.0",
      "role": "Suggests"
    },
    {
      "package": "shiny",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "stochvol",
      "role": "Suggests"
    }
  ],
  "_owner": "jenswahl",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-05",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 8,
  "_contributors": [
    {
      "user": "jenswahl",
      "count": 66,
      "uuid": 25640115
    }
  ],
  "_userbio": {
    "uuid": 25640115,
    "type": "user",
    "name": "Jens Christian Wahl"
  },
  "_downloads": {
    "count": 229,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/stochvolTMB"
  },
  "_devurl": "https://github.com/jenswahl/stochvoltmb",
  "_searchresults": 23,
  "_topics": [
    "cpp"
  ],
  "_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/readme.html",
    "extra/readme.md",
    "extra/stochvolTMB.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/jenswahl/stochvoltmb",
  "_realowner": "jenswahl",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2020-09-02"
    },
    {
      "version": "0.1.1",
      "date": "2020-09-02"
    },
    {
      "version": "0.1.2",
      "date": "2020-09-04"
    },
    {
      "version": "0.2.0",
      "date": "2021-08-13"
    },
    {
      "version": "0.3.0",
      "date": "2025-01-31"
    }
  ],
  "_exports": [
    "demo",
    "estimate_parameters",
    "get_nll",
    "logit",
    "plot_forecast",
    "residuals",
    "sim_sv",
    "simulate_parameters"
  ],
  "_datasets": [
    {
      "name": "spy",
      "title": "Daily closing prices for the S&P500 from 2005 to 2018.",
      "object": "spy",
      "class": [
        "data.table",
        "data.frame"
      ],
      "fields": [
        "date",
        "price",
        "log_return"
      ],
      "rows": 3522,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "demo",
      "title": "Run shiny demo",
      "topics": [
        "demo"
      ]
    },
    {
      "page": "estimate_parameters",
      "title": "Estimate parameters for the stochastic volatility model",
      "topics": [
        "estimate_parameters"
      ]
    },
    {
      "page": "logit",
      "title": "Logit transformation from the real line to (-1, 1).",
      "topics": [
        "logit"
      ]
    },
    {
      "page": "plot.stochvolTMB",
      "title": "Plot the estimated latent volatility process",
      "topics": [
        "plot.stochvolTMB"
      ]
    },
    {
      "page": "predict.stochvolTMB",
      "title": "Predict future returns and future volatilities",
      "topics": [
        "predict.stochvolTMB"
      ]
    },
    {
      "page": "residuals",
      "title": "Calculate one-step-ahead (OSA) residuals for stochastic volatility model.",
      "topics": [
        "residuals"
      ]
    },
    {
      "page": "sim_sv",
      "title": "Simulate log-returns from a stochastic volatility model",
      "topics": [
        "sim_sv"
      ]
    },
    {
      "page": "simulate_parameters",
      "title": "Simulate from the asymptotic distribution of the parameter estimates",
      "topics": [
        "simulate_parameters"
      ]
    },
    {
      "page": "spy",
      "title": "Daily closing prices for the S&P500 from 2005 to 2018.",
      "topics": [
        "spy"
      ]
    },
    {
      "page": "summary",
      "title": "Summary tables of model parameters",
      "topics": [
        "summary.stochvolTMB"
      ]
    },
    {
      "page": "summary.stochvolTMB_predict",
      "title": "Calculate quantiles based on predictions from the predictive distribution",
      "topics": [
        "summary.stochvolTMB_predict"
      ]
    }
  ],
  "_readme": "https://github.com/jenswahl/stochvoltmb/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "data.table",
    "farver",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "MASS",
    "Matrix",
    "MatrixModels",
    "mnormt",
    "numDeriv",
    "quantreg",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppEigen",
    "rlang",
    "S7",
    "scales",
    "sn",
    "SparseM",
    "survival",
    "TMB",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "stochvolTMB_vignette.Rmd",
      "filename": "stochvolTMB_vignette.html",
      "title": "stochvolTMB: Likelihood estimation of stochastic volatility",
      "author": "Jens Christian Wahl",
      "engine": "knitr::rmarkdown",
      "headings": [
        "The stochastic volatility model",
        "Usage",
        "Example",
        "Comparison to stochvol",
        "Estimation",
        "Laplace Approximation",
        "References"
      ],
      "created": "2020-07-31 20:38:56",
      "modified": "2026-01-27 07:22:03",
      "commits": 10
    }
  ],
  "_score": 4.963787827345556,
  "_indexed": true,
  "_nocasepkg": "stochvoltmb",
  "_universes": [
    "jenswahl"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.0",
      "date": "2026-05-27T06:21:22.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "578af55ccab6c2fd34c21eeded104896d8aecab6",
      "fileid": "3eb2c51627a590097282316e33f1a47f46f8580ea7f3d8d13de096b1ea249f82",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/jenswahl/actions/runs/26493875718"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.0",
      "date": "2026-05-27T06:21:26.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "578af55ccab6c2fd34c21eeded104896d8aecab6",
      "fileid": "7f21e25c9c5749b62b00cd53a7358ae451b745da56c486f5ee0664708efe8680",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/jenswahl/actions/runs/26493875718"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.3.0",
      "date": "2026-05-27T06:21:25.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "578af55ccab6c2fd34c21eeded104896d8aecab6",
      "fileid": "c0a56a677fc1d53b8a1ddbc2dbbef662e4049e3fbef323b377c19de6e50c8af6",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/jenswahl/actions/runs/26493875718"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.3.0",
      "date": "2026-05-27T06:21:00.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "578af55ccab6c2fd34c21eeded104896d8aecab6",
      "fileid": "3d12d39f31815108d9849079609874e9be3f61a7d9c6ab077592d76d30211ee6",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/jenswahl/actions/runs/26493875718"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.0",
      "date": "2026-05-27T06:21:35.000Z",
      "arch": "aarch64",
      "commit": "578af55ccab6c2fd34c21eeded104896d8aecab6",
      "fileid": "06bf28dd650800637112e54f4525dbe6b9c8d813a9ea15e3657f6c4499dbf9ec",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/jenswahl/actions/runs/26493875718"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.0",
      "date": "2026-05-27T06:23:47.000Z",
      "arch": "x86_64",
      "commit": "578af55ccab6c2fd34c21eeded104896d8aecab6",
      "fileid": "1426bff65688f05cdfde9400fd513b2aa140753bd6d134d61a133ffb6e7c76a6",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/jenswahl/actions/runs/26493875718"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.3.0",
      "date": "2026-05-27T06:21:26.000Z",
      "arch": "aarch64",
      "commit": "578af55ccab6c2fd34c21eeded104896d8aecab6",
      "fileid": "59e4ab3bed3aeb90d91bb14baafdff2f1f8e272fde4944d9ed5b5553f1110e10",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/jenswahl/actions/runs/26493875718"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.3.0",
      "date": "2026-05-27T06:22:58.000Z",
      "arch": "x86_64",
      "commit": "578af55ccab6c2fd34c21eeded104896d8aecab6",
      "fileid": "b3074e66d0a98abfd550be9cda03419f396ed930021cec8b5b6a6b25238b0784",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/jenswahl/actions/runs/26493875718"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.0",
      "date": "2026-05-27T06:20:51.000Z",
      "arch": "x86_64",
      "commit": "578af55ccab6c2fd34c21eeded104896d8aecab6",
      "fileid": "fcce520a40a1d4d87003bd0939905f61f11c2d046441e9cfdee207b1cd560bba",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/jenswahl/actions/runs/26493875718"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3.0",
      "date": "2026-05-27T06:20:22.000Z",
      "arch": "x86_64",
      "commit": "578af55ccab6c2fd34c21eeded104896d8aecab6",
      "fileid": "1cf7d508ddea30f6778d1e43e1e4be1381a67d340646125f18d913eaab0562f0",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/jenswahl/actions/runs/26493875718"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.3.0",
      "date": "2026-05-27T06:20:36.000Z",
      "arch": "x86_64",
      "commit": "578af55ccab6c2fd34c21eeded104896d8aecab6",
      "fileid": "689742959aa59a30ad780a6f131d335df5403aac3b8718a0c22ea632f9298836",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/jenswahl/actions/runs/26493875718"
    }
  ]
}