Skip to content
All library documents

Selecting TSRV Sampling Parameters from Noise and Quarticity Estimates

Article Quant Q&A · Author: Jan Sila

Summary

This note discusses selecting the tuning parameters for the Two-Scale Realized Volatility estimator. It describes setting the lag parameter to one in the cited extension for dependent noise, and choosing the subsampling parameter as a constant times the number of observations raised to two-thirds. The constant is estimated from the observation interval, an estimate of noise variance, and integrated quarticity. Noise variance is estimated from squared returns, while realized quarticity is used as a proxy for integrated quarticity.

The explanation gives formulas and cites the papers from which the choices are drawn, but it does not work through a numerical parameter choice for the questioner's intended intraday horizons. It cautions that very high frequency noise and jumps can distort realized quarticity estimates. Consequently, the proposed selection is a model-based guide, not a guarantee that a chosen parameter will perform well for every asset, sampling frequency, or market condition; sensitivity should be considered in application.

Key ideas

  • The subsampling parameter follows an observation-count scaling proportional to the two-thirds power of sample size.
  • Its scaling constant depends on noise variance and integrated quarticity over the interval.
  • Estimate noise variance from squared intraday returns and quarticity from fourth-power returns.
  • The dependent-noise extension described here uses a lag parameter of one for the original estimator case.
  • Very high frequency noise and jumps can compromise the realized quarticity estimate.

Tags

Full text
# TSRV parameters selection


# TSRV parameters selection












I'm thinking about how to select the $J$, and particularly, $K$ parameters for the Two Scale Realized Volatility estimation? I cannot find any reference for that in the original paper - there it says $K=cn^{\frac{2}{3}}$, but I couldn't find what $c$ exactly is, $n$ is number of observations.

I've been playing around with the `highfrequency` package in R which offers a test set of of 8100 1-minute stock prices. If you estimate TSRV with `rRTSCov`, it seems that the estimation is quite sensitive to $K$.

My ultimate goal is to estimate 10 or 30-minute volatility with 10-second prices. How would I pick parameters for that? Is it large enough sample?

Many thanks for suggestions.

## Answer by Pleb (score 1, accepted)

https://quant.stackexchange.com/a/64130

#### How to find optimal $K$ ?

If we let $i$ for $i=1,\ldots,n$ be the amount of intraday returns over a fixed interval $T$ (one day in empirical applications), then in Zhang et al. (2005) (p. 1397) specified above, they tell you that the optimal $c$, can be obtained via the equation:

\begin{equation} c^{*} = \left(\frac{T}{12 \cdot \left(\mathbb{E}\left[\varepsilon_T^2\right]\right)^2} \cdot \int_{0}^{T} \sigma_s^4 \: ds\right)^{-\frac{1}{3}}, \end{equation}

where $\mathbb{E}\left[\varepsilon_T^2\right]$ is the variance of the noise process and can be found a couple of pages afterwards (p. 1404):

\begin{equation} \widehat{\mathbb{E}\left[\varepsilon_T^2\right]} = \frac{1}{2n}\sum_{i=1}^n r_{i,T}^2, \end{equation}

which was originally derived in the paper of Hansen and Lunde (2006). Furthermore, the integrated quarticity, $\int_{0}^T \sigma_s^4 \: ds$, can be estimated using the realized counterpart (be wary: noise and jumps under second-frequencies will affect the realized quarticity estimator):

\begin{equation} RQ_T = \frac{n}{3}\sum_{i=1}^n r_{i,T}^4. \end{equation}

#### How to find optimal J?

Reiterating from one of your own questions, the original paper does not work with any J subscript. However, their updated paper, Zhang et al. (2011) (p. 165) extend the TSRV estimator for dependent noise, where they further define the average lag j realized volatility and argue that it reduces to their original TSRV estimator for $J=1$:

> We will continue to call this estimator the TSRV estimator, noting that the estimator we proposed in Zhang et al.(2005) is the special case where $J=1$ and $K\rightarrow \infty$ as $n\rightarrow\infty$.

To conclude, $J=1$ if you follow along Zhang et al. (2011) and $K=c n^{\frac{2}{3}}$ for $c$ being estimated as described above.

Shown in full with attribution under the source's licence. Licence: CC BY-SA 4.0 (Stack Exchange)

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.