Bayesian Estimation of (Sparse) Latent Factor Stochastic Volatility Models
Overview
Markov chain Monte Carlo (MCMC) sampler for fully Bayesian estimation of latent factor stochastic volatility models with interweaving doi:10.1080/10618600.2017.1322091. Sparsity can be achieved through the usage of Normal-Gamma priors on the factor loading matrix doi:10.1016/j.jeconom.2018.11.007.
- Replaced ::R_CheckUserInterrupt with Rcpp::checkUserInterrupt() for safe unwinding. Thanks to Luis Gruber for spotting this.
- Initiation of Rcpp::exports attribute to avoid some segfaults on some toolchains. See https://github.com/gregorkastner/factorstochvol/pull/17 for details and thanks again to Luis.
From NEWS in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK12 OK2026-04-25
- NOTE12 OK, 2 NOTE2026-04-22
- ERROR11 OK, 2 NOTE, 1 ERROR2026-04-18
Show 1 earlier changeHide 1 earlier change
- NOTE12 OK, 2 NOTE2026-03-10
Documentation
- Help pages
- 43includes a package overview page
- Examples that run
- 0%13 only when donttest examples are enabled (R CMD check --as-cran)
- Exported functions with examples
- 28%
- Documented parameters
- 93%
- Return-value docs
- 100%
- Help pages citing references
- 5%
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 70
- Median days to close, 50 most recently updated closed PRs
- 4
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
2 development-tooling and community-health practices detected across 2 families in the upstream repository
Checks run against github.com/gregorkastner/factorstochvol on 2026-10-18.
Dependencies
Installing factorstochvol adds 6 packages (4 with compiled code, 9.7 MB of source tarballs). Heaviest: corrplot 3.6 MB, stochvol 3.2 MB, Rcpp 1.8 MB.
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 1.1.2Latest
- 1.1.12026-03-02 · diff ↗
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 1.1.02023-11-24 · diff ↗
- unarchivedReturned to CRAN2023-10-12
- 1.0.62023-10-12 · diff ↗
- archivedRemoved from CRAN2023-09-18issues were not corrected in update nor further submission
- 1.0.22023-09-09 · diff ↗
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- 1.0.12021-12-07 · diff ↗
- 1.0.0
- RR 4.1.0 released · 2021-05-18
- 0.10.22021-02-09 · diff ↗
Show 13 earlier eventsHide 13 earlier events
Package metadata
- First published
- 2016-08-31
- Total releases
- 16 / 10 yrs
- License
- GPL (>= 2) OSI
- Minimum R
- ≥ 3.0.2
- Download size
- 4.2 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("factorstochvol")The package provides a citation file that builds its entry when R runs it. Run citation() to see it.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-22, which the citation names so these numbers can be found later. More on citing and the projects behind them.