IDEAS home Printed from https://ideas.repec.org/a/rfh/bbejor/v13y2024i2p436-447.html
   My bibliography  Save this article

Forecasting Modeling of Day of the Week Calendar Anomalies in Pakistan Stock Exchange: An Artificial Intelligence Perspective

Author

Listed:
  • Abdul Karim

    (PhD Scholar, Institute of Business Administration, Khwaja Fareed University of Engineering and Information Technology, Pakistan)

  • Abdul Rasheed

    (Assistant Professor, Institute of Business Administration, Khwaja Fareed University of Engineering and Information Technology, Pakistan)

Abstract

Stock price forecasting provide valuable insight to the investor to facilitate well-informed investment decision making. The aim of this study is to examine the calendar anomalies i.e. DOW in Pakistan stock exchange though Artificial intelligence techniques. For this purpose, Support vector machine (SVM), Decision Tree (DT) and Artificial Neural Network is used to forecast the daily stock prices. The daily stock prices data of KSE100 index ranges from May,1994 to August 2023 is used as out variable while stock open, close, high and low prices are used as features/input variables. The training and testing ratio was 80:20 means 80% of the data was used in training and the 20% values were utilized for forecasting. To evaluate the accuracy of predictions, mean square error (MSE), root mean square error (RMSE), mean absolute error (MAE)/mean absolute deviation (MAD), mean absolute percent error (MAPE), and R-squared (R^2) are taken as decision criteria. The daily forecasted stock prices show the almost zero error on Tuesday, Wednesday and Thursday in SVM. Decision tree show very low error in actual and forecasted stock prices. Therefore, it is concluded that, the DOW anomalies exist in KSE100 index of PSX. Results show that, SVM can better predict the stock prices than DT and ANN. These results conclude that the forecasted stock prices are much closer to actual daily stock price means the daily stock prices can be forecast in KSE100 index. These finding contradicts the Efficient market hypothesis and conclude that the Pakistan stock exchange (PSX) is weak-form inefficient market.

Suggested Citation

  • Abdul Karim & Abdul Rasheed, 2024. "Forecasting Modeling of Day of the Week Calendar Anomalies in Pakistan Stock Exchange: An Artificial Intelligence Perspective," Bulletin of Business and Economics (BBE), Research Foundation for Humanity (RFH), vol. 13(2), pages 436-447.
  • Handle: RePEc:rfh:bbejor:v:13:y:2024:i:2:p:436-447
    DOI: https://doi.org/10.61506/01.00351
    as

    Download full text from publisher

    File URL: https://bbejournal.com/BBE/article/view/861/856
    Download Restriction: no

    File URL: https://bbejournal.com/BBE/article/view/861
    Download Restriction: no

    File URL: https://libkey.io/https://doi.org/10.61506/01.00351?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
    ---><---

    References listed on IDEAS

    as
    1. Sadia Anjum, 2020. "Impact of market anomalies on stock exchange: a comparative study of KSE and PSX," Future Business Journal, Springer, vol. 6(1), pages 1-11, December.
    2. Vilija Aleknevičienė & Vaida Klasauskaitė & Eglė Aleknevičiūtė, 2022. "Behavior of calendar anomalies and the adaptive market hypothesis: evidence from the Baltic stock markets," Journal of Baltic Studies, Taylor & Francis Journals, vol. 53(2), pages 187-210, April.
    3. Khushboo Aggarwal & Mithilesh Kumar Jha, 2023. "Stock returns seasonality in emerging asian markets," Asia-Pacific Financial Markets, Springer;Japanese Association of Financial Economics and Engineering, vol. 30(1), pages 109-130, March.
    4. Wen, Fenghua & Xu, Longhao & Ouyang, Guangda & Kou, Gang, 2019. "Retail investor attention and stock price crash risk: Evidence from China," International Review of Financial Analysis, Elsevier, vol. 65(C).
    5. Bengü Yardımcı & Sabri Erdem, 2020. "The day of the week effects in stock markets of countries with predominantly Muslim populations," International Journal of Islamic and Middle Eastern Finance and Management, Emerald Group Publishing Limited, vol. 13(2), pages 195-218, February.
    6. John Fender, 2020. "Beyond the efficient markets hypothesis: Towards a new paradigm," Bulletin of Economic Research, Wiley Blackwell, vol. 72(3), pages 333-351, July.
    7. Mumtaz Hussain & Salma Sadiq & Muhammad Haroon Rasheed & Khurram Amin, 2022. "Exploring the Dynamics of Investors’ Decision Making in Pakistan Stock Market: A Study of Herding Behavior," Journal of Economic Impact, Science Impact Publishers, vol. 4(1), pages 165-173.
    8. Sidra Riaz & Yusen Xu & Shahid Hussain, 2019. "Workplace Ostracism and Knowledge Hiding: The Mediating Role of Job Tension," Sustainability, MDPI, vol. 11(20), pages 1-16, October.
    9. Bahrawar Said & Shafiq Ur Rehman & Rizwan Ullah & Javed Khan & David McMillan, 2021. "Investor overreaction and global financial crisis: A case of Pakistan stock exchange," Cogent Economics & Finance, Taylor & Francis Journals, vol. 9(1), pages 1966195-196, January.
    10. Sakhr Miss & Michel Charifzadeh & Tim A. Herberger, 2020. "Revisiting the monday effect: a replication study for the German stock market," Management Review Quarterly, Springer, vol. 70(2), pages 257-273, May.
    11. Pagano, Marco, 1993. "Financial markets and growth: An overview," European Economic Review, Elsevier, vol. 37(2-3), pages 613-622, April.
    12. El Mehdi Ferrouhi & Omar Kharbouch & Samir Aguenaou & Muhammad Naeem & David McMillan, 2021. "Calendar anomalies in African stock markets," Cogent Economics & Finance, Taylor & Francis Journals, vol. 9(1), pages 1978639-197, January.
    13. Badal Khan & Muhammad Aqil & Syed Hasnain Alam Kazmi & Syed Imran Zaman, 2023. "Day‐of‐the‐week effect and market liquidity: A comparative study from emerging stock markets of Asia†," International Journal of Finance & Economics, John Wiley & Sons, Ltd., vol. 28(1), pages 544-561, January.
    14. Muhammad Sarmad Irtiza & Shahbaz Khan & Nida Baig & Syed Muhammad Ali Tirmizi & Ilyas Ahmad, 2021. "The turn-of-the-month effect in Pakistani stock market," Future Business Journal, Springer, vol. 7(1), pages 1-11, December.
    Full references (including those not matched with items on IDEAS)

    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. Naz Farah & Lutfullah Tooba & Zahra Kanwal, 2024. "COVID-19 and Seasonality in Monthly Returns: a Firm Level Analysis of PSX," Zagreb International Review of Economics and Business, Sciendo, vol. 27(1), pages 201-230.
    2. Grebe, Leonard & Schiereck, Dirk, 2025. "Day-of-the-week effect: a meta-analysis," Publications of Darmstadt Technical University, Institute for Business Studies (BWL) 154180, Darmstadt Technical University, Department of Business Administration, Economics and Law, Institute for Business Studies (BWL).
    3. Leonard Grebe & Dirk Schiereck, 2024. "Day-of-the-week effect: a meta-analysis," Eurasian Economic Review, Springer;Eurasia Business and Economics Society, vol. 14(4), pages 1057-1094, December.
    4. Badal Khan & Muhammad Aqil & Syed Hasnain Alam Kazmi & Syed Imran Zaman, 2023. "Day‐of‐the‐week effect and market liquidity: A comparative study from emerging stock markets of Asia†," International Journal of Finance & Economics, John Wiley & Sons, Ltd., vol. 28(1), pages 544-561, January.
    5. Jung-Suk Yu & M. Kabir Hassan & Abdullah Mamun & Abul Hassan, 2014. "Financial Sectors Reform and Economic Growth in Morocco: An Empirical Analysis," Journal of Emerging Market Finance, Institute for Financial Management and Research, vol. 13(1), pages 69-102, April.
    6. Sebastian Weber, 2009. "European Financial Market Integration: A Closer Look at Government Bonds in Eurozone Countries," Working Paper / FINESS 1.1b, DIW Berlin, German Institute for Economic Research.
    7. Nicola Cetorelli & Michele Gambera, 2001. "Banking Market Structure, Financial Dependence and Growth: International Evidence from Industry Data," Journal of Finance, American Finance Association, vol. 56(2), pages 617-648, April.
    8. Aaryan Gupta & Vinya Dengre & Hamza Abubakar Kheruwala & Manan Shah, 2020. "Comprehensive review of text-mining applications in finance," Financial Innovation, Springer;Southwestern University of Finance and Economics, vol. 6(1), pages 1-25, December.
    9. Bangake, Chrysost & Eggoh, Jude C., 2011. "Further evidence on finance-growth causality: A panel data analysis," Economic Systems, Elsevier, vol. 35(2), pages 176-188, June.
    10. Kristina Spantig, 2015. "The role of the financial sector in enhancing economic growth in the Lao People’s Democratic Republic," Asia-Pacific Development Journal, United Nations Economic and Social Commission for Asia and the Pacific (ESCAP), vol. 22(1), pages 67-98, June.
    11. repec:swn:wpaper:2023-02 is not listed on IDEAS
    12. Marc Atkins & Christian Peitz, 2023. "The world's largest free trade agreement RCEP and its financial markets - A perspective on volatility and risk," Working Papers Dissertations 113, Paderborn University, Faculty of Business Administration and Economics.
    13. Wenlian Gao & Feifei Zhu & Kai Chen, 2023. "The role of bank lenders in firm leverage adjustments," Journal of Financial Research, Southern Finance Association;Southwestern Finance Association, vol. 46(1), pages 63-97, February.
    14. Alexandru Minea & Patrick Villieu, 2006. "Thresholds Effects in Monetary and Fiscal Policies in a simple Cash-in-Advance Endogenous Growth Model," Post-Print halshs-00261219, HAL.
    15. Roman Mestre, 2021. "A wavelet approach of investing behaviors and their effects on risk exposures," Financial Innovation, Springer;Southwestern University of Finance and Economics, vol. 7(1), pages 1-37, December.
    16. Çağatay Bircan & Ralph De Haas, 2020. "The Limits of Lending? Banks and Technology Adoption across Russia," The Review of Financial Studies, Society for Financial Studies, vol. 33(2), pages 536-609.
    17. Keming Li, 2021. "The effect of option trading," Financial Innovation, Springer;Southwestern University of Finance and Economics, vol. 7(1), pages 1-32, December.
    18. Bhavesh Garg & Pravakar Sahoo, 2021. "DO DIFFERENT TYPES OF CAPITAL INFLOWS HAVE DIFFERENTIAL IMPACT ON OUTPUT? Evidence from Time series and Panel Analysis," IEG Working Papers 443, Institute of Economic Growth.
    19. Bagella, Michele & Becchetti, Leonardo & Hasan, Iftekhar, 2004. "The anticipated and concurring effects of the EMU: exchange rate volatility, institutions and growth," Journal of International Money and Finance, Elsevier, vol. 23(7-8), pages 1053-1080.
    20. Ajit Singh, 1998. "Pension Reform, the Stock Market, Capital Formation and Economic Growth: A Critical Commentary on the World Bank’s Proposals," Istanbul Stock Exchange Review, Research and Business Development Department, Borsa Istanbul, vol. 2(8-7), pages 51-78.
    21. Colin Kirkpatrick, 2005. "Finance and Development: Overview and Introduction," Journal of Development Studies, Taylor & Francis Journals, vol. 41(4), pages 631-635.

    More about this item

    Keywords

    ;
    ;
    ;
    ;
    ;
    ;

    Statistics

    Access and download statistics

    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:rfh:bbejor:v:13:y:2024:i:2:p:436-447. 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: Dr. Muhammad Irfan Chani (email available below). General contact details of provider: https://edirc.repec.org/data/rffhlpk.html .

    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.