Research Article

Using ARIMA Model to Forecast the Stock Price of Microsoft

Heyang Ma*
Public Health, University of California, Los Angeles, California, Los Angeles, CA90095, US

* Corresponding author: [email protected]

Abstract

In finance and economics, stock prices hold significant importance, attracting the attention of both researchers and investors. Numerous methods have been developed to improve the accuracy of stock price forecasting. The autoregressive integrated moving average (ARIMA) model is widely recognized for its effectiveness in stock price prediction, offering a robust approach to addressing time series challenges. This paper outlines the detailed process of building an ARIMA model using R Studio, utilizing daily stock price data from Microsoft, a globally renowned company, from 1987 to 2024. The rapid growth of Microsoft’s stock price over the past 30 years provides a compelling case study. The results derived from this model can offer valuable insights for investors. Furthermore, this paper discusses potential enhancements to the ARIMA model for improving forecasting accuracy and provides practical tips for future applications, benefiting both investors and researchers. The results show that stock prices have an exponential increasing trend and real values of stock prices will reach 600 in 2026, the values will vary in range of (400, 1100).

Keywords: ARIMA; stock price forecasting; time series analysis; Microsoft stock.
Published: November 1, 2024
DOI: 10.54254/2753-8818/42/2024CH0224
Volume: TNS Vol.42
pp. 135-144
Download PDF

References

  1. Khan S and Alghulaiakh H 2020 ARIMA model for accurate time series stocks forecasting. International Journal of Advanced Computer Science and Applications, 11(7).
  2. Mondal P, Shit L and Goswami S 2014 Study of effectiveness of time series modeling (ARIMA) in forecasting stock prices. International Journal of Computer Science, Engineering and Applications, 4(2), 13.
  3. Pai P F and Lin C S 2005 A hybrid ARIMA and support vector machines model in stock price forecasting. Omega, 33(6), 497-505.
  4. Wadi S A L, et al. 2018 Predicting closed price time series data using ARIMA Model. Modern Applied Science, 12(11), 181-185.
  5. Tse R Y C 1997 An application of the ARIMA model to real‐estate prices in Hong Kong. Journal of Property Finance, 8(2), 152-163.
  6. Fattah J, Ezzine L, Aman Z, et al. 2018 Forecasting of demand using ARIMA model. International Journal of Engineering Business Management, 10.
  7. Ariyo A A, Adewumi A O and Ayo C K 2014 Stock price prediction using the ARIMA model[C]//2014 UKSim-AMSS 16th international conference on computer modelling and simulation. IEEE, 106-112.
  8. Nochai R and Nochai T 2006 ARIMA model for forecasting oil palm price. Proceedings of the 2nd IMT-GT Regional Conference on Mathematics, Statistics and applications. Penang: Academia, 13-15.
  9. Akaike H 1987 Factor analysis and AIC. Psychometrika, 52, 317-332.
  10. Guha B and Bandyopadhyay G 2016 Gold price forecasting using ARIMA model. Journal of Advanced Management Science, 4(2).