Prediction of Stock Price of Iranian Petrochemical Industry Using

14
Applied Mathematical Sciences, Vol. 6, 2012, no. 7, 319 - 332 Prediction of Stock Price of Iranian Petrochemical Industry Using GMDH-Type Neural Network and Genetic algorithm Meysam Shaverdi 1,* , Saeed Fallahi 2 and Vahhab Bashiri 1 1 Young Researchers Club, Ilam Branch, Islamic Azad University, Ilam, Iran 2 Young Researchers Club, Shiraz Branch, Islamic Azad University, Shiraz, Iran Abstract The prediction of stock price is an important task in investment and financial decision-making since stock prices/indices are inherently noisy and non-stationary. In this paper a GMDH type-neural network based on Genetic algorithm is used to predict stock price index of petrochemical industry in Iran. For designing the model, data of seven petrochemical companies is taken from Tehran Stock Exchange (TSE) in decennial range (1999-2008). We instructed GMDH type neural network by 80% of the experimental data. 20% of primary data which had been considered for testing the appropriateness of the modeling were entered into the GMDH network. The predicted values were compared with those of experimental values in order to evaluate the performance of the GMDH neural network method. The results obtained by using GMDH type neural network are in excellent agreement with the experimental results and has high performance in stock price prediction. Keywords: GMDH; Artificial neural networks; Stock price index; Genetic algorithm; Prediction of stock price * Corresponding author. e-mail: [email protected]

Transcript of Prediction of Stock Price of Iranian Petrochemical Industry Using

Page 1: Prediction of Stock Price of Iranian Petrochemical Industry Using

 

Applied Mathematical Sciences, Vol. 6, 2012, no. 7, 319 - 332

Prediction of Stock Price of Iranian Petrochemical

Industry Using GMDH-Type Neural Network

and Genetic algorithm

Meysam Shaverdi 1,* , Saeed Fallahi 2 and Vahhab Bashiri 1

1 Young Researchers Club, Ilam Branch, Islamic Azad University, Ilam, Iran

2 Young Researchers Club, Shiraz Branch, Islamic Azad University, Shiraz, Iran

Abstract

The prediction of stock price is an important task in investment and financial decision-making since stock prices/indices are inherently noisy and non-stationary. In this paper a GMDH type-neural network based on Genetic algorithm is used to predict stock price index of petrochemical industry in Iran. For designing the model, data of seven petrochemical companies is taken from Tehran Stock Exchange (TSE) in decennial range (1999-2008). We instructed GMDH type neural network by 80% of the experimental data. 20% of primary data which had been considered for testing the appropriateness of the modeling were entered into the GMDH network. The predicted values were compared with those of experimental values in order to evaluate the performance of the GMDH neural network method. The results obtained by using GMDH type neural network are in excellent agreement with the experimental results and has high performance in stock price prediction.

Keywords: GMDH; Artificial neural networks; Stock price index; Genetic algorithm; Prediction of stock price

                                                            * Corresponding author. e-mail: [email protected]

Page 2: Prediction of Stock Price of Iranian Petrochemical Industry Using

 

320 M. Shaverdi, S. Fallahi and V. Bashiri

1-Introduction

Petrochemical industry as one of most strategic industries in Iran is faced with challenges that one of the most important of them is investment in. Forty percent of Iran non-petroleum exports is related with Petrochemical industry. The petrochemical industry has ability and opportunity to produce and supply the products with high added value, can play an important role in improving Iran's economic position, eliminate unemployment, job creation and income. Looking at the petrochemical industry share in Iran's economic situation, can be find the real place of this industry in the economy of Iran. Aspects of the industry's performance includes: Create jobs directly and indirectly, the country closer to self-sufficiency in need of some crucial products, improving the economic position of country in the world, the national income through export of petrochemical products, job creation in the middle and downstream units (http://www.naftnews.net). Moreover, Iran is one of the largest manufacturer and exporter of petrochemical producer and the fourth of polyethylene Manufacturer in the world (http://www.forum.boursekala.com).

Stock price prediction is one of the main tasks in all private and institution investors. It is an important issue in investment/ financial decision-making and is currently receiving much attention from the research society. However, it is regarded as one of the most challenging problems due to the fact that natures of stock prices/indices are noisy and non-static (Hall, 1994; Li, Li, Zhu, & Ogihara, 2003; Yaser & Atiya, 1996).

The price changing of stock market is a very dynamic system that has drive from number of disciplines. Two main analytical approaches are fundamental analysis and technical analysis. Fundamental analysis uses the macroeconomics factors data such as interest rates, money supply, inflationary rates, and foreign exchange rates as well as the basic financial status of the company. After scrutiny all these factors, the analyst will then make a decision of selling or buying a stock. A technical analysis is based on the historical financial time-series data. However, financial time series show quite complex data (for example, trends, abrupt changes, and volatility clustering) and such series are often non-stationary, whereby a variable has no clear tendency to move to a fixed value or a linear trend (Cheng & Liu, 2008). The idea of setting up in Iran a well-established stock exchange goes back to the 1930s. In 1968, Tehran Stock Exchange (TSE) established and started trading shares of a limited number of banks, industrial companies and State-backed securities. TSE is a very small exchange compared to all well established Exchanges in terms of the size, turnover, and other indicators; mainly common shares and participation securities only are being traded and there are not any derivatives; nearly impossible to hedge and the risks are very high. In TSE there is a great lack of knowledge and expertise among the TSE’s staff as well as the brokers and investors (Parchehbar Shoghi & Talaneh, 2010).

Page 3: Prediction of Stock Price of Iranian Petrochemical Industry Using

 

Prediction of stock price 321 Several practicable applications about price prediction are demonstrated in previous studies (Abraham, Baikunth, and Mahanti, 2001; Abraham, Philip, and, Saratchandran, 2003; Aiken and Bsat, 1999; Atsalakis & Valavanis, 2009; Baba, Inoue, and Asakawa, 2000; Cao & Parry, 2009; Chang & Liu, 2008; Chang, Liu, Lin, Fan, & Ng, 2009; Chavarnakul & Enke, 2008; Enke & Thawornwong, 2005; Hassan, Nath, & Kirley, 2007; Kim, 2006; Kim and Han, 2000; Kuo, Chen & Hwang, 2001; Tansel et al, 1999; Thammano, 1999; Vellido, Lisboa, & Vaughan, 1999; Yudong & Lenan, 2009; Zhang, Patuwo, & Hu, 1998; Zhu,Wang, Xu, & Li, 2008). The group method of data handling (GMDH) (Ivakhnenko, 1966) is aimed at identifying the functional structure of a model hidden within the empirical data. The main idea of the GMDH is the use of feed-forward networks based on short-term polynomial transfer functions whose coefficients are obtained using regression combined with emulation of the self-organizing activity behind NN structural learning (Farlow, 1984). The GMDH was developed for complex systems for the modeling, prediction identification, and approximation of multivariate processes, diagnostics, pattern recognition, and clustering in data samples. It has been shown that, for inaccurate, noisy, or small data sets, the GMDH is the best optimal simplified model, with a higher accuracy and a simpler structure than traditional NNs models ( Ketabchi, Ghanadzadeh, Ghanadzadeh, Fallahi & Ganji, 2010). Hwang (2006) used a fuzzy GMDH-type neural network model for prediction of mobile communication. They used input data within a possible extends as; the amount of portion of population, amount of house hold and the amount of average n expenditure per house holds. They showed the proposed neuro-fuzzy GMDH method was excellent for the complicated forecasting problems. Srinivasan (2008) used GMDH network for prediction of energy demand. This paper presented a medium-term energy demand forecasting method that helps utilities identify and forecast energy demand for each of the end-use consumption sector of the energy system, representing residential, industrial, commercial, non-industrial, entertainment and public lighting load. In this study a comparative evaluation of various traditional and neural network-based methods for obtaining the forecast of monthly energy demand was carried out. This paper concluded GMDH very effective and more accurate in producing forecasts than traditional time-series and regression-based models.

The aim of this paper is the application of GMDH type-neural network for prediction of stock price in petrochemical industry. Within this work, we are using financial indices and closing prices in decennial range (1999-2008) that are taken from TSE. The new approach in this paper is using GMDH type-neural network in prediction of stock price for helping investor and financial analyst. The rest of this paper is organized as follows. Section 2 gives literature review of stock price prediction by neural network approach and GMDH methodology. The proposed forecasting model

Page 4: Prediction of Stock Price of Iranian Petrochemical Industry Using

 

322 M. Shaverdi, S. Fallahi and V. Bashiri

and the experimental findings from the research is thoroughly described in Section 3. The paper is concluded in Section 4.

2- Research Methodology

2-1- Definition of Stock Price Indices

In this research input data include indices of EPS, PEPS, DPS, P/E and E/P. Stock price is defined as output data. All indices are defined below.

1- Earnings Per Share (EPS). Earnings per share is one of the most important measure of companies strength. The significance of EPS is obvious, as the viability of any business depends on the income it can generate. A money losing business will eventually go bankrupt, so the only way for long term survival is to make money. EPS allows us to compare different companies’ power to make money. The higher the EPS with all else equal, the higher each share should be worth. To calculate this ratio, divide the company’s net income by the number of shares outstanding during the same period (http://investing-school.com).

2- Prediction Earnings Per Share (PEPS). PEPS is the last of Prediction Earnings Per Share. On the other hand, it is unrealized Earnings Per Share.

3- Dividend per share (DPS). DPS is the total dividends paid out over an entire year (including interim dividends but not including special dividends) divided by the number of outstanding ordinary shares issued (investopedia).

4- Price-earnings ratio (P/E). Value investors have long considered the price earnings ratio as one of the single most important numbers available when evaluating a company's stock price. The P/E looks at the relationship between the stock price and the company’s earnings and it is the most popular metric of stock analysis. The price earnings ratio is equal to the price of the stock divided by EPS of common stock (investopedia).

5- Earnings-price ratio (E/P). E/P is a way to help determine a security's stock valuation, that is, the fair value of a stock in a perfect market. It is also a measure of expected, but not realized, growth. It may be used in place of the price-earnings ratio if, say, there are no earnings (as one cannot divide by zero). It is also called the earnings yield or the earnings capitalization ratio. E/P is equal to the EPS of common stock divided by the price of the stock (financial dictionary).

6- Stock price. The Stock price is equal to the last of Stock price which is trading at the one day.

Page 5: Prediction of Stock Price of Iranian Petrochemical Industry Using

 

Prediction of stock price 323

2-2- Group Method of Data Handling (GMDH) By the GMDH algorithm, a model is represented as a set of neurons in which different pairs of them in each layer are connected through a quadratic polynomial and, thus produce new neurons in the next layer. The formal definition is to find a function, f , that can be approximately used instead of the actual one, f , in order to predict output y for a given input vector ( )nxxxxX ,,,, 321 L= as close as possible to its actual output . Therefore, given number of observations (M) of multi-input, single output data pairs so that

( ) ( )1 2 3, , , , 1, 2,3, , .i i i i iny f x x x x i M= =L L (1)

It is now possible to train a GMDH-type-NN to predict the output values iy for any given input vector ( )iniii xxxxX ,,,, 321 L= ,

( ) ( )1 2 3ˆˆ , , , , 1, 2,3, , .i i i i iny f x x x x i M= =L L (2)

In order to determine a GMDH type-NN, the square of the differences between the actual output and the predicted one

2

1 21ˆ ( , , , )

=⎡ ⎤−⎣ ⎦∑ K

Mi i i ii

f x x x y . (3)

is minimized.

By a complicated discrete form of the Volterra functional series (Ivakhnenko, 1966) in the form of

L∑ ∑ ∑∑ ∑∑ = = == ==++++=

n

i

n

j kjin

k ijkn

i jin

j ijin

i io xxxaxxaxaay1 1 11 11

(4)

which is known as the Kolmogorov-Gabor polynomial (Ivakhnenko, 1966), the connection between the inputs and the output variables can be expressed. As a partial quadratic polynomials consisting of only two variables (neurons) it is in the form of

( ) L25

24321,ˆ jijijioji xaxaxxaxaxaaxxGy +++++== (5)

Thus such partial quadratic description is recursively used within the network of connected neurons to build the general mathematical relation of the inputs and output variables given in Eq. (4). The coefficients ia in Eq. (5) are calculated by the least squares method. It can be seen that a tree of polynomials is constructed using the

Page 6: Prediction of Stock Price of Iranian Petrochemical Industry Using

 

324 M. Shaverdi, S. Fallahi and V. Bashiri

quadratic form given in Eq. (5). In other words, the coefficients of each quadratic function iG are obtained to fit optimally the output in the whole set of input–output data pairs, that is

M 2i ii 1

(y G ())min

M=

−∑ (6)

In the basic form of the GMDH algorithm, all the possibilities of two independent variables out of the total n input variables are taken in order to construct the regression polynomial in the form of Eq. (5) that best fits the dependent observations ( )Miyi ,,2,1, K= in a least squares sense (Nariman-Zadeh & Jamali, 2007). The minimum in (6) is YAAAa TT 1)( −= , where

{ }54321 ,,,,, aaaaaaa o= (8) , { }1 2 3, , , .TMY y y y y= K (9)

⎥⎥⎥⎥⎥

⎢⎢⎢⎢⎢

=

22

22

222222

21

211111

1

11

MqMpMqMpMqMp

qpqpqp

qpqpqp

xxxxxx

xxxxxxxxxxxx

AMMMMMM

. (10)

3- The Stock Price Prediction Using the GMDH-type Neural Network

The feed-forward GMDH-type neural network for the stock price was constructed using an experimental data set of seven petrochemical companies from TSE in decennial range (1999-2008). This data set consists of 36 points. For each petrochemical companies, the data was divided into two parts: 80% was used as training data, and 20% was used as test data. The EPS, Prediction PEPS, DPS, P/E and E/P were used as inputs of the GMDH-type network. The Stock prices were used as desired outputs of the neural network.

In order to estimate the stock prices for companies, using the GMDH type network, seven polynomial equations were obtained (Table 1). In this table, z1 is the DPS, and

Page 7: Prediction of Stock Price of Iranian Petrochemical Industry Using

 

Prediction of stock price 325

z2 , z3 ,z4 and z5 are the E/P, P/E, PEPS and EPS, respectively. The proposed model was used to calculate the stock prices (the output data). In the present study, the stock prices were predicted using GMDH-type- NNs. Such a NN identification process needs a suitable optimization method to find the best network architecture. Thus genetic algorithm (GA) is arranged in a new approach to design the whole architecture of the GMDH-type-NNs. It provides the optimal number of neurons in each hidden layer and their connectivity configuration to find the optimal set of appropriate coefficients of quadratic expressions to model stock prices. The best structure in GMDH were reached by two hidden layers with 300 generations, cross over probability of 0.9 and mutation probability of 0.1, to model the stock prices. In the GMDH architecture, the selection of nodes with the best predictive capability is decided by the GA optimization framework and subsequently the network construction with the corresponding layers are realized based on the search results. For each layer the best node is found based on the objective function. The nodes in the preceding layer connected to the best node in the current layer are marked for realizing the network as search progresses from layer to layer. The developed GMDH neural network was successfully used to obtain seven models for seven companies to calculate their Stock prices. The optimal structures of the developed neural network with 2-hidden layers are shown in Figs.1.

     

(b) (a)

(c)(d)

(e)(f)

Page 8: Prediction of Stock Price of Iranian Petrochemical Industry Using

 

326 M. Shaverdi, S. Fallahi and V. Bashiri

Fig. 1 Developed Structure of GMDH-Type-NN Model ; a) Shiraz, b) Isfahan, c) Khark, d)Farabi, e) Arak, f)Abadan, g)Sarmayeh

For instance, “ ceebbdac ” and “ abddcceb ” are corresponding genome representations for the stock prices of Isfahan and Abadan companies, respectively. In which, a ,b , c , d and e stand for (DPS), (E/P), (P/E), (PEPS) and (EPS), respectively. All input variables were accepted by the models. In other words, the GMDH-type-NN provides an automated selection of essential input variables, and builds polynomial equations for the stock prices modeling. These polynomial equations show the quantitative relationship between input and output variables (Table 1). Table 1 Polynomial Equations of the GMDH Model for the Petrochemical Companies

Stock Price of Shiraz company Y1= 0.1073 + 6.4957 z1 +4.9967z2 -1.1749z1

2 + 0.4435 z22 +10.7362 z1z2

Y2= 798.3493 -1.5289 z2 + 3.7162 z3 + 0.4897 z22 – 0.0278 z3

2 + 0.2282 z2z3

Y3= 0.1073 + 6.4957 z1 +4.9967z2 -1.1749z12 + 0.4435 z2

2 +10.7362 z1z2

Y4= 0.0006 + 2.0071Y3 -0.8481Y4 – 0.0027Y32 – 0.0014Y4

2 + 0.0040Y3Y4 Y5= -2.2330+ 0.1003Y3 +98.3436 z2 +0.0012Y3

2 – 3.1300 z22 -0.1226Y3 z2

(g)

Page 9: Prediction of Stock Price of Iranian Petrochemical Industry Using

 

Prediction of stock price 327

Value = -89.7228 – 1.0128Y4 + 2.2259Y5 – 0.0046Y42 –0.0065Y5

2 +0.0111Y4Y5

Stock Price of Isfahan company Y1= -134.7807+27.2696 z1 – 1548.2494z2 – 0.0026z1

2 +53.2196 z22 -0.5187 z1z2

Y2= -66.57- 630.8658z5 +19.7359 z2 +22.4743 z52 -0.0014z2

2 +0.4537z5z2

Y3= -0.000003+ 0.6922 Y1 +1.7129 z4 +0.000007 Y12 +0.0001 z4 2 -0.00006 Y1 z4

Y4= 0.00008+ 0.0004 z3+0.8542 Y2 +0.0004 z32 – 0.000005 Y2

2 +0.0290 z3 Y2

Value =0.00001 +1.5189Y3 – 0.4950Y4 +0.000008Y32 +0.00005Y4

2 – 0.00006Y3Y4

Stock Price of Farabi company Y1= -68.3041 – 641.5366 z5 + 23.1970 z2 + 22.2012 z5

2 – 0.0034 z22 – 0.5165z5z2

Y2= 25.0939 + 123.2137 z3 + 3.0584 z4 + 14.7334 z32 – 0.0012z4

2 + 0.5544 z3z4

Y3= 0.0001+ 0.6813Y1 + 0.1759Y2 + 0.00003Y12 + 0.00007Y2

2 – 0.0001Y1Y2

Value = -1.0988 + 1.1945Y3- 15.6237 z3 – 0.00009 Y32 – 147.4012 z3

2 + 0.2267Y3z3

Stock Price of Arak company Y1= - 0.0119 - 9.3280z1 +11.3407 z4 +0.0121z1

2 +0.0022z42 - 0.0107z1z4

Y2= -1841.8243+ 1989.5347z4 - 5.1400z3 -103.3306 z42 + 0.000003z3

2 + 0.0001z4z3

Y3= 17.2712 + 4.7087 z1 + 331.2762z2 + 0.0047z12 + 1.1394 z2

2 – 0.5430 z1z2

Y4=6.4663+ 138.2428 z2 +7.6589z5 +8.9832z22 +0.0032z5

2 – 0.6169z2z5

Y5=0.00005 – 0.09612Y1 +1.0051Y2 +0.00002Y12 – 0.00003Y2

2 – 0.00002Y1Y2 Y6= -0.0016 – 4.9120 Y3 + 5.8479Y4 +0.0008Y3

2 +0.0001Y42 – 0.0009Y3Y4

Value =0.0002 +1.1486Y5 – 0.4897Y6 + 0.00008Y52 + 0.0001Y6

2 – 0.0002Y5Y6 Stock Price of Khark company

Y1= 1.8217-122.3323z1 +122.9404 z5 – 0.2778z12 – 0.2789z5

2 + 0.5567z1z5

Y2=0.0043+2.8490 z4 +4.8269 z5 +0.0020 z42 – 0.0002 z5

2 – 0.0027 z4z5 Y3=0.0957 – 0.1938Y1 + 2.9876 z3 + 0.00008Y1

2 +53.7941 z32 – 0.0028Y1 z3

Y4= -0.0002 – 0.0137 z2 +1.4763Y2 – 0.5366 z22 – 0.00001Y2

2 – 0.0167 z2Y2 Value = 0.0001- 0.8514Y3 +1.3565Y4 - 0.00001Y3

2 - 0.0001Y42 + 0.0001Y3Y4

Stock Price of Sarmayeh company Y1= -3874.9378 + 30.6341z1 + 4.5220 z4 – 0.0449 z1

2 + 0.0039 z42 – 0.0010 z1z4

Y2= -801.5454+ 223.7983 z3 + 3.2927 z4 + 6.6109 z32 – 0.0053 z4

2 + 0.3271z3z4

Y3=-3349.1296 + 429.6301z3 + 12.4168 z5 +3.7547 z32 - 0.0142 z5

2 + 0.0021z3z5

Y4= -21.5325 + 4.3674Y1 – 308.2390 z2 – 0.0003Y12 + 15.7149z2

2 – 0.1532Y1 z2 Y5= -0.0002+ 1.2659Y2 - 0.2874Y3 + 0.0005Y2

2 + 0.0007Y32 - 0.0012Y2Y3

Value = 0.0006 – 0.3223Y4 + 1.1297Y5 + 0.0002Y42 - 0.00002Y5

2 – 0.0001Y4Y5 Stock Price of Abadan company

Y1= 16.3105+663.3362z3 – 0.3005 z5 + 4.3702z32 + 0.0013z5

2 + 0.1927z3z5 Y2=4.3618+1215.5248 z5 + 1.7056 z2 – 10.6186 z5

2 + 0.0082z22 – 1.1469z5z2

Y3= 4879.5965+ 284.3222 z2 +6.0282 z4 – 10.1321 z22 + 0.0028 z4

2 – 0.4929z2z4

Y4= 13.6406 + 0.3349 z1 + 585.8047z3 + 0.0005z12 – 0.6374z3

2 + 0.3929z1z3

Y5= 0.0001+ 0.6750Y1 + 0.3700Y2 – 0.0000009Y12 – 0.00003Y2

2 + 0.00003Y1Y2 Y6= 0.0001- 0.4506Y3 + 1.2645Y4 + 0.00001Y3

2 – 0.00004Y42 + 0.00005Y3Y4

Value = 0.0003+ 1.0106Y5 – 0.0058Y6 + 0.00008Y52 + 0.0001Y6

2 – 0.0002Y5Y6

Page 10: Prediction of Stock Price of Iranian Petrochemical Industry Using

 

328 M. Shaverdi, S. Fallahi and V. Bashiri

Our proposed models behavior in prediction of the stock prices is demonstrated in Figs. 2. The results of the developed models give a close agreement between observed and predicted values of the stock prices.

(g)

(a)(b)

(c)(d)

(e)(f)

Page 11: Prediction of Stock Price of Iranian Petrochemical Industry Using

 

Prediction of stock price 329

Fig. 2 Plot of the stock price against data set number to illustrate the prediction ability of the GMDH model; (○) Experimental Points; (+) Calculated Points. a) Shiraz, b) Isfahan, c) Khark, d) Farabi, e)

Arak, f)Abadan, g) Sarmayeh

In order to determine the accuracy of the models some statistical measures are given in Table 2. Table 2 Model Statistics and Information for the GMDH-Type NN Model for the Prediction of Stock

Price. Company Set R2 RMSE MAD

Shiraz Training 0.99 110 71

Testing 0.99 52 43

Khark Training 0.98 1696 1316

Testing 0.99 1069 863

Abadan Training 0.99 876 663

Testing 0.98 1667 1235

Farabi Training 0.99 1338 979

Testing 0.99 1176 940

Arak Training 0.98 1135 937

Testing 0.99 888 664

Sarmayeh Training 0.98 530 427

Testing 0.99 381 295

Isfahan Training 0.98 3082 1958

Testing 0.99 1460 1158

Page 12: Prediction of Stock Price of Iranian Petrochemical Industry Using

 

330 M. Shaverdi, S. Fallahi and V. Bashiri

These statistical values are based on 2R as absolute fraction of variance, RMSE as root-mean squared error, and MAD as mean absolute deviation, which are defined as follows:

( )( ) ⎥

⎥⎦

⎢⎢⎣

⎡ −−=

∑∑

=

=M

i acutuali

M

i actualieli

Y

YYR

12

)(

02

)()(mod2 1 ,

( ) 2/1

02

)()(mod

⎥⎥⎦

⎢⎢⎣

⎡ −= ∑ =

MYY

RMSEM

i actualieli ,

M

YYMAD

M

i actualieli∑ =−

= 0 )()(mod .

4- Conclusion

Nowadays petrochemical industry due to the increase in infrastructure investment, is an attractive market for investment. It is supposed that petrochemical materials production will rise according to the increase in the petroleum demand. Thus modeling a soft computing system for stock price prediction in petrochemical industry is important for or all traders and financial consultant to decrease their investment risk and increase the profit of stockholders. In this study, a feed-forward GMDH-type NN model is developed using experimental data set from Tehran Stock Exchange. In this work, the daily stock price of seven premier petrochemical companies in decennial range (1999-2008) is massed. The Stock prices were estimated by the GMDH model and the results compared with the experimental data. Despite the complexity of the system studied, the GMDH model result to a good prediction. The agreements between the experimental and calculated data were found to be excellent. Comparison of the other stock price prediction methods like ANN, Double moving average, Single and Double exponential smoothing and time series model are left for future research.

References

[1] A. Abraham, N. Baikunth, P. K. Mahanti, Hybrid intelligent systems for stock market analysis. Lecture Notes in Computer Science, 2074 (2001) 337–345. [2] A. Abraham, N. S. Philip, P. Saratchandran, Modeling chaotic behavior of stock indices using intelligent paradigms. Neural, Parallel and Scientific Computations, 11(2003) 143–160. [3] M. Aiken, M. Bsat, Forecasting market trends with neural networks. Information Systems Management, 16(4) (1999) 42–48.

Page 13: Prediction of Stock Price of Iranian Petrochemical Industry Using

 

Prediction of stock price 331

[4] G. S. Atsalakis, K. P. Valavanis, Surveying stock market forecasting techniques Part II: Soft computing methods. Expert Systems with Applications, 36(3) (2009) 5932–5941. [5] N. Baba, N. Inoue, H. Asakawa, Utilization of Neural Networks and GAs for Constructing Reliable Decision Support Systems to Deal Stocks, IEEE–INNS–ENNS International Joint Conference on Neural Networks (IJCNN’00) 5(2000) 5111–5116. [6] Q. Cao, M. E. Parry, Neural network earnings per share forecasting models: A comparison of backward propagation and the genetic algorithm, Decision Support Systems, 47(1) (2009). 32–41. [7] P. C. Chang, C. H. Liu, A TSK type fuzzy rule based system for stock price prediction. Expert Systems with Applications, 34 (2008) 135–144. [8] P.C. Chang, C.H.Liu, A TSK type fuzzy rule based system for stock price prediction, Expert Systems with Applications, 34(2008) 135–144. [9] P. C. Chang, C. H. Liu, J. L. Lin, C. Y. Fan, C. S. P. Ng, A neural network with a case based dynamic window for stock trading prediction, Expert Systems with Applications, 36(3) (2009) 6889–6898. [10] T. Chavarnakul, D. Enke, Intelligent technical analysis-based equivolume charting for stock trading using neural networks, Expert Systems with Applications, 34(2) (2008)1004–1017. [11] D. Enke, S. Thawornwong, The use of data mining and neural networks for forecasting stock market returns, Expert Systems with Applications, 29(4) (2005) 927–940. [12] S.J. Farlow, Self-Organizing Method in Modelling: GMDH-Type Algorithm, Marcel Dekker, New York, (1984). [13] J. W. Hall, Adaptive selection of US stocks with neural nets. In G. J. Deboeck (Ed.), Trading on the edge: Neural, genetic and fuzzy systems for chaotic financial markets, (1994)45–65. [14] M. R. Hassan, B. Nath, M. Kirley, A fusion model of HMM, ANN and GA for stock market forecasting, Expert Systems with Applications, 33(1) (2007)171–180. [15] http://www.forum.boursekala.com. [16] http://www.naftnews.net. [17] Investing-school,. (2008). http://investing-school.com [18] Investopedia,. www.investopedia.com [19] A.G. Ivakhnenko, Polynomial theory of complex systems, IEEE Transactions on Systems, (1966). [20] S. Ketabchi, H. Ghanadzadeh, A. Ghanadzadeh, S. Fallahi, M. Ganji, Estimation of VLE of binary systems (tert-butanol + 2-ethyl-1-hexanol) and (n-butanol + 2- ethyl-1-hexanol) using GMDH-type neural network, J. Chem. Thermodynamics, 42 (2010) 1352–1355 [21] K. J. Kim, Artificial neural networks with evolutionary instance selection for financial forecasting, Expert Systems with Applications, 30(3) (2006)519–526.

Page 14: Prediction of Stock Price of Iranian Petrochemical Industry Using

 

332 M. Shaverdi, S. Fallahi and V. Bashiri

[22] K. J. Kim, I. Han, Genetic algorithms approach to feature discretization in artificial neural networks for the prediction of stock price index, Expert Systems with Applications, 19(2000)125–132. [23] Kulkarni.A.S., (1996), “Application of Neural Networks to Stock Market Prediction”, (online). [24] R. J. Kuo, C. H.Chen, Y. C. Hwang, An intelligent stock trading decision support system through integration of genetic algorithm based fuzzy neural network and artificial neural network, Fuzzy Sets and Systems, 118(2001)21–24. [25] T. Li, Q. Li, S. Zhu, M. Ogihara, A survey on wavelet applications in data mining, SIGKDD Explorations, 4(2) (2003) 49–68. [26] C. L. Lu, Integrating independent component analysis-based denoising scheme with neural network for stock price prediction, Expert Systems with Applications, 37(2010)7056–7064. [27] N. Nariman-Zadeh, A. Jamali, Pareto genetic design of GMDH-type neural networks for nonlinear systems. in: J. Drchal, J. Koutnik (Eds.), Proceedings of the International Workshop on Inductive Modelling, Czech Technical University, Prague, Czech Republic, (2006) 96–103. [28] M. Parchehbar Shoghi, A. Talaneh, An Analysis of Emerging Markets Returns Volatility: Case of Tehran Stock Exchange, Working Paper Series, (2010). [29] Y.C. Tsai, T.M. Chen, T.Y. Yang, C.Y. Wang, Neural network used in the investment strategy of stock research, Web Journal of Chinese Management Review, 2(5) (1999) 25-48. [30] P. M. Tsang, P. Kwok, S. O. Choy, R. Kwan, S. C. Ng, J. Mak, Design and implementation of NN5 for Hong Kong stock price forecasting, Engineering Applications of Artificial Intelligence, 20(4) (2007)453–461. [31] A. Vellido, P. J. G. Lisboa, J. Vaughan, Neural networks in business: A survey of applications (1992–1998), Expert Systems with Applications, 17(1999)51–70. [32] Y.F. Wang, Prediction stock price using fuzzy gray prediction system, Expert Systems with Applications, 22(2002) 916–922. [33] S.A.M. Yaser, A.F. Atiya, Introduction to financial forecasting, Applied Intelligence, 6(1996) 205–213. [34] Z. Yudong, W. Lenan, Stock market prediction of S&P 500 via combination of improved BCO approach and BP neural network, Expert Systems with Applications, 36(5) (2009)8849–8854. [35] X. Zhu, H. Wang, L. Xu, H. Li, Predicting stock index increments by neural networks: The role of trading volume under different horizons, Expert Systems with Applications, 34(4) (2008) 3043–3054. Received: June, 2011