Look-ahead bias: knowing the future by accident
A historical test is only as honest as its timeline. Restated accounts, revised economic figures and today's index lists all carry information that was not available at the time, and the fix is to rebuild what was known on each date.
A historical test asks what would have happened if a rule had been followed in the past. The answer means something only if the rule uses information that existed on the day each decision would have been made. When it uses anything later, even by accident, the test is no longer a simulation of the past. It is a description of the past by someone who already knows how it ended.
Where the future leaks in
Look-ahead bias rarely comes from a deliberate choice. It comes from data that looks historical but was assembled later.
- Reporting lags. A company's fiscal year ends on one date and its annual report is published weeks or months later. A test that uses year-end figures from the year-end date is trading on numbers nobody had yet.
- Restated accounts. Companies correct and restate earlier figures. A database that keeps only the latest version shows the corrected numbers, not the ones investors saw.
- Revised economic data. Output, employment and many other series are revised after first release, often more than once. The figure in a database today can differ from the one published at the time.
- Index membership. Using the current members of an index to define the universe of the past brings in knowledge of which companies would later grow enough to be included.
Evidence from accounting data
Rolf Banz and William Breen (1986) looked at studies that related accounting data to stock prices using the COMPUSTAT database. They argued that the usual practice could introduce two problems: a look-ahead bias and an ex-post selection bias. They compared results from the standard database with results from a database that suffered from neither, and found that returns on portfolios chosen on the basis of accounting data differed significantly between the two. The differences were large enough to lead to different conclusions when testing a specific hypothesis about accounting data and prices.
Building in a lag
One common safeguard is to wait. Eugene Fama and Kenneth French (1992), in "The Cross-Section of Expected Stock Returns", matched accounting data for fiscal year-ends in calendar year t-1 with returns from July of year t to June of year t+1. Their stated purpose was to ensure that the accounting variables were known before the returns they were used to explain. They described the resulting minimum gap of six months between fiscal year-end and the return tests as conservative.
A fixed lag is a blunt tool. It gives up timeliness in exchange for safety, and it assumes that companies report within the window. It is far better than no lag, but it is not the same as knowing the date on which each figure actually became public.
Data as it was known
For economic statistics the problem is revision as much as delay. Dean Croushore and Tom Stark (2001) described a real-time data set for macroeconomists, maintained at the Federal Reserve Bank of Philadelphia. It is built from vintages: snapshots of the major macroeconomic series as they were available at quarterly intervals. Each vintage shows what a forecaster could actually have seen at that point. The authors gave an example showing that data revisions can affect forecasts, which means a test run on the latest revised figures can reach a different answer from one run on the figures of the time.
Point-in-time data
The general fix is point-in-time data: a record that stores each value together with the date it became known, and keeps earlier versions instead of overwriting them.
- Each accounting figure carries its publication date, and a test uses it only from that date.
- Restatements are stored as new records, not as corrections to the old ones.
- Economic series are taken from the vintage available on each decision date.
- Index membership and the list of listed securities are taken as they stood on each date.
None of this makes a test correct. It removes one way of being wrong. It is, however, the way of being wrong that produces the most convincing results, because a test that knows the future will almost always look good.
Sources
- Banz, R. and Breen, W. (1986). "Sample-Dependent Results Using Accounting and Market Data: Some Evidence." Journal of Finance, 41(4).
- Fama, E. and French, K. (1992). "The Cross-Section of Expected Stock Returns." Journal of Finance, 47(2).
- Croushore, D. and Stark, T. (2001). "A Real-Time Data Set for Macroeconomists." Journal of Econometrics, 105(1).
For information only. Not investment advice, an offer or a solicitation. Not directed at persons in the United Kingdom or the European Economic Area. Past market behaviour does not predict future results. Disclosures.
More on Data