Abstract
The R package stochvol provides a fully Bayesian implementation of heteroskedasticity modeling within the framework of stochastic volatility. It utilizes Markov chain Monte Carlo (MCMC) samplers to conduct inference by obtaining draws from the posterior distribution of parameters and latent variables which can then be used for predicting future volatilities. The package can straightforwardly be employed as a stand-alone tool; moreover, it allows for easy incorporation into other MCMC samplers. The main focus of this paper is to show the functionality of stochvol. In addition, it provides a brief mathematical description of the model, an overview of the sampling schemes used, and several illustrative examples using exchange rate data.
Original language | English |
---|---|
Publication status | Published - 1 Feb 2015 |
Austrian Classification of Fields of Science and Technology (ÖFOS)
- 101026 Time series analysis
- 502025 Econometrics
- 101018 Statistics
- 102022 Software development