IDEAS home Printed from https://ideas.repec.org/a/spr/aodasc/v7y2020i4d10.1007_s40745-020-00305-w.html
   My bibliography  Save this article

Comparing Artificial Neural Network Architectures for Brazilian Stock Market Prediction

Author

Listed:
  • Suellen Teixeira Zavadzki de Pauli

    (Federal University of Paraná (UFPR))

  • Mariana Kleina

    (Federal University of Paraná (UFPR))

  • Wagner Hugo Bonat

    (Federal University of Paraná (UFPR))

Abstract

Prediction of financial time series is a great challenge for statistical models. In general, the stock market times series present high volatility due to its sensitivity to economic and political factors. Furthermore, recently, the covid-19 pandemic has caused a drastic change in the stock exchange times series. In this challenging context, several computational techniques have been proposed to improve the performance of predicting such times series. The main goal of this article is to compare the prediction performance of five neural network architectures in predicting the six most traded stocks of the official Brazilian stock exchange B3 from March 2019 to April 2020. We trained the models to predict the closing price of the next day using as inputs its own previous values. We compared the predictive performance of multiple linear regression, Elman, Jordan, radial basis function, and multilayer perceptron architectures based on the root of the mean square error. We trained all models using the training set while hyper-parameters such as the number of input variables and hidden layers were selected using the testing set. Moreover, we used the trimmed average of 100 bootstrap samples as our prediction. Thus, our approach allows us to measure the uncertainty associate with the predicted values. The results showed that for all times series, considered all architectures, except the radial basis function, the networks tunning provide suitable fit, reasonable predictions, and confidence intervals.

Suggested Citation

  • Suellen Teixeira Zavadzki de Pauli & Mariana Kleina & Wagner Hugo Bonat, 2020. "Comparing Artificial Neural Network Architectures for Brazilian Stock Market Prediction," Annals of Data Science, Springer, vol. 7(4), pages 613-628, December.
  • Handle: RePEc:spr:aodasc:v:7:y:2020:i:4:d:10.1007_s40745-020-00305-w
    DOI: 10.1007/s40745-020-00305-w
    as

    Download full text from publisher

    File URL: http://link.springer.com/10.1007/s40745-020-00305-w
    File Function: Abstract
    Download Restriction: Access to the full text of the articles in this series is restricted.

    File URL: https://libkey.io/10.1007/s40745-020-00305-w?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    As the access to this document is restricted, you may want to search for a different version of it.

    References listed on IDEAS

    as
    1. John Cooper, 1999. "Artificial neural networks versus multivariate statistics: An application from economics," Journal of Applied Statistics, Taylor & Francis Journals, vol. 26(8), pages 909-921.
    2. Rabia Aziz & C. K. Verma & Namita Srivastava, 2018. "Artificial Neural Network Classification of High Dimensional Data with Novel Optimization Approach of Dimension Reduction," Annals of Data Science, Springer, vol. 5(4), pages 615-635, December.
    3. Hasan Ertas & Selma Toker & Selahattin Ka�ıranlar, 2015. "Robust two parameter ridge M-estimator for linear regression," Journal of Applied Statistics, Taylor & Francis Journals, vol. 42(7), pages 1490-1502, July.
    4. Bergmeir, Christoph & Benítez, José M., 2012. "Neural Networks in R Using the Stuttgart Neural Network Simulator: RSNNS," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 46(i07).
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Aidin Zehtab-Salmasi & Ali-Reza Feizi-Derakhshi & Narjes Nikzad-Khasmakhi & Meysam Asgari-Chenaghlu & Saeideh Nabipour, 2023. "Multimodal Price Prediction," Annals of Data Science, Springer, vol. 10(3), pages 619-635, June.
    2. Deeksha Chandola & Akshit Mehta & Shikha Singh & Vinay Anand Tikkiwal & Himanshu Agrawal, 2023. "Forecasting Directional Movement of Stock Prices using Deep Learning," Annals of Data Science, Springer, vol. 10(5), pages 1361-1378, October.
    3. Akshit Kurani & Pavan Doshi & Aarya Vakharia & Manan Shah, 2023. "A Comprehensive Comparative Study of Artificial Neural Network (ANN) and Support Vector Machines (SVM) on Stock Forecasting," Annals of Data Science, Springer, vol. 10(1), pages 183-208, February.
    4. Ciniro A. L. Nametala & Jonas Villela de Souza & Alexandre Pimenta & Eduardo Gontijo Carrano, 2023. "Use of Econometric Predictors and Artificial Neural Networks for the Construction of Stock Market Investment Bots," Computational Economics, Springer;Society for Computational Economics, vol. 61(2), pages 743-773, February.
    5. Manoj Verma & Harish Kumar Ghritlahre, 2023. "Forecasting of Wind Speed by Using Three Different Techniques of Prediction Models," Annals of Data Science, Springer, vol. 10(3), pages 679-711, June.
    6. Terence D. Agbeyegbe, 2023. "The Link Between Output Growth and Output Growth Volatility: Barbados," Annals of Data Science, Springer, vol. 10(3), pages 787-804, June.
    7. Huanyu Ma & Yan Xu & Yulong Liu, 2022. "Prediction of Listed Company Growth in Non-public Economy," Annals of Data Science, Springer, vol. 9(4), pages 847-861, August.
    8. Ahmed Hassan Saad & Haslinda Nahazanan & Badronnisa Yusuf & Siti Fauziah Toha & Ahmed Alnuaim & Ahmed El-Mouchi & Mohamed Elseknidy & Angham Ali Mohammed, 2023. "A Systematic Review of Machine Learning Techniques and Applications in Soil Improvement Using Green Materials," Sustainability, MDPI, vol. 15(12), pages 1-37, June.

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Riza, Lala Septem & Bergmeir, Christoph & Herrera, Francisco & Benítez, José M., 2015. "frbs: Fuzzy Rule-Based Systems for Classification and Regression in R," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 65(i06).
    2. Severinsen, A. & Myrland, Ø., 2022. "ShinyRBase: Near real-time energy saving models using reactive programming," Applied Energy, Elsevier, vol. 325(C).
    3. Kaliba, Aloyce R. & Mushi, Richard J. & Gongwe, Anne G. & Mazvimavi, Kizito, 2020. "A typology of adopters and nonadopters of improved sorghum seeds in Tanzania: A deep learning neural network approach," World Development, Elsevier, vol. 127(C).
    4. Sánchez Lasheras, Fernando & de Cos Juez, Francisco Javier & Suárez Sánchez, Ana & Krzemień, Alicja & Riesgo Fernández, Pedro, 2015. "Forecasting the COMEX copper spot price by means of neural networks and ARIMA models," Resources Policy, Elsevier, vol. 45(C), pages 37-43.
    5. Guallar, Carles & Delgado, Maximino & Diogène, Jorge & Fernández-Tejedor, Margarita, 2016. "Artificial neural network approach to population dynamics of harmful algal blooms in Alfacs Bay (NW Mediterranean): Case studies of Karlodinium and Pseudo-nitzschia," Ecological Modelling, Elsevier, vol. 338(C), pages 37-50.
    6. Tamás Kristóf, 2021. "Sovereign Default Forecasting in the Era of the COVID-19 Crisis," JRFM, MDPI, vol. 14(10), pages 1-24, October.
    7. Manoj Verma & Harish Kumar Ghritlahre & Surendra Bajpai, 2023. "A Case Study of Optimization of a Solar Power Plant Sizing and Placement in Madhya Pradesh, India Using Multi-Objective Genetic Algorithm," Annals of Data Science, Springer, vol. 10(4), pages 933-966, August.
    8. Jun-Hao Chen & Yun-Cheng Tsai, 2020. "Encoding candlesticks as images for pattern classification using convolutional neural networks," Financial Innovation, Springer;Southwestern University of Finance and Economics, vol. 6(1), pages 1-19, December.
    9. Guopeng Jiang & Miles Grafton & Diane Pearson & Mike Bretherton & Allister Holmes, 2019. "Integration of Precision Farming Data and Spatial Statistical Modelling to Interpret Field-Scale Maize Productivity," Agriculture, MDPI, vol. 9(11), pages 1-22, November.
    10. Roberto Patuelli & Peter Nijkamp & Simonetta Longhi & Aura Reggiani, 2008. "Neural Networks and Genetic Algorithms as Forecasting Tools: A Case Study on German Regions," Environment and Planning B, , vol. 35(4), pages 701-722, August.
    11. Yochanan Shachmurove & Doris Witkowska, "undated". "Utilizing Artificial Neural Network Model to Predict Stock Markets," Penn CARESS Working Papers cae679cdc2e020f74d692ae73, Penn Economics Department.
    12. Nath, Hiranya K., 2009. "Country Risk Analysis: A Survey of the Quantitative Methods," Economia Internazionale / International Economics, Camera di Commercio Industria Artigianato Agricoltura di Genova, vol. 62(1), pages 69-94.
    13. M. H. Lee & H. J. Sadaei & Suhartono, 2013. "Improving TAIEX forecasting using fuzzy time series with Box--Cox power transformation," Journal of Applied Statistics, Taylor & Francis Journals, vol. 40(11), pages 2407-2422, November.
    14. Dan Farhat, 2014. "Information Processing, Pattern Transmission and Aggregate Consumption Patterns in New Zealand:," Working Papers 1405, University of Otago, Department of Economics, revised Mar 2014.
    15. Andree,Bo Pieter Johannes & Chamorro Elizondo,Andres Fernando & Kraay,Aart C. & Spencer,Phoebe Girouard & Wang,Dieter, 2020. "Predicting Food Crises," Policy Research Working Paper Series 9412, The World Bank.
    16. D’Amato, Valeria & Levantesi, Susanna & Piscopo, Gabriella, 2022. "Deep learning in predicting cryptocurrency volatility," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 596(C).
    17. Roberto Patuelli & Aura Reggiani & Peter Nijkamp & Uwe Blien, 2006. "New Neural Network Methods for Forecasting Regional Employment: an Analysis of German Labour Markets," Spatial Economic Analysis, Taylor & Francis Journals, vol. 1(1), pages 7-30.
    18. Misiunas, Nicholas & Oztekin, Asil & Chen, Yao & Chandra, Kavitha, 2016. "DEANN: A healthcare analytic methodology of data envelopment analysis and artificial neural networks for the prediction of organ recipient functional status," Omega, Elsevier, vol. 58(C), pages 46-54.
    19. Heba M. Emara & Mohamed Elwekeil & Taha E. Taha & Adel S. El-Fishawy & El-Sayed M. El-Rabaie & Walid El-Shafai & Ghada M. El Banby & Turky Alotaiby & Saleh A. Alshebeili & Fathi E. Abd El-Samie, 2022. "Efficient Frameworks for EEG Epileptic Seizure Detection and Prediction," Annals of Data Science, Springer, vol. 9(2), pages 393-428, April.
    20. Youngmin Seo & Sungwon Kim & Vijay Singh, 2015. "Estimating Spatial Precipitation Using Regression Kriging and Artificial Neural Network Residual Kriging (RKNNRK) Hybrid Approach," Water Resources Management: An International Journal, Published for the European Water Resources Association (EWRA), Springer;European Water Resources Association (EWRA), vol. 29(7), pages 2189-2204, May.

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:spr:aodasc:v:7:y:2020:i:4:d:10.1007_s40745-020-00305-w. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Sonal Shukla or Springer Nature Abstracting and Indexing (email available below). General contact details of provider: http://www.springer.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.