<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article  PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="3.0" xml:lang="en" article-type="research article"><front><journal-meta><journal-id journal-id-type="publisher-id">JCC</journal-id><journal-title-group><journal-title>Journal of Computer and Communications</journal-title></journal-title-group><issn pub-type="epub">2327-5219</issn><publisher><publisher-name>Scientific Research Publishing</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.4236/jcc.2018.63004</article-id><article-id pub-id-type="publisher-id">JCC-83201</article-id><article-categories><subj-group subj-group-type="heading"><subject>Articles</subject></subj-group><subj-group subj-group-type="Discipline-v2"><subject>Computer Science&amp;Communications</subject></subj-group></article-categories><title-group><article-title>
 
 
  Short-Term Financial Time Series Forecasting Integrating Principal Component Analysis and Independent Component Analysis with Support Vector Regression
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Utpala</surname><given-names>Nanda Chowdhury</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Sanjoy</surname><given-names>Kumar Chakravarty</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Md.</surname><given-names>Tanvir Hossain</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib></contrib-group><aff id="aff1"><addr-line>Department of Computer Science and Engineering, University of Rajshahi, Rajshahi, Bangladesh</addr-line></aff><author-notes><corresp id="cor1">* E-mail:<email>unchowdhury@gmail.com(UNC)</email>;</corresp></author-notes><pub-date pub-type="epub"><day>08</day><month>03</month><year>2018</year></pub-date><volume>06</volume><issue>03</issue><fpage>51</fpage><lpage>67</lpage><history><date date-type="received"><day>7,</day>	<month>February</month>	<year>2018</year></date><date date-type="rev-recd"><day>19,</day>	<month>March</month>	<year>2018</year>	</date><date date-type="accepted"><day>22,</day>	<month>March</month>	<year>2018</year></date></history><permissions><copyright-statement>&#169; Copyright  2014 by authors and Scientific Research Publishing Inc. </copyright-statement><copyright-year>2014</copyright-year><license><license-p>This work is licensed under the Creative Commons Attribution International License (CC BY). http://creativecommons.org/licenses/by/4.0/</license-p></license></permissions><abstract><p>
 
 
  Financial time series forecasting could be beneficial for individual as well as institutional investors. But, the high noise and complexity residing in the financial data make this job extremely challenging. Over the years, many researchers have used support vector regression (SVR) quite successfully to conquer this challenge. In this paper, an SVR based forecasting model is proposed which first uses the principal component analysis (PCA) to extract the low-dimensional and efficient feature information, and then uses the independent component analysis (ICA) to preprocess the extracted features to nullify the influence of noise in the features. Experiments were carried out based on 16 years’ historical data of three prominent stocks from three different sectors listed in Dhaka Stock Exchange (DSE), Bangladesh. The predictions were made for 1 to 4 days in advance targeting the short term prediction. For comparison, the integration of PCA with SVR (PCA-SVR), ICA with SVR (ICA-SVR) and single SVR approaches were applied to evaluate the prediction accuracy of the proposed approach. Experimental results show that the proposed model (PCA-ICA-SVR) outperforms the PCA-SVR, ICA-SVR and single SVR methods.
 
</p></abstract><kwd-group><kwd>Financial Time Series</kwd><kwd> Forecasting</kwd><kwd> Support Vector Regression</kwd><kwd> Principal Component Analysis</kwd><kwd> Independent Component Analysis</kwd><kwd> Dhaka Stock Exchange</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. Introduction</title><p>The endeavor of financial time series forecasting has gained extreme attention from both the individual and institutional investors because the accurate forecasting can influence the decision behind investment. This field is characterized by data intensity, noise, non-stationary, unstructured nature, high degree of uncertainty, and hidden relationships [<xref ref-type="bibr" rid="scirp.83201-ref1">1</xref>] . Capital market trend depends on many factors including political events, general economic conditions, news related to the stocks and traders’ expectations. Moreover, according to academic investigations, movements in market prices are not random. Rather, they behave in a highly non-linear, dynamic manner [<xref ref-type="bibr" rid="scirp.83201-ref2">2</xref>] . Therefore, predicting stock market price is a quite challenging task.</p><p>Technical analysis is a popular approach to study the capital market patterns and movement. The results of technical analysis may be a short or long-term forecast based on recurring patterns; however, this approach assumes that stock prices move in trends, and that the information which affects prices enters the market over a finite period of time, not instantaneously [<xref ref-type="bibr" rid="scirp.83201-ref3">3</xref>] . Technical indicators used in this analysis are calculated from the historical trading data. Researchers use various machine learning and artificial intelligent approaches to analyze these technical indicators to predict future trends or prices. The traditional statistical models include Box Jenkins ARIMA [<xref ref-type="bibr" rid="scirp.83201-ref4">4</xref>] . Continuous research has introduced plentiful approaches including Artificial Neural Networks (ANN), genetic algorithm, rough set (RS) theory, fuzzy logic and others [<xref ref-type="bibr" rid="scirp.83201-ref5">5</xref>] [<xref ref-type="bibr" rid="scirp.83201-ref6">6</xref>] . Most of these approaches suffer from different problems like over-fitting or under-fitting, initializing large number of control parameters, finding the optimum solutions etc. To resolve most of these shortcomings, support vector regression (SVR) has been widely used in various nonlinear regression tasks. This is largely because; SVR uses the structural risk minimization principal for function estimation while the traditional methods implement empirical risk minimization principal. The successful application of SVR in various time series problems [<xref ref-type="bibr" rid="scirp.83201-ref7">7</xref>] [<xref ref-type="bibr" rid="scirp.83201-ref8">8</xref>] [<xref ref-type="bibr" rid="scirp.83201-ref9">9</xref>] has encouraged its adaptation in financial time series forecasting [<xref ref-type="bibr" rid="scirp.83201-ref10">10</xref>] [<xref ref-type="bibr" rid="scirp.83201-ref11">11</xref>] [<xref ref-type="bibr" rid="scirp.83201-ref12">12</xref>] [<xref ref-type="bibr" rid="scirp.83201-ref13">13</xref>] .</p><p>The first important step in developing an SVR based forecasting model is feature extraction (transforming the original features into new ones) and feature selection (choosing the most influential set of features). Principal component analysis (PCA) is a widely applied feature extraction method in the framework of SVR [<xref ref-type="bibr" rid="scirp.83201-ref14">14</xref>] [<xref ref-type="bibr" rid="scirp.83201-ref15">15</xref>] . PCA transforms high-dimensional input vectors into uncorrelated principal components (PCs) by calculating the eigenvectors of the covariance matrix of original inputs. Again, the latent noise residing in financial time series data often leads to over-fitting or under-fitting and hence impairs the performance of the forecasting system. Lu et al. has proposed the use of independent component analysis (ICA) (both linear and non-linear) with SVR to negate the influence of such noise in data in order to improve the forecasting accuracy [<xref ref-type="bibr" rid="scirp.83201-ref16">16</xref>] [<xref ref-type="bibr" rid="scirp.83201-ref17">17</xref>] . In both approaches, at first ICA was used to extract the most influential components from the technical indicators and then were fed to SVR for better prediction purpose. ICA is a signal processing technique that was originally developed for blind source separation. It attempts to achieve statistically independent components (ICs) from the transformed vectors. Cao et al. has shown that both PCA and ICA can improve the performance of SVR in time series forecasting [<xref ref-type="bibr" rid="scirp.83201-ref18">18</xref>] which motivated this research work to adopt PCA and ICA with SVR for predicting future stock prices.</p><p>In this paper, an SVR based forecasting model is developed integrating both PCA and ICA to elevate the prediction accuracy for stock prices because even a small improvement of this performance can have a significant influence on investment decisions. Considering the fact that, technical analysis plays a vital role in the forecasting, it has been conducted to calculate technical indicators as the input features. Then PCA is used to extract the influential components from input features which are then filtered to transform the high-dimensional input into low-dimension features. After that, ICA is applied to convert the reduced features into independent components. The SVR then finally uses the filtered and transformed low-dimensional input variables to construct the forecasting model and predict stock prices for 1 to 4 days in advance. The predictive performance of the proposed approach is compared with three traditional approaches: the integration of PCA with SVR (PCA-SVR), ICA with SVR (ICA-SVR) and single SVR.</p><p>The reminder of this paper is organized into 6 sections. Section 2 provides a brief overview of the methodologies used in this study which includes PCA, ICA and SRV. Section 3 introduces the proposed method. Section 4 describes the research data. Section 5 reports the experimental results obtained from the study. Finally Section 6 contains the concluding remarks.</p></sec><sec id="s2"><title>2. Methodology</title><sec id="s2_1"><title>2.1. Principal Component Analysis (PCA)</title><p>Principal component analysis (PCA), invented by Karl Pearson [<xref ref-type="bibr" rid="scirp.83201-ref19">19</xref>] , is a well-known statistical procedure for feature extraction. It finds smaller number of uncorrelated components from high dimensional original inputs by calculating the eigenvectors of the covariance matrix. Given a set of m dimensional input vectors x i = ( x i ( 1 ) , x i ( 2 ) , ⋯ , x i ( m ) ) T where i = 1 , 2 , ⋯ , n . PCA is a transformation of x<sub>i</sub> into a new vector y<sub>i</sub> by:</p><p>y i = U T x i (1)</p><p>where U is the m &#215; m orthogonal matrix whose jth column u<sub>j</sub> is the jth eigenvector of the sample covariance matrix C = 1 n ∑ i = 1 n x i x i T . In other words, PCA solves the eigenvalue problem of Equation (2).</p><p>λ j u j = C u j ,     j = 1 , 2 , ⋯ , m (2)</p><p>where λ j is one of the eigenvalues of C. u<sub>j</sub> is the corresponding eigenvector. Based on the estimated u<sub>j</sub>, the components of y<sub>i</sub> are calculated as the orthogonal transformation of x<sub>i</sub>:</p><p>y i ( j ) = u j T x i ,     j = 1 , 2 , ⋯ , m (3)</p><p>The new components are called principal components. By using only the first several eigenvectors sorted in descending order of the eigenvalues, the number of principal components in y<sub>i</sub> can be reduced [<xref ref-type="bibr" rid="scirp.83201-ref20">20</xref>] . Thus, PCA can be used to reduce dimensions where the principal components are uncorrelated and have sequentially maximum variances.</p></sec><sec id="s2_2"><title>2.2. Independent Component Analysis (ICA)</title><p>ICA is basically a signal processing technique that regains mutually independent but unknown source signals from their mixture without having any prior knowledge of the mixing mechanism. Let X = [ x 1 , x 2 , ⋯ , x m ] T be an m &#215; n matrix which is a mixture of m source signals x<sub>i</sub> of size 1 &#215; n, i = 1 , 2 , ⋯ , m . In basic ICA the above mixing model can be rewritten as [<xref ref-type="bibr" rid="scirp.83201-ref21">21</xref>] :</p><p>X = A S = ∑ i = 1 m a i s i (4)</p><p>where a<sub>i</sub> is the i<sup>th</sup> column of the m &#215; m unknown mixing matrix A and s<sub>i</sub> is the ith row of the m &#215; n source matrix S. The goal of the ICA is to estimate the un-mixing matrix W of size m &#215; m that is used to transform the observed mixture signals X to yield the independent signals Y such that</p><p>Y = [ y i ] = W X (5)</p><p>where y<sub>i</sub> is the i<sup>th</sup> row of the matrix Y, i = 1 , 2 , ⋯ , m . The rows of Y are called the independent components (ICs) and are required to be statistically as independent as possible. Here, statistically independence means that the joint probability density of the components of Y is equal to the product of the marginal densities of the individual components. If the un-mixing matrix W is the inverse of the original mixing matrix A i.e. W = A<sup>−</sup><sup>1</sup>, the latent source signals (s<sub>i</sub>) can be estimated using the ICs (y<sub>i</sub>). For the identification of Equation (5), one fundamental requirement is that all the ICs, with the possible exception of one component, must be non-Gaussian.</p><p>Several algorithms have been developed to perform ICA modeling [<xref ref-type="bibr" rid="scirp.83201-ref22">22</xref>] [<xref ref-type="bibr" rid="scirp.83201-ref23">23</xref>] [<xref ref-type="bibr" rid="scirp.83201-ref24">24</xref>] [<xref ref-type="bibr" rid="scirp.83201-ref25">25</xref>] [<xref ref-type="bibr" rid="scirp.83201-ref26">26</xref>] . The FastICA algorithm proposed by [<xref ref-type="bibr" rid="scirp.83201-ref27">27</xref>] is adopted in this research work where the mutual information is used as criteria to estimate Y. Minimizing mutual information between components implies maximizing their negentropy. The negentropy is always non-negative and is zero if and only if y has a Gaussian distribution. In the FastICA algorithm, the approximation of the negentropy is using the following contrast function:</p><p>J G ( y ) ≈ [ E { G ( y ) } − E { G ( v ) } ] 2 (6)</p><p>where v is a standardized Gaussian variable and G is a non-quadratic function. G is given by G ( y ) = exp ( − y 2 / 2 ) in this study.</p><p>Two preprocessing steps are applied to the input matrix x to simplify the FastICA algorithm, centering and whitening [<xref ref-type="bibr" rid="scirp.83201-ref27">27</xref>] . First, x is made zero mean by subtracting its mean i.e. x i ← ( x i − E ( x i ) ) . The second step is to whiten x by passing it through a whitening matrix V, i.e., Z = VX. The rows of the whitened variable Z, denoted by z, are uncorrelated and have unit variance, i.e., E{zz<sup>T</sup>} = I.</p></sec><sec id="s2_3"><title>2.3. Support Vector Regression (SVR)</title><p>The SVR extends the basic principles of Vapnik’s support vector machines (SVM) [<xref ref-type="bibr" rid="scirp.83201-ref28">28</xref>] for classification by setting a margin of tolerance in approximation and up until the threshold ε, 0 error is considered. Given a training set ( x i , y i ) , i = 1 , 2 , ⋯ , n , where the x i ∈ R m is the m-dimensional input vector and y i ∈ R is the response variable. SVR generates the linear regression function in the form:</p><p>f ( x , w ) = w T x + b (7)</p><p>Vapnik’s linear ε-Insensitivity loss (error) function is:</p><p>| y − f ( x , w ) | ε = { 0 ,                                                   if   | y − f ( x , w ) | ≤ ε | y − f ( x i , w ) | − ε ,             otherwise (8)</p><p>Based on this, linear regression f ( x , w ) is estimated by simultaneously minimizing ‖ w ‖ 2 and the sum of the linear ε-Insensitivity losses as shown in Equation (10). The constant c controls a trade-off between an approximation error and the weight vector norm ‖ w ‖ , is a design parameter chosen by the user.</p><p>R = 1 2 ‖ w ‖ 2 + c ( ∑ i = 1 n | y − f ( x , w ) | ε ) (9)</p><p>Minimizing the risk R is equivalent to minimizing the following risk under the constraints mentioned in Equations (11)-(13).</p><p>R = 1 2 ‖ w ‖ 2 + c ∑ i = 1 n ( ξ + ξ * ) (10)</p><p>( w T x i + b ) − y i ≤ ε + ξ i (11)</p><p>y i − ( w T x i + b ) ≤ ε + ξ i * (12)</p><p>ξ i , ξ i * ≥ 0 ,   i = 1 , 2 , ⋯ , m (13)</p><p>Here, ξ<sub>i</sub> and ξ i * are slack variables, one for exceeding the target value by more than ε and other for being more than ε below the target. As used in SVM, the above constrained optimization problem is solved using Lagrangian theory and the Karush-Kuhn-Tucker conditions to obtain the desired weight vector of the regression function.</p><p>SVR maps the input vectors x i ∈ R m into a high dimensional feature space ϕ ( x i ) ∈ H . A kernel function K ( x i , x j ) performs the mapping ϕ(.). The most popular kernel function that is used in this study is Radial Basis Function (RBF) as shown in Equation (14).</p><p>K ( x i , x j ) = exp ( − γ ‖ x i − x j ‖ 2 ) (14)</p><p>where γ is the constant of the kernel function. The RBF kernel function parameter γ and regularization constant C are the design parameters of SVR.</p></sec></sec><sec id="s3"><title>3. Proposed PCA-ICA-SVR Forecasting Model</title><p>The three stage methodology named PCA-ICA-SVR proposed in this research scheme is depicted in <xref ref-type="fig" rid="fig1">Figure 1</xref>. In the first stage we used PCA to the input data to extract features which were then reduced into a low-dimensional feature space. Then ICA was applied to these reduced feature space to extract independent components. Finally, these independent components were used in the SVR for constructing the forecasting model.</p><p>First of all, technical analysis is conducted on the dataset and 29 technical indicators (TIs) are calculated that are being used by financial experts [<xref ref-type="bibr" rid="scirp.83201-ref3">3</xref>] . Some important technical indicators and their formulas are shown in <xref ref-type="table" rid="table1">Table 1</xref>. All values of these constructed features are scaled into the range of [0, 1] to eliminate the biasness towards larger value attributes. Then PCA is applied to the normalized data to extract the PCs containing the most influential information. These PCs are filtered according to the corresponding variance and thus the irrelevant features are discarded to construct a reduced feature space. The ICA model is then used in the low-dimensional data to estimate ICs containing the hidden and effective information of the prediction variables. Finally, the ICs are used as input variables to construct the SVR stock price forecasting model.</p><p>As mention in Section 2.3, the RBF kernel function is incorporated in this study because it is the most widely used and well performing kernel function for forecasting purpose. But the performance of SVR is highly influenced by the selection of the parameters: γ and C. A very popular method to select the best values of these parameters is the grid search approach with cross-validation [<xref ref-type="bibr" rid="scirp.83201-ref29">29</xref>] . This is a straightforward method of trying geometric sequences for the best (C,</p><table-wrap id="table1" ><label><xref ref-type="table" rid="table1">Table 1</xref></label><caption><title> Important technical indicators and their formulas</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >Feature</th><th align="center" valign="middle" >Description</th><th align="center" valign="middle" >Calculation Formula</th></tr></thead><tr><td align="center" valign="middle" >10-day SMA</td><td align="center" valign="middle" >Simple 10-day moving average</td><td align="center" valign="middle" >( 1 n ) ∑ i = t − n + 1 t C i , where C<sub>t</sub> is the closing price.</td></tr><tr><td align="center" valign="middle" >10-day EMA</td><td align="center" valign="middle" >Exponential 10-day moving average</td><td align="center" valign="middle" >EMA ( n ) t − 1 + α &#215; ( C t − EMA ( n ) t − 1 ) , where α is a smoothing factor and α = 2 n + 1</td></tr><tr><td align="center" valign="middle" >10-day WMA</td><td align="center" valign="middle" >Weighted 10-day moving average</td><td align="center" valign="middle" >( n ) C t + ( n − 1 ) C t − 1 + ⋯ + C t − n + 1 n + ( n − 1 ) + ⋯ + 1</td></tr><tr><td align="center" valign="middle" >A/D Oscillator</td><td align="center" valign="middle" >Accumulation/distribution oscillator. It is a momentum indicator that relates changes in price.</td><td align="center" valign="middle" >H t − C t − 1 H t − L t , where L<sub>t</sub> is the low price and This the high price at time t.</td></tr><tr><td align="center" valign="middle" >MACD</td><td align="center" valign="middle" >Moving Average Convergence/Divergence.</td><td align="center" valign="middle" >MACD ( n ) t − 1 + 2 n + 1 &#215; ( DIFF t − MACD ( n ) t − 1 ) , where DIFF t = EMA ( 12 ) t − EMA ( 26 ) t</td></tr><tr><td align="center" valign="middle" >Stochastic K%</td><td align="center" valign="middle" >Stochastic %K. It compares where a security’s price closed relative to its price range over a given period.</td><td align="center" valign="middle" >C t − L L t − ( n − 1 ) H H t − ( n − 1 ) − L L t − ( n − 1 ) &#215; 100 , where LL<sub>t</sub> and HH<sub>t</sub> mean lowest low and highest high in the last t days, respectively</td></tr><tr><td align="center" valign="middle" >Stochastic D%</td><td align="center" valign="middle" >Stochastic %D. Moving average of %K.</td><td align="center" valign="middle" >∑ i = 0 n − 1   K % t − i 10</td></tr><tr><td align="center" valign="middle" >Momentum (close price)</td><td align="center" valign="middle" >It measures the amount that a security’s price has changed over a given time span.</td><td align="center" valign="middle" >C t − C t − 9</td></tr><tr><td align="center" valign="middle" >Larry William’s R%</td><td align="center" valign="middle" >Larry William’s R%. It is a momentum indicator that measures overbought/oversold levels.</td><td align="center" valign="middle" >H n − C t H n − L n &#215; 100</td></tr><tr><td align="center" valign="middle" >Relative Strength Index (RSI)</td><td align="center" valign="middle" >Relative Strength Index. It is a price following an oscillator that ranges from 0 to 100.</td><td align="center" valign="middle" >100 − 100 1 + ( ( ∑ i = 0 n − 1 U p t − i / n ) / ( ∑ i = 0 n − 1 D w t − i / n ) ) , where Up<sub>t</sub> means upward-price-change and Dw<sub>t</sub> means downward-price-change at time t.</td></tr><tr><td align="center" valign="middle" >Close price ROC</td><td align="center" valign="middle" >Price rate-of-change. It is the difference between the current price and the price of n days ago.</td><td align="center" valign="middle" >C t C t − n &#215; 100</td></tr><tr><td align="center" valign="middle" >CCI</td><td align="center" valign="middle" >Commodity Channel Index. It measures the variation of a security’s price.</td><td align="center" valign="middle" >( M t − S M t ) ( 0.015 D t ) , where M t = ( H t + L t + C t ) / 3 , S M t = ∑ i = 1 n   M t − i + 1 n and D t = ∑ i = 1 n | M t − i + 1 − S M t | n</td></tr><tr><td align="center" valign="middle" >Disparity 5</td><td align="center" valign="middle" >5-day disparity. It is the distance of current two moving averages of a stock’s price.</td><td align="center" valign="middle" >C t M A 5 &#215; 100</td></tr><tr><td align="center" valign="middle" >Disparity 10</td><td align="center" valign="middle" >10-day disparity.</td><td align="center" valign="middle" >C t M A 10 &#215; 100</td></tr><tr><td align="center" valign="middle" >OSCP</td><td align="center" valign="middle" >Price oscillator. It is the difference between two moving average of a stock’s price.</td><td align="center" valign="middle" >M A 5 − M A 10 M A 5</td></tr></tbody></table></table-wrap><p>γ) value pair. The (C, γ) value pair generating the minimum mean absolute percentage error (MAPE) is considered the best values for the parameters. The complete grid search is a time-consuming task. That’s why a coarse grid is used at first which identifies a better region on the grid. Then a finer grid search is conducted on that region.</p><p>Mean Absolute Percentage Error (MAPE), Mean Absolute Error (MAE), relative Root Mean Squared Error (rRMSE) and Mean Squared Error (MSE) are used to evaluate the performance of the proposed model. Formulas of these evaluation measures are shown in Equations (15)-(18) [<xref ref-type="bibr" rid="scirp.83201-ref30">30</xref>] . These are the measures of deviation between actual and predicted prices. The smaller the values of these measures, the closer the predicted prices are to actual prices. They can be used to evaluate the predictive performance of any forecasting model.</p><p>MAPE = 1 n ∑ t = 1 n | A t − F t | | A t | &#215; 100 (15)</p><p>MAE = 1 n ∑ t = 1 n | A t − F t | | A t | (16)</p><p>rRMSE = 1 n ∑ t = 1 n ( A t − F t A t ) 2 &#215; 100 (17)</p><p>MSE = 1 n ∑ t = 1 n ( A t − F t ) 2 (18)</p><p>where A<sub>t</sub> is the actual value, F<sub>t</sub> represent the predicted value and n is the total number of data points.</p></sec><sec id="s4"><title>4. Research Data</title><p>To conduct the study and evaluate the performance of the proposed approach, the 16 years’ historical data of daily transaction for the time period from January 2000 to December 2015 are collected from Dhaka Stock Exchange, Bangladesh (http://www.dsebd.org/). This data covers 3600 trading days and each data comprises five attributes: open price, high price, low price, close price and trade volume. We have considered three companies from three different sectors: Square Pharmaceuticals Limited, AB Bank Limited and Bangladesh Lamps Limited as these are the most prominent stocks in DSE. The daily closing prices of these companies are shown in Figures 2-4 respectively. The first one is a leading company in pharmaceuticals sector, the second leads the banking sector and the last one belongs to the engineering sector. 70% of the total sample points (around 2520 trading days) are used as the training sample and the remaining 30% of the total sample points (around 1080 trading days) are holdout to be used as the testing sample.</p></sec><sec id="s5"><title>5. Experimental Results</title><p>The principal component analysis on the original data shows that the first 10</p><p>components contribute over 98% cumulative covariance providing most information. <xref ref-type="fig" rid="fig5">Figure 5</xref> shows the cumulative covariance contribution of principal components for AB Bank Limited and the same results are obtained for other cases (not shown here). Hence the first 10 PCs are selected to form the low-dimensional input variables for all the three companies. Then ICA is applied on these 10 PCs and the estimated corresponding ICs are considered as the final input variables for SVR.</p><p>In this study, the radial basis function (RBF) is used as the kernel function of SVR. To find the best C and γ value pair we have considered e<sup>−</sup><sup>5</sup> to e<sup>10</sup> for both parameters as our research space. For the data of Square Pharmaceuticals Limited, the coarse grid discovered the best (C, γ) as (e<sup>9</sup>, e<sup>3</sup>) with the 5-fold cross validation MAPE 2.23%. Then a finer grid search on the neighborhood of (e<sup>9</sup>, e<sup>3</sup>) produced a better cross-validation MAPE of 1.66% at (e<sup>9</sup>, e<sup>2.8</sup>). After the best (C, γ) is found the whole training set is trained again to generate the final SVR model. The best value pairs for C and γ for every prediction task where minimum prediction error is exhibited by the grid search approach are shown in <xref ref-type="table" rid="table2">Table 2</xref>.</p><p>The forecasting results of the proposed PCA-ICA-SVR model are compared with single SVR model that uses all the original input variables, the PCA-SVR model where the filtered PCs are used as input variables by the SVR model and finally the ICA-SVR model where non-filtered ICs calculated from the original variables are used by the SVR model.</p><p>In all the cases, closing prices of the target stock are predicted for 1, 2, 3, and 4 days in advance. Prediction results for Square Pharmaceuticals Limited are listed in Tables 3-6. Tables 7-10 illustrate the comparative results of price forecasting for AB Bank Limited. Tables 11-14 compare the performance of price forecasting for Bangladesh Lamps Limited.</p><p>It is evident from all the results that, the proposed PCA-ICA-SVR model has produced lower MAPE (%), MAE, MSE and rRMSE (%) for all three target stocks. The integration of PCA and ICA improves the performance of SVR in most of the cases but the proposed PCA-ICA-SVR model outperforms other</p><table-wrap id="table2" ><label><xref ref-type="table" rid="table2">Table 2</xref></label><caption><title> Grid search results for RBF kernel parameters</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >Parameter</th><th align="center" valign="middle" >Square Pharmaceuticals Ltd.</th><th align="center" valign="middle" >AB Bank Ltd.</th><th align="center" valign="middle" >Bangladesh Lamps Limited.</th></tr></thead><tr><td align="center" valign="middle" >C</td><td align="center" valign="middle" >e<sup>9.0</sup></td><td align="center" valign="middle" >e<sup>8.4</sup></td><td align="center" valign="middle" >e<sup>5.8</sup></td></tr><tr><td align="center" valign="middle" >γ</td><td align="center" valign="middle" >e<sup>2.8</sup></td><td align="center" valign="middle" >e<sup>2.0</sup></td><td align="center" valign="middle" >e<sup>2.4</sup></td></tr></tbody></table></table-wrap><table-wrap id="table3" ><label><xref ref-type="table" rid="table3">Table 3</xref></label><caption><title> Prediction performance for 1 day ahead of Square Pharmaceuticals Limited</title></caption><table><tbody><thead><tr><th align="center" valign="middle"  rowspan="2"  >Prediction models</th><th align="center" valign="middle"  colspan="4"  >Performance measures</th></tr></thead><tr><td align="center" valign="middle" >MAPE (%)</td><td align="center" valign="middle" >MAE</td><td align="center" valign="middle" >MSE</td><td align="center" valign="middle" >rRMSE (%)</td></tr><tr><td align="center" valign="middle" >PCA-ICA-SVR</td><td align="center" valign="middle" >1.70</td><td align="center" valign="middle" >0.0170</td><td align="center" valign="middle" >3573.58</td><td align="center" valign="middle" >14.70</td></tr><tr><td align="center" valign="middle" >PCA-SVR</td><td align="center" valign="middle" >1.95</td><td align="center" valign="middle" >0.0195</td><td align="center" valign="middle" >3947.96</td><td align="center" valign="middle" >23.11</td></tr><tr><td align="center" valign="middle" >ICA-SVR</td><td align="center" valign="middle" >2.23</td><td align="center" valign="middle" >0.0223</td><td align="center" valign="middle" >5801.64</td><td align="center" valign="middle" >28.98</td></tr><tr><td align="center" valign="middle" >Single SVR</td><td align="center" valign="middle" >1.98</td><td align="center" valign="middle" >0.0198</td><td align="center" valign="middle" >3864.83</td><td align="center" valign="middle" >33.97</td></tr></tbody></table></table-wrap><table-wrap id="table4" ><label><xref ref-type="table" rid="table4">Table 4</xref></label><caption><title> Prediction performance for 2 days ahead of Square Pharmaceuticals Limited</title></caption><table><tbody><thead><tr><th align="center" valign="middle"  rowspan="2"  >Prediction models</th><th align="center" valign="middle"  colspan="4"  >Performance measures</th></tr></thead><tr><td align="center" valign="middle" >MAPE (%)</td><td align="center" valign="middle" >MAE</td><td align="center" valign="middle" >MSE</td><td align="center" valign="middle" >rRMSE (%)</td></tr><tr><td align="center" valign="middle" >PCA-ICA-SVR</td><td align="center" valign="middle" >2.12</td><td align="center" valign="middle" >0.0212</td><td align="center" valign="middle" >6865.01</td><td align="center" valign="middle" >18.04</td></tr><tr><td align="center" valign="middle" >PCA-SVR</td><td align="center" valign="middle" >2.34</td><td align="center" valign="middle" >0.0234</td><td align="center" valign="middle" >7436.84</td><td align="center" valign="middle" >30.78</td></tr><tr><td align="center" valign="middle" >ICA-SVR</td><td align="center" valign="middle" >2.68</td><td align="center" valign="middle" >0.0268</td><td align="center" valign="middle" >8479.62</td><td align="center" valign="middle" >37.70</td></tr><tr><td align="center" valign="middle" >Single SVR</td><td align="center" valign="middle" >2.46</td><td align="center" valign="middle" >0.0246</td><td align="center" valign="middle" >7388.21</td><td align="center" valign="middle" >41.60</td></tr></tbody></table></table-wrap><table-wrap id="table5" ><label><xref ref-type="table" rid="table5">Table 5</xref></label><caption><title> Prediction performance for 3 days ahead of Square Pharmaceuticals Limited</title></caption><table><tbody><thead><tr><th align="center" valign="middle"  rowspan="2"  >Prediction models</th><th align="center" valign="middle"  colspan="4"  >Performance measures</th></tr></thead><tr><td align="center" valign="middle" >MAPE (%)</td><td align="center" valign="middle" >MAE</td><td align="center" valign="middle" >MSE</td><td align="center" valign="middle" >rRMSE (%)</td></tr><tr><td align="center" valign="middle" >PCA-ICA-SVR</td><td align="center" valign="middle" >2.55</td><td align="center" valign="middle" >0.0255</td><td align="center" valign="middle" >11,435.36</td><td align="center" valign="middle" >19.42</td></tr><tr><td align="center" valign="middle" >PCA-SVR</td><td align="center" valign="middle" >2.81</td><td align="center" valign="middle" >0.0281</td><td align="center" valign="middle" >12,358.35</td><td align="center" valign="middle" >36.03</td></tr><tr><td align="center" valign="middle" >ICA-SVR</td><td align="center" valign="middle" >3.04</td><td align="center" valign="middle" >0.0304</td><td align="center" valign="middle" >13,575.35</td><td align="center" valign="middle" >35.82</td></tr><tr><td align="center" valign="middle" >Single SVR</td><td align="center" valign="middle" >2.95</td><td align="center" valign="middle" >0.0295</td><td align="center" valign="middle" >12,331.95</td><td align="center" valign="middle" >47.27</td></tr></tbody></table></table-wrap><table-wrap id="table6" ><label><xref ref-type="table" rid="table6">Table 6</xref></label><caption><title> Prediction performance for 4 days ahead of Square Pharmaceuticals Limited</title></caption><table><tbody><thead><tr><th align="center" valign="middle"  rowspan="2"  >Prediction models</th><th align="center" valign="middle"  colspan="4"  >Performance measures</th></tr></thead><tr><td align="center" valign="middle" >MAPE (%)</td><td align="center" valign="middle" >MAE</td><td align="center" valign="middle" >MSE</td><td align="center" valign="middle" >rRMSE (%)</td></tr><tr><td align="center" valign="middle" >PCA-ICA-SVR</td><td align="center" valign="middle" >3.05</td><td align="center" valign="middle" >0.0305</td><td align="center" valign="middle" >16,161.23</td><td align="center" valign="middle" >23.63</td></tr><tr><td align="center" valign="middle" >PCA-SVR</td><td align="center" valign="middle" >3.28</td><td align="center" valign="middle" >0.0328</td><td align="center" valign="middle" >17,345.36</td><td align="center" valign="middle" >38.74</td></tr><tr><td align="center" valign="middle" >ICA-SVR</td><td align="center" valign="middle" >3.36</td><td align="center" valign="middle" >0.0336</td><td align="center" valign="middle" >17,246.75</td><td align="center" valign="middle" >24.18</td></tr><tr><td align="center" valign="middle" >Single SVR</td><td align="center" valign="middle" >3.32</td><td align="center" valign="middle" >0.0332</td><td align="center" valign="middle" >17,097.40</td><td align="center" valign="middle" >43.15</td></tr></tbody></table></table-wrap><table-wrap id="table7" ><label><xref ref-type="table" rid="table7">Table 7</xref></label><caption><title> Prediction performance for 1 day ahead of AB Bank Limited</title></caption><table><tbody><thead><tr><th align="center" valign="middle"  rowspan="2"  >Prediction models</th><th align="center" valign="middle"  colspan="4"  >Performance measures</th></tr></thead><tr><td align="center" valign="middle" >MAPE (%)</td><td align="center" valign="middle" >MAE</td><td align="center" valign="middle" >MSE</td><td align="center" valign="middle" >rRMSE (%)</td></tr><tr><td align="center" valign="middle" >PCA-ICA-SVR</td><td align="center" valign="middle" >4.66</td><td align="center" valign="middle" >0.0466</td><td align="center" valign="middle" >900.50</td><td align="center" valign="middle" >20.16</td></tr><tr><td align="center" valign="middle" >PCA-SVR</td><td align="center" valign="middle" >6.22</td><td align="center" valign="middle" >0.0622</td><td align="center" valign="middle" >1737.34</td><td align="center" valign="middle" >58.53</td></tr><tr><td align="center" valign="middle" >ICA-SVR</td><td align="center" valign="middle" >5.46</td><td align="center" valign="middle" >0.0546</td><td align="center" valign="middle" >1530.14</td><td align="center" valign="middle" >74.01</td></tr><tr><td align="center" valign="middle" >Single SVR</td><td align="center" valign="middle" >5.67</td><td align="center" valign="middle" >0.0567</td><td align="center" valign="middle" >1474.24</td><td align="center" valign="middle" >64.36</td></tr></tbody></table></table-wrap><table-wrap id="table8" ><label><xref ref-type="table" rid="table8">Table 8</xref></label><caption><title> Prediction performance for 2 days ahead of AB Bank Limited</title></caption><table><tbody><thead><tr><th align="center" valign="middle"  rowspan="2"  >Prediction models</th><th align="center" valign="middle"  colspan="4"  >Performance measures</th></tr></thead><tr><td align="center" valign="middle" >MAPE (%)</td><td align="center" valign="middle" >MAE</td><td align="center" valign="middle" >MSE</td><td align="center" valign="middle" >rRMSE (%)</td></tr><tr><td align="center" valign="middle" >PCA-ICA-SVR</td><td align="center" valign="middle" >5.30</td><td align="center" valign="middle" >0.0530</td><td align="center" valign="middle" >1822.75</td><td align="center" valign="middle" >11.66</td></tr><tr><td align="center" valign="middle" >PCA-SVR</td><td align="center" valign="middle" >6.65</td><td align="center" valign="middle" >0.0665</td><td align="center" valign="middle" >2740.14</td><td align="center" valign="middle" >21.76</td></tr><tr><td align="center" valign="middle" >ICA-SVR</td><td align="center" valign="middle" >6.26</td><td align="center" valign="middle" >0.0626</td><td align="center" valign="middle" >2403.27</td><td align="center" valign="middle" >59.42</td></tr><tr><td align="center" valign="middle" >Single SVR</td><td align="center" valign="middle" >6.19</td><td align="center" valign="middle" >0.0619</td><td align="center" valign="middle" >1474.24</td><td align="center" valign="middle" >64.36</td></tr></tbody></table></table-wrap><table-wrap id="table9" ><label><xref ref-type="table" rid="table9">Table 9</xref></label><caption><title> Prediction performance for 3 days ahead of AB Bank Limited</title></caption><table><tbody><thead><tr><th align="center" valign="middle"  rowspan="2"  >Prediction models</th><th align="center" valign="middle"  colspan="4"  >Performance measures</th></tr></thead><tr><td align="center" valign="middle" >MAPE (%)</td><td align="center" valign="middle" >MAE</td><td align="center" valign="middle" >MSE</td><td align="center" valign="middle" >rRMSE (%)</td></tr><tr><td align="center" valign="middle" >PCA-ICA-SVR</td><td align="center" valign="middle" >5.84</td><td align="center" valign="middle" >0.0584</td><td align="center" valign="middle" >5638.42</td><td align="center" valign="middle" >22.06</td></tr><tr><td align="center" valign="middle" >PCA-SVR</td><td align="center" valign="middle" >7.57</td><td align="center" valign="middle" >0.0757</td><td align="center" valign="middle" >7666.62</td><td align="center" valign="middle" >76.42</td></tr><tr><td align="center" valign="middle" >ICA-SVR</td><td align="center" valign="middle" >6.32</td><td align="center" valign="middle" >0.0632</td><td align="center" valign="middle" >6302.39</td><td align="center" valign="middle" >87.78</td></tr><tr><td align="center" valign="middle" >Single SVR</td><td align="center" valign="middle" >6.91</td><td align="center" valign="middle" >0.0691</td><td align="center" valign="middle" >7177.64</td><td align="center" valign="middle" >67.57</td></tr></tbody></table></table-wrap><table-wrap id="table10" ><label><xref ref-type="table" rid="table1">Table 1</xref>0</label><caption><title> Prediction performance for 4 days ahead of AB Bank Limited</title></caption><table><tbody><thead><tr><th align="center" valign="middle"  rowspan="2"  >Prediction models</th><th align="center" valign="middle"  colspan="4"  >Performance measures</th></tr></thead><tr><td align="center" valign="middle" >MAPE (%)</td><td align="center" valign="middle" >MAE</td><td align="center" valign="middle" >MSE</td><td align="center" valign="middle" >rRMSE (%)</td></tr><tr><td align="center" valign="middle" >PCA-ICA-SVR</td><td align="center" valign="middle" >6.10</td><td align="center" valign="middle" >0.0610</td><td align="center" valign="middle" >8907.89</td><td align="center" valign="middle" >17.50</td></tr><tr><td align="center" valign="middle" >PCA-SVR</td><td align="center" valign="middle" >8.00</td><td align="center" valign="middle" >0.0800</td><td align="center" valign="middle" >12,200.47</td><td align="center" valign="middle" >56.22</td></tr><tr><td align="center" valign="middle" >ICA-SVR</td><td align="center" valign="middle" >6.67</td><td align="center" valign="middle" >0.0667</td><td align="center" valign="middle" >9155.54</td><td align="center" valign="middle" >78.69</td></tr><tr><td align="center" valign="middle" >Single SVR</td><td align="center" valign="middle" >7.44</td><td align="center" valign="middle" >0.0744</td><td align="center" valign="middle" >11,675.15</td><td align="center" valign="middle" >52.66</td></tr></tbody></table></table-wrap><table-wrap id="table11" ><label><xref ref-type="table" rid="table1">Table 1</xref>1</label><caption><title> Prediction performance for 1 day ahead of Bangladesh Lamps Limited</title></caption><table><tbody><thead><tr><th align="center" valign="middle"  rowspan="2"  >Prediction models</th><th align="center" valign="middle"  colspan="4"  >Performance measures</th></tr></thead><tr><td align="center" valign="middle" >MAPE (%)</td><td align="center" valign="middle" >MAE</td><td align="center" valign="middle" >MSE</td><td align="center" valign="middle" >rRMSE (%)</td></tr><tr><td align="center" valign="middle" >PCA-ICA-SVR</td><td align="center" valign="middle" >3.35</td><td align="center" valign="middle" >0.0335</td><td align="center" valign="middle" >1680.07</td><td align="center" valign="middle" >43.68</td></tr><tr><td align="center" valign="middle" >PCA-SVR</td><td align="center" valign="middle" >3.69</td><td align="center" valign="middle" >0.0369</td><td align="center" valign="middle" >2055.00</td><td align="center" valign="middle" >57.15</td></tr><tr><td align="center" valign="middle" >ICA-SVR</td><td align="center" valign="middle" >4.05</td><td align="center" valign="middle" >0.0405</td><td align="center" valign="middle" >1922.19</td><td align="center" valign="middle" >83.90</td></tr><tr><td align="center" valign="middle" >Single SVR</td><td align="center" valign="middle" >3.70</td><td align="center" valign="middle" >0.0370</td><td align="center" valign="middle" >2043.94</td><td align="center" valign="middle" >61.46</td></tr></tbody></table></table-wrap><table-wrap id="table12" ><label><xref ref-type="table" rid="table1">Table 1</xref>2</label><caption><title> Prediction performance for 2 days ahead of Bangladesh Lamps Limited</title></caption><table><tbody><thead><tr><th align="center" valign="middle"  rowspan="2"  >Prediction models</th><th align="center" valign="middle"  colspan="4"  >Performance measures</th></tr></thead><tr><td align="center" valign="middle" >MAPE (%)</td><td align="center" valign="middle" >MAE</td><td align="center" valign="middle" >MSE</td><td align="center" valign="middle" >rRMSE (%)</td></tr><tr><td align="center" valign="middle" >PCA-ICA-SVR</td><td align="center" valign="middle" >4.52</td><td align="center" valign="middle" >0.0452</td><td align="center" valign="middle" >3284.34</td><td align="center" valign="middle" >62.25</td></tr><tr><td align="center" valign="middle" >PCA-SVR</td><td align="center" valign="middle" >4.68</td><td align="center" valign="middle" >0.0468</td><td align="center" valign="middle" >3803.27</td><td align="center" valign="middle" >71.93</td></tr><tr><td align="center" valign="middle" >ICA-SVR</td><td align="center" valign="middle" >5.06</td><td align="center" valign="middle" >0.0506</td><td align="center" valign="middle" >3319.44</td><td align="center" valign="middle" >93.45</td></tr><tr><td align="center" valign="middle" >Single SVR</td><td align="center" valign="middle" >4.81</td><td align="center" valign="middle" >0.0481</td><td align="center" valign="middle" >3859.30</td><td align="center" valign="middle" >81.16</td></tr></tbody></table></table-wrap><table-wrap id="table13" ><label><xref ref-type="table" rid="table1">Table 1</xref>3</label><caption><title> Prediction performance for 3 days ahead of Bangladesh Lamps Limited</title></caption><table><tbody><thead><tr><th align="center" valign="middle"  rowspan="2"  >Prediction models</th><th align="center" valign="middle"  colspan="4"  >Performance measures</th></tr></thead><tr><td align="center" valign="middle" >MAPE (%)</td><td align="center" valign="middle" >MAE</td><td align="center" valign="middle" >MSE</td><td align="center" valign="middle" >rRMSE (%)</td></tr><tr><td align="center" valign="middle" >PCA-ICA-SVR</td><td align="center" valign="middle" >4.66</td><td align="center" valign="middle" >0.0466</td><td align="center" valign="middle" >5033.45</td><td align="center" valign="middle" >46.49</td></tr><tr><td align="center" valign="middle" >PCA-SVR</td><td align="center" valign="middle" >4.91</td><td align="center" valign="middle" >0.0491</td><td align="center" valign="middle" >5707.75</td><td align="center" valign="middle" >58.84</td></tr><tr><td align="center" valign="middle" >ICA-SVR</td><td align="center" valign="middle" >5.05</td><td align="center" valign="middle" >0.0505</td><td align="center" valign="middle" >5006.75</td><td align="center" valign="middle" >67.41</td></tr><tr><td align="center" valign="middle" >Single SVR</td><td align="center" valign="middle" >4.94</td><td align="center" valign="middle" >0.0494</td><td align="center" valign="middle" >5668.56</td><td align="center" valign="middle" >61.32</td></tr></tbody></table></table-wrap><table-wrap id="table14" ><label><xref ref-type="table" rid="table1">Table 1</xref>4</label><caption><title> Prediction performance for 4 days ahead of Bangladesh Lamps Limited</title></caption><table><tbody><thead><tr><th align="center" valign="middle"  rowspan="2"  >Prediction models</th><th align="center" valign="middle"  colspan="4"  >Performance measures</th></tr></thead><tr><td align="center" valign="middle" >MAPE (%)</td><td align="center" valign="middle" >MAE</td><td align="center" valign="middle" >MSE</td><td align="center" valign="middle" >rRMSE (%)</td></tr><tr><td align="center" valign="middle" >PCA-ICA-SVR</td><td align="center" valign="middle" >6.77</td><td align="center" valign="middle" >0.0677</td><td align="center" valign="middle" >6596.20</td><td align="center" valign="middle" >96.67</td></tr><tr><td align="center" valign="middle" >PCA-SVR</td><td align="center" valign="middle" >6.89</td><td align="center" valign="middle" >0.0689</td><td align="center" valign="middle" >7712.17</td><td align="center" valign="middle" >108.01</td></tr><tr><td align="center" valign="middle" >ICA-SVR</td><td align="center" valign="middle" >7.16</td><td align="center" valign="middle" >0.0716</td><td align="center" valign="middle" >6852.73</td><td align="center" valign="middle" >117.38</td></tr><tr><td align="center" valign="middle" >Single SVR</td><td align="center" valign="middle" >6.89</td><td align="center" valign="middle" >0.0689</td><td align="center" valign="middle" >7619.66</td><td align="center" valign="middle" >110.77</td></tr></tbody></table></table-wrap><p>three compared methods. This corroborates that the proposed PCA-ICA-SVR approach can generate lower prediction errors than other three compared approaches. Again, it could be noticed from the results that, the forecasting performance of all the approaches decreases as the predictions are made for more and more number of days in advance, which may be obvious for any prediction system.</p><p>The robustness of the proposed PCA-ICA-SVR method is evaluated by comparing its performance with PCA-SVR, ICA-SVR and single SVR methods using different ratios of training and testing sample sizes. The performance is compared in terms of MAPE (%) and rRMSE (%) with four relative ratios, 60%, 70%, 80%, and 90% of training sample size with respect to the complete dataset size. Predictions are made for the closing price of the target stock for next trading day. <xref ref-type="table" rid="table1">Table 1</xref>5 summarizes the prediction results for Square Pharmaceuticals Limited, AB Bank Limited and Bangladesh Lamps Limited. Based on the findings in <xref ref-type="table" rid="table1">Table 1</xref>5, we can discover that the proposed PCA-ICA-SVR method outperforms other three methods under all four different relative ratios for all three target stocks. It therefore concludes that PCA-ICA-SVR approach clearly produces less forecasting error than other three approaches. This demonstrates the effectiveness of our proposal.</p></sec><sec id="s6"><title>6. Conclusions</title><p>This paper proposes a price forecasting model integrating PCA and ICA with SVR for financial time series. This PCA-ICA-SVR model first uses the PCA to extract the most influential components from the input features in order to overcome the over-fitting or under-fitting challenge caused by the noisy nature of financial time series data. The filtered PCs are then processed by ICA to estimate ICs which are finally used in SVR with RBF kernel function as input variables. The grid search for the best kernel parameters is conducted to improve SVR’s performance. The experiments have evaluated 16 years’ data for three commencing stocks from Dhaka Stock Exchange, Bangladesh. The performance of proposed model is compared with PCA-SVR, ICA-SVR and single SVR for short time durations (1 to 4 days) in terms of prediction error. Experiment results show that the proposed PCA-ICA-SVR model outperforms all three other methods by generating less predictive errors. The empirical results can conclude that the PCA and ICA, working together, can successfully unfold the influential</p><table-wrap id="table15" ><label><xref ref-type="table" rid="table1">Table 1</xref>5</label><caption><title> Robustness evaluation of PCA-ICA-SVR, ICA-SVR, PCA-SVR and single SVR with different relative ratios for Square Pharmaceuticals Limited, AB Bank Limited and Bangladesh Lamps Limited</title></caption><table><tbody><thead><tr><th align="center" valign="middle"  rowspan="2"  >Relative Ratio (%)</th><th align="center" valign="middle"  rowspan="2"  >Models</th><th align="center" valign="middle"  colspan="2"  >Square Pharmaceuticals Limited</th><th align="center" valign="middle"  colspan="2"  >AB Bank Limited</th><th align="center" valign="middle"  colspan="2"  >Bangladesh Lamps Limited</th></tr></thead><tr><td align="center" valign="middle" >Testing MAPE (%)</td><td align="center" valign="middle" >Testing rRMSE (%)</td><td align="center" valign="middle" >Testing MAPE (%)</td><td align="center" valign="middle" >Testing rRMSE (%)</td><td align="center" valign="middle" >Testing MAPE (%)</td><td align="center" valign="middle" >Testing rRMSE (%)</td></tr><tr><td align="center" valign="middle"  rowspan="4"  >60</td><td align="center" valign="middle" >PCA-ICA-SVR</td><td align="center" valign="middle" >1.85</td><td align="center" valign="middle" >18.82</td><td align="center" valign="middle" >4.89</td><td align="center" valign="middle" >6.37</td><td align="center" valign="middle" >3.40</td><td align="center" valign="middle" >18.61</td></tr><tr><td align="center" valign="middle" >ICA-SVR</td><td align="center" valign="middle" >2.47</td><td align="center" valign="middle" >30.11</td><td align="center" valign="middle" >6.03</td><td align="center" valign="middle" >98.82</td><td align="center" valign="middle" >3.80</td><td align="center" valign="middle" >80.78</td></tr><tr><td align="center" valign="middle" >PCA-SVR</td><td align="center" valign="middle" >2.18</td><td align="center" valign="middle" >40.26</td><td align="center" valign="middle" >6.31</td><td align="center" valign="middle" >19.08</td><td align="center" valign="middle" >3.84</td><td align="center" valign="middle" >47.00</td></tr><tr><td align="center" valign="middle" >Single SVR</td><td align="center" valign="middle" >2.16</td><td align="center" valign="middle" >43.84</td><td align="center" valign="middle" >5.98</td><td align="center" valign="middle" >43.85</td><td align="center" valign="middle" >3.86</td><td align="center" valign="middle" >70.36</td></tr><tr><td align="center" valign="middle"  rowspan="4"  >70</td><td align="center" valign="middle" >PCA-ICA-SVR</td><td align="center" valign="middle" >1.70</td><td align="center" valign="middle" >14.70</td><td align="center" valign="middle" >4.66</td><td align="center" valign="middle" >20.16</td><td align="center" valign="middle" >3.35</td><td align="center" valign="middle" >43.68</td></tr><tr><td align="center" valign="middle" >ICA-SVR</td><td align="center" valign="middle" >2.23</td><td align="center" valign="middle" >28.98</td><td align="center" valign="middle" >5.46</td><td align="center" valign="middle" >74.01</td><td align="center" valign="middle" >4.05</td><td align="center" valign="middle" >83.90</td></tr><tr><td align="center" valign="middle" >PCA-SVR</td><td align="center" valign="middle" >1.95</td><td align="center" valign="middle" >23.11</td><td align="center" valign="middle" >6.22</td><td align="center" valign="middle" >58.53</td><td align="center" valign="middle" >3.69</td><td align="center" valign="middle" >57.15</td></tr><tr><td align="center" valign="middle" >Single SVR</td><td align="center" valign="middle" >1.98</td><td align="center" valign="middle" >33.97</td><td align="center" valign="middle" >5.67</td><td align="center" valign="middle" >64.36</td><td align="center" valign="middle" >3.70</td><td align="center" valign="middle" >61.46</td></tr><tr><td align="center" valign="middle"  rowspan="4"  >80</td><td align="center" valign="middle" >PCA-ICA-SVR</td><td align="center" valign="middle" >1.71</td><td align="center" valign="middle" >12.39</td><td align="center" valign="middle" >4.91</td><td align="center" valign="middle" >8.09</td><td align="center" valign="middle" >3.40</td><td align="center" valign="middle" >3.15</td></tr><tr><td align="center" valign="middle" >ICA-SVR</td><td align="center" valign="middle" >2.24</td><td align="center" valign="middle" >20.47</td><td align="center" valign="middle" >5.31</td><td align="center" valign="middle" >59.13</td><td align="center" valign="middle" >3.74</td><td align="center" valign="middle" >60.91</td></tr><tr><td align="center" valign="middle" >PCA-SVR</td><td align="center" valign="middle" >1.99</td><td align="center" valign="middle" >20.59</td><td align="center" valign="middle" >6.40</td><td align="center" valign="middle" >10.37</td><td align="center" valign="middle" >3.75</td><td align="center" valign="middle" >22.60</td></tr><tr><td align="center" valign="middle" >Single SVR</td><td align="center" valign="middle" >2.07</td><td align="center" valign="middle" >31.60</td><td align="center" valign="middle" >5.31</td><td align="center" valign="middle" >27.02</td><td align="center" valign="middle" >3.59</td><td align="center" valign="middle" >34.10</td></tr><tr><td align="center" valign="middle"  rowspan="4"  >90</td><td align="center" valign="middle" >PCA-ICA-SVR</td><td align="center" valign="middle" >2.04</td><td align="center" valign="middle" >5.08</td><td align="center" valign="middle" >5.17</td><td align="center" valign="middle" >1.59</td><td align="center" valign="middle" >3.28</td><td align="center" valign="middle" >8.88</td></tr><tr><td align="center" valign="middle" >ICA-SVR</td><td align="center" valign="middle" >2.62</td><td align="center" valign="middle" >16.39</td><td align="center" valign="middle" >5.96</td><td align="center" valign="middle" >50.03</td><td align="center" valign="middle" >3.56</td><td align="center" valign="middle" >42.74</td></tr><tr><td align="center" valign="middle" >PCA-SVR</td><td align="center" valign="middle" >2.13</td><td align="center" valign="middle" >12.25</td><td align="center" valign="middle" >6.57</td><td align="center" valign="middle" >4.59</td><td align="center" valign="middle" >3.71</td><td align="center" valign="middle" >17.08</td></tr><tr><td align="center" valign="middle" >Single SVR</td><td align="center" valign="middle" >2.19</td><td align="center" valign="middle" >19.31</td><td align="center" valign="middle" >5.77</td><td align="center" valign="middle" >26.61</td><td align="center" valign="middle" >3.70</td><td align="center" valign="middle" >35.25</td></tr></tbody></table></table-wrap><p>information from the original data and uplift the performance of SVR in stock price forecasting. As the proposed model helps to predict stock prices with less error, investors can use this to gain more profit or obtain less loss in stock market. Again, this proposed approach can also be used in other domains like weather forecasting, energy consumption forecasting or GDP forecasting.</p><p>Future research may integrate Kernel PCA, non-linear ICA and other signal processing techniques like wavelet transformation with SVR to further enhance the forecasting performance. This study mainly focuses on short-term price prediction. Its applicability might be investigated for long-term forecasting in future and appropriate methods could be integrated to enhance performance in future. However, only the price related historical data is used here to predict future prices. But, it is well known that various other aspects like general economic conditions, government policies, company performance, investor’s interest etc. also play vital roles in stock market. In future, these aspects can also be incorporated as input features for prediction which may buttress the accurate prediction.</p></sec><sec id="s7"><title>Cite this paper</title><p>Chowdhury, U.N., Chakravarty, S.K. and Hossain, Md.T. (2018) Short-Term Financial Time Series Forecasting Integrating Principal Component Analysis and Independent Component Analysis with Support Vector Regression. Journal of Computer and Communications, 6, 51-67. https://doi.org/10.4236/jcc.2018.63004</p></sec><sec id="s8"><title>Nomenclature</title><p>ANN Artificial neural networks</p><p>ARIMA Autoregressive integrated moving average</p><p>CCI Commodity channel index</p><p>DSE Dhaka stock exchange</p><p>EMA Exponential moving average</p><p>GDP Gross domestic product</p><p>ICA Independent component analysis</p><p>IC Independent component</p><p>MACD Moving average convergence/divergence</p><p>MAE Mean absolute error</p><p>MAPE Mean absolute percentage error</p><p>MSE Mean squared error</p><p>PCA Principal component analysis</p><p>PC Principal component</p><p>RBF Radial basis function</p><p>ROC Rate-of-change</p><p>rRMSE Relative root mean squared error</p><p>RS Rough set</p><p>RSI Relative strength index</p><p>SMA Simple moving average</p><p>SVM Support vector machine</p><p>SVR Support vector regression</p><p>WMA Weighted moving average</p></sec></body><back><ref-list><title>References</title><ref id="scirp.83201-ref1"><label>1</label><mixed-citation publication-type="other" xlink:type="simple">Abu-Mostafa, Y.S. and Atiya, A.F. (1996) Introduction to Financial Forecasting. Applied Intelligence, 6, 205-213. https://doi.org/10.1007/BF00126626</mixed-citation></ref><ref id="scirp.83201-ref2"><label>2</label><mixed-citation publication-type="other" xlink:type="simple">Huang, W., Nakamori, Y. and Wang, S.-Y. (2005)  Forecasting Stock Market Movement Direction with Support Vector Machine. Computers &amp; Operations Research, 32, 2513-2522. https://doi.org/10.1016/j.cor.2004.03.016</mixed-citation></ref><ref id="scirp.83201-ref3"><label>3</label><mixed-citation publication-type="other" xlink:type="simple">Kaufman, P.J. (1998) Trading Systems and Methods. John Wiley &amp; Sons, Hoboken.</mixed-citation></ref><ref id="scirp.83201-ref4"><label>4</label><mixed-citation publication-type="other" xlink:type="simple">Box, G.E.P., et al. (2015) Time Series Analysis: Forecasting and Control. John Wiley &amp; Sons, Hoboken.</mixed-citation></ref><ref id="scirp.83201-ref5"><label>5</label><mixed-citation publication-type="other" xlink:type="simple">Kim, K.-J. and Ingoo, H. (2000) Genetic Algorithms Approach to Feature Discretization in Artificial Neural Networks for the Prediction of Stock Price Index. Expert Systems with Applications, 19, 125-132.  
https://doi.org/10.1016/S0957-4174(00)00027-0</mixed-citation></ref><ref id="scirp.83201-ref6"><label>6</label><mixed-citation publication-type="other" xlink:type="simple">Yao, J.T. and Herbert, J.P. (2009) Financial Time-Series Analysis with Rough Sets. Applied Soft Computing, 9, 1000-1007. https://doi.org/10.1016/j.asoc.2009.01.003</mixed-citation></ref><ref id="scirp.83201-ref7"><label>7</label><mixed-citation publication-type="other" xlink:type="simple">Elattar, E.E., Goulermas, J. and Wu, Q.H. (2010) Electric Load Forecasting Based on Locally Weighted Support Vector Regression. IEEE Transactions on Systems, Man, and Cybernetics, Part C (Applications and Reviews), 40, 438-447. 
https://doi.org/10.1109/TSMCC.2010.2040176</mixed-citation></ref><ref id="scirp.83201-ref8"><label>8</label><mixed-citation publication-type="other" xlink:type="simple">Hong, W.-C., et al. (2011) Hybrid Evolutionary Algorithms in a SVR Traffic Flow Forecasting Model. Applied Mathematics and Computation, 217, 6733-6747. 
https://doi.org/10.1016/j.amc.2011.01.073</mixed-citation></ref><ref id="scirp.83201-ref9"><label>9</label><mixed-citation publication-type="other" xlink:type="simple">Hong, W.-C., et al. (2011) Forecasting Urban Traffic Flow by SVR with Continuous ACO. Applied Mathematical Modelling, 35, 1282-1291. 
https://doi.org/10.1016/j.apm.2010.09.005</mixed-citation></ref><ref id="scirp.83201-ref10"><label>10</label><mixed-citation publication-type="other" xlink:type="simple">Trafalis, T.B. and Huseyin, I. (2000) Support Vector Machine for Regression and Applications to Financial Forecasting. IJCNN '00 Proceedings of the IEEE-INNS-ENNS International Joint Conference on Neural Networks, Washington DC, 24 - 27 July 2000, 6348. https://doi.org/10.1109/IJCNN.2000.859420</mixed-citation></ref><ref id="scirp.83201-ref11"><label>11</label><mixed-citation publication-type="other" xlink:type="simple">Tay, F.E.H. and Cao, L.J. (2001) Application of Support Vector Machines in Financial Time Series Forecasting. Omega, 29, 309-317. 
https://doi.org/10.1016/S0305-0483(01)00026-3</mixed-citation></ref><ref id="scirp.83201-ref12"><label>12</label><mixed-citation publication-type="other" xlink:type="simple">Cao, L.-J. and Tay, F.E.H. (2003) Support Vector Machine with Adaptive Parameters in Financial Time Series Forecasting. IEEE Transactions on Neural Networks, 14, 1506-1518. https://doi.org/10.1109/TNN.2003.820556</mixed-citation></ref><ref id="scirp.83201-ref13"><label>13</label><mixed-citation publication-type="other" xlink:type="simple">Cao, L.J. (2003) Support Vector Machines Experts for Time Series Forecasting. Neurocomputing, 51, 321-339. https://doi.org/10.1016/S0925-2312(02)00577-5</mixed-citation></ref><ref id="scirp.83201-ref14"><label>14</label><mixed-citation publication-type="other" xlink:type="simple">Yu, H.H., Chen, R.D. and Zhang, G.P. (2014) A SVM Stock Selection Model within PCA. Procedia Computer Science, 31, 406-412.  
https://doi.org/10.1016/j.procs.2014.05.284</mixed-citation></ref><ref id="scirp.83201-ref15"><label>15</label><mixed-citation publication-type="other" xlink:type="simple">Chowdhury, U.N., et al. (2017) Integration of Principal Component Analysis and Support Vector Regression for Financial Time Series Forecasting. International Journal of Computer Science and Information Security (IJCSIS), 15, No. 8.</mixed-citation></ref><ref id="scirp.83201-ref16"><label>16</label><mixed-citation publication-type="other" xlink:type="simple">Lu, C.-J., Lee, T.-S. and Chiu, C.-C. (2009) Financial Time Series Forecasting Using Independent Component Analysis and Support Vector Regression. Decision Support Systems, 47, 115-125. https://doi.org/10.1016/j.dss.2009.02.001</mixed-citation></ref><ref id="scirp.83201-ref17"><label>17</label><mixed-citation publication-type="other" xlink:type="simple">Kao, L.-J., et al. (2013) Integration of Nonlinear Independent Component Analysis and Support Vector Regression for Stock Price Forecasting. Neurocomputing, 99, 534-542. https://doi.org/10.1016/j.neucom.2012.06.037</mixed-citation></ref><ref id="scirp.83201-ref18"><label>18</label><mixed-citation publication-type="other" xlink:type="simple">Cao, L.J., et al. (2003) A Comparison of PCA, KPCA and ICA for Dimensionality Reduction in Support Vector Machine. Neurocomputing, 55, 321-336.  
https://doi.org/10.1016/S0925-2312(03)00433-8</mixed-citation></ref><ref id="scirp.83201-ref19"><label>19</label><mixed-citation publication-type="other" xlink:type="simple">Pearson, K. (1901) LIII. On Lines and Planes of Closest Fit to Systems of Points in Space. The London, Edinburgh, and Dublin Philosophical Magazine and Journal of Science, 2, 559-572.</mixed-citation></ref><ref id="scirp.83201-ref20"><label>20</label><mixed-citation publication-type="other" xlink:type="simple">Jolliffe, I. (2002) Principal Component Analysis. John Wiley &amp; Sons, Ltd., Hoboken.</mixed-citation></ref><ref id="scirp.83201-ref21"><label>21</label><mixed-citation publication-type="other" xlink:type="simple">Hyvarinen, A. and Oja, E. (2000) Independent Component Analysis: Algorithms and Applications. Neural Networks, 13, 411-430.  
https://doi.org/10.1016/S0893-6080(00)00026-5</mixed-citation></ref><ref id="scirp.83201-ref22"><label>22</label><mixed-citation publication-type="other" xlink:type="simple">Hyvarinen, A., Karhunen, J. and Oja, E. (2004) Independent Component Analysis. Vol. 46, John Wiley &amp; Sons, Hoboken.</mixed-citation></ref><ref id="scirp.83201-ref23"><label>23</label><mixed-citation publication-type="other" xlink:type="simple">Bell, A.J. and Sejnowski, T.J. (1995) An Information-Maximization Approach to Blind Separation and Blind Deconvolution. Neural Computation, 7, 1129-1159.  
https://doi.org/10.1162/neco.1995.7.6.1129</mixed-citation></ref><ref id="scirp.83201-ref24"><label>24</label><mixed-citation publication-type="other" xlink:type="simple">Girolami, M. and Fyfe, C. (1997) Generalised Independent Component Analysis through Unsupervised Learning with Emergent Bussgang Properties. International Conference on Neural Networks, Houston, 12 June 1997, Vol. 3, 1788-1891.  
https://doi.org/10.1109/ICNN.1997.614168</mixed-citation></ref><ref id="scirp.83201-ref25"><label>25</label><mixed-citation publication-type="other" xlink:type="simple">Karhunen, J., et al. (1997) A Class of Neural Networks for Independent Component Analysis. IEEE Transactions on Neural Networks, 8, 486-504.  
https://doi.org/10.1109/72.572090</mixed-citation></ref><ref id="scirp.83201-ref26"><label>26</label><mixed-citation publication-type="other" xlink:type="simple">Giannakopoulos, X., Karhunen, J. and Oja, E. (1999) An Experimental Comparison of Neural Algorithms for Independent Component Analysis and Blind Separation. International Journal of Neural Systems, 9, 99-114.  
https://doi.org/10.1142/S0129065799000101</mixed-citation></ref><ref id="scirp.83201-ref27"><label>27</label><mixed-citation publication-type="other" xlink:type="simple">Hyvarinen, A. (1999) Fast and Robust Fixed-Point Algorithms for Independent Component Analysis. IEEE Transactions on Neural Networks, 10, 626-634.  
https://doi.org/10.1109/72.761722</mixed-citation></ref><ref id="scirp.83201-ref28"><label>28</label><mixed-citation publication-type="other" xlink:type="simple">Cortes, C. and Vapnik, V. (1995) Support-Vector Networks. Machine Learning, 20, 273-297. https://doi.org/10.1007/BF00994018</mixed-citation></ref><ref id="scirp.83201-ref29"><label>29</label><mixed-citation publication-type="other" xlink:type="simple">Hsu, C.-W., Chang, C.-C. and Lin, C.-J. (2003) A Practical Guide to Support Vector Classification. National Taiwan University, Taipei, 106.</mixed-citation></ref><ref id="scirp.83201-ref30"><label>30</label><mixed-citation publication-type="other" xlink:type="simple">Patel, J., et al. (2015) Predicting Stock Market Index Using Fusion of Machine Learning Techniques. Expert Systems with Applications, 42, 2162-2172.  
https://doi.org/10.1016/j.eswa.2014.10.031</mixed-citation></ref></ref-list></back></article>