Directional Volatility Spillovers-based Fuzzy Clustering for Financial Time Series: Evidence from Stocks of Companies Listed on the Tehran Securities Exchange

Volume 23, Issue 1 - Serial Number 88
Vol. 22, No. 3, spring 2025
Spring 2026
Pages 99-132

Document Type : Research Paper

Author

Assistant Professor of Economics, Department of Economics and Social Sciences, Nahavand Higher Education Complex, Bu-Ali Sina University, Hamedan, Iran.

Abstract
EXTENDED ABSTRACT
INTRODUCTION
Clustering is an unsupervised learning technique for detecting similarities or differences between financial time series. One of the important aspects of clustering is how dissimilarities can be measured. To obtain meaningful clusters, stylized empirical facts of time series should also be included in the definition of dissimilarities.
From the methodological point of view, similarity can be measured using distance measures; the traditional Euclidean distance which is a measure of how close the observations are, can not be a desirable metric for measuring the similarity between time series as it does not make any assumptions about important characteristics of data.
In literature, when actual financial time series are considered, properly defining dissimilarity also becomes more complicated. Some characteristics previously used for clustering of financial time series are return volatilities, long-term memory, auto-correlation, heterogeneity variance, higher order moments, asymmetry, and fat trails of empirical densities (Jondeau & Rockinger, 2012; Soltyk & Chan, 2023).
One of the empirical stylized features that has not been studied for clustering is the volatility spillover effects (Cerqueti et al., 2023; D'Urso et al., 2016). Identifying the clusters in volatility spillovers between assets leads to a deep insight into the financial market microstructure, which would have implications for portfolio managers and policymakers to make decisions in periods of financial crises and uncertainty about the economy in general, particularly when directional volatility spillovers have been taken into account (Diebold & Yilmaz, 2009, 2012).
This paper presents an innovation in research methodology using directional volatility spillovers in fuzzy clustering C-medoids. The reviews of the literature reveal that this approach has not yet been applied to emerging markets. So, this research seeks to complement the existing studies by providing empirical findings for the Tehran Stock Exchange.
 
METHODOLOGY
As the main objective of this research is to cluster data sets based on the directional volatility spillovers - “From” and “To” others, firstly, the stock return volatilities are computed using the Parkinson estimator (Parkinson, 1980). Then, the directional volatility spillover indices are measured based on the H-step ahead generalized forecast-error variance decompositions (GFEVD) in a VAR model (Pesaran & Shin, 1998). Therefore, stocks are partitioned in terms of magnitude as well as directions of volatility spillovers. In other words, dissimilarities are measured according to the contribution of each stock to produce spillover to others and to receive it from them. For this purpose, the dissimilarity between the directional volatility spillovers is calculated by the Euclidean distance based on the weighted combination of “From” and “To” spillovers. In this research, an objective weighting system is adopted which assigns weights to the dimensions of spillovers depending on the specific market under consideration (Cerqueti et al., 2023; D'Urso et al., 2016).
Further, following Wu and Yang (2002) and D'Urso et al. (2016), the weighted Euclidean distance is converted using an exponential function. The exponential weighted Euclidean distance is robust against noise and outliers in the volatility spillovers (D'Urso et al., 2016; Wu & Yang, 2002). Then, these weighted dissimilarity measures are used for fuzzy clustering models. This paper adopts two approaches of fuzzy partitioning around medoids (Fuzzy PAM), namely, the Fuzzy C-Medoids model based on the Volatility Spillover (VS-FCMdd) and the Exponential Fuzzy C-Medoids model based on the Volatility Spillover (VS-E-FCMdd) are considered, which iteratively calculate the optimal weights. Accordingly, the importance of dimensions of directional volatility spillovers in clustering, the medoids of each cluster, and stock membership degrees of each cluster are found. Finally, to determine the optimal number of clusters and to validate these clustering models, the Xie-Beni index is employed (Xie & Beni, 1991).
For this purpose, a daily stock return time series concerning 30 stocks from 28 industries of the Tehran Stock Exchange, from 2008/8/26 to 2023/8/27, has been investigated.
 
FINDINGS
For the present investigation, the directional volatility spillover indices are estimated for Horizon, , and optimal lag,  for the VAR model; from depicting the estimated values of “From” and “To” spillover indices, the outliers with higher values of spillovers and lower values than others are identified. Moreover, at cluster 2, the Xie-Beni index value reaches the minimum value.
From the empirical evidence, it is found that all the membership degrees of VS-E-FCMdd are lower than those of VS-FCMdd for both clusters. In particular, VS-FCMdd assigns outliers to the cluster with higher membership degrees, but the robust VS-E-FCMdd assigns them with cluster membership degrees near 0/5.
The findings also show that the VS-FCMdd model produces the partition that confirms the high against low “From” volatility spillover pattern; However, some extreme observations remain that have been wrongly assigned to clusters. In contrast, the partitions obtained by the VS-E-FCMdd algorithm imply the low against high volatility spillover pattern; but it excludes the extreme events from this clustering. Therefore, one can obtain a more reliable partition in terms of low and high (i.e. spillovers) clusters. In addition, unlike the VS-FCMdd model, stocks identified in each cluster, are more tight around the medoid of the cluster belonging to it. The empirical results show that the robust clustering model seems to have better performance in clustering the dataset.
 
CONCLUSION
Empirical findings show that the VS-FCMdd and VS-E-FCMdd clustering models similarly identify a two-group structure in the dataset, i.e. “high” and “low” levels of volatility spillovers. Due to the presence of outliers, the VS-E-FCMdd produces more fuzzy partitions and is effective in clustering the stock volatility spillovers of the Tehran Stock Exchange. The results demonstrate that the VS-E-FCMdd model assigns a higher weight to the “From” volatility spillover. Moreover, the stocks listed on the Tehran Stock Exchange are differentiated mostly in terms of “From” volatility spillover, i.e., the amount of volatility spillover that each stock receives from all other stocks. Particularly, cluster 1 includes the stocks which, in comparison to others, receive more “From” spillovers, but transfer fewer “To” spillovers.
For future research, it is recommended that the dynamic volatility spillover indices be calculated on the rolling time window technology basis, and the new clustering algorithms are generalized based on this alternative measure. Moreover, one could modify the the robust VS-E-FCMdd model to the new robust fuzzy clustering algorithms. Finally, different models for robust fuzzy clustering could be generalized for classifying the nonstationary and nonlinear time series.
 

Keywords

Subjects
Alonso, A. M., D’Urso, P., Gamboa, C., & Guerrero, V. (2021). Cophenetic-based fuzzy clustering of time series by linear dependency. International Journal of Approximate Reasoning, 137, 114–136. https://doi.org/10.1016/j.ijar.2021.07.006
Asghari, F., & Ahmadi, F. (2018). A hybrid model for appraising and forecasting loan repayments (Case study: Karafarini Omid Fund). Economics Research, 18(71), 185–223. https://doi.org/10.22054/joer.2018.9833 (in Persian)
Badiei, M., Ebrahimi Sarve Oliya, M. H., & Sargolzaei, M. (2025). The effect of performance of the Tehran Stock Exchange and Iran FaraBourse Sukuk index on the risk-adjusted returns of mutual funds: Fama and French three-factor model. Quarterly Journal of Quantitative Economics (JQE), 22(3), 174–207. https://doi.org/10.22055/jqe.2023.43296.2549 (in Persian)
Bastos, J. A., & Caiado, J. (2014). Clustering financial time series with variance ratio statistics. Quantitative Finance, 14(12), 2121–2133. https://doi.org/10.1080/14697688.2012.726736
Bastos, J. A., & Caiado, J. (2021). On the classification of financial data with domain agnostic features. International Journal of Approximate Reasoning, 138, 1–11. https://doi.org/10.1016/j.ijar.2021.07.008
Bei, H., Mao, Y., Wang, W., & Zhang, X. (2021). Fuzzy clustering method based on improved weighted distance. Mathematical Problems in Engineering, 2021, 6687202. https://doi.org/10.1155/2021/6687202
Buncic, D., & Gisler, K. I. M. (2016). Global equity market volatility spillovers: A broader role for the United States. International Journal of Forecasting, 32(4), 1317–1339. https://doi.org/10.1016/j.ijforecast.2016.05.001
Caiado, J., Crato, N., & Peña, D. (2006). A periodogram-based metric for time series classification. Computational Statistics & Data Analysis, 50(10), 2668–2684. https://doi.org/10.1016/j.csda.2005.04.012
Caiado, J., Maharaj, E. A., & D’Urso, P. (2015). Time-series clustering. In C. Hennig, M. Meila, F. Murtagh, & R. Rocci (Eds.), Handbook of Cluster Analysis (pp. 262–285). Chapman & Hall/CRC.
Cerqueti, R., D’Urso, P., De Giovanni, L., Giacalone, M., & Mattera, R. (2022). Weighted score-driven fuzzy clustering of time series with a financial application. Expert Systems with Applications, 198, 116752. https://doi.org/10.1016/j.eswa.2022.116752
Cerqueti, R., D’Urso, P., De Giovanni, L., Mattera, R., & Vitale, V. (2023). Fuzzy clustering of financial time series based on volatility spillovers. Annals of Operations Research. https://doi.org/10.1007/s10479-023-05560-7
Cerqueti, R., & Mattera, R. (2023). Fuzzy clustering of time series with time-varying memory. International Journal of Approximate Reasoning, 153, 193–218. https://doi.org/10.1016/j.ijar.2022.11.021
Chang, C.-L., McAleer, M., & Tansuchat, R. (2013). Conditional correlations and volatility spillovers between crude oil and stock index returns. The North American Journal of Economics and Finance, 25, 116–138. https://doi.org/10.1016/j.najef.2012.06.002
Chen, Y., Chiu, J., & Chung, H. (2022). Givers or receivers? Return and volatility spillovers between Fintech and the traditional financial industry. Finance Research Letters, 46, 102458. https://doi.org/10.1016/j.frl.2021.102458
Cheuathonghua, M., Padungsaksawasdi, C., Boonchoo, P., & Tongurai, J. (2019). Extreme spillovers of VIX fear index to international equity markets. Financial Markets and Portfolio Management, 33(1), 31–58. https://doi.org/10.1007/s11408-018-0323-6
Choi, S.-Y. (2022). Dynamic volatility spillovers between industries in the US stock market: Evidence from the COVID‑19 pandemic and Black Monday. The North American Journal of Economics and Finance, 59, 101614. https://doi.org/10.1016/j.najef.2021.101614
Coppi, R., D’Urso, P., & Giordani, P. (2010). A fuzzy clustering model for multivariate spatial time series. Journal of Classification, 27, 54–88. https://doi.org/10.1007/s00357-010-9043-y
D’Urso, P. (2005). Fuzzy clustering for data time arrays with inlier and outlier time trajectories. IEEE Transactions on Fuzzy Systems, 13(5), 583–604. https://doi.org/10.1109/TFUZZ.2005.856565
D’Urso, P., De Giovanni, L., Maharaj, E. A., Brito, P., & Teles, P. (2023). Wavelet-based fuzzy clustering of interval time series. International Journal of Approximate Reasoning, 152, 136–159. https://doi.org/10.1016/j.ijar.2022.09.014
D’Urso, P., De Giovanni, L., & Massari, R. (2015). Time series clustering by a robust autoregressive metric with application to air pollution. Chemometrics and Intelligent Laboratory Systems, 141, 107–124. https://doi.org/10.1016/j.chemolab.2014.11.003
D’Urso, P., De Giovanni, L., & Massari, R. (2016). GARCH-based robust clustering of time series. Fuzzy Sets and Systems, 305, 21–28. https://doi.org/10.1016/j.fss.2016.01.010
D’Urso, P., Maharaj, E. A., & Alonso, A. M. (2017). Fuzzy clustering of time series using extremes. Fuzzy Sets and Systems, 318, 56–79. https://doi.org/10.1016/j.fss.2016.10.006
D’Urso, P., Massari, R., Cappelli, C., & De Giovanni, L. (2017). Autoregressive metric-based trimmed fuzzy clustering with an application to PM10 time series. Chemometrics and Intelligent Laboratory Systems, 161, 15–26. https://doi.org/10.1016/j.chemolab.2016.11.016
D’Urso, P., De Giovanni, L., & Massari, R. (2021). Trimmed fuzzy clustering of financial time series based on dynamic time warping. Annals of Operations Research, 299, 1379–1395. https://doi.org/10.1007/s10479-019-03284-1
D’Urso, P., De Giovanni, L., Massari, R., D’Ecclesia, R. L., & Maharaj, E. A. (2020). Cepstral-based clustering of financial time series. Expert Systems with Applications, 161, 113705. https://doi.org/10.1016/j.eswa.2020.113705
D’Urso, P., De Giovanni, L., Massari, R., & Di Lallo, D. (2013). Noise fuzzy clustering of time series by autoregressive metric. METRON, 71(3), 217–243. https://doi.org/10.1007/s40300-013-0024-x
D’Urso, P., De Giovanni, L., & Vitale, V. (2023). A robust method for clustering football players with mixed attributes. Annals of Operations Research, 325(1), 36–59. https://doi.org/10.1007/s10479-022-04558-x
D’Urso, P., & Maharaj, E. A. (2009). Autocorrelation-based fuzzy clustering of time series. Fuzzy Sets and Systems, 160(24), 3565–3589. https://doi.org/10.1016/j.fss.2009.04.013
Diebold, F. X., & Yilmaz, K. (2009). Measuring financial asset return and volatility spillovers, with application to global equity markets. The Economic Journal, 119(534), 158–171. https://doi.org/10.1111/j.1468-0297.2008.02208.x
Diebold, F. X., & Yilmaz, K. (2012). Better to give than to receive: Predictive directional measurement of volatility spillovers. International Journal of Forecasting, 28(1), 57–66. https://doi.org/10.1016/j.ijforecast.2011.02.006
Diebold, F. X., & Yilmaz, K. (2014). On the network topology of variance decompositions: Measuring the connectedness of financial firms. Journal of Econometrics, 182(1), 119–134. https://doi.org/10.1016/j.jeconom.2014.04.012
Ehsani, A., & Alemohammad, S. (2021). Fuzzy clustering of Tehran Stock Exchange industries index time series based on autoregressive model. 4th International Conference on Soft Computing. (in Persian)
Farid, D., & Pourhamidi, M. (2012). Classifying stocks of listed companies on Tehran Stock Exchange using fuzzy cluster analysis. Financial Accounting Research, 4(3), 105–128. (in Persian)
Farnam, M., & Darehmiraki, M. (2023). A parametric method for fuzzy data clustering. Fuzzy Systems and Its Applications, 5(2), 119–193. https://doi.org/10.22034/jfsa.2023.331678.1138 (in Persian)
Gillaizeau, M., Jayasekera, R., Maaitah, A., Mishra, T., Parhi, M., & Volokitina, E. (2019). Giver and the receiver: Understanding spillover effects and predictive power in cross‑market Bitcoin prices. International Review of Financial Analysis, 63, 104–186. https://doi.org/10.1016/j.irfa.2019.03.005
Jondeau, E., & Rockinger, M. (2012). On the importance of time variability in higher moments for asset allocation. Journal of Financial Econometrics, 10(1), 123–184. https://doi.org/10.1093/jjfinec/nbr006
Lafuente‑Rego, B., D’Urso, P., & Vilar, J. A. (2020). Robust fuzzy clustering based on quantile autocovariances. Statistical Papers, 61(6), 2393–2448. https://doi.org/10.1007/s00362-018-1053-6
López‑Oriona, Á., Vilar, J. A., & D’Urso, P. (2022). Quantile-based fuzzy clustering of multivariate time series in the frequency domain. Fuzzy Sets and Systems, 443, 115–154. https://doi.org/10.1016/j.fss.2022.02.015
Mantegna, R. N. (1999). Hierarchical structure in financial markets. The European Physical Journal B, 11(1), 193–197. https://doi.org/10.1007/s100510050929
Otranto, E. (2008). Clustering heteroskedastic time series by model-based procedures. Computational Statistics & Data Analysis, 52(10), 4685–4698. https://doi.org/10.1016/j.csda.2008.03.020
Otranto, E., & Gargano, R. (2015). Financial clustering in presence of dominant markets. Advances in Data Analysis and Classification, 9(3), 315–339. https://doi.org/10.1007/s11634-014-0189-z
Parkinson, M. (1980). The extreme value method for estimating the variance of the rate of return. The Journal of Business, 53(1), 61–65.
Pesaran, M. H., & Shin, Y. (1998). Generalized impulse response analysis in linear multivariate models. Economics Letters, 58(1), 17–29. https://doi.org/10.1016/S0165-1765(97)00214-0
Piccolo, D. (1990). A distance measure for classifying ARIMA models. Journal of Time Series Analysis, 11(2), 153–164. https://doi.org/10.1111/j.1467-9892.1990.tb00048.x
Rafiei, S., & Moradi, P. (2016). Improving performance of fuzzy C-means clustering algorithm using automatic local feature weighting. Tabriz Journal of Electrical Engineering, 46(2), 75–86. (in Persian)
Rahmani Asl, F., Sinaei, H. A., & Neis, A. (2021). Forming a portfolio of exchange traded funds with the clustering and UTADIS models. Quarterly Journal of Quantitative Economics, 18(1), 79–96. https://doi.org/10.22055/jqe.2020.32330.2204
Rayati Shavazi, A., Blue, G., Ebrahimi Sarv‑e‑Olia, M. H., & Amiri, M. (2021). Financial contagion based on overlapping portfolio in TEPIX industrial groups. Financial Management Strategy, 9(3), 102–179. https://doi.org/10.22051/jfm.2019.27654.2175 (in Persian)
Savvides, A., Promponas, V. J., & Fokianos, K. (2008). Clustering of biological time series by cepstral coefficients based distances. Pattern Recognition, 41(7), 2398–2412. https://doi.org/10.1016/j.patcog.2008.01.002
Sinaei, H. A., Mehrabi, A., Basirzadeh, H., & Samandar, M. (2016). Applying expected regret minimization in constructing portfolio of mutual funds. Quarterly Journal of Quantitative Economics, 13(1), 119–140. (in Persian)
Sinaei, H., Basirzad, H., & Samandar, M. (2014). Application of clustering analysis in assessing the performance of mutual funds. Financial Management Strategy, 2(1), 1–20. (in Persian)
Soltyk, S. J., & Chan, F. (2023). Modeling time‑varying higher‑order conditional moments: A survey. Journal of Economic Surveys, 37(1), 33–57. https://doi.org/10.1111/joes.12481
Shahrazi, M., & Shahrazi, M. (2025). An application of econophysics to investigate the relationship between trading volume and stock returns in Tehran Stock Exchange. Quarterly Journal of Quantitative Economics (JQE), 22(3), 84–114. https://doi.org/10.22055/jqe.2023.42398.2529 (in Persian)
Van der Laan, M., Pollard, K., & Bryan, J. (2003). A new partitioning around medoids algorithm. Journal of Statistical Computation and Simulation, 73(8), 575–584. https://doi.org/10.1080/0094965031000136012
Wu, K.‑L., & Yang, M.‑S. (2002). Alternative c‑means clustering algorithms. Pattern Recognition, 35(10), 2267–2278. https://doi.org/10.1016/S0031-3203(01)00197-2
Xie, X. L., & Beni, G. (1991). A new fuzzy clustering validity criterion and its application to color image segmentation. In Proceedings of the IEEE International Symposium on Intelligent Control.
Zhu, L. (2016). Improvement of weighted Euclidean distance clustering algorithm. Computer & Digital Engineering, 44(3), 421–424.
  • Receive Date 27 December 2023
  • Revise Date 07 May 2024
  • Accept Date 05 June 2024
  • First Publish Date 05 June 2024
  • Publish Date 22 May 2026