هذا الكتاب غير متوفر بعد باللغة العربية. النسخ المتوفرة: English, Français.
Interviews I: Maths, Probability and Speed · المسارات المهنية
23Time Series
The working tools of return and volatility modelling: stationarity, AR and MA, GARCH, range and high-frequency volatility estimators, unit roots and cointegration, and how to compare forecasts. Questions ask for a number and for the reason that the number misleads.
Question 23.1 ★ QR, QT, DS, Risk • any • junior
Which of these are weakly stationary? (a) White noise. (b) A random walk. (c) An AR(1) with coefficient , started in its stationary distribution. (d) A linear trend plus noise. (e) The first difference of a random walk. (f) , where and are independent standard normals, drawn once.
Answer
Answer to Question 23.1.
Stationary: (a), (c), (e), (f). Not stationary: (b) and (d).
Weak stationarity needs a constant mean, a finite constant variance and an autocovariance that depends only on the lag.
(a) holds by definition. (c) holds, as and it starts in its stationary law. (e) is white noise, the increments of the walk. (b) has variance growing with . (d) has a changing mean, though removing the trend makes it stationary.
(f) is the surprise. Its mean is 0, its variance is at every , and its covariance is , which depends only on the lag. So it is stationary, though every path is a perfect wave. It is not ergodic: one path never reveals that and could be different, so the time average of gives and not the variance 1, although the time average of does recover the mean 0.
Classic wrong answer. Calling (f) non-stationary because it has a visible pattern, or (d) stationary because it looks stable about its trend.
Follow-up. Why does non-ergodicity matter in practice? Time averages from a single history then need not estimate the ensemble values. Only one path of the market is ever observed.
Why it matters. Stationarity is often stated and rarely tested at the definition. The wave shows that a pattern and stationarity can coexist.
Question 23.2 ★ QR, QT, DS, Risk • any • junior
An AR(1) has , with noise variance 1. What are the variance and the autocorrelation at lag 3? What is the half-life of a shock? How does the of the -step forecast depend on , and what is it at and ?
Answer
Answer to Question 23.2.
The variance is , the lag-3 autocorrelation , the half-life steps, and the is : at and at .
Taking the variance of both sides gives , so . The autocorrelation at lag is . A shock decays as , so the half-life is .
The best forecast of is . It has variance , so the share of variance explained is . A long simulation confirms the variance, the autocorrelation and the second .
As , the half-life and the variance blow up, and the process approaches a random walk.
Classic wrong answer. Using for the variance, which gives . It is .
Follow-up. What is the error variance of the 2-step forecast? , which equals . Long-horizon error approaches the unconditional variance.
Why it matters. Quick fluency with the workhorse model. The formula makes clear how fast forecastability fades.
Question 23.3 ★ QR, QT, DS, Risk • any • junior
An MA(1) has , with noise variance 1. Give the variance and the autocorrelations at lags 1 and 2. What is the largest possible lag-1 autocorrelation of an MA(1)? Which other value of the coefficient gives the same autocorrelations?
Answer
Answer to Question 23.3.
The variance is , the lag-1 autocorrelation , and the lag-2 autocorrelation 0. The largest possible value is , and the coefficient 2 gives the same autocorrelations.
The variance is . The lag-1 covariance is , as only is shared, so . Beyond lag 1 there is no overlap, so autocorrelations vanish. A simulation agrees.
peaks at with value . So any lag-1 autocorrelation over with nothing beyond it cannot come from an MA(1).
Replacing with keeps the ratio. For : . The convention picks , the invertible form, in which the noise can be recovered from past data.
Classic wrong answer. Giving , the coefficient itself. That holds for an AR(1) but not here.
Follow-up. Where does a negative MA(1) in returns come from? From noise in observed prices. If , the differences have a term, and this gives a negative lag-1 autocovariance.
Why it matters. This is the mirror image of the AR(1) and the basis for identifying models from correlations.
Question 23.4 ★ QR, QT, DS, Risk • any • junior
An exponentially weighted variance uses a decay of on daily squared returns. What weight does the latest day get? What is the half-life of the weights, and the effective number of days? A large move of 5 times the current daily volatility arrives. By what factor does the volatility estimate jump?
Answer
Answer to Question 23.4.
The latest day has weight 6%. The half-life is days, the effective number of days about 32, and the volatility estimate jumps by a factor of .
The weights are , summing to 1. The half-life solves , so .
The effective sample size is . The mean age of the data is days.
The update is . With , this is . The volatility rises by . So one day has a large effect, and it persists: after 11 days, half of the added variance remains.
Classic wrong answer. Saying that the volatility rises by , which mixes up volatility and variance.
Follow-up. How does this relate to GARCH? It is an integrated GARCH(1,1) with , , . There is no long-run variance to return to, so the forecast is flat at every horizon.
Why it matters. This is the default risk estimate at many desks, and the jump after a large move is what a risk manager has to explain.
Question 23.5 ★★ QR, QT, DS • any • junior, experienced
Consider . Is it stationary? Find the roots of the characteristic polynomial, the modulus and the period of any cycle, and the autocorrelations at lags 1 and 2. What would a shock’s effect look like over time?
Answer
Answer to Question 23.5.
It is stationary, with complex roots of modulus and a period of steps. The autocorrelations are and .
Stationarity depends on the roots of , which are . Their modulus is , so it is stationary.
The argument is radians, so the cycle has period .
The Yule–Walker equations give , so . Then . A long simulation gives the same.
A shock has effects 1, , , , …. It first grows, then falls, turns negative at step 5, and oscillates, shrinking by per step, which is a damped wave. An AR(1) with a positive coefficient cannot do this. Note that the coefficient exceeds 1 and is harmless, as what matters is the roots.
Classic wrong answer. Saying that makes it explosive, or checking only , which leaves out the other conditions.
Follow-up. Does a cycle in the model mean a tradable cycle? Not by itself. The damping is strong, and the wave’s phase wanders with new shocks, so the cycle’s timing is lost within a few periods.
Why it matters. Reading dynamics from the roots is the key skill. Hump-shaped responses appear in macro and in order-flow data.
Question 23.6 ★★ QR, QT, DS • any • junior
A series of 500 points has sample autocorrelations , , , and sample partial autocorrelations , , , . What model do you propose, and what bands do you use to judge significance? What pattern would an MA(1) show, and what would an ARMA(1,1) show?
Answer
Answer to Question 23.6.
An AR(1) with : the autocorrelations decay geometrically, and the partial autocorrelations cut off after lag 1. The bands are .
, and , which fit the first list. The partial autocorrelation at lag is the last coefficient in an AR() fit, and it is the correlation left once the lags between are controlled for. After lag 1, all are within the bands, so one lag is enough.
An MA(1) has the reverse: autocorrelation cuts off after lag 1, and the partial ones decay, alternating in sign if the coefficient is positive. An ARMA(1,1) has both decaying, with neither cutting off.
Simulations confirm the signature: a lag-2 regression coefficient near 0 for the AR(1), and near for an MA(1) with coefficient .
The bands are for white noise. Under the fitted AR(1), the sample autocorrelations at higher lags have a wider spread, so the bands understate the uncertainty there.
Classic wrong answer. Fitting a high order because the autocorrelations stay above the band for several lags. A slow decay alone says nothing about the order, and the partial values are what show it.
Follow-up. How many lags will look significant by chance among 20, with no true structure? About one at the 5% level. Testing many lags together is the role of the Ljung–Box statistic.
Why it matters. This is the classic identification table, and it can be asked of real output in a minute.
Question 23.7 ★★ QR, QT, DS • hedge fund, bank • junior, experienced
Returns follow an AR(1) with autocorrelation . What is the variance ratio for and ? What is the limit for large ? How much does the usual square-root-of-time annualisation understate volatility?
Answer
Answer to Question 23.7.
and , with a limit of . True long-horizon volatility is about above the square-root-of-time figure.
The variance of a sum of terms gives
With : , and . A long simulation agrees.
For large , the sum tends to . Volatility scales by the root of the ratio, . So a small daily autocorrelation adds 10.6% to annual volatility, and it would turn a measured annual Sharpe ratio of 1 into about .
With , the ratio drops below 1, as for mean-reverting returns, which look worse on daily data than on long horizons.
Classic wrong answer. Using , which ignores both the weights and the decay of .
Follow-up. A fund’s monthly returns have autocorrelation . What does this suggest? Stale marks or smoothing, more likely than skill, and it means that the true volatility is higher by a factor of about .
Why it matters. This is the simplest test of the random walk, and it has a direct effect on any annualised number.
Question 23.8 ★★ QR, QT, DS, Risk • hedge fund, bank • junior, experienced
A GARCH(1,1) has , with , and . Find the long-run variance and the annual volatility, with 252 days. How long does a volatility shock take to halve? If today’s variance is four times the long-run value, what is the forecast 10 days ahead?
Answer
Answer to Question 23.8.
The long-run variance is , or 10% annual volatility, the half-life is days, and the forecast is times the long-run variance, or .
Taking expectations of the recursion, , so . Annualising gives .
The conditional forecast obeys . So shocks decay at per day, with half-life .
Today’s excess is . After 10 days, it is , so the forecast is , an annual volatility of . A Monte Carlo over the recursion gives .
If , does not exist, and the forecast stays flat.
Classic wrong answer. Applying the decay to volatility, not variance. The recursion is linear in variance only.
Follow-up. What does this imply for the term structure of forecast volatility? It rises or falls smoothly toward 10% as the horizon grows. The average variance over days is what matters for a term volatility.
Why it matters. GARCH(1,1) is the baseline for volatility forecasting. A candidate should read persistence and the long-run level straight off the coefficients.
Question 23.9 ★★ QR, QT, DS, Risk • hedge fund, market maker • junior, experienced
A day’s high and low have ratio . What does the Parkinson estimator give as a daily volatility? How much more efficient is it than one squared close-to-close return? Give the two main ways in which it goes wrong on real data.
Answer
Answer to Question 23.9.
The daily volatility is . It is about five times as efficient as one squared return. Discrete sampling biases it low, and bid-ask bounce biases it high.
, so the estimate is , whose root is .
The constant comes from for the range of a driftless Brownian motion. A squared return has relative variance 2. The Parkinson estimator has relative variance about , which gives a ratio of . In a simulation with fine steps, the ratio is between and .
On real data, it goes wrong in two main ways. First, the true high and low fall between prints, so the observed range is too small. With 78 prices a day, a simulation shows the variance estimate about 14% too low, about 7% in volatility. Second, prints at the bid and at the ask extend the range, and that pushes it up, more so in illiquid names. Overnight moves are also missed entirely, so the estimator describes trading hours only, and drift inflates it slightly.
Classic wrong answer. Treating the fivefold gain as free. It relies on the model, and the two biases work against each other in ways that depend on the stock.
Follow-up. How would you combine the range and the returns? Use estimators of the Garman–Klass type that use open, high, low and close, and add a close-to-open term for the night.
Why it matters. Range estimators are cheap and useful, and the interviewer wants the efficiency figure together with the reasons not to trust it.
Question 23.10 ★★ QR, QT • market maker, hedge fund • junior, experienced
The observed log price is the efficient price plus independent noise of standard deviation , and the efficient price has a daily volatility of 1%. What does the realised variance from equal intraday returns have as its mean? What is the relative bias with 78 returns a day, and with 390? How does the noise show up in the autocovariance of returns?
Answer
Answer to Question 23.10.
The mean is . The relative bias is at 78 returns and at 390. The noise gives returns a lag-1 autocovariance of .
An observed return is , with of variance . Summing squared returns gives from the efficient price and from the noise. The noise term grows with , while the signal does not.
With and : , or of . At 390, it is five times as large. A simulation with these numbers matches the formula within 1%.
Consecutive returns share with opposite signs, so the autocovariance is whatever the frequency. A plot of realised variance against the sampling frequency, the signature plot, rises as the steps shrink.
Roll’s estimate reads the same effect as a spread: with bounce of half-spread , , and . Here this is a spread of .
Classic wrong answer. Assuming that more data always means a better estimate. In this setting, the highest frequency gives the worst estimate of all if nothing is done about the noise.
Follow-up. How can autocovariance be used to correct realised variance? Add twice the first-order autocovariance sum to the realised variance, which removes the bias in this model. This is the idea behind realised kernels.
Why it matters. This is the first thing that goes wrong with high-frequency data. The sign of the autocovariance is a useful diagnostic.
Question 23.11 ★★ QR, QT, DS • hedge fund, bank • junior, experienced
You estimate when in truth . Why does the usual -statistic on not use the normal table? What are the 5% critical values with no constant and with a constant? With a constant and 250 observations, about what value of do you expect? Show these by simulation.
Answer
Answer to Question 23.11.
Under a unit root, the regressor is non-stationary, so the statistic has a non-normal limit. The critical values are and . Expect .
The usual asymptotics rely on settling to a constant. Under a random walk, it grows like and stays random. So the limit is a ratio of functionals of Brownian motion, and it is skewed to the left. A simulation of paths with gives the 5% quantiles as with no constant and with a constant.
The estimate itself is biased downward. With a constant, , or at , which a simulation confirms. So a random walk looks mean-reverting, with an apparent half-life of about 33 days. A test using the normal table at would reject the true unit root about 45% of the time with a constant.
Removing the constant does not solve this: the 5% value is still far from normal, and it requires a mean of zero, which is rarely a safe assumption.
Classic wrong answer. Comparing the statistic with . It is the commonest way to discover pairs that do not exist.
Follow-up. Why is the bias so much worse with a constant? The demeaned series borrows from the future, so the regressor is correlated with later noise. This is a shift of about rather than about .
Why it matters. Every mean-reversion trade rests on this test. Knowing the bias and the critical values prevents the commonest error in pairs research.
Question 23.12 ★★ QR, QT, DS • hedge fund • junior, experienced
Two forecasts are compared over 400 periods. The difference in their squared errors has mean and standard deviation . Find the Diebold–Mariano statistic if these differences are serially independent, and if they are AR(1) with coefficient . What changes if one model was chosen as the best of many?
Answer
Answer to Question 23.12.
The statistic is under independence, and with the AR(1). Selection of the best of many models makes even weak.
Diebold–Mariano is a -statistic on the mean difference in loss. With independence, it is , a two-sided -value of .
With autocorrelation, the variance of the mean is multiplied by the long-run factor . So the statistic is , a -value of . Simulated AR(1) series with these parameters give the same standard error for the mean. Forecast errors at horizons above one step overlap, and they normally have this kind of dependence. So a heteroskedasticity and autocorrelation consistent estimate, with lags to match, is needed.
If one model is the best of 20 candidates, then the expected best null statistic is already about . A value of is then hardly evidence, and a reality check of the data-snooping type, or a separate holdout, is needed. The test also compares forecasts as given, so if the models are nested, or the estimation noise matters, the limit is not standard.
Classic wrong answer. Using the plain standard error for overlapping forecasts. A -value that crosses 5% often no longer does after that correction.
Follow-up. What is the difference between in-sample and out-of-sample fit here? This test scores out-of-sample forecasts. In-sample fit always favours the larger model, and it would say nothing here.
Why it matters. Claims of improvement need a standard error, and comparing forecasts is how models are picked. The two adjustments cover most real cases.
Question 23.13 ★★ QR, QT • hedge fund • junior, experienced
is a random walk, and , where is an AR(1) with coefficient . What are the orders of integration of , and ? What are the half-life of the spread, and the rate at which the regression slope converges? Describe the two steps of Engle–Granger, and say why the second step cannot use the usual table. How does this differ from regressing two independent random walks?
Answer
Answer to Question 23.13.
and are I(1), and is I(0). The half-life is steps, and the slope converges at rate , not . Engle–Granger regresses, and then tests the residuals with a special table.
and wander, while does not. That is cointegration with vector . The half-life of is .
The slope is superconsistent. Since grows like , the error shrinks like . In a run, quadrupling reduces the slope’s error by a factor of about 4, against 2 in a stationary regression.
Step one: regress on and take the residuals. Step two: test the residuals for a unit root. The usual table fails because is chosen to make the residuals as small as possible, so they look stationary even when they are not. On two independent walks with , the 5% critical value comes out near , far from or .
With two independent walks, the regression is spurious: the slope stays random, and the -statistic rejects zero over 70% of the time at the 5% level. Cointegration is the case in which such a regression has a real meaning, and the residual test tells them apart.
Classic wrong answer. Testing whether the correlation of the levels is high, or testing with the plain Dickey–Fuller table. Correlation of returns or of levels says nothing about whether a spread comes back.
Follow-up. What can you do with several assets? Use the Johansen method, a system approach that estimates how many stationary combinations exist, up to the number of assets less one.
Why it matters. It is the theoretical base of pairs trading. A candidate must know how it differs from correlation and from spurious regression.
Question 23.14 ★★★ QR, QT, DS • hedge fund, bank • experienced
For the GARCH(1,1) with normal innovations, and , the kurtosis is . Derive this by taking the fourth moment. Evaluate it. What is the condition for it to be finite? The returns themselves are uncorrelated. What are the lag-1 autocorrelation of the squared returns, given by , and its decay rate?
Answer
Answer to Question 23.14.
The kurtosis is , finite when . The lag-1 autocorrelation of the squares is , decaying at per lag.
Let , and . Square the recursion and use and , which follow since with independent of :
Note that . With , the constant term is . So
With and : . The condition for finiteness is a positive denominator. Here , so it holds. At , , as it must be for a normal.
The squares follow an ARMA(1,1) with autoregressive coefficient , and the given formula has value . Each further lag multiplies this by . A simulation of two million steps gives these values, and a return autocorrelation near 0.
So the returns have no linear memory, while their sizes do. The value looks modest, yet the slow decay gives substantial total persistence.
Classic wrong answer. Assuming that fat tails need fat-tailed innovations. Here normal innovations give excess kurtosis through the mixing of variances, although real data usually need more.
Follow-up. What is the kurtosis if is doubled with unchanged? . It is close to the edge: at it becomes infinite. So the fourth moment is very sensitive to , and sample kurtosis is an unstable target.
Why it matters. This derivation checks that the candidate can work with moments of a recursion. It explains two stylised facts at once.
Question 23.15 ★★★ QR, QT, DS • hedge fund, bank • experienced
A perfect forecast of the conditional variance is scored against the squared return . Show that the of this regression is at most , where is the return’s kurtosis and the innovations are normal. Evaluate this for the GARCH(1,1) with kurtosis . What does it say about judging volatility models? How do you fix the comparison?
Answer
Answer to Question 23.15.
The is , even for a perfect forecast. So the low against squared returns says little, and a better proxy for the variance is the fix.
Write , with and independent of . Then the regression of on has slope 1, and .
Using and : and . At : . A simulation of the GARCH itself gives this figure when the forecast is the true .
So values of 5% to 10% are what perfect models would produce, and the critics who cite them are measuring the proxy’s noise, which is enormous for a one-observation estimate. An imperfect model does worse, which is why the formula is an upper bound for this model.
The fix is a less noisy proxy: realised variance from intraday returns. With 78 normal sub-returns, the noise has variance , and the formula becomes
A simulation agrees with this within . Also, compare models with a loss that is robust to proxy noise, either squared error or the quasi-likelihood loss, and avoid absolute errors of volatility, which can favour the wrong model.
Classic wrong answer. Concluding that GARCH does not forecast, from an of a few percent against squared returns. The test had almost no power in the first place.
Follow-up. What does give, and why? : variance is constant, so there is nothing to forecast. The formula gives the sensible limit.
Why it matters. This is a well-known confusion in volatility research, with a two-line resolution. It shows whether the candidate separates a model’s quality from its measurement.
Question 23.16 ★★★ QR, QT • hedge fund • experienced
A return is , where the expected return is a slow AR(1) with coefficient and where the noise is white and independent of it. The signal is of total variance. What is the lag-1 autocorrelation of returns, and at lag ? What ARMA model does follow? Why can return autocorrelations look like nothing while the predictability is real?
Answer
Answer to Question 23.16.
, so and . The return follows an ARMA(1,1) with and a moving-average coefficient of about . The autocorrelations are too small to see, and yet they add up.
Since the noise is white and independent, . Dividing by the variance of gives .
Geometric decay from lag 1 on is the signature of an ARMA(1,1), and an AR(1) plus white noise is exactly that. In the form , matching the lag-1 autocorrelation gives , which nearly cancels the root at . So it looks like white noise.
To detect at takes observations, or about 196 years of daily data. A simulation of four million steps does show it.
The effect is nonetheless real. The sum of the autocorrelations gives a long-run variance ratio of . So long-horizon returns are more predictable than short-horizon ones: the correlations are small but they all have the same sign.
The key is how the predictability is reached. If can be observed through a separate signal, the is 1%. The best forecast from past returns alone reaches only about , as both the ARMA innovation variance and a steady-state Kalman filter show. So return history is a poor way to find such a signal.
Classic wrong answer. Concluding from insignificant autocorrelations that returns are unpredictable. Low autocorrelation fits both no signal and a persistent signal under much noise.
Follow-up. How do you exploit this with no outside signal? Mostly you cannot, at this . Long-horizon regressions gain a little, but they mostly reuse the same data and call for overlap corrections.
Why it matters. This resolves an apparent paradox in empirical finance, and it shows why external signals matter more than return history.
Question 23.17 ★★★ QR, QT, DS, Risk • hedge fund, bank • experienced
Returns are normal given a state, with annualised volatility of 10% in a calm state and 30% in a stressed state. The state is a Markov chain that stays calm with probability and stressed with probability . Find the stationary shares, the unconditional volatility and the kurtosis. How does the autocorrelation of squared returns decay?
Answer
Answer to Question 23.17.
The stationary shares are and , the volatility is , the kurtosis is , and the autocorrelation of the squares decays as .
For the shares, balance the flows: .
The variance is a mixture: , so the volatility is . A calm-state share of two thirds still leaves most variance in the stressed state.
For kurtosis, the normal has in each state:
This much kurtosis comes from mixing alone, with no fat tails in either state.
The chain’s memory is its second eigenvalue, . Conditional on the state, and are independent, so their covariance is the covariance of the state variances, which decays as . The half-life is days. The level is set by the share of due to the state: .
A four-million-step simulation returns , a kurtosis near , and the decay. As the states approach each other, the kurtosis goes to 3, and the autocorrelation to 0.
Classic wrong answer. Averaging volatilities, . Variances mix, and volatilities do not.
Follow-up. How does this model differ from GARCH with the same persistence? The memory is that of an unobserved state, not of past returns as such. A large move raises the forecast only through what it says about the state, which can be a sharp jump, capped at the stressed variance, and not an increase proportional to . From a prior of , a return of 4 calm-state deviations lifts the stressed probability to , and the next day’s variance forecast by a factor of . Filtering the state is an inference problem.
Why it matters. Regime models are often mentioned without numbers. These numbers come from a two-state chain and a line of algebra.
Question 23.18 ★★★ QR, QT, DS • hedge fund • junior, experienced
You fit an AR(1) by least squares with a constant to 100 points of a mean-reverting spread, where the true coefficient is . Use the bias formula to find the expected estimate. What does that do to the half-life you report? Why does the bias arise, and how can you correct it?
Answer
Answer to Question 23.18.
, so the reported half-life is about steps, against a true . More than half the bias comes from estimating the mean, and a jackknife removes most of it.
The bias is , so the expected estimate is . Half-lives are : at , and at . A simulation of samples gives a mean estimate of and a median half-life of about , so at this length the true bias is a little larger than the formula’s.
There are two sources. Even with a known mean, is biased by about , because the shock enters later regressors. Demeaning adds about : the mean of the sample includes the later noise terms, so the demeaned moves against , and the estimate falls. Here the formulas give and , and the simulation and . Near 1 the correction is the largest, and with a small it can make any random walk look like a reverting one.
So a backtest that selects spreads with short half-lives favours exactly those with the most bias, and expected profits are overstated.
To correct it, a half-sample jackknife uses , where the last two are from the two halves. Since the bias is of order , this cancels most of it. In the simulation, the mean returns to . Direct use of the formula, solving for , gives . Simulation-based or median-unbiased estimates are also used. All of these have a larger variance, which is the cost.
Classic wrong answer. Reporting the half-life from the raw estimate. A half-life is a highly nonlinear function near , so small biases have large effects.
Follow-up. Solve the formula for this sample. , which recovers the truth by construction when the estimate is at the formula’s mean.
Why it matters. Half-life estimates decide how much capital a pairs book carries. The bias works in the direction that flatters every candidate.
Question 23.19 ★★★★ QR, QT • hedge fund • experienced
Under a unit root with no constant, derive the limit laws of and of the -statistic, as functionals of a Brownian motion on . Find the distribution of the numerator, and the probability that it is negative. Check the 5% critical value of the -statistic and the mean of by simulation.
Answer
Answer to Question 23.19.
, and the -statistic tends to . The numerator is negative with chance . The 5% value is , and the mean is about .
Start with , where .
Squaring, . Summing,
By Donsker’s theorem, . And . So the numerator divided by tends to . The denominator divided by tends to .
Taking the ratio, the factors of give , and the cancels. For the -statistic, the standard error is , with , so it tends to the numerator over .
The numerator is , a shifted chi-square, and it is negative when , which has probability . So about two times in three, even with a true unit root. That is the source of the left skew.
A simulation on and a direct evaluation of the functional on a fine grid agree: the mean of is about , and the quantile is . The normal value would reject of the time, not 5%. The denominator has mean , and it is random in the limit, which is the whole reason that normality fails.
Classic wrong answer. Applying a central limit theorem to the numerator alone. The sum is not normal: it is a chi-square shifted. Each shock is independent of its regressor, but the sizes of the terms are set by , which grows and stays random, so the sum’s conditional variance stays random even after scaling.
Follow-up. What does a constant change in the limit? Write the limit as . Then is replaced by the demeaned in both integrals, so the numerator becomes . The law shifts left, and the 5% value moves to about .
Why it matters. This is a compact use of Brownian functionals in econometrics, and it is the proof behind the most used test in the field.
Question 23.20 ★★★★ QR, QT • market maker, hedge fund • experienced
The efficient price has daily variance , and the noise has variance , as in a standard model of market microstructure noise. Write the mean squared error of realised variance as a function of , keeping the main terms, and find the best , for and . Then show how averaging over subsamples and subtracting a bias term gives an estimator that uses all the data and has no first-order bias, and test it by simulation.
Answer
Answer to Question 23.20.
The error is about , with the best . Two-scale averaging uses all the ticks and has no first-order bias.
With returns, the bias is , so its square is . The variance comes mainly from the efficient price, and for a constant volatility it is . There are also smaller noise terms, of order and . Setting the derivative to zero gives , so : about one return per 11 minutes of a 6.5-hour day. A search over the full curve, including the smaller terms, also lands near there.
The sparse estimator discards most of the data. Two-scale realised variance keeps it. Divide ticks into offset subgrids, each of about returns. Let be the average of their realised variances, whose mean is , and let use all the ticks, with mean about . Then
has mean , since the all-ticks estimate is essentially an estimate of the noise.
The simulation has ticks with these parameters, and . The all-ticks estimate has mean about 118 times the truth. TSRV has a mean within 3% of it. Its root mean squared error is between 10% and 30% of , and it is below that of the sparse estimator at , as a good estimator using more data should be.
These assume independent noise. Real noise is autocorrelated and depends on order flow, which is one reason for using more elaborate kernels. And trade time often does better than clock time.
Classic wrong answer. Choosing a 5-minute grid by habit with no reference to the noise. That is often reasonable but it is the result of this calculation for a certain noise level, not a law.
Follow-up. What does the best become if the noise doubles? The formula shows , so falls by a factor of , to about 14 returns a day.
Why it matters. A clean trade-off followed by the idea of using the noisy estimator to correct itself. It connects model-based thinking directly to what is done with tick data.