Skip to content
Open access

A COMPARATIVE ANALYSIS OF FORECASTING ACCURACY BETWEEN MACHINE LEARNING MODELS AND OLS REGRESSION: EMPIRICAL EVIDENCE FROM THE VIETNAMESE STOCK MARKET

Aug 2026 · Tạp chí Khoa học Đại học Công Thương · 0 citations

TL;DR

The empirical results demonstrate that machine learning models significantly outperform OLS in capturing complex nonlinear relationships in stock returns, and the ANN model achieves the lowest RMSE, indicating the highest predictive accuracy, and generates superior long–short portfolio returns compared to the other models.

Abstract

This research investigates and compares the predictive performance of stock return forecasting between the Ordinary Least Squares (OLS) regression model and machine learning approaches in the context of the volatile Vietnamese stock market. Using a panel dataset combined with time-series data of listed firms on the Vietnamese stock exchange from 2015 to 2024, the study contrasts the OLS model with three advanced machine learning algorithms, including Artificial Neural Networks (ANN), Random Forest, and XGBoost. Predictive performance is primarily assessed using Root Mean Squared Error (RMSE), alongside Mean Absolute Error (MAE) and out-of-sample R-squared (R²OOS) as robustness measures. The empirical results demonstrate that machine learning models significantly outperform OLS in capturing complex nonlinear relationships in stock returns. Among them, the ANN model achieves the lowest RMSE, indicating the highest predictive accuracy, and generates superior long–short portfolio returns compared to the other models. Furthermore, the Diebold–Mariano test confirms that the differences in predictive accuracy between machine learning models and OLS are statistically significant. Although OLS retains advantages in terms of simplicity and interpretability, machine learning models exhibit clear superiority in predictive performance and quantitative risk management. This study provides important empirical evidence from an emerging market such as Vietnam and offers practical implications for investors and policymakers in optimizing asset allocation decisions.

Read PDF

Similar papers

Open access Aug 2026

COMPARATIVE ANALYSIS AND RANKING OF HYBRID MACHINE LEARNING AND GARCH MODELS FOR STOCK MARKET VOLATILITY IN SADC FINANCIAL MARKETS

This study investigates the forecasting performance of machine learning models and traditional econometric volatility models in predicting daily stock price volatility across selected Southern African Development Community (SADC) markets from 02 January 2015 to 08 May 2026. Using data sourced from Yahoo Finance, the st...

Oloruntoba Oyedele · 0 citations
Open access Sep 2026

Intelligent Analysis of Stock Trading Patterns Using Adaptive Learning Models for Market Dynamics and Predictive Indicator Discovery

Stock market forecasting is difficult due to its nonlinear nature, volatility, time dependencies, and fast-changing sentiments of investors. Conventional models of statistical nature offer an important benchmark but might be insufficient in capturing the complexity of market dynamics. The objective of this research is...

S. Durga, B. Ratnavalli, Visalakshi Naraparedd et al. · 0 citations
Open access Aug 2026

Predicting Stock Market Trends Using Machine Learning: A Sector-Wise Comparative Study of ARIMA, Linear Regression, and LSTM Models on NSE-Listed Companies

The study concludes that the most suitable forecasting technique depends on the nature of the input data and forecast horizon, and that model outputs should support, rather than replace, broader investment judgement.

K. Divya, R. N. Kulkarni · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.