Unformatted text preview: ine from both the training and testing data. Fig. 7 shows the
detrended combined training and testing range of the S&P500 index using such an
approach. Although, the desired output is still higher at the end of the testing region, the
difference is much less than in Fig. 6. 9 Fig. 7: Detrended index in training and test regions
0.08 Detrended S&P 500 index 0.06
50 100 150
Data number 250 300 This detrended index is then used to obtain the 5-week and 10-week moving averages as
well as the first differences and the trends. The detrended index is then normalized using
equation (1), with A = 0.1 and this normalized detrended index is plotted in Fig. 8, below.
Fig. 8: Normalized detrended S&P 500 index
0.8 Normalized detrended index 0.7
50 100 150
Data number 250 300 Given this data, the network can be expected to learn the trend and give good results. The
5-week and 10-week averages of the detrended index as well as the absolute value of the
first difference of the detrended index a...
View Full Document
This note was uploaded on 07/20/2012 for the course ECON 203 taught by Professor Girishdev during the Spring '12 term at Indian Institute of Technology, Kharagpur.
- Spring '12