Comparative analysis of regression models for stock price prediction: Linear, support vector, polynomial, and LASSO
Ștefan Rusu,
Marcel Ioan Boloș and
Marius Leordeanu
Additional contact information
Ștefan Rusu: University of Oradea, Oradea, Romania
Marcel Ioan Boloș: University of Oradea, Oradea, Romania
Marius Leordeanu: Polytechnic University of Bucharest, Bucharest, Romania; The Institute of Mathematics of the Romanian Academy, Bucharest, Romania
Journal of Financial Studies, 2024, vol. 9, issue 17, 143-156
Abstract:
This paper investigates the performance of various regression-based machine learning techniques for short-term stock price prediction. Four regression algorithms – linear regression, support vector regression (SVR), polynomial regression and LASSO regression – were applied to Apple Inc’s historical price data for two-years ending on October 1st, 2024, to predict the next day’s closing stock price. Technical indicators such as moving average, relative strength index (RSI) and lag features were included in the regressions to improve prediction performance. Evaluation metrics such as Mean Absolute Error (MAE), Mean Squared Error (MSE), and R-squared (R²) were employed to assess the models’ performance. Results show that linear regression and LASSO regression were the most performant models, reaching R² values of more than 0.95, with minimal error values. While SVR yielded the poorest results when accounting for all metrics. Overall, the study highlights the predictive power of simpler regression models over more complex ones in stock price predictions and offers recommendations for model selection.
Keywords: Stock market; machine learning; predictions; regressions; linear regression; LASSO regression; polynomial regression; support vector regression. (search for similar items in EconPapers)
JEL-codes: C32 C52 C53 G10 (search for similar items in EconPapers)
Date: 2024
References: Add references at CitEc
Citations:
Downloads: (external link)
https://revista.isfin.ro/wp-content/uploads/2024/11/9.-Rusu-S.-et..pdf (application/pdf)
https://revista.isfin.ro/2024/11/06/comparative-an ... olynomial-and-lasso/ (text/html)
Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.
Export reference: BibTeX
RIS (EndNote, ProCite, RefMan)
HTML/Text
Persistent link: https://EconPapers.repec.org/RePEc:fst:rfsisf:v:9:y:2024:i:17:p:143-156
DOI: 10.55654/JFS.2024.9.17.09
Access Statistics for this article
Journal of Financial Studies is currently edited by Raluca Ladaru
More articles in Journal of Financial Studies from Institute of Financial Studies Contact information at EDIRC.
Bibliographic data for series maintained by Cosmin Catalin Olteanu ().