Volatility under SSM#
We talk about a Gaussian state-space model for volatility.
The model is given by
Where \(h_t\) is log-volatiltiy, \(\mu\) is long-term mean, \(\phi \in [-1,1]\) imposes exponential decay, and \(\eta\) is Gaussian noise.
We note that this is a mean-reverting AR(1) process, where \(h_t\) can also be seen as an exponentially weighted moving average (EWMA).
We also assume this is latent, and we only observe the log returns conditional on volatility:
or equivalently $\( r_t \sim \mathcal{N}(0,e^{h_t}) \)$
Where return has zero mean and variance given by volatility
Re-parametrization#
Consider this re-parametrization using more familiar notation: $\( x_0 \sim \mathcal{N} \left( x_0; \mu, \frac{\sigma_v^2}{1 - \phi^2} \right), \)$
Where \(x_t\) is log-volatility and \(y_t\) is observed log return
We observed \(y_{1:T}\) and wish to infer \(x_{0:T}\)
Notice volatility clustering can be captured in the model by setting \(|\phi|\) close to 1
Particle Filter#
Implemented according to this paper