<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.3 20210610//EN" "https://jats.nlm.nih.gov/archiving/1.3/JATS-archivearticle1-3.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:ali="http://www.niso.org/schemas/ali/1.0/" article-type="research-article" dtd-version="1.3" xml:lang="en">
  <front>
    <journal-meta>
      <journal-id journal-id-type="publisher-id">mujast</journal-id>
      <journal-id journal-id-type="nlm-ta">MUJAST</journal-id>
      <journal-title-group>
        <journal-title>Mountain Top University Journal of Applied Sciences and Technology</journal-title>
        <abbrev-journal-title>MUJAST</abbrev-journal-title>
      </journal-title-group>
      <issn pub-type="epub">2736-2310</issn>
      <publisher>
        <publisher-name>Mountain Top University</publisher-name>
        <publisher-loc>Prayer City, Ogun State, Nigeria</publisher-loc>
      </publisher>
    </journal-meta>
    <article-meta>
      <article-id pub-id-type="publisher-id">LEGACY-4ktf5</article-id>
      <article-id pub-id-type="doi">10.mtu/legacy-4ktf5</article-id>
      <article-categories>
        <subj-group subj-group-type="heading">
          <subject>Research Article</subject>
        </subj-group>
      </article-categories>
      <title-group>
        <article-title>Comparing XGBoost and LSTM Models for Prediction of Microsoft Corp&apos;s Stock Price Direction</article-title>
      </title-group>
      <contrib-group>
      <contrib contrib-type="author" corresp="yes">
        <name>
          <surname>Uhunmwangho</surname>
          <given-names>Osaigbokan Peter</given-names>
        </name>
        <aff id="aff-1">Mountain Top University, Nigeria</aff>
        

      </contrib>
      </contrib-group>
      <pub-date date-type="pub" publication-format="electronic">
        <day>24</day>
        <month>10</month>
        <year>2024</year>
      </pub-date>
      <volume>4</volume>
      <issue>2</issue>
      <permissions>
        <copyright-statement>© 2024 Mountain Top University. Licensed under Creative Commons Attribution 4.0 International (CC-BY 4.0).</copyright-statement>
        <copyright-year>2024</copyright-year>
        <copyright-holder>Mountain Top University</copyright-holder>
        <ali:free_to_read/>
        <license xlink:href="https://creativecommons.org/licenses/by/4.0/">
          <ali:license_ref>https://creativecommons.org/licenses/by/4.0/</ali:license_ref>
          <license-p>This is an open access article distributed under the terms of the Creative Commons Attribution License (CC-BY 4.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.</license-p>
        </license>
      </permissions>
      <abstract>
        <p>&lt;p class=&quot;ql-align-justify&quot;&gt;This study investigates the effectiveness of XGBoost and LSTM models in predicting the directional changes in Microsoft stock price using incremental values to mitigate inaccuracies in Directional Accuracy Percentage (DAP) evaluations. A twenty-three-year Microsoft stock prices dataset from Yahoo Finance spanning January 1st, 2000, to December 31st, 2023 is utilized, the dataset is scaled, and technical indicators are computed. Both models are trained on the extracted features to predict directional changes, evaluated using the Directional Accuracy Percentage (DAP). The XGBoost model achieves an accuracy metric value of 71.02%, whereas LSTM ranges from 62.42% to 67.10%. A Mann-Whitney U test confirms a significant difference in predictive performance, favouring XGBoost. This finding suggests XGBoost as a more effective tool for short-term decision-making in stock trading, underlining its potential to improve the predictive accuracy in financial forecasting and advancing predictive modelling research.&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;</p>
      </abstract>
      <kwd-group kwd-group-type="author">
        <kwd>&lt;p&gt;XGBoost, LSTM, Microsoft stock prices, Directional Accuracy Percentage (DAP).&lt;/p&gt;</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Introduction &amp; Full Text Notice</title>
      <p>The complete authoritative record and full scholarly content for this article is available in the archival PDF galley deposited at Mountain Top University Scholarly Repository.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <title>References</title>
      <p>Archived with full citation indexing at Mountain Top University Scholarly Publishing Network.</p>
    </ref-list>
  </back>
</article>