Jan
18
EUR/USD, by Craig Mee
January 18, 2007 |
A quick observation …
Since the start of 1995 through 2006, the opening week of the year in eur/usd has been the extreme (HIGH OR LOW) for the year nine out of 12 years … Will ‘07 follow this suit?
Tom Downing comments:
This looks pretty nonrandom to me notwithstanding the arcsine effect.
Define S as the number of years (out of 12) in which the min or max falls within the first week … In 10,000 simulated 12 year periods, here is the distribution of S when price changes follow a standard normal distribution: (mean 0, standard deviation 1):
S N Prob Odds
0 988 0.0988 10.12
1 2504 0.2504 3.99
2 2984 0.2984 3.35
3 2145 0.2145 4.66
4 951 0.0951 10.52
5 324 0.0324 30.86
6 86 0.0086 116.28
7 16 0.0016 625.00
8 1 0.0001 10000.00
9 1 0.0001 10000.00
10 0 0.0000 NA
11 0 0.0000 NA
12 0 0.0000 NA
In only 1 of the 10000 simulations did at least 9 years of the 12 have a min or max within the first week.
If you assume some sort of drift (for example, since 2002 euro/$ mean = 3.3 pips with standard deviation of 68 pips/day), the probability of having at least one first week min or max increases, but the probability rapidly drops off after S=7:
S N Prob Odds
0 579 0.0579 17.27
1 1814 0.1814 5.51
2 2789 0.2789 3.59
3 2460 0.2460 4.07
4 1473 0.1473 6.79
5 628 0.0628 15.92
6 210 0.0210 47.62
7 44 0.0044 227.27
8 3 0.0003 3333.33
9 0 0.0000 NA
10 0 0.0000 NA
11 0 0.0000 NA
12 0 0.0000 NA
Another approach would be to estimate the probability of observing a first week min or max in any given year (conditional on a price change distribution), and then calculate the probability of having at least 9 successes out of 12 trials under binomial distribution.
Vincent Andres adds:
EUUS_W.DAT : column = OPEN 02/01/1995-25/12/2006
WEEK_1 WK_MIN WK_MAX DIFF
1995 1.2040 1.2040 1.3422 0.0000
1996 1.2740 1.2250 1.2837 0.0097
1997 1.2400 1.0556 1.2406 0.0006
1998 1.1091 1.0762 1.2085 0.0329
1999 1.1756 1.0098 1.1830 0.0074
2000 1.0133 0.8352 1.0256 0.0123
2001 0.8956 0.8437 0.9472 0.0516
2002 0.9016 0.8613 1.0100 0.0403
2003 1.0225 1.0225 1.2184 0.0000
2004 1.2352 1.1790 1.3444 0.0562
2005 1.3313 1.1709 1.3576 0.0263
2006 1.1854 1.1834 1.3353 0.0020
Read more here.
Sam Humbert adds:
I took a quick look at this as a finger-exercise. Below is R code with some user-tweakable parameters, currently set to roughly mimic Tom's work (though I took a clean-room approach; didn't use Tom's code as a base). The idea, as suggested by Tom, is to find the "probability of observing a first week min or max in any given year," which is "Prop" in this R script, and turns out to be .177 (I'm sure Dr. Phil or others could find a closed-form solution) and plug this into the binomial, thus chopping out an order of magnitude of computing. The results I get are almost exactly Tom's, so either his work is correct (as usual) or he/I made the same mistakes.
Days<- 252 # Biz days in a year
Year<- 12 # Number of years
Week<- 5 # Biz days in a week
Sims<- 10000 # Number of sims
Data<- apply(matrix(rnorm(Days*Sims),Days),2,cumsum)
Prop<-sum(pmin(apply(Data,2,which.min),apply(Data,2,which.max))<=Week)/Sims
Prob<- round(diff(pbinom(Year:0,Year,Prop,F)),4); Prob<- c(Prob,1-sum(Prob))
Odds<- round(1/Prob,2)
data.frame(S=Year:0,Prob,Odds)
Days<- 252
Year<- 12
Week<- 5
Sims<- 10000
Data<- apply(matrix(rnorm(Days*Sims),Days),2,cumsum)
Prop<-sum(pmin(apply(Data,2,which.min),apply(Data,2,which.max))<=Week)/Sims
Prob<- round(diff(pbinom(Year:0,Year,Prop,F)),4); Prob<-
c(Prob,1-sum(Prob))
Odds<- round(1/Prob,2)
data.frame(S=Year:0,Prob,Odds)
S Prob Odds
1 12 0.0000 Inf
2 11 0.0000 Inf
3 10 0.0000 Inf
4 9 0.0000 Inf
5 8 0.0002 5000.00
6 7 0.0016 625.00
7 6 0.0088 113.64
8 5 0.0352 28.41
9 4 0.1023 9.78
10 3 0.2113 4.73
11 2 0.2948 3.39
12 1 0.2492 4.01
13 0 0.0966 10.35
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 = '737' 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