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. 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.
    2. 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.
    3. 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.
    4. 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.
    5. 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.
    6. 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.
    7. 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.
    8. 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.
    9. Ankan Dash & Junyi Ye & Guiling Wang & Huiran Jin, 2024. "High Resolution Solar Image Generation Using Generative Adversarial Networks," Annals of Data Science, Springer, vol. 11(5), pages 1545-1561, October.

    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. 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.
    4. 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.
    5. 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.
    6. Evangelos Spiliotis & Spyros Makridakis & Artemios-Anargyros Semenoglou & Vassilios Assimakopoulos, 2022. "Comparison of statistical and machine learning methods for daily SKU demand forecasting," Operational Research, Springer, vol. 22(3), pages 3037-3061, July.
    7. 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).
    8. 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.
    9. 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.
    10. 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.
    11. 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.
    12. Daniela Carlucci & Paolo Renna & Giovanni Schiuma, 2013. "Evaluating service quality dimensions as antecedents to outpatient satisfaction using back propagation neural network," Health Care Management Science, Springer, vol. 16(1), pages 37-44, March.
    13. Malik, Farooq & Nasereddin, Mahdi, 2006. "Forecasting output using oil prices: A cascaded artificial neural network approach," Journal of Economics and Business, Elsevier, vol. 58(2), pages 168-180.
    14. 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.
    15. Feng, Cong & Zhang, Jie & Zhang, Wenqi & Hodge, Bri-Mathias, 2022. "Convolutional neural networks for intra-hour solar forecasting based on sky image sequences," Applied Energy, Elsevier, vol. 310(C).
    16. 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.
    17. 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.
    18. 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.
    19. Dan Farhat, 2014. "Artificial Neural Networks and Aggregate Consumption Patterns in New Zealand:," Working Papers 1404, University of Otago, Department of Economics, revised Mar 2014.
    20. Yochanan Shachmurove & Doris Witkowska, "undated". "Utilizing Artificial Neural Network Model to Predict Stock Markets," Penn CARESS Working Papers cae679cdc2e020f74d692ae73, Penn Economics Department.

    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.