IDEAS home Printed from https://ideas.repec.org/a/rfh/bbejor/v13y2024i2p436-447.html

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. Fama, Eugene F, 1970. "Efficient Capital Markets: A Review of Theory and Empirical Work," Journal of Finance, American Finance Association, vol. 25(2), pages 383-417, May.
    5. 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).
    6. 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.
    7. 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.
    8. 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.
    9. 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.
    10. 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.
    11. 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.
    12. Pagano, Marco, 1993. "Financial markets and growth: An overview," European Economic Review, Elsevier, vol. 37(2-3), pages 613-622, April.
    13. 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.
    14. 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.
    15. 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. 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.
    2. 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.
    3. 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).
    4. Vasco FERREIRA & Luís ALMEIDA & Victor MOUTINHO, 2025. "Review Of Research On Determinants Of Stock Profitability: A Bibliometric Analysis," Studies in Business and Economics, Lucian Blaga University of Sibiu, Faculty of Economic Sciences, vol. 20(2), pages 113-136, August.
    5. Ho, Sin-Yu, 2017. "The Macroeconomic Determinants of Stock Market Development: Evidence from Malaysia," MPRA Paper 77232, University Library of Munich, Germany.
    6. Anam Khan & Renu Verma & Miklesh Prasad Yadav & Narain, 2025. "Does Governance Quality Impact Stock Market Development? An Insight of BRICS Economies," Asia-Pacific Financial Markets, Springer;Japanese Association of Financial Economics and Engineering, vol. 32(2), pages 563-582, June.
    7. Iryna Veryzhenko & Arthur Jonath & Etienne Harb, 2022. "Non-Value-Added Tax to improve market fairness and quality," Financial Innovation, Springer;Southwestern University of Finance and Economics, vol. 8(1), pages 1-30, December.
    8. Wing-Keung Wong & Riffat Mughal & Mustafa Afeef & Naveed Khan & Hassan Zada, 2026. "Human Capital Based Six-Factor Asset Pricing Model in the Era of Covid-19," Asia-Pacific Financial Markets, Springer;Japanese Association of Financial Economics and Engineering, vol. 33(1), pages 25-63, March.
    9. Zhang, Ping & Wang, Yiru, 2025. "Digital finance and stock price crash: Evidence from China," Emerging Markets Review, Elsevier, vol. 66(C).
    10. Sin-Yu Ho, 2019. "The macroeconomic determinants of stock market development in Malaysia: an empirical analysis," Global Business and Economics Review, Inderscience Enterprises Ltd, vol. 21(2), pages 174-193.
    11. Ivan Borisov Todorov & Fernando Sánchez Lasheras, 2022. "Forecasting Applied to the Electricity, Energy, Gas and Oil Industries: A Systematic Review," Mathematics, MDPI, vol. 10(21), pages 1-15, October.
    12. Andrew Sheng & Ajit Singh, 2012. "Enhancing Islamic Finance: Establishing an Islamic Stock Market that Overcomes Problems of the Existing Stock Market," Working Papers wp437, Centre for Business Research, University of Cambridge.
    13. Chen, Shaoling & Wu, Jun & Liang, Weijuan & Yang, Haisheng, 2025. "News shock, limited institutional attention and stock market response: Evidence from China," Journal of Asian Economics, Elsevier, vol. 100(C).
    14. Radeef Chundakkadan, 2021. "Light a lamp and look at the stock market," Financial Innovation, Springer;Southwestern University of Finance and Economics, vol. 7(1), pages 1-21, December.
    15. Hassan Zada & Naveed Khan & Kai-Yin Woo & Sana Gaied Chortane, 2025. "Asset Pricing: A Comparative Analysis of Fama-French Five-Factor with Human Capital-Based Six-Factor Model," Advances in Decision Sciences, Asia University, Taiwan, vol. 29(4), pages 1-37.
    16. Jitendra Kumar Chaurasiya & Bhanu Pratap Singh, 2026. "Do financial inclusion and institutional quality impact stock market development? Evidence from BRICS," Eurasian Economic Review, Springer;Eurasia Business and Economics Society, vol. 16(1), pages 49-69, March.
    17. Allen, Franklin & Gale, Douglas, 1995. "A welfare comparison of intermediaries and financial markets in Germany and the US," European Economic Review, Elsevier, vol. 39(2), pages 179-209, February.
    18. 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.
    19. Deniz Erer & Elif Erer & Selim Güngör, 2023. "The aggregate and sectoral time-varying market efficiency during crisis periods in Turkey: a comparative analysis with COVID-19 outbreak and the global financial crisis," Financial Innovation, Springer;Southwestern University of Finance and Economics, vol. 9(1), pages 1-25, December.
    20. 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.

    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 The email address of this maintainer does not seem to be valid anymore. Please ask Dr. Muhammad Irfan Chani to update the entry or send us the correct address (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.