stochvolTMB: Likelihood Estimation of Stochastic Volatility Models

Parameter estimation for stochastic volatility models using maximum likelihood. The latent log-volatility is integrated out of the likelihood using the Laplace approximation. The models are fitted via 'TMB' (Template Model Builder) (Kristensen, Nielsen, Berg, Skaug, and Bell (2016) <doi:10.18637/jss.v070.i05>). The observation error can be Gaussian, t, skew-Gaussian or skew t (Jones and Faddy (2003) <doi:10.1111/1467-9868.00378>), with or without leverage. Exact one-step-ahead residuals, Value at Risk and Expected Shortfall are calculated with a filter on a grid for the log-volatility, and the Value at Risk can be backtested with the tests of Kupiec (1995) <doi:10.3905/jod.1995.407942> and Christoffersen (1998) <doi:10.2307/2527341>.

Package details

AuthorJens Wahl [aut, cre]
MaintainerJens Wahl <jens.c.wahl@gmail.com>
LicenseGPL-3
Version0.4.0
URL https://github.com/JensWahl/stochvolTMB  https://jenswahl.github.io/stochvolTMB/ 
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("stochvolTMB")

Try the stochvolTMB package in your browser

Any scripts or data that you put into this service are public.

stochvolTMB documentation built on Nov. 7, 2026, 5:08 p.m.