One test of randomness is the runs test (Bradley, (1968). Distribution-Free Statistical Tests, Chapter 12). A run is defined as a series of increasing values or a series of decreasing values. The number of increasing, or decreasing, values is the length of the run. For example UP DOWN is a run of 1. UP UP DOWN is a run of 2.
I have applied this test to the price of the S&P 100 (OEX) index from 16/4/02 to 1/1/97 (see below) which is a total of 1329 days. I then counted the runs that occurred in a list of 1329 random numbers normally distributed and with the same mean and standard deviation as OEX.
These are the results:
OEX
1 256
2 153
3 95
4 46
5 25
6 2
Random Numbers
1 250
2 116
3 80
4 47
5 26
6 11
(the runs are in the first column - its difficult to format a table on this board)
This is strong evidence, I would say, that prices are random
www.yabz.com
I have applied this test to the price of the S&P 100 (OEX) index from 16/4/02 to 1/1/97 (see below) which is a total of 1329 days. I then counted the runs that occurred in a list of 1329 random numbers normally distributed and with the same mean and standard deviation as OEX.
These are the results:
OEX
1 256
2 153
3 95
4 46
5 25
6 2
Random Numbers
1 250
2 116
3 80
4 47
5 26
6 11
(the runs are in the first column - its difficult to format a table on this board)
This is strong evidence, I would say, that prices are random
www.yabz.com
