Mar
26
What is Standard Error? from Phil McDonnell
March 26, 2008 |
What's a good working definition of standard error?
Suppose you had a regression model:
SPY = .30 * FXY - .0015
where SPY is the percent change in SPY and FXY is percent change yesterday in FXY (yen ETF). Then you backtest your model on the last 100 days of data. Each day you get a prediction and you already know the actual. The difference between the predicted and actual is called the residual or error. Take the standard deviation of all the errors — that is your standard error.
The interpretation of standard error is straightforward as well. If we make all the usual assumptions about normal distribution etc., then the standard error is a plus or minus confidence band around our prediction. Today FXY is up 1.20%, so our prediction from the model would be for SPY to be up tomorrow by .21%. This is an actual fitted model with a standard error of 1.4%.
So we can think of the prediction as the center or mean of our distribution of prices tomorrow. The standard error is the variability around that mean. Assuming normally distributed errors we would expect two thirds of our observations to fall within one standard deviation of the prediction. One sixth would be greater than prediction plus one standard error and one sixth would be less than predicted minus one standard error. In the same manner 95% should lie within two standard errors of the prediction.
Comments
3 Comments so far
Archives
- 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
I always have trouble with this part: “Assuming normally distributed errors.” Anyone in favor of banning that phrase, and all trading and risk management systems that are based on it?
Standard errors describes how I normally trade. Standard deviation is when I make whole new errors I’d never thought of before …
There is also a good explanation of this topic at wikipedia:
http://en.wikipedia.org/wiki/Standard_error_(statistics)