Keywords = Neural networks

Forecasting Value at Risk (VaR) and Expected Shortfall (ES) in the Tehran Stock Exchange Index Using Stateful Recurrent Neural Network (Stateful-RNN) Models

Volume 10, Issue 2, 2026, Pages 85-127

https://doi.org/10.66224/ijf.2026.580106.1575

Ali Namaki, Saeid Fallahpour, Ali Emarloo

Abstract The increasing importance of financial risk measurement, driven by regulatory requirements and market uncertainties, necessitates precise forecasting tools for Value at Risk (VaR) and Expected Shortfall (ES). This study introduces three novel models based on Stateful Recurrent Neural Networks (RNNs) and Feedforward Neural Networks (FNNs) for predicting VaR and ES. These models are evaluated against traditional econometric models, including Generalized Autoregressive Conditional Heteroskedasticity (GARCH) models, using a dataset of the Tehran Exchange Divedend and Price Index (TEDPIX) spanning more than three decades. This research presents a comprehensive comparison between Stateful and Non-Stateful RNN models, demonstrating that Stateful RNNs significantly enhance forecasting performance. First, the data is standardized before being fed into machine learning models and then used as input for the models. The results indicate strong predictive performance, while a reduction in the FZ0 loss score highlights the superior accuracy of these models. In the empirical study, the proposed models are applied to the Tehran Exchange Divedend and Price Index (TEDPIX). The models’ performance is assessed using the FZ0 loss function and backtesting methods, such as DQ regression tests and DES tests. The findings reveal that Stateful RNN-based models outperform traditional econometric models in terms of both accuracy and stability. In particular, the STRNN-II and STRNN-III models consistently rank highest, demonstrating their superior ability to capture the complex dynamics of financial risk. Moreover, these models do not rely on strong distributional assumptions, offering greater flexibility than traditional parametric models like GARCH.

Risk prediction of investment funds in member countries of the Federation of European and Asian Stock Exchanges - Machine Learning Approaches

Volume 9, Issue 4, 2025, Pages 140-188

https://doi.org/10.66224/ijf.2025.522399.1527

Nashmil Esmaily, Parviz Piri, Ali Ashtab, Mehdi Heydari, Akbar Zavari Rezaei,

Abstract The main objective of this study is to compare the predictive accuracy of machine learning models, particularly Random Forest and Artificial Neural Networks, with classical statistical methods (such as Logistic Regression and Linear Discriminant Analysis) in forecasting the risk of Exchange-Traded Funds (ETFs) in member countries of the Federation of European and Asian Stock Exchanges. Furthermore, the study aims to identify the key performance and fundamental variables impacting the risk of these funds. This research adopts a quantitative approach based on secondary data analysis. Data were collected for the years 2015-2023 from the databases of the Federation of European and Asian Stock Exchanges and the Tehran Stock Exchange. After preprocessing, risk prediction models, including Random Forest, Artificial Neural Networks, Logistic Regression, and Linear Discriminant Analysis, were developed and validated for each country using unified evaluation metrics (such as accuracy and AUC). The statistical significance of differences in model performance was tested using non-parametric Mann-Whitney U tests, given the non-normal distribution of accuracy across countries. Sensitivity analysis was then conducted on the two superior machine learning models to determine the impact of independent variables (both performance indicators, such as Jensen's alpha and market return, and fundamental attributes, such as fund size and manager expertise) across different markets. Empirical results indicate that, across most countries and after harmonizing time and geographical dimensions, machine learning models, specifically Random Forest and Artificial Neural Networks, outperform classical statistical approaches in predicting ETF risk, with statistically significantly higher accuracy and AUC values (p<0.05 in Mann-Whitney U tests). The robustness of these findings is confirmed after controlling for heterogeneity among countries. Sensitivity analyses further reveal that both performance variables (e.g., Jensen's alpha, market return) and fundamental factors (e.g., fund size, manager expertise) have a significant impact on risk outcomes within these models. At the same time, machine learning methods exhibit a stronger ability to identify and quantify the importance of these variables compared to classical methods. The results highlight the practical advantage of adopting machine learning techniques for risk assessment and management in diverse international financial markets. Overall, the findings of this study reveal that employing machine learning models—especially Random Forest and Artificial Neural Networks—significantly improves the accuracy of ETF risk prediction and enables a more comprehensive identification of key risk factors compared to classical statistical approaches. These models demonstrate superior flexibility and the ability to capture complex, multidimensional data patterns, making them highly advantageous tools for financial risk management. The results suggest that integrating advanced machine learning techniques at both regional and international levels can enhance the responsiveness of investment systems to market changes, providing fund managers and investors with a more solid, data-driven basis for decision-making.