Forecasting Stock Prices Using an Auto Regressive Exogenous model
2023 (English)Independent thesis Basic level (degree of Bachelor), 10 credits / 15 HE credits
Student thesis
Abstract [en]
This project aimed to evaluate the effectiveness of the Auto Regressive Exogenous(ARX) model in forecasting stock prices and contribute to research on statisticalmodels in predicting stock prices. An ARX model is a type of linear regression modelused in time series analysis to forecast future values based on past values and externalinput signals. In this study, the ARX model was used to forecast the closing pricesof stocks listed on the OMX Stockholm 30 (OMXS30*) excluding Essity, Evolution,and Sinch, using historical data from 2016-01-01 to 2020-01-01 obtained from YahooFinance.
The model was trained using the least squares approach with a control signal that filtersoutliers in the data. This was done by modeling the ARX model using optimizationtheory and then solving that optimization problem using Gurobi OptimizationSoftware. Subsequently, the accuracy of the model was tested by predicting prices in aperiod based on past values and the exogenous input variable.
The results indicated that the ARX model was not suitable for predicting stock priceswhile considering short time periods.
Place, publisher, year, edition, pages
2023.
Series
TRITA-SCI-GRU ; 2023:184
Keywords [en]
Bachelor thesis, Asset pricing, Quantitative finance, ARX model, OMX30, Finance, Stocks, Predictive models, Time series analysis, mathematical optimization theory, Gurobi Optimization Software
National Category
Mathematics
Identifiers
URN: urn:nbn:se:kth:diva-331423OAI: oai:DiVA.org:kth-331423DiVA, id: diva2:1781274
Subject / course
Mathematics
Educational program
Master of Science in Engineering -Engineering Physics
Supervisors
Examiners
2023-07-072023-07-072023-07-07Bibliographically approved