Strategy and portfolio
What is Overfitting?
In Norwegian: Overtilpasning
Overfitting is when a strategy has been tuned so closely to the past that it fits the noise, not the pattern.
Definition
With enough knobs to turn, you can make almost any rule look good on old data. It has then learned the chance events of exactly that period, and they won't come back. The test is to try the rule on data it has never seen.
Example
You try 500 combinations of averages and stops, and the best returns 25% a year from 2015 to 2020. On the years after, which it hasn't seen, it returns 2%. It was overfitted.
Why it matters
Overfitting is the most common reason strategies that looked brilliant on paper lose money once they are used.
Weaknesses
- There is no fixed limit for how many attempts are too many, only that more attempts call for a stricter test.
- Even the test on new data becomes overfitted if you look at it many times and adjust.
Related terms
See Overfitting for the companies you own
Fincharter calculates the key figures for the whole market, and tells you when something changes.
Get started for freeThe explanations are general information, not investment advice.