Abstract—
Optimal portfolio selection is a common and important solution to an optimization problem. It is often difficult to apply existing methods of optimal portfolio selection in practice, because of the large number of securities available for investment (and, as a consequence, the high dimensionality of the input data). In this article, we propose a method to reduce the dimensionality of the input data based on the hierarchical clustering of the securities available for investment. Many algorithms and methods have already been developed for clustering widely used in computer science. Pearson’s pairwise correlation coefficient is used as a measure of proximity of securities for hierarchical clustering. Next, we investigate the impact of the proposed method on the quality of the optimal solution obtained using several examples of the optimal portfolio selection according to the Markowitz model. The influence of hierarchical clustering parameters (intercluster distance metrics and clustering threshold value) on the change in the quality of the obtained optimal solution is also examined. The dependence between the target portfolio return and dimensionality reduction using the proposed method is analyzed. For each considered example, graphs and tables with the main obtained results of the application of the method are given: dimensionality reduction and return drop (reduction of the quality of the optimal solution) of the portfolio selected using the proposed method as compared to the portfolio selected without the proposed method. The Python programming language and its libraries are used for the experiments: SciPy for clustering and CVXPY for solving the optimization problem (optimal portfolio selection).
Similar content being viewed by others
REFERENCES
Markowitz, M., Portfolio selection, J. Finance, 1952, vol. 7, no. 1, pp. 77–91.
Dubrovin, V.I. and Yus’kiv, O.I., Models and methods for optimizing the choice of investment portfolio, Radio-elektron., Inf., Upr., 2008, no. 1, pp. 49–59.
Chaitanya, J., Markowitz Portfolio Optimization, 2017. https://chaitjo.github.io/markowitz/.
Tola, V., Lillo, F., Gallegati, M., and Mantegna, R.N., Cluster analysis for portfolio optimization, J. Econ. Dyn. Control, 2008, vol. 32, no. 1, pp. 235–258. https://doi.org/10.1016/j.jedc.2007.01.034
León, D., Aragón, A., Sandoval, J., Hernández, G., Arévalo, A., and Niño, J., Clustering algorithms for risk-adjusted portfolio construction, Procedia Compt. Sci., 2017, vol. 108, pp. 1334–1343. https://doi.org/10.1016/j.procs.2017.05.185
Author information
Authors and Affiliations
Corresponding authors
Ethics declarations
The authors declare that they have no conflicts of interest.
Additional information
Translated by O. Pismenov
About this article
Cite this article
Poletaev, A.Y., Spiridonova, E.M. Hierarchical Clustering as a Dimension Reduction Technique in the Markowitz Portfolio Optimization Problem. Aut. Control Comp. Sci. 55, 809–815 (2021). https://doi.org/10.3103/S0146411621070270
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.3103/S0146411621070270