Back To The Future - An Empirical Investigation Into The Validity of Stock Index Models Over Time
Back To The Future - An Empirical Investigation Into The Validity of Stock Index Models Over Time
The use of technical analysis to predict security price movements from past price
series has been supported by a number of academic research studies. These studies
are broadly based on the premise that a technical trading rule should have constant
validity over time. This premise is in accord with the practitioner rational for tech-
nical analysis, which is that, in the securities markets, history tends to repeat itself
due to the relative constancy of human behaviour. The primary purpose of this
paper is to investigate the extent to which technical trading rules have constant
validity over time by determining the extent to which rules derived entirely from a
particular time period can have validity over a variety of different time periods. It is
found that rules derived from the data from the early period can be predictive at a
later date and, rather unexpectedly, can even exceed the predictive power of rules
derived from more contemporary data. It is hypothesized that this may be due to a
decreasing signal to noise ratio in the data as the volatility of the index increases over
time. The findings tend to support the assertion that, with respect to share trading,
‘history repeats itself’ with the caveat that there are factors that confound modelling
in later periods.
I. INTRODUCTION Pruitt and White (1988) and Nefti (1991). Brock et al.
(1992) and Hudson et al. (1996) test the predictive power
The use of technical analysis to predict security price of technical trading rules1 on very long data series drawn
movements from past price series has been the subject of from the Dow Jones and the FT Industrial Ordinary Index
a number of academic research studies. Support for the respectively. In both cases technical trading rules are found
approach has been given by Alexander (1961, 1964), to have predictive power, although Hudson et al. show
This study uses neural network models to investigate the IV. RESULTS
predictive power of rules derived from stock market data
from different periods, i.e. the extent to which a useful To test the assertion that ‘history repeats itself’ and that
trading rule can be generated from different periods. this is a factor explaining the long-term usefulness of tech-
Neural models are chosen for two reasons; first, because nical trading rules first the predictive ability of models
they can be developed in such as way as to minimize the derived from data from different time periods was com-
modeller’s input. Second, the use of a neural network pared. To do this the data were divided into quarters in
rather than a statistical approach allows for the modelling line with the approach in Hudson et al. to provide a point
of any non-linear relationships present in the data without of comparison. If the assertion is true then comparable
intervention by the modeller. By using this approach there- models should be able to be developed in all periods. The
fore one avoids any knowledge of the subject domain results of this exercise are shown in the first four lines of
which is not reflected in the data itself being considered Table 1.5
in the comparison. These results indicate that a model where the mean value
Three-layer, fully connected, feedforward neural net- of the index on predicted rise/stable days is significantly
works were used in this study. Each network had 200 pro- different from that on predicted fall days is produced in
cessing elements in the input layer (representing the quarters 1 and 2. In these two quarters the value of the
percentage-change in index value on each of the previous index on both predicted rise/stable days and predicted fall
200 days)2 and 200 processing elements in the hidden layer. days is also significantly different from the mean for the
The networks were trained on a binary output which indi- holdout sample as a whole. Taken overall the results show
cated whether the prediction was for a rise or fall predic- a steady decline in the t-value obtained in all tests as one
tion on the next trading day, with days when the index was moves forward from the earliest time period. A similar
stable included with days when the index rose. This result is found in Hudson et al., although the t-values are
approach is in accordance with the way predictions are higher in that paper in the latter three quarters, most mark-
made by the technical trading rules used in the previous edly so for quarters 3 and 4. The difference between the
studies by Brock et al. (1992) and Hudson et al. (1996). means on rise/steady days and that on fall days is greater
2
This corresponds to the longest moving average period used by Hudson et al. and therefore provides a point of comparison with that
paper. The use of the 200 input neural network captures any possible technical trading rule that could be developed from the previous
200 days of data.
3
The independent validation approach uses a portion of the training data as a validation set, which does not have input to the training
process but rather is used to decide when training is complete. During training the performance of the network on the validation set is
monitored and training is regarded as complete when performance on the validation set is maximized.
4
Note that the neural network is not being used here to generate a time series model. Each day is considered as a ‘case’, which has
associated with it variables corresponding to the last 200 index values for use as inputs to the network. This approach allows the random
selection of the validation set from throughout the data available for model building, thus making it more representative of the time
interval as a whole. The inclusion of the necessary historical data with each case also means that the network does not need to be trained
on each day in sequence, nor a continuous set of days, in order to learn.
5
The format of these results is again in line with Hudson et al.
212 B. Summers et al.
Table 1. Results for the neural network models
Training period
that that reported in Hudson et al. for quarters 1 and 2, Table 2. Models tested on holdout samples from future periods
and is comparable in quarter 4.
Model built on
The neural models therefore appear to do less well in
comparison to the technical trading rules in later periods Holdout is Q1 Q2 Q3 Q4
and, given that a main difference between the two Q1 0.247
approaches is the explicit exclusion in the neural model (6.895)
of information gained outside the period being considered, ***
these results could indicate that information from earlier Q2 0.099 0.218
(1.924) (4.229)
periods is having a beneficial effect on the performance of * ***
the technical trading rules.6 This provides support for the Q3 0.141 0.091 0.118
hypothesis that there are constant factors over time, but (1.601) (1.034) (1.294)
also suggests that there may also be confounding factors Q4 0.136 0.088 0.090 0.050
affecting the ability to develop predictive models in later (2.198) (1.425) (1.354) (0.771)
**
data.
To investigate this further the predictive power of net- Notes: ***, **, * ¼ Significant at 1%, 5%, 10%.
works developed for each quarter was tested on all subse- Table entries show the difference between the mean of days pre-
dicted as rise/stable and those predicted as falls and the t-value
quent quarters. The results are summarized in Table 2. associated with that difference (equivalent to the final column in
These results show that the quarter 1 data has higher pre- Table 1).
dictive power in quarters 3 and 4 than does data from the
quarter being considered. Also, quarter 1 data does not To look for further evidence of confounding effects data
show a steady decline in predictive power over time, with for the holdout periods for the four quarters was combined
an improved result in quarter 4 versus quarter 3. and analysed to look at predictivity over the period as a
6
Sample size may be an issue in these comparisons; Hudson et al. are able to use the whole sample in their tests whereas here most of the
data is used to generate the models. The samples are therefore only around 25% of the size of those used in Hudson et al. To check the
effect of this a model was constructed using the period as a whole with the last 25% (quarter 4) being used as the holdout, thus providing
a comparison with the fourth sub-period result in Hudson et al. using a comparable sample size. The t-values in this test exceed those in
Hudson et al. as does the difference between the means on rise/steady days and that on fall days. These results suggest that technical
trading rules may not be using all the available information content in the data.
The validity of stock index models over time 213
whole. Initially the holdout results for the 4 quarterly mod- predictive within their period of derivation than rules
els were combined, the results are shown in line 5 of Table derived from earlier periods (Table 1). The results of
1. The holdout data for the four quarters were then com- cross-testing models from different periods indicate that
bined, and these run against the model build on quarter 1 rules derived from data from the earliest period (quarter
training data. This thus gives a measure of the predictive 1 in this study) has predictive power well beyond the mod-
power of quarter 1 data over the period as a whole. The elled period. Rules derived from quarter 1 data show more
results are shown in the final line of Table 1. If these results predictive power in quarters 3 and 4 than rules derived
are compared with those from the four quarterly models it from data within those periods. Thus, support is found
can be seen that the model built on quarter 1 data achieves for the hypothesis that there are unchanging factors over
a slightly higher t-value and the difference between the time, but also for the presence of factors which confound
means on rise/steady days and that on fall days is also modelling in more recent periods.
slightly greater.7 This shows that quarter 1 data can be The question then arises of what could cause this effect.
used to develop a model which performs at least as well One hypothesis is that the results here are due to increased
as a model based on data from all four quarters. volatility and rate of change in the stock market. The
volatility of this index has increased noticeably in the
V . D IS C U SS I O N third and fourth quarters of the period considered, as can
be seen in Fig. 1. This graph represents a smoothed version
The results of this study show that the predictive power of of the daily percentage change in the index: the height of
rules derived from stock index data varies over time, with the graph at each date represents the square root of the
rules derived from more recent data being relatively less average, over the last 50 days, of the daily percentage
4.5
3.5
2.5
1.5
0.5
0
9/9/35
9/9/37
9/9/39
9/9/41
9/9/43
9/9/45
9/9/47
9/9/49
9/9/51
9/9/53
9/9/55
9/9/57
9/9/59
9/9/61
9/9/63
9/9/65
9/9/67
9/9/69
9/9/71
9/9/73
9/9/75
9/9/77
9/9/79
9/9/81
9/9/83
9/9/85
9/9/87
9/9/89
9/9/91
9/9/93
Date
7
To check that the results here are not peculiar to neural networks logistic regression models were also built using quarter 1 and quarter 4
training data and tested these on the quarter 4 holdout. The quarter 1 model achieves a higher t-value and the difference between the
means on rise/steady days and that on fall days is also greater. In both cases the results are not so strong as with the neural models,
indicating a non-linear component in the relationships being modelled.
214 B. Summers et al.
change squared. It can be seen that up to approximately REFERENCES
the mid-point of the series the percentage changes tended Alexander, S. S. (1961) Price movements in speculative markets:
to average around 0.5%, after this they are more often trends or random walks, Industrial Management Review, 2,
around 1%. If it is hypothesized that there are some under- 7–26.
lying patterns present in all periods, this increase in vola- Alexander, S. S. (1964) Price movements in speculative markets:
trends or random walks, No. 2, in The Random Character of
tility can be viewed as an increase in the noise level in the Stock Market Prices (Ed.) P. H. Cootner, MIT, Cambridge,
data. If one is trying to predict future changes from pre- MA, pp. 199–218.
vious patterns of movement then such an increase in noise Allen, F. and Karjalainen, R. (1999) Using genetic algorithms to
would make the detection of the underlying patterns pre- find technical trading rules, Journal of Financial Economics,
ceding particular changes more difficult. Effectively the 51, 245–71.
Brock, W., Lakonishok, J. and LeBaron, B. (1992) Simple tech-
volatility results in a reduction in the signal to noise nical trading rules and the stochastic properties of stock
ratio, which masks the information content of the data. returns, Journal of Finance, XLVII, 1731–64.
There are a number of potential explanations for the Hoptroff, R. G. (1993) The principles and practice of time series
increase in volatility that has been experienced. For exam- forecasting and business modelling using neural nets, Neural
Computing & Applications, 1(1), 59–66.
ple, Shiller (1989, 2000) cites a number of factors that may
Hudson, R., Dempsey, M. and Keasey, K. (1996) A note on
have impacted on the volatility and the sharp rise in stock the weak form efficiency of capital markets: the
prices in the US marketplace, a rise that is mirrored in the application of simple technical trading rules to UK stock
UK in the latter part of the twentieth century. Many of prices – 1935 to 1994, Journal of Banking & Finance, 20,
these are present in the UK market also: for example, in- 1121–32.
creased availability and speed of access to relevant news, Lo, A. W., Mamayski, H. and Wang, J. (2000) Foundations of
technical analysis: computational algorithms, statistical infer-
increased interest in stocks among the public, increased ence, and empirical implementation, The Journal of Finance,
presence of mutual funds (called unit trusts in the UK) LV, 1705–65.
and the impact of popular models of market behaviour. Neely, C., Weller, P. and Ditmar, R. (1997) Is technical analysis
All these factors, given the tendency for herd behaviour in the foreign exchange market profitable? A genetic pro-
among investors, might lead to more random or gramming approach, Journal of Financial and Quantitative
Analysis, 32, 405–26.
erratic movements in the index over shorter time periods Nefti, S. (1991) Naı̈ve trading rules in financial markets and
where the change in the index is not proportionate to Wiener-Kolmogorov prediction theory: a study of technical
changes in the explanatory variables, and thus may be analysis, Journal of Business, 64, 549–71.
causal factors in the results. Training data from quarter Pring, M. J. (1991) Technical Analysis Explained, 2nd edn,
1, which is pre-1950, will be less affected by these devel- McGraw-Hill, New York.
Pruitt, S. and White, R. (1988) The CRISMA trading system:who
opments. says technical analysis can’t beat the market?, Journal of
In summary, it is found that rules derived from data Portfolio Management, 14, 55–8.
from the earliest periods can be predictive at a later date Rumelhart, D. E., Hinton, G. E. and Williams, R. J., (1986)
and, rather unexpectedly, can even exceed the predictive Learning representations by back-propagating errors,
power of rules derived from more contemporary data. Nature, 323, 533–6.
Shiller, R. J. (1989) Market Volatility, MIT, Cambridge, MA.
Given the nature of the findings, investigation of the pat- Shiller, R. J. (2000) Irrational Exuberance, Princeton University
terns of predictivity in other markets and indices is indi- Press, Princeton NJ.
cated. The findings tend to support the assertion that, with Taylor, M. P. and Allen, H. (1992) The use of technical analysis in
respect to share trading, ‘history repeats itself’ with the the foreign exchange market, Journal of International Money
caveat that there may be factors that confound modelling and Finance, 11, 304–14.
in later periods.