Using topological data analysis (TDA) and persistent homology to analyze the stock markets in Singapore and Taiwan

In recent years, persistent homology (PH) and topological data analysis (TDA) have gained increasing attention in the fields of shape recognition, image analysis, data analysis, machine learning, computer vision, computational biology, brain functional networks, financial networks, haze detection, e...

Full description

Saved in:
Bibliographic Details
Main Authors: Yen, Peter Tsung-Wen, Cheong, Siew Ann
Other Authors: School of Physical and Mathematical Sciences
Format: Article
Language:English
Published: 2022
Subjects:
Online Access:https://hdl.handle.net/10356/155402
Tags: Add Tag
No Tags, Be the first to tag this record!
Institution: Nanyang Technological University
Language: English
id sg-ntu-dr.10356-155402
record_format dspace
spelling sg-ntu-dr.10356-1554022022-02-26T20:49:48Z Using topological data analysis (TDA) and persistent homology to analyze the stock markets in Singapore and Taiwan Yen, Peter Tsung-Wen Cheong, Siew Ann School of Physical and Mathematical Sciences Energy Research Institute @ NTU (ERI@N) Complexity Institute Science::Physics Topological Data Analysis Econophysics Applied Topology Financial Markets Straits Times Index Taiwan Capitalization Weighted Stock Index In recent years, persistent homology (PH) and topological data analysis (TDA) have gained increasing attention in the fields of shape recognition, image analysis, data analysis, machine learning, computer vision, computational biology, brain functional networks, financial networks, haze detection, etc. In this article, we will focus on stock markets and demonstrate how TDA can be useful in this regard. We first explain signatures that can be detected using TDA, for three toy models of topological changes. We then showed how to go beyond network concepts like nodes (0-simplex) and links (1-simplex), and the standard minimal spanning tree or planar maximally filtered graph picture of the cross correlations in stock markets, to work with faces (2-simplex) or any k-dim simplex in TDA. By scanning through a full range of correlation thresholds in a procedure called filtration, we were able to examine robust topological features (i.e. less susceptible to random noise) in higher dimensions. To demonstrate the advantages of TDA, we collected time-series data from the Straits Times Index and Taiwan Capitalization Weighted Stock Index (TAIEX), and then computed barcodes, persistence diagrams, persistent entropy, the bottleneck distance, Betti numbers, and Euler characteristic. We found that during the periods of market crashes, the homology groups become less persistent as we vary the characteristic correlation. For both markets, we found consistent signatures associated with market crashes in the Betti numbers, Euler characteristics, and persistent entropy, in agreement with our theoretical expectations. Nanyang Technological University Published version This research is supported by a startup grant from the Nanyang Technological University. 2022-02-25T07:34:22Z 2022-02-25T07:34:22Z 2021 Journal Article Yen, P. T. & Cheong, S. A. (2021). Using topological data analysis (TDA) and persistent homology to analyze the stock markets in Singapore and Taiwan. Frontiers in Physics, 9, 572216-. https://dx.doi.org/10.3389/fphy.2021.572216 2296-424X https://hdl.handle.net/10356/155402 10.3389/fphy.2021.572216 2-s2.0-85102798410 9 572216 en Frontiers in Physics 10.21979/N9/8XMZGF © 2021 Yen and Cheong. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms. application/pdf
institution Nanyang Technological University
building NTU Library
continent Asia
country Singapore
Singapore
content_provider NTU Library
collection DR-NTU
language English
topic Science::Physics
Topological Data Analysis
Econophysics
Applied Topology
Financial Markets
Straits Times Index
Taiwan Capitalization Weighted Stock Index
spellingShingle Science::Physics
Topological Data Analysis
Econophysics
Applied Topology
Financial Markets
Straits Times Index
Taiwan Capitalization Weighted Stock Index
Yen, Peter Tsung-Wen
Cheong, Siew Ann
Using topological data analysis (TDA) and persistent homology to analyze the stock markets in Singapore and Taiwan
description In recent years, persistent homology (PH) and topological data analysis (TDA) have gained increasing attention in the fields of shape recognition, image analysis, data analysis, machine learning, computer vision, computational biology, brain functional networks, financial networks, haze detection, etc. In this article, we will focus on stock markets and demonstrate how TDA can be useful in this regard. We first explain signatures that can be detected using TDA, for three toy models of topological changes. We then showed how to go beyond network concepts like nodes (0-simplex) and links (1-simplex), and the standard minimal spanning tree or planar maximally filtered graph picture of the cross correlations in stock markets, to work with faces (2-simplex) or any k-dim simplex in TDA. By scanning through a full range of correlation thresholds in a procedure called filtration, we were able to examine robust topological features (i.e. less susceptible to random noise) in higher dimensions. To demonstrate the advantages of TDA, we collected time-series data from the Straits Times Index and Taiwan Capitalization Weighted Stock Index (TAIEX), and then computed barcodes, persistence diagrams, persistent entropy, the bottleneck distance, Betti numbers, and Euler characteristic. We found that during the periods of market crashes, the homology groups become less persistent as we vary the characteristic correlation. For both markets, we found consistent signatures associated with market crashes in the Betti numbers, Euler characteristics, and persistent entropy, in agreement with our theoretical expectations.
author2 School of Physical and Mathematical Sciences
author_facet School of Physical and Mathematical Sciences
Yen, Peter Tsung-Wen
Cheong, Siew Ann
format Article
author Yen, Peter Tsung-Wen
Cheong, Siew Ann
author_sort Yen, Peter Tsung-Wen
title Using topological data analysis (TDA) and persistent homology to analyze the stock markets in Singapore and Taiwan
title_short Using topological data analysis (TDA) and persistent homology to analyze the stock markets in Singapore and Taiwan
title_full Using topological data analysis (TDA) and persistent homology to analyze the stock markets in Singapore and Taiwan
title_fullStr Using topological data analysis (TDA) and persistent homology to analyze the stock markets in Singapore and Taiwan
title_full_unstemmed Using topological data analysis (TDA) and persistent homology to analyze the stock markets in Singapore and Taiwan
title_sort using topological data analysis (tda) and persistent homology to analyze the stock markets in singapore and taiwan
publishDate 2022
url https://hdl.handle.net/10356/155402
_version_ 1726885531034320896