This is companion code for blog post
Stochastic Volatility Estimated by MCMC (Markov Chain Monte Carlo) Method
Note:
- Requires Matlab's Econometrics Toolbox and Statistics and Machine Learning Toolbox
- The calculation of the multivariate effective sample size requires multiESS.m from GitHub