IJPAM: Volume 117, No. 1 (2017)

Title

GA BASED STOCHASTIC OPTIMIZATION FOR STOCK
PRICE FORECASTING USING FUZZY TIME SERIES
HIDDEN MARKOV MODEL

Authors

G. Kavitha$^1$, A. Udhayakumar$^2$
$^{1,2}$Department of Mathematics
Hindustan Institute of Technology and Science
Tamil Nadu, 603103, INDIA

Abstract

This paper presents GA based stochastic optimization for Hidden Markov Model (HMM) combined with Fuzzy Time Series (FTS) for forecasting stock price with accuracy. The proposed model is adopted to realize the probabilistic state transition involving time evolution in a probabilistic system. The parameters of the HMM model are calculated in the first phase for initialization. In the second phase, the initial parameters are fed into HMM in MATLAB for estimation and they are optimized by the GA optimization technique in MATLAB. The method is tested on the datasets of several stocks of the National Stock Exchange of India Limited (NSE) and New York Stock Exchange (NYSE). The different forecasting errors namely, Mean Square Error (MSE), Root Mean Square Error (RMSE) and Mean Absolute Percentage Error (MAPE) for various stocks of NSE and NYSE are found out. The results of directional accuracy average for various NSE stock indices from January to August 2014 shows the prediction quality with a best MAPE of 1.3% for INFOSYS, 1.71% for TCS, 1.16% for HCLTECH and 1.09% for WIPRO. Furthermore, the performance of NYSE stocks was tested for validation and compared to some of the existing methods. It was found that the model provides a good prediction performance with a best MAPE of 0.7629% for IBM, 1.8% for APPLE, 0.9110% for DELL stocks getting satisfactory quality solutions showing forecasting efficiency.

History

Received: 2017-08-04
Revised: 2017-10-30
Published: November 29, 2017

AMS Classification, Key Words

AMS Subject Classification: 60Gxx
Key Words and Phrases: hybrid intelligent systems, computational linguistics, parameter estimation, genetic algorithms, forecast uncertainty

Download Section

Download paper from here.
You will need Adobe Acrobat reader. For more information and free download of the reader, see the Adobe Acrobat website.

Bibliography

1
S. M. Chen, Forecasting enrolments based on high-order fuzzy time series, Cybernetics System: An International Journal, 33 (2002), 1-16.

2
S. M. Chen, Y. C. Chang, Multi-variable fuzzy forecasting based on fuzzy clustering and fuzzy rule interpolation techniques, Information Science, 180, No. 24 (2010), 4772-4783.

3
S. M. Chen, C. D. Chen, TAIEX forecasting based on fuzzy time series and fuzzy variation groups, IEEE Transactions, Fuzzy Systems, 19, No. 1 (2011), 1-12.

4
M. Y. Chen, B. T. Chen, A hybrid fuzzy time series model based on granular computing for stock price forecasting, Information Science, 294, No. 2 (2015), 227-241.

5
S. M. Chen, H. P. Chu, T. W. Sheu, TAIEX forecasting using fuzzy time series and automatically generated weights of multiple factors, IEEE Transactions on System Man Cybernet. Parts A Syst. Hum., 42, No. 6 (2012), 1485-1495.

6
S. M. Chen, J. R. Hwang, Temperature prediction using fuzzy time series, IEEE Trans. on Syst., Man. and Cybernetics-Part B: Cybernetics, 30 (2000), 263-275.

7
S. M. Chen, P. Y. Kao, TAIEX forecasting based on fuzzy time series, particle swarm optimization techniques and support vector machines, Information Science, 247 (2013), 62-71.

8
Z. Q. Guo, H. Q. Wang, Q. Liu, J. Yang, A Feature Fusion Based Forecasting Model for Financial Time Series, PLoS ONE: e101113, doi: https://doi.org/10.1371/journal.pone.0101113.

9
Hassan Rafiul, Baikunth Nath, Stock Market forecasting using hidden Markov model: A new approach, In: Proceedings 2005 5th International Conference on Intelligent System, Design and Applications, 0-7695-2286-06/05, IEEE (2005).

10
Hassan Rafiul, Nath Baikunth, Michael Kirley, HMM based fuzzy model for time series prediction, IEEE International Conference on Fuzzy Systems (2006), 2120-2126.

11
Hassan Rafiul, Baikunth Nath, Michael Kirley, A fusion model of HMM, ANN and GA for stock market forecasting, Expert Systems with Applications (2007), 171-180.

12
R. Hassan, A combination of hidden Markov model and fuzzy model for stock market forecasting, Neurocomputing, 72 (2009), 3439-3446.

13
K. H. Huarng, T. H. K. Yu, Y. W. Hsu, A multivariate heuristic model for fuzzy time-series forecasting, IEEE Transactions on System, Man Cybernet. B Cybernet, 37, No. 4 (2007), 836-846.

14
Jyoti Badge, Stock Market Forecasting by multivariate higher order fuzzy time series model, International Journal of Mathematical Finance, 1, No. 1 (2013), 1-11.

15
L. W. Lee, L. H. Wang, S. M. Chen, Temperature prediction and TAIEX forecasting based on high-order fuzzy logical relationships and genetic simulated annealing techniques, Expert Systems with Applications, 34 (2008), 328- 336.

16
Ling-Yuan Hsu, Shi-Jinn Horng, Tzong-Wann Kao, Temperature prediction and TAIFEX forecasting based on fuzzy relationships and MTPSO techniques, Expert Systems with Applications, 37 (2010), 2756-2770.

17
Qisen Cai, Defu Zhang, A novel stock forecasting model based on fuzzy time series and genetic algorithm, Sciverse Science Direct (2013).

18
Qisen Cai, Defu Zhang, Wei Zheng, Stephen, C. H. Leung, A new fuzzy time series forecasting model combined with ant colony optimization and auto-regression, Knowledge Based Systems, 74 (2015), 61-68.

19
L. Rabiner, B. Juang, Fundamentals of Speech Recognition, Prentice-Hall, Englewood Cliffs, NJ, 1993.

20
L. R. Rabiner, A tutorial on HMM and Selected Applications in Speech Recognition, Proceedings IEEE, 77, No. 2 (1993), 267-296.

21
Rafal Weron, Electricity price forecasting: A review of the state-of-the-art with a look into the future, International Journal of Forecasting, 30 (2014), 1030-1081.

22
Saerom Park, Jaewook Lee, Youngdoo Son, Predicting Market Impact Costs Using Nonparametric Machine Learning Models, PLoS ONE: e0150243, doi: https://doi.org/10.1371/journal.pone.0150243.

23
ShashankIyer, R. Nisarg, Kamdar, BaharSoparkar, Stock market prediction using digital signal processing models, International Journal of Computer Applications (2015).

24
Q. Song, B. S. Chissom, Fuzzy time series and its models, Fuzzy Sets and Systems, 54 (1993), 269-277.

25
Q. Song, B. S. Chissom, Forecasting enrolments with fuzzy time series, Fuzzy Sets and Systems, 54 (1993), 1-9.

26
M. Stevenson, E. P. John, Fuzzy time series forecasting using percentage change as the universe of discourse, World Acadamic Science and Engineering Technology, 55 (2009), 154-157.

27
J. Sullivan, W. H. Woodall, A comparison of fuzzy forecasting and Markov modelling, Fuzzy Sets and Systems, 64 (1994), 279-293.

28
R. C. Tsaur, J. C. Yang, H. F. Wang, Fuzzy relation analysis in fuzzy time series model, Computers and Mathematics with Applications, 49 (2005), 539-548.

29
L. Y. Wei, C. H. Cheng, H. H. Wu, A hybrid ANFIS based on n-period moving average model to forecast TAIEX stock, Applied Soft Computing, 19 (2014), 86-92.

30
H. K. Yu, Weighted fuzzy time series models for TAIEX forecasting, Physica A, 349 (2005), 609-624.

31
T. H. K. Yu, K. H. Huarng, A bivariate fuzzy time series model to forecast the TAEIX, Expert Systems with Applications, 34, No. 4 (2010), 2945-2952.

32
T. H. K. Yu, K. H. Huarng, Corrigendum to A bivariate fuzzy time series model to forecast the TAIEX, Expert Systems with Applications, 34, No. 4 (2010), 2945-2952.

33
Yun Xue, Zhiwen Liu, Jie Luo, Zhihao Ma, Meizhen Zhang, Xiaohui Hu, Qiuhua Kuang, Stock market trading rules discovery based on biclustering method, Mathematical Problems in Engineering, Article ID 849286 (2015).

34
Zhiqiang Guo, Huaiqing Wang, Jie Yang, David J. Miller, A Stock Market Forecasting Model Combining Two-Directional Two-Dimensional Principal Component Analysis and Radial Basis Function Neural Network, PLoS ONE: e0122385, doi: https://doi.org/10.1371/journal.pone.0122385.

How to Cite?

DOI: 10.12732/ijpam.v117i1.13 How to cite this paper?

Source:
International Journal of Pure and Applied Mathematics
ISSN printed version: 1311-8080
ISSN on-line version: 1314-3395
Year: 2017
Volume: 117
Issue: 1
Pages: 143 - 171


Google Scholar; DOI (International DOI Foundation); WorldCAT.

CC BY This work is licensed under the Creative Commons Attribution International License (CC BY).