Podcast: Piterbarg and Nowaczyk on running better backtests
Quants discuss new way to extract independent samples from correlated datasets
Quants routinely run backtests to gauge the quality of their models. To ensure accuracy, backtesting must be executed on independent data. This condition is often not met.
Most datasets exhibit correlation between variables, or autocorrelation in a single variable. One example is year-on-year inflation data – each monthly print shows the percentage change over the previous 12 months, with 11 of those inputs also used to calculate the previous month’s figure, resulting in a time series that is highly autocorrelated.
“If you just ignore that in your backtesting framework, the results will be materially incorrect,” says Nikolai Nowaczyk, a risk management and artificial intelligence consultant who has been helping NatWest solve this problem.
The easiest remedy is to simply take fewer samples – for instance, one inflation print per year, instead of 12. This would generate independent samples, but fewer of them, diminishing the power of the statistic.
Another approach would be to simulate a large number of paths using the model being tested, build an empirical distribution of the test statistic, and then divide the results into the quintiles that are most relevant to the exercise at hand. This can be an effective solution, but it can also be computationally intensive, given the large number of simulations involved.
In this episode of Quantcast, Nowaczyk and Vladimir Piterbarg, head of quantitative analytics at Natwest Markets, discuss an alternative methodology for dealing with this problem, based on the idea of decorrelating samples. This does not mean removing the correlation effects from the test statistic, but rather decorrelating the original data and reducing the process to a standard statistical test.
To do this, they first derive the correlation matrix, which in many cases can be calculated analytically or, in the worst case, simulated. The information in the correlation matrix can then be removed from the samples, resulting in a dataset that is suitable for backtesting.
This technique can be useful for backtesting counterparty credit risk and initial margin models, where datasets tend to be small, and observation windows long.
“We use it for counterparty credit risk,” says Piterbarg. “This is where the problem is most pronounced. We hired Nikolai to help us on that front, and he came up with this idea.”
Piterbarg admits the methodology is not particularly intuitive and can be difficult to explain. The easiest way to think about it, he says, is that it magnifies the features of the tail of the distributions, which is key to the backtests the bank runs on counterparty credit models.
In addition to backtesting, Nowaczyk and Piterbarg also discuss their other current research projects, which as it turns out are completely decorrelated from each other. Nowaczyk is working on a simulation of an economic ecosystem of central counterparties, which he thinks will reveal new insights into the systemic risks they pose. Piterbarg, who helped organise the launch of the Paul Lévy Prize in Probability Theory, is turning his attention back to interest rate derivatives. He is developing a model to capture the mean reversion effects in factor models that describe that market. We should hopefully hear more about those projects in a future episode of Quantcast.
Index
00:00 Backtesting in the presence of correlation
04:10 Backtesting using Monte Carlo simulations
08:09 Decorrelating correlated variables
10:00 Application to counterparty credit risk
15:51 Why this method works
19:35 Does decorrelation generate independent samples?
21:00 The Paul Lévy Prize in Probability Theory
25:25 Future research projects
To hear the full interview, listen in the player above, or download. Future podcasts in our Quantcast series will be uploaded to Risk.net. You can also visit the main page here to access all tracks, or go to Spotify, Amazon Music or the iTunes store to listen and subscribe.
Only users who have a paid subscription or are part of a corporate subscription are able to print or copy content.
To access these options, along with all other subscription benefits, please contact info@risk.net or view our subscription options here: http://subscriptions.risk.net/subscribe
You are currently unable to print this content. Please contact info@risk.net to find out more.
You are currently unable to copy this content. Please contact info@risk.net to find out more.
Copyright Infopro Digital Limited. All rights reserved.
As outlined in our terms and conditions, https://www.infopro-digital.com/terms-and-conditions/subscriptions/ (point 2.4), printing is limited to a single copy.
If you would like to purchase additional rights please email info@risk.net
Copyright Infopro Digital Limited. All rights reserved.
You may share this content using our article tools. As outlined in our terms and conditions, https://www.infopro-digital.com/terms-and-conditions/subscriptions/ (clause 2.4), an Authorised User may only make one copy of the materials for their own personal use. You must also comply with the restrictions in clause 2.5.
If you would like to purchase additional rights please email info@risk.net
More on Views
Quants dive into FX fixing windows debate
Longer fixing windows may benefit clients, but predicting how dealers will respond is tough
BofA quants propose new model for when to hold, when to sell
Closed-form formula helps market-makers optimise exit strategies
Podcast: Alvaro Cartea on collusion within trading algos
Oxford-Man Institute director worries ML-based trading could have anti-competitive effects
Podcast: Lorenzo Ravagli on why the skew is for the many
JP Morgan quant proposes a unified framework for trading the volatility skew premium
Counterparty risk model links defaults to portfolio values
Fed’s Michael Pykhtin proposes using copula models to capture effects of margin calls on default risk
Podcast: Olivier Daviaud on P&L attribution for options
JP Morgan quant discusses his alternative to Greeks decomposition
Filling gaps in market data with optimal transport
Julius Baer quant proposes novel way to generate accurate prices for illiquid maturities
Georgios Skoufis on RFRs, convexity adjustments and Sabr
Bloomberg quant discusses his new approach for calculating convexity adjustments for RFR swaps