- jurnal-perception
- A Secured Template Based Face Recognition Technique
- An Artificial Neural Network (p, d, q) Model for Timeseries Forecasting
- Differentiating Among Plant Spectra by Combining pH Dependent Photoluminescence Spectroscopy with Multi-Way Principal Component Analysis (MPCA)
- Energy models for demand forecasting—A review
- 1c
- Hoja-de-respuesta
- paper2
- Rp Tip Print New
- Methods of Demand Forecasting
- DatastreamGettingStarted(21)
- MA R. Kit as at 7-04-06
- Long_TS_Prediction_NARX.pdf
- Package CausalImpact - CausalImpact.pdf
- 7581Meij
- Dot Net - Knowledge and Data Engineering Project Titles - List = 2012-13, 2011, 2010, 2009, 2008
- +DP+overview
- 183471097 Human Arm Movements Described by a Low Dimensional PDF
- jappl.1997.82.1.262
- Analyzing and Predicting of Tianjin Coastal water quality by fractional thory.pdf
- Why Panel Data
- Mustard ManualOfRemoteSensing Ch5
- asd
- conf matrix.pdf
- Dot Net - Knowledge and Data Engineering Project Titles - List = 2012-13, 2011, 2010, 2009, 2008
- Leborgne
- Wealth Quintile Guide
- Forecasting Techniques
- Pca
- tmpE40D.tmp
- globalayurvedascenario-121117100847-phpapp01
- WCE2007_pp1010-1015 (1)
- Real Estate Funds
- Community Fiber Lessons Learnt
- Tibetan Page 69 70
- How Most Published Findings Are False
- Mb Manual Ga-z77x-Ud5h j
- Walter
- Vers Subm.ps
- Global Science Market
- Geneve 1564
- Mb Manual Ga-z77x-Ud5h j
- Jill Lepore_ What the Theory of “Disruptive Innovation” Gets Wrong _ the New Yorker
- Genese Heading
- VIF
- Classical Ayurvedic Texts
- Ideapad u310 u410 Hmm 1st Edition Mar 2012 English
- Ayurvrda Fundamentals and Basic Principals1044 (1)
- Time Series Prediction using ICA Algorithms
- Nov Dec2002cookrep
- Can Andrew Lo Legitimize Technical Analysis
- QF HighFrequencyIntradayStockReturns Chiang Yu Wu 3-12-2006 V2
- Mean reversion
- Vagbhatta Sutra Sanskrit Verses I Hindi
- Large Price Declines, News, Liquidity, and Trading Strategies: An Intraday Analysis
- Presentation
- Yava Barley a Dietary Solution in Obesity
- Rasa Shastra Andrew Mason Vol 4 Eng
- Geneve 1564
- quants

, Lviv, Ukraine

**Time Series Prediction using ICA Algorithms
**

Juan M. Górriz 1), Carlos G. Puntonet 2), Moisés Salmerón 2), E.W. Lang 3) 1) Dpto. Ingenier´ýa de Sistemas y Autom´atica, Tec. Electr´onica y Electr´onica, Universidad de C´adiz (Spain). 2) Dpto. Arquitectura y Tecnolog´ýa de Computadores, Universidad de Granada (Spain) 3) Institute of Biophysics, University of Regensburg (Germany), juanmanuel.gorriz@uca.es

Abstract: In this paper we propose a new method for volatile time series forecasting using Independent Component Analysis (ICA) algorithms and SavitzkyGolay filtering as preprocessing tools. The preprocessed data will be introduce in a based radial basis functions (RBF) Artificial Neural Network (ANN) and the prediction result will be compared with the one we get without these preprocessing tools or the classical Principal Component Analysis (PCA) tool. Keywords: - Independent Component Analysis (ICA), Time Series Analysis, Neural Networks, Signal Processing time and complexity cost; Principal Component Analysis (PCA) is a well-established tool in Finance. It was already proved [24] that prediction results can be improved using the PCA technique. This method linear transform the observed signal into principal components which are uncorrelated (features), giving projections of the data in the direction of the maximum variance [17]. PCA algorithms use only second order statistical information; Finally, in [4] we can discover interesting structure in finance using the new signal-processing tool Independent Component Analysis (ICA). ICA finds statistically independent components using higher order statistical information for blind source separation ([5], [14]). This new technique may use Entropy (Bell and Sejnowski 1995, [7]), Contrast functions based on Information Theory (Comon 1994, [9]), Mutual Information (Amari, Cichocki y Yang 1996, [3]) or geometric considerations in data distribution spaces (Carlos G. Puntonet 1994 [21],[27], [1], [22], [2]), etc. Forecasting and analyzing financial time series using ICA can contributes to a better understanding and prediction of financial markets ([23],[6]).

1. INTRODUCTION

Different techniques have been developed in order to forecast time series using data from the stock. There also exist numerous forecasting applications like those ones analyzed in [19]: signal statistical preprocessing and communications, industrial control processing, Econometrics, Meteorology, Physics, Biology, Medicine, Oceanography, Seismology, Astronomy y Psychology. A possible solution to this problem was described by Box and Jenkins [8]. They developed a time-series forecasting analysis technique based in linear systems. Basically the procedure consisted in suppressing the nonseasonality of the series, parameters analysis, which measure time-series data correlation, and model selection which best fitted the data collected (some specific order ARIMA model). But in real systems non-linear and stochastic phenomena crop up, thus the series dynamics cannot be described exactly using those classical models. ANNs have improved results in forecasting, detecting the non-linear nature of the data. ANNs based in RBFs allow a better forecasting adjustment; they implement local approximations to non-linear functions, minimizing the mean square error to achieve the adjustment of neural parameters. Platt´salgorithm [18], RAN (Resource Allocating Network), consisted in the control of the neural network’s size, reducing the computational cost associated to the calculus of the optimum weights in perceptrons networks. Matrix decomposition techniques have been used as an improvement of Platt model [24] with the aim of taking the most relevant data in the input space, for the sake of avoiding the processing of non-relevant information (NAPAPRED ”Neural model with Automatic Parameter Adjustment for PREDiction”). NAPA-PRED also includes neural pruning [25]. The next step was to include the exogenous information to these models. There are some choices in order to do that; we can use the forecasting model used in [11] which gives good results but with computational

2. BASIC ICA

ICA has been used as a solution of the blind source separation problem [15] denoting the process of taking a set of measured signal in a vector, x, and extracting from them a new set of statistically independent components (ICs) in a vector y. In the basic ICA each component of the vector x is a linear instantaneous mixture of independent source signals in a vector s with some unknown deterministic mixing coefficients: xi =

∑a s

ij i =1

N

j

(1)

Due to the nature of the mixing model we are able to si and the de-mixing estimate the original sources ~ weights bij applying i.e. ICA algorithms based on higher order statistics like cumulants. ~ si =

∑b

i =1

N

ij

xj

(2)

Using vector-matrix notation and defining a time s and the matrix A = series vector x = (x1, . . . , xn)T , s, ~ {aij} and B = {bij} we can write the overall process as: ~ s = Bx = BAs = Gs (3) where we define G as the overall transfer matrix. The estimated original sources will be, under some conditions

0-7803-8138-6/03/$17.00 ©2003 IEEE

226

its Frobenius norm is x Fr ≡ ∑ n i =1 xi2 227 . which is related with crosscumulants1 absolute value. This filter is also call Least-Squares [12] or DISPO [29]. easier to predict using ANNs based on RBFs. In Financial time series this model (equation 1) can be applied to the stock series where there are some underlying factors like seasonal variations or economic events that affect the stock time series simultaneously and can be assumed to be quite independent [16]. in this case is not enough. Only the components bigger than mean Frobenius norm will be considered. Once convergence. preserving higher moments [20]. These filters derive from a particular formulation of the data smoothing problem in the time domain and their goal is to find filter coefficients cn in the expression: si = n = − nL ∑c s nR n i+n (6) where {si+n} represent the values for the ICs in a window of length nL + nR + 1 centered on i and ~ si is the filter output (the smoothed ICs). . • Filtering. ~ A=Z⋅A (5) Fig. nR. β β B(n+1) = B(n) + µ (n) (C s . fi. we estimate the mixing matrix inverting B. Thus. it is only possible to find G such that G = PD where P is a permutation matrix and D is a diagonal scaling matrix. a permuted and scaled version of the original ones. The de-mixing matrix is calculated according the following iteration: 1. . we use an equivariant robust ICA algorithm based in cumulants proposed in [10]. 1. PREPROCESSING TIME SERIES WITH ICA+FILTERING The main goal. We apply a low band pass filter to the ICs. .nancial time series. m. . in the preprocessing step. We neglect non-relevant components in the mixing matrix A according to their absolute value.e. We choose the well-adapted for data smoothing Savitsky-Golay smoothing filter [26] for two reasons: a) ours is a realtime application for which we must process a continuous data stream and wish to output filtered values at the same rate we receive raw data and b) the quantity of data to be processed is so large that we just can afford only a very small number of floating operations on each data point thus computational cost in frequency domain for high dimensional data is avoided even the modest-sized FFT. We propose the following Preprocessing Steps • After Whitening the set of time series {xi }in=1 (subtract the mean of each time series and removing the second order statistic effect or covariance matrix diagonalization process) • We apply some ICA algorithm to estimate the original sources si and the mixing matrix A in equation 1. We consider the rows Ai in matrix A as vectors and calculate the mean Frobenius norm2 of each one.included in Darmois-Skitovich theorem (chapter 1 in [10]). s is the β +1 order cumulant of the sources (we chose β = 3 in 1. For each point si we least-squares fit a m order polynomial for all nL + nR + 1 points in the moving window and then set ~ si to the value of that polynomial at position i. As shown in [20] there are a set of coefficients for which equation 6 accomplishes the process of polynomial leastsquares fitting inside a moving window: cn = {( M T ⋅ M ) −1 ( M T ⋅ en )}0 = = (4) ∑ {( M j =0 m T ⋅ M ) −1}0 j ⋅ n j (7) 1. 1 – Schematic representation of prediction and filtering process. and en is the unit vector with -nL < n < nR. This is the principal preprocessing step using PCA tool. This is due to smoothed nature of the kernel functions used in regression over multidimensional domains [13]. j = 0. Each IC has information of the stock set weighted by the components of the mixing matrix. i = -nL. s S s − I ) B(n) Ai Fr where {Z}ij = { A}ij > n 2. . 1 2 cumulants between different sources Given x ∈ R n . in general. where {M}ij = i j . In particular. is to find nonvolatile time series including exogenous information i. is reached. β where I is the identity matrix. C s . .. 3. β simulations) and S sβ = diag(sign(diag( C s . s ))). .

Bottom: NRMSE evolution for ANN with ICA+SG (line) and without (dotted line). ~ x = A⋅s (8) 4. We can write using equations 5 and 4. . Top: set of Stock Series. SIMULATIONS We work with indexes of different Spanish banks and companies during the same period to investigate the effectiveness of ICA techniques for financial time series (top figure Fig. Thus we are using a method for moving beyond the linearity where the core idea is to augment/replace the vector input x with additional variables. Middle-bottom: zoomed version of previous figure. Middle-top: ICs for the stock series. N is the number of neurons (RBFs) . . 228 . predicted Series without preprocessing (dotted). 5. The preprocessing step suggested in section 3 is necessary due to the dynamic of the series [23] and it will be shown that results improve sensitively. which are transformations of x. xn}. As shown in [24] the individual forecasting function can be expressed in term of RBFs [28] as: F ( x) = ∑ f ( x) = ∑ h exp { i i i =1 i =1 N N x − ci ri2 } (9) where x is a p-dimensional vector input at time t. fi is the output for each neuron i-th . TIME SERIES FORECASTING MODEL We use an ANN using RBFs to forecast a series xi from the Stock Exchange building a forecasting function P with the help of NAPA-PRED+LEC algorithm [23]. Middle: Real Series(line. predicted Series with ICA+SG(dash-dotted).• Reconstructing the original signals using the ~ smoothed ICs and filtered A matrix we get a less high frequency variance version including exogenous influence of the old ones. RBFs are one of the most popular kernel methods for regression over the domain R n and consist on fitting a different but simple model at each query point ci using those observations close to this target point in order to get a smoothed function. . for one of the set of signals {x1. 2 – Simulations. This localization is achieved via a weighting function or kernel fi. and then use linear models in this new space of derived input features. ci is the centers of i-th neuron which controls the situation of local space of this cell and ri is the radius of the i-th neuron. Thus we will use as input series the ones we got in equation 8. The global output is a linear combination of the individual output for each neuron with the weight of hi. .

As is shown in the lowermost figure. 3 – Simulations (continued). the NRMSE is always lower using the techniques we discussed in section 4. Via the rows of A we can reconstruct the original signals with the help of these ICs i. 3 229 .05 − 0. 4).33 − 0. Bottom: same figure. in Fig.70 − 0 . We have specifically focussed on the IBEX35 from Spanish stock.e. zoomed. The ICs are shown in the middle-top part of Fig. • We do a polynomial fit in the ICs using the library supported by MatLab and the reconstruction of the selected stock (see Fig. 23 1 .70 0. Banco Popular. In the three last figures in Fig. which we consider the most representative sample of the Spanish stock movements.04 0.• Frobenius Filtering: the original mixing matrix3: 0.33 − 0. We performed ICA on the Stock returns using the ICA algorithm presented in section 3 assuming that the number of stocks equals the number of sources supplied to the mixing model. Fig. 33 − 0 . BBVA.95 − 0 . Dragados.23 0. We show and select the relevant part of the row corresponding to the Bankinter Stock.28 1.19 0 . Banco Santander. 4 – Delay problem in ANNs Finally with these models we avoid the curse of dimensionality or difficulties associated with the feasibility of density estimation in many dimensions presented in AR or ANNS models [23] with high number of inputs as shown in fig. 2). This algorithm whiten the raw data as the first step. Top: real Series from ICA reconstruction (scaled old version)(line) and Preprocessed Real Series (dotted line).17 A = − 0. Thus only a few ICs contribute to most of the movements in the stock returns and each IC contributes to a level change depending its amplitude transient [4].33 4. using closing prices in 2000.95 − 0. We can say that prediction is better with the preprocessing step avoiding the disturbing peaks or convergence problems in prediction. 05 0 . Carrefour and Amadeus). Each time series includes 200 points corresponding to selling days (quoting days). Fig.17 0 0 . Bankinter stock after we preprocess the raw data: thus we neglect the influence of two ICs on the original 5th stock. 5 and the delay problem presented in non relevant time periods of prediction (Fig.23 is transformed to: A = 0 . Aguas de Barcelona. 3) to supply the ANN. 2 we show the results we got using our ANN with the above mentioned algorithm.19 0.23 Fig. 2. 04 4 . We considered the closing prices of Bankinter for prediction and 8 more stock of different Spanish companies (ACS. 5 – Curse of dimensionality. These ICs represents independent and different underlying factors like seasonal variations or economic events that affect the stock time series simultaneously. 33 0 0 .

Pollock. 7.W. Eleectronica y Electronica. [5] Andrew D. Amari. Platt. H. [27] F. [7] A. Yang.J.G. [19] D. Selecting inputs for modelling using normalized higher order statistics and independent component analysis. 1994. [20] W. Rojas. T. 411–430. Blind multiuser separation of instantaneous mixture algorithm based on geometrical concepts. Carlos G. C. 2a ed. Neural Computation 7 (1995). 411–430. pp. Lecture Notes in Computer Science 2085 (2001). Independent component analysis for paralell financial time series.D. J. [18] J. [28] J.W. Digital filters. Jenkins. 1995. Ziegler. in press on Neural Computation (2001).D. thesis. Box. Hastie. Bell. Puntonet. Nuevos Algoritmos de Separacin de Fuentes en Medios Lineales. [26] A. Press. Oja. Academic Press. 8892. I. pp.G. Puntonet. Weigend. Time series analysis. [8] G. G. E.. 2001. A handbook of time series analysis. [6] Andrew D. pp.J. pp. C. Trappenberg. An information maximization approach to blind separation and blind deconvolution. Oja. 1994. University of Vigo. in ICONIP98 1 (1998). A. Jung. Independent component analysis: algorithms and applications. 1999. [14] A. Puntonet. Applied Spectroscopy 35 (1981). C. Thomas P. Ali Mansour. A new learning algorithm for blind source separation. S. Proc.M.P. Comon. A. Salmeron Campos. [23] J. 5th Computational Finance 1997 (1997). E. Hyvarinen. MIT Press 8 (1996). Analytical Chemestry 36 (1964). Springer. Back. A. 757–763.C. [22] C. Discovering structure in finance using independent component analysis. University of Granada. Ph. [13] T. [25] Moises Salmeron. Teukolsky. Departamento de Ing. [2] M. Ph. A. Neural. The elements of statistical learning. pp. Prentice Hall. 1129 – 1159. Neural Networks 13 (2000). signal processing and dynamics. [4] A. T. [21] C. S. [15] A. Darken. Departamento de Arquitectura y Tecnologia de Computadores. Weigend. forecasting and control. 2002.G. New model for time-series forecasting using rbf´s and exogenous data. J. Puntonet. Moreover we describe a new filtering method to volatile time series that are supplied to ANNs in real-time applications. Neural Networks 1 (2000). Fast learning in networks of locally-tuned processing units. 287–314. Tibshirani. IEICE Transactions on Fundamental of Electronics Communications and Computer Sciences E84-A (2001). Mansour. John Miley & Sons. N. G. W. Neural Computation 3 (1991). R. Julio Ortega. pp.E. Alberto Prieto. [3] S. Gorriz. pp. E.M. Separation of sources based on the partitioning of the space of observations. Cichocki.G. Kiviluoto. Tec. D. CONCLUSIONS In this paper we showed that prediction results can be improved with the help of techniques like ICA. pp. 1983. J. [12] R. [11] J. [24] M. Spain. Rodrguez Alvarez.G. P. Prediccin de Series Temporales con Redes Neuronales de Funciones Radiales y Tecnicas de Descomposicion Matricial. Flannery. Hamming. An unified view of bss algorithms(in spanish). [17] T. Signal Processing 82 (2002). University of Granada. thesis. In Press (2003). Neurocomputing 41 (2001). Hyvrinen. Blind separation of sources using density estimation and simulated annealing. Independent component analysis: Algorithms and applications. Cambridge University Press. A. Discovering structure in finance using independent component analysis. Improved ran sequential prediction using orthogonal techniques. Signal Processing 36 (1994).G. Savitzky. Advances in Neural Information Processing Systems.G. thesis. B. Prediccion y Tecnicas de Separacion de Senales. Lang. M. pp. M. Salmern-Campos. Reinsel. [16] K. Ph. Carlos G. 153–172. J. Numerical recipes in c++. 213– 225. pp. 1999. pp. 284–294. Puntonet. Sejnowski. pp. Departamento de Arquitectura y Tecnologýa de Computadores. 2a ed. ICA decompose a set of 9 returns from the stock into independent components which fall in two categories: a) large components responsible of the major changes in level prices and b) small fluctuations. Prentice Hall. IEEE Transactions on Neural Networks 12 (2001). Vertterling. Masters. Neural Computation 1 (1989). S. Puntonet A. E. 762–769. A resource-allocating network for function interpolation. [9] P. dela Rosa. Back. Oja. Friedman. Independent component analysis: A new concept?.D. J Theis. 1627–1639. Gorriz Saez. 1155–1175. 230 . Ohnishi. Multiple recovery subspace projection algorithm employed in geometric ica. de Sistemas y Aut. Golay. REFERENCES [1] C. pp.6. Cruces.S. [29] H. Computational Finance (1997).E. Moody. Back. 2003. J. University of Cadiz. [10] S. Smoothing this components and neglecting the non-relevant ones we can reconstruct a new version of the Stock easier to predict. 895–898. novel and hybrid algorithms for time series analysis prediction. M. 2000. H. Puntonet.

- jurnal-perceptionUploaded byXis' Arshavin
- A Secured Template Based Face Recognition TechniqueUploaded byCS & IT
- An Artificial Neural Network (p, d, q) Model for Timeseries ForecastingUploaded byJose Balbuena
- Differentiating Among Plant Spectra by Combining pH Dependent Photoluminescence Spectroscopy with Multi-Way Principal Component Analysis (MPCA)Uploaded byWVNicholson
- Energy models for demand forecasting—A reviewUploaded byamir19890
- 1cUploaded byapi-3803483
- Hoja-de-respuestaUploaded byCIES: Consorcio de Investigación Econimica y Social
- paper2Uploaded bypostscript
- Rp Tip Print NewUploaded byattaullah
- Methods of Demand ForecastingUploaded bySreya Prakash
- DatastreamGettingStarted(21)Uploaded byjiaohui2012
- MA R. Kit as at 7-04-06Uploaded bymwiyomiraa
- Long_TS_Prediction_NARX.pdfUploaded byGebeleizis Morbidu
- Package CausalImpact - CausalImpact.pdfUploaded byh_romeu_rs
- 7581MeijUploaded byKezia Tindas
- Dot Net - Knowledge and Data Engineering Project Titles - List = 2012-13, 2011, 2010, 2009, 2008Uploaded byncctstudentproject
- +DP+overviewUploaded bySunil Kumar
- 183471097 Human Arm Movements Described by a Low Dimensional PDFUploaded byIngi Abdel Aziz Srag
- jappl.1997.82.1.262Uploaded byFernando Wagner
- Analyzing and Predicting of Tianjin Coastal water quality by fractional thory.pdfUploaded byAkshay Narayankar
- Why Panel DataUploaded bygulngul
- Mustard ManualOfRemoteSensing Ch5Uploaded byAnonymous nuLWzP
- asdUploaded byTomas Oñate
- conf matrix.pdfUploaded bydrunken monkey
- Dot Net - Knowledge and Data Engineering Project Titles - List = 2012-13, 2011, 2010, 2009, 2008Uploaded byncctstudentproject
- LeborgneUploaded byAugusto Baffa
- Wealth Quintile GuideUploaded bydiana.aly
- Forecasting TechniquesUploaded byfiras_11
- PcaUploaded byVaibhav Hiwase
- tmpE40D.tmpUploaded byFrontiers

- globalayurvedascenario-121117100847-phpapp01Uploaded byDigito Dunkey
- WCE2007_pp1010-1015 (1)Uploaded byDigito Dunkey
- Real Estate FundsUploaded byDigito Dunkey
- Community Fiber Lessons LearntUploaded byDigito Dunkey
- Tibetan Page 69 70Uploaded byDigito Dunkey
- How Most Published Findings Are FalseUploaded byDigito Dunkey
- Mb Manual Ga-z77x-Ud5h jUploaded byDigito Dunkey
- WalterUploaded byDigito Dunkey
- Vers Subm.psUploaded byDigito Dunkey
- Global Science MarketUploaded byDigito Dunkey
- Geneve 1564Uploaded byDigito Dunkey
- Mb Manual Ga-z77x-Ud5h jUploaded byDigito Dunkey
- Jill Lepore_ What the Theory of “Disruptive Innovation” Gets Wrong _ the New YorkerUploaded byDigito Dunkey
- Genese HeadingUploaded byDigito Dunkey
- VIFUploaded byDigito Dunkey
- Classical Ayurvedic TextsUploaded byDigito Dunkey
- Ideapad u310 u410 Hmm 1st Edition Mar 2012 EnglishUploaded byDigito Dunkey
- Ayurvrda Fundamentals and Basic Principals1044 (1)Uploaded byDigito Dunkey
- Time Series Prediction using ICA AlgorithmsUploaded byDigito Dunkey
- Nov Dec2002cookrepUploaded byDigito Dunkey
- Can Andrew Lo Legitimize Technical AnalysisUploaded byDigito Dunkey
- QF HighFrequencyIntradayStockReturns Chiang Yu Wu 3-12-2006 V2Uploaded byDigito Dunkey
- Mean reversionUploaded byDigito Dunkey
- Vagbhatta Sutra Sanskrit Verses I HindiUploaded byDigito Dunkey
- Large Price Declines, News, Liquidity, and Trading Strategies: An Intraday AnalysisUploaded byDigito Dunkey
- PresentationUploaded byDigito Dunkey
- Yava Barley a Dietary Solution in ObesityUploaded byDigito Dunkey
- Rasa Shastra Andrew Mason Vol 4 EngUploaded byDigito Dunkey
- Geneve 1564Uploaded byDigito Dunkey
- quantsUploaded byDigito Dunkey