Nov
10
Bias, a query from Bill Rafter
November 10, 2007 |
Let's say that I work really hard and come up with a long-only trading system of largecap stocks that over the last 10 years had a compound annual rate of return of 20% with a maximum drawdown of 15%. The first thing everyone says is my universe was biased — survivor bias or look-ahead bias. I know there is some bias because I test my universe and find the universe I used had a 14% return with a 25% drawdown. So although there is some bias, I still beat the universe. But I am also happy because I know the S&P500 and Russell 3000 each had a 10% rate of return and a 45% drawdown. But the bias charge still nags me. I go back to the computer and come up with a short side to complement my long-only version. So my new system is long-short. Using the same stock universe over the same period, my long-short combined program produces a 10% return with a 3% drawdown. By going to a long-short program, did I eliminate the previously existing bias?
Phil McDonnell replies:
You cannot tell if the bias has been eliminated. Let me give a simple example. The S&P and most indexes are cap weighted. Effectively this means there is a lower bound a company must reach to be included in the S&P. Assume the sample is the current constituents of the index. Then in an historical study the sample includes knowledge of the future because it includes stocks which were added and excludes stacks that were deleted.In the bottom portion of the biggest 500 stocks there is a group of companies which grew their way into the elite index. These stocks probably outperformed. Over the last few years an equal number of stocks dropped out to make way for the new ones. These grew backwards and presumably underperformed.
In this example one would expect bias to arise if the data are filtered on market cap, sales or earnings growth and stock price growth (relative strength). When those factors are implicitly included with future knowledge that the stock will cross the threshold of index inclusion it can lead to a strong bias. For example, relative strength is related to market cap by a simple multiplication by the number of shares.
The only way to really determine what the bias might be is to identify the stocks which were added or deleted from the index but would have met the filtering criteria. Only then can we truly know the bias. But if you are going to do that you might as well simply start with the original stock list which existed at the time and do the study right.
Rob Steele remarks:
If you were data snooping you'd probably see better performance. Survivorship bias is certainly an issue; if you can, expand your universe to include everything that would ever have come into it over the test period. The big issue, however, is the "I work really hard and come up with …" part. How do you know you aren't data mining? The harder you look the more likely you are to find spurious correlations that aren't predictive. You can never be totally positive you've found something real but you can guard against chimeras to some extent. One way is to not look too hard. That is, limit free parameters and the size of your search space. Another is rolling backtests where you repeated introduce previously unseen data. Aronson's Evidence Based Technical Analysis is good on this.
Gregory van Kipnis replies:
What bias? There was still residual information despite survivor/peek-ahead, or are you saying Dr. Rafter did not use a hold-out sample either? Information decays, but if it doesn't decay too quickly you can exploit it. If (big if) there was bias, then going short part of the remaining universe adds to the bias. It doesn't subtract. Systems that learn from the past are not ipso facto completely biased.
A little bias is not such a bad thing (I stay away from all growling dogs for that reason even though most won't bite me). Learning from the past is great. Adding common sense and questioning if anything is different from the past is what creates an edge. I seek that.
Comments
WordPress database error: [Table './dailyspeculations_com_@002d_dailywordpress/wp_comments' is marked as crashed and last (automatic?) repair failed]
SELECT * FROM wp_comments WHERE comment_post_ID = '2376' AND comment_approved = '1' ORDER BY comment_date
Archives
- January 2021
- December 2020
- November 2020
- October 2020
- September 2020
- August 2020
- July 2020
- June 2020
- May 2020
- April 2020
- March 2020
- February 2020
- January 2020
- December 2019
- November 2019
- October 2019
- September 2019
- August 2019
- July 2019
- June 2019
- May 2019
- April 2019
- March 2019
- February 2019
- January 2019
- December 2018
- November 2018
- October 2018
- September 2018
- August 2018
- July 2018
- June 2018
- May 2018
- April 2018
- March 2018
- February 2018
- January 2018
- December 2017
- November 2017
- October 2017
- September 2017
- August 2017
- July 2017
- June 2017
- May 2017
- April 2017
- March 2017
- February 2017
- January 2017
- December 2016
- November 2016
- October 2016
- September 2016
- August 2016
- July 2016
- June 2016
- May 2016
- April 2016
- March 2016
- February 2016
- January 2016
- December 2015
- November 2015
- October 2015
- September 2015
- August 2015
- July 2015
- June 2015
- May 2015
- April 2015
- March 2015
- February 2015
- January 2015
- December 2014
- November 2014
- October 2014
- September 2014
- August 2014
- July 2014
- June 2014
- May 2014
- April 2014
- March 2014
- February 2014
- January 2014
- December 2013
- November 2013
- October 2013
- September 2013
- August 2013
- July 2013
- June 2013
- May 2013
- April 2013
- March 2013
- February 2013
- January 2013
- December 2012
- November 2012
- October 2012
- September 2012
- August 2012
- July 2012
- June 2012
- May 2012
- April 2012
- March 2012
- February 2012
- January 2012
- December 2011
- November 2011
- October 2011
- September 2011
- August 2011
- July 2011
- June 2011
- May 2011
- April 2011
- March 2011
- February 2011
- January 2011
- December 2010
- November 2010
- October 2010
- September 2010
- August 2010
- July 2010
- June 2010
- May 2010
- April 2010
- March 2010
- February 2010
- January 2010
- December 2009
- November 2009
- October 2009
- September 2009
- August 2009
- July 2009
- June 2009
- May 2009
- April 2009
- March 2009
- February 2009
- January 2009
- December 2008
- November 2008
- October 2008
- September 2008
- August 2008
- July 2008
- June 2008
- May 2008
- April 2008
- March 2008
- February 2008
- January 2008
- December 2007
- November 2007
- October 2007
- September 2007
- August 2007
- July 2007
- June 2007
- May 2007
- April 2007
- March 2007
- February 2007
- January 2007
- December 2006
- November 2006
- October 2006
- September 2006
- August 2006
- Older Archives
Resources & Links
- The Letters Prize
- Pre-2007 Victor Niederhoffer Posts
- Vic’s NYC Junto
- Reading List
- Programming in 60 Seconds
- The Objectivist Center
- Foundation for Economic Education
- Tigerchess
- Dick Sears' G.T. Index
- Pre-2007 Daily Speculations
- Laurel & Vics' Worldly Investor Articles