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 |
|
|---|---|
| Author | Jens Wahl [aut, cre] |
| Maintainer | Jens Wahl <jens.c.wahl@gmail.com> |
| License | GPL-3 |
| Version | 0.4.0 |
| URL | https://github.com/JensWahl/stochvolTMB https://jenswahl.github.io/stochvolTMB/ |
| Package repository | View on CRAN |
| Installation |
Install the latest version of this package by entering the following in R:
|
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.