IDEAS home Printed from https://ideas.repec.org/a/spr/futbus/v11y2025i1d10.1186_s43093-025-00560-4.html
   My bibliography  Save this article

Unveiling the optimal factor model in Pakistan: a machine learning approach using support vector regression and extreme gradient boosting algorithms

Author

Listed:
  • Rizwan Ullah

    (COMSATS University Islamabad)

  • Muhammad Naveed Jan

    (COMSATS University Islamabad)

  • Muhammad Tahir

    (COMSATS University Islamabad)

Abstract

This study examines the explanatory power of Fama–French models to find the optimal model and pointing out the critical factors applying the grid search cross-validation (GridSearchCV)-based support vector regression (SVR) and extreme gradient boosting (XGBoost) in the Pakistani Stock Market. Data from 1990 to 2022 was collected from DataStream, and 100 test portfolios were formed, bivariate sorted on input factors to ensure accuracy and robustness. ANOVA and Diebold–Mariano tests were applied to pick the best model, while SHAP (SHapley Additive exPlanations) and TreeSHAP analyses identified the significant input factors by using the explainable artificial intelligence (ExP AI). Results reveal a six-factor model outperforms others, while market and size factors are the most influential factors. Opposing to Fama and French five-factor model, the value factor remains vital in the Pakistani equity market, like India and China, while investment factor is the least influential factor. Through the box-plot graphs, robustness was confirmed. The findings recommend investors should prioritize market and size risks, while policymakers should focus on growth of SME’s (small- and medium-size enterprises) and macroeconomic stability to ensure and enhance market efficiency.

Suggested Citation

  • Rizwan Ullah & Muhammad Naveed Jan & Muhammad Tahir, 2025. "Unveiling the optimal factor model in Pakistan: a machine learning approach using support vector regression and extreme gradient boosting algorithms," Future Business Journal, Springer, vol. 11(1), pages 1-20, December.
  • Handle: RePEc:spr:futbus:v:11:y:2025:i:1:d:10.1186_s43093-025-00560-4
    DOI: 10.1186/s43093-025-00560-4
    as

    Download full text from publisher

    File URL: http://link.springer.com/10.1186/s43093-025-00560-4
    File Function: Abstract
    Download Restriction: Access to the full text of the articles in this series is restricted.

    File URL: https://libkey.io/10.1186/s43093-025-00560-4?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.

    More about this item

    Keywords

    Asset pricing; Emerging market; Machine learning; SHAP;
    All these keywords.

    JEL classification:

    • G12 - Financial Economics - - General Financial Markets - - - Asset Pricing; Trading Volume; Bond Interest Rates
    • G15 - Financial Economics - - General Financial Markets - - - International Financial Markets
    • C63 - Mathematical and Quantitative Methods - - Mathematical Methods; Programming Models; Mathematical and Simulation Modeling - - - Computational Techniques
    • C52 - Mathematical and Quantitative Methods - - Econometric Modeling - - - Model Evaluation, Validation, and Selection

    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:spr:futbus:v:11:y:2025:i:1:d:10.1186_s43093-025-00560-4. 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.

    We have no bibliographic references for this item. You can help adding them by using 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.