COVID-19 triggered a worldwide economic decline and raised concerns regarding its economic consequences on stock markets across the globe, notably on the Malaysian stock market. We examined how COVID-19 impacted Malaysia's financial market using correlation and network analysis. We found a rise in correlations between stocks during the pandemic, suggesting greater interdependence. To visualize this, we created networks for pre-pandemic, during-pandemic, and post-pandemic periods. Additionally, we built a network for the during-pandemic period with a specific threshold corresponding to pre- and post-pandemic network density. The networks during the pandemic showed increased connectivity and only contained positive correlations, reflecting synchronized stock movements. Last, we analyzed the networks' modularity, revealing highest modularity during the pandemic, which suggests stronger yet risk-prone communities.
Citation: Nurun Najwa Bahari, Hafizah Bahaludin, Munira Ismail, Fatimah Abdul Razak. Network, correlation, and community structure of the financial sector of Bursa Malaysia before, during, and after COVID-19[J]. Data Science in Finance and Economics, 2024, 4(3): 362-387. doi: 10.3934/DSFE.2024016
Related Papers:
[1]
Deniz Sevinç .
Volatility spillovers among MIST stock markets. Data Science in Finance and Economics, 2022, 2(2): 80-95.
doi: 10.3934/DSFE.2022004
[2]
Bilal Ahmed Memon, Hongxing Yao .
Correlation structure networks of stock market during terrorism: evidence from Pakistan. Data Science in Finance and Economics, 2021, 1(2): 117-140.
doi: 10.3934/DSFE.2021007
[3]
Jin Zeng, Yijia Zhang, Yun Yin, Peter G Moffatt .
The effect of the Covid pandemic on stock market volatility: Separating initial impact from time-to-recovery. Data Science in Finance and Economics, 2024, 4(4): 531-547.
doi: 10.3934/DSFE.2024022
[4]
Kuo-Shing Chen .
Interlinkages between Bitcoin, green financial assets, oil, and emerging stock markets. Data Science in Finance and Economics, 2024, 4(1): 160-187.
doi: 10.3934/DSFE.2024006
[5]
Ji Young Choi, Chae Young Lee, Man-Suk Oh .
Discovering causal relationships among financial variables associated with firm value using a dynamic Bayesian network. Data Science in Finance and Economics, 2025, 5(1): 1-18.
doi: 10.3934/DSFE.2025001
[6]
Yi Chen, Zhehao Huang .
Measuring the effects of investor attention on China's stock returns. Data Science in Finance and Economics, 2021, 1(4): 327-344.
doi: 10.3934/DSFE.2021018
[7]
Alejandro Rodriguez Dominguez, Om Hari Yadav .
A causal interactions indicator between two time series using extreme variations in the first eigenvalue of lagged correlation matrices. Data Science in Finance and Economics, 2024, 4(3): 422-445.
doi: 10.3934/DSFE.2024018
[8]
Zimei Huang, Zhenghui Li .
What reflects investor sentiment? Empirical evidence from China. Data Science in Finance and Economics, 2021, 1(3): 235-252.
doi: 10.3934/DSFE.2021013
[9]
Fatima Tfaily, Mohamad M. Fouad .
Multi-level stacking of LSTM recurrent models for predicting stock-market indices. Data Science in Finance and Economics, 2022, 2(2): 147-162.
doi: 10.3934/DSFE.2022007
[10]
Aditya Narvekar, Debashis Guha .
Bankruptcy prediction using machine learning and an application to the case of the COVID-19 recession. Data Science in Finance and Economics, 2021, 1(2): 180-195.
doi: 10.3934/DSFE.2021010
Abstract
COVID-19 triggered a worldwide economic decline and raised concerns regarding its economic consequences on stock markets across the globe, notably on the Malaysian stock market. We examined how COVID-19 impacted Malaysia's financial market using correlation and network analysis. We found a rise in correlations between stocks during the pandemic, suggesting greater interdependence. To visualize this, we created networks for pre-pandemic, during-pandemic, and post-pandemic periods. Additionally, we built a network for the during-pandemic period with a specific threshold corresponding to pre- and post-pandemic network density. The networks during the pandemic showed increased connectivity and only contained positive correlations, reflecting synchronized stock movements. Last, we analyzed the networks' modularity, revealing highest modularity during the pandemic, which suggests stronger yet risk-prone communities.
Abbreviations: COVID-19: Coronavirus disease 2019; WHO: World Health Organization; KLFIN: Kuala Lumpur Financial Index; MST: Minimum spanning tree; PMFG: Planar maximal filtered graph
1.
Introduction
The first case of the Coronavirus disease 2019 (COVID-19) emerged in late 2019, and its immediate global transmission led to the declaration of a pandemic by the World Health Organization (WHO) on March 11, 2020. The COVID-19 pandemic has undoubtedly ushered in an era of unprecedented challenges worldwide (Zhang et al., 2020). In addition to its significant impact on public health, the pandemic had far-reaching effects on various dimensions of the global economy, notably highlighting the heightened vulnerability of financial markets to its disruptive influences. It disturbed economic activities, led to market volatility (Bouhali et al., 2022), and caused significant uncertainty (Szczygielski et al., 2021; Zuhud et al., 2022). This was exacerbated by the interconnectedness of global financial markets, where volatility spillovers increased sharply during the pandemic, accelerating the transmission of volatility information and contributing to market volatility (Song et al., 2021). Therefore, this study expects that the correlation between financial sector stocks will strengthen due to significant market volatility as investors show a similar reaction among financial services during COVID-19. Thus, this tightening stock price correlation is expected to be reflected in its network structure, where network connectivity will be significantly higher during the pandemic, reflecting a stronger correlation between financial sector stocks due to increased market volatility and uncertainty, hence the use of network analysis. Additionally, a study on the network structure of the Malaysian consumer products and services sector found that the network showed interconnectedness among heterogeneous subsectors, highlighting common market dynamics across sectors (Dellow et al., 2024). The same behavior may also be shown in the Malaysian financial sector network.
The pandemic exerted a substantial influence on financial markets, specifically stock markets. Stock markets are often regarded as indicators of economic stability and investor sentiment (Cevik et al., 2022; Goodell, 2020). Furthermore, Asian markets displayed a particularly pronounced (Topcu & Gulal, 2020) and rapid response to the news of the COVID-19 outbreak (Sun & Hou, 2019). This heightened sensitivity can be partially attributed to the extensive financial integration of countries in Southeast Asia, including Malaysia, Vietnam, and Thailand, with China (Liu et al., 2020).
COVID-19 significantly impacted the Malaysian stock market, with the Kuala Lumpur Financial Index (KLFIN) declining by 1.3% between January 1, 2020, and July 31, 2020, mainly due to concerns about the virus and its impact on the finance sector (Hassan et al., 2023). Some significant challenges experienced by the financial sector are slow loan growth, reduced earnings, increased provisions, and liquidity issues (Deloitte, 2020).
A study by Zuhud et al. (2022) focused on the KLFIN with the aim of identifying and analyzing the individual constituent's causal intensity from early 2018 to the end of 2021. The findings revealed changes in causal intensity among the constituents, with the insurance subsector showing a rapid increase in causality. This suggests that the pandemic had a significant impact on the financial services sector in Malaysia. Thus, this study focuses on the dynamics of the financial sector and its three subsectors, which are banking, insurance, and other financial services, in Bursa Malaysia, with an emphasis on analyzing network properties and modularity to find communities in the network. A few studies have utilized network and community detection to examine the effects of previous financial crises on various local markets, such as the 2008 global crisis (Li & Pi, 2018; Nobi et al., 2014; Wu et al., 2015). Thus, we intend to analyze the effects of the COVID-19 pandemic on the Malaysian market. We consider three periods: before (2019), during (2020), and after (2021) COVID-19.
Thus, we construct a correlation network of the stocks by choosing a threshold to define edges. Selecting an appropriate threshold is crucial to ensure the validity and reliability of the results and, most importantly, to avoid loss of information. In this study, the threshold is chosen based on the mean plus the standard deviation of the correlation coefficients (Preis et al., 2012) for each period. Therefore, similar to past works (Nobi et al., 2014; Xia et al., 2018), we consider different thresholds for the three periods since the distribution of correlations is different for each period.
Moreover, we use the Louvain algorithm to identify communities of related stocks and measure the community structure using modularity. Community structure is an important characteristic of a network (Fortunato, 2010; Lancichinetti et al., 2010; Newman, 2006; Porter et al., 2009). A network with high modularity has many densely connected communities that are sparsely connected to each other, while a network with low modularity has few or no densely connected communities. By identifying communities within the network, it is possible to assess the risk associated with different groups of stocks during a crisis. By studying the communities, investors, policymakers, and market participants, one can gain insights into the vulnerabilities and potential sources of contagion within the network. This study may help investors diversify their portfolios. Investors can ensure that they are not overexposed to any one particular asset. This can help to reduce the risk and increase the overall return on investment, especially during a financial crisis.
This study makes several contributions to the financial network literature. We present a new pipeline to analyze herding behavior and structural changes in interconnectedness during crises and their implications for the Malaysian stock market (Bursa Malaysia) by using complex network analysis, especially modularity. To the best of our knowledge, no previous studies have used modularity to analyze and compare network structural changes during the COVID-19 financial crisis. In addition, we suggest the threshold method to consider the network density, as it is suggested to have a comparable density, to make comparisons between networks. With the purpose of understanding the impact of COVID-19 on the Malaysian stock market, we compare and investigate the network structure and the quality of communities in the network before, during, and after COVID-19. This study on the financial sector correlation network provides us with a general overview of the Malaysian financial stock market around the crisis of COVID-19.
This paper is presented as follows. We explain the data, definition, and methodology in Section 2. Section 3 discusses the correlogram of stock correlation, Section 4 discusses the network properties, Section 5 analyzes the community structure of the networks, and Section 6 summarizes the conclusion of this paper.
2.
Data and methods
The dataset utilized in our research comprises the daily closing prices of companies within the financial services sector listed in Bursa Malaysia. Companies were chosen based on their consistent listing under the Financial Services Index from 2019 to 2021, as recorded in the DataStream database. Then, the daily closing prices were retrieved from the Eikon Datastream, covering the timeframe from January 1, 2019, to December 31, 2021, resulting in 23,520 records. Among the n=30 companies, there are 10 banks, 9 insurance companies, and 11 other financial services, as categorized by Bursa Malaysia's subsector classification (Bursa Malaysia, 2023). Three time periods were identified based on the year, labeled as before COVID-19 (2019), during COVID-19 (2020), and after COVID-19 (2021). Additional information about the stocks can be found in Table 1.
Table 1.
Name of companies and subsectors of 30 stocks under the financial services sector in Bursa Malaysia.
Stock symbol
Company
Subsector
AFIN
Affin Bank
Banking
AINM
Allianz Malaysia
Insurance
ALLI
Alliance Bank Malaysia
Banking
AMMB
AMMB Holdings
Banking
ANCR
Aeon Credit Service
Other financial services
APES
APEX Equity Holdings
Other Financial services
BIMB
Bank Islam Malaysia
Banking
BMYS
Bursa Malaysia
Other financial services
CIMB
CIMB Group Holdings
Banking
ECMI
ECM Libra Group
Other financial services
ELKD
Elk-Desa Resources
Other financial services
HLBB
Hong Leong Bank
Banking
HLCB
Hong Leong Financial Group
Banking
INSS
Insas
Other financial services
JHHS
Johan Holdings
Other financial services
KCDS
Kuchai Development
Other financial services
KNNK
Kenanga Investment Bank
Other financial services
LOND
LPI Capital
Insurance
MAAS
MAA Group
Insurance
MBBM
Malayan Banking
Banking
MBSS
Malaysia Building Society
Other financial services
MNLF
Manulife Holdings
Insurance
MNRB
MNRB Holdings
Insurance
MPHB
MPHB Capital
Insurance
PACO
Pacific and Orient
Insurance
PUBM
Public Bank
Banking
REDI
RCE Capital
Other financial services
RHBC
RHB Bank Berhad
Banking
TAKA
Syarikat Takaful Malaysia Keluarga
Insurance
TUNE
Tune Protect Group
Insurance
Note: 1 Stock symbol or ticker symbol is a unique letter assigned to a stock. 1. The subsector of a stock is categorized based on the definition of a company business provided by Bursa Malaysia.
There are four common practices that we use for data cleaning. First, we handle missing values by identifying them through methods like checking for null values (NaNs) and removing rows or columns with excessive missing data. Second, we check for consistency and data alignment, such as time alignment, to ensure all stock price data is aligned on the same dates. This may involve managing different time zones and trading days. Next, we filter non-trading days by removing weekends and holidays when markets are closed to avoid gaps in the time series data. Last, we handle duplicates by identifying and removing any duplicate records to ensure each date has a unique entry.
Figure 1 highlights the outline of our analysis. First, from the stock prices, we calculated Pearson's correlation coefficient and built the correlogram of the stock correlation. Then, we calculated the threshold and built three weighted networks. We also chose one threshold that estimates the network density, which we refer to as the threshold with adjusted density, and built one more weighted network. So, we will analyze four weighted networks for Section 4 and Section 5. We applied the network measures to analyze the networks' structure and used community detection on the networks to visualize and analyze the community structure of the networks.
Figure 1.
The flowchart highlights the methodology in this article. The sequence of important steps is shown in the diagram.
A graph or a network can be represented by G=(V,E), consisting of a set of nodes, V, and a set of edges, E. For a network with n nodes and m edges, the node set can be expressed as V={v1,v2,v3,…,vn}=|V| and the set of edges can be represented as E={(vi,vj)|vi,vj∈Vand(vi,vj)∈E}=|E| (Abdul Razak et al., 2019; Abdul Razak & Expert, 2021; Zhu et al., 2023). First, we calculate the Pearson correlation coefficient, ρij, between stocks i and j to define the relationship between the stocks. Then, we build networks where each stock is represented by a node, and the correlation values between these stocks satisfying the threshold value are taken as edges. We build three weighted networks based on the correlation coefficients before (G19), during (G20), and after (G21) COVID-19. So, these networks would have the same set of nodes but different sets of edges, which are written as G19=(V,E19),G20=(V,E20), and G21=(V,E21). A weighted network is a type of graph in which each edge is assigned a numerical weight or value (correlation), representing the strength of the relationship between those nodes.
The threshold value, θ, for G19, G20, and G21 is set based on standardized values that approximate the sum of the mean and their standard deviation of the correlation coefficient, which is θ(G)=¯ρij+σ. This is to maintain the level of consistency and standardize the correlation for each period. The mean and standard deviation for all pairs of stock correlation coefficients for each network is calculated using (1) and (2), respectively (Preis et al., 2012; Xia et al., 2018). We also build one weighted network based on a chosen threshold that estimates the density of the network for the period of crisis (2020); we named it G20′, which is written as G20′=(V,E20′). Further discussions pertaining to why G20′ is needed are in later sections.
¯ρij=1n∑ni=1∑nj=1ρij
(1)
σ=1n√∑ni=1∑nj=1|ρij−¯ρij|2
(2)
The adjacency matrix A=(aij)n×n of G is frequently used to represent a network (Bahari et al., 2023; Kostylenko et al., 2019). The element of the matrix aij is the correlation coefficient from using Pearson correlation coefficient, both positive and negative, that satisfies the threshold value θ and represents the edge weight between nodes i and j, as illustrated in Equation (3).
aij={ρij,ifρij≥θ∧ρij≤−θ0,otherwise
(3)
Components are portions of the network that are disconnected from each other. A giant component has the most nodes out of all the components. An isolated node has no connections to any other node in the network and represents a node that is completely separated from the rest of the network. For each network, we assessed the number of components, network density, average weighted degree, average weighted clustering coefficient, and network transitivity. Except for the components, all these metrics range from 0 to 1. Network metrics such as density and transitivity focus primarily on the presence or absence of connections in the network. These measures are useful for understanding the network's overall structure and connectedness. Thus, we use the unweighted version to measure these metrics. In contrast, weighted network measures, like average weighted degree and average weighted clustering coefficients, consider not only the presence of connections but also their strength (the weight of the edges between the nodes) when analyzing relationships between stocks in the network.
Density, d, quantifies the relationship between existing connections and the total potential connections within a network, offering a quick indicator of its connectivity. Density can be calculated using (4), where m is the number of edges and n is the number of nodes in the network. A higher density usually suggests a denser or more interconnected network, while a lower density indicates a sparser network.
d=2mn(n−1)
(4)
Meanwhile, the average weighted degree ⟨s⟩ of the network represents the average of the sum of the weighted edges that each node has in the network, calculated using equation (5) where n is the number of nodes and si is the weighted degree or strength of a node i (si=∑j∈Vaij). It provides a measure of the network's overall connectivity strength, indicating how many connections there are and their respective strengths, on average.
⟨s⟩=1n∑ni∈Vsi
(5)
Clustering measures the tendency for edges to form between neighboring nodes and reflects the clustering of nodes into tightly connected neighborhoods. The weighted clustering considers how much weight or intensity is present in the neighborhood of the node (Onnela et al., 2005). Thus, the average weighted clustering coefficient ⟨C⟩ of a network is calculated for each node by assessing the fraction of the intensity of its neighbors that are connected to each other (Saramäki et al., 2007). The network's overall average weighted clustering coefficient is an average of these local values; higher values signify a stronger tendency for nodes to form tightly knit clusters. The formula shown in (6) is from (Onnela et al., 2005; Saramäki et al., 2007) where n is the number of nodes, ki is the degree of node i (the number of edges connected to a node), and the weight of edges is normalized by the maximum weight in the network, aij=aij/max(a).
⟨C⟩=1n∑ni=1(2ki(ki−1)∑j,h(aijajhahi)1╱3)
(6)
Network transitivity, T, is also known as the global clustering coefficient. It is the ratio of the actual triangles in the network to all the potential triangles that could exist in the network. These potential triangles are identified based on the count of "triads", which consist of two edges sharing a common node. In simpler terms, it determines the likelihood that if node i is connected to node j and node j is connected to node h, then node i is directly connected to node h, which is also known as the triadic closure effect. Network transitivity offers insights into the presence of transitive relationships or "triangular" connectivity within the network; a higher transitivity value indicates a greater tendency for nodes to form these transitive relationships or triangles in the network. It is measured as in (7), where α is the number of triangles in the network, and β is the number of triads in the network.
T=3αβ
(7)
2.2. Modularity and Louvain algorithm
Modularity, Q, is a measure of the clustering or partitioning of a network into densely connected subgroups or modules. It measures the strength or quality of community grouping in the network. The higher the modularity (close to one), the stronger the connectivity of a community. A modularity value of more than 0.3 is a good benchmark for indicating significant community structure in a network (Clauset et al., 2004). Modularity is calculated using (8), where m is the number of edges, Aij is the adjacency matrix of the network, ki is the degree of i, and δ(i,j) is one if i and j are in the same community, otherwise is zero (Blondel et al., 2008; Girvan & Newman, 2002).
Q=12m∑ij(Aij−kikj2m)δ(i,j)
(8)
We used the Louvain algorithm in the Network X package in Python to find communities in G19, G20, G20', and G21. The Louvain algorithm is based on a modulation optimization value (Blondel et al., 2008), and it is divided into two phases that are repeated. In the first step, every node within the network begins as its own distinct community. The first phase will then begin by removing a node i from its community and placing it in the community of its neighbor. The algorithm evaluates which community would be the best fit for each node i by assessing the modularity gain, ΔQi, when node i is relocated to different communities. If a node i relocation leads to an increase in ΔQi, it is reassigned to the community that maximizes this value; otherwise, its assignment remains unchanged. This step is performed for each node in turn. It will continue doing this for each node until no further improvements are possible, which is known as the local maximum of modularity. The equation in (9) gives ΔQi.
Where ∑in is the sum of the weights of the edges inside the community of i, ∑tot is the sum of the weights of the edges incident to nodes in the community i, si is the sum of the weights of the edges incident to node i, si,in is the sum of the weights of the edges from i to nodes in the community of i, and s is the sum of the weights of all edges in the network (Blondel et al., 2008).
In the second phase, the algorithm builds a new network with the communities found in the first phase as "super nodes". This super node forms a closed loop pointing to itself, representing the cumulative weight of the edges within the community. The weights of the edges connecting any two new nodes are determined by the sum of the weights of all edges linking the two original communities. The first steps were repeated until there were no more changes or maximum modularity was achieved. At the end, the optimal division of this network into communities will be formed.
We iterated the algorithm 100 times to ensure a robust result due to the randomness of node choice to calculate modulation gain in phase 1. For each node, we consider the mode of community that they have formed in each iteration, and then we calculate the Q of the resulting community of the network. We reported the standard deviation and the mean of Q from the N=100 iterations. The mean of Q can be calculated as ¯Q=1N∑NiQi for i=1,2,3,…,N.
Finally, average internal edge density, f(CS), is a scoring function for communities within the network that evaluates the quality of a community by providing a score that reflects its connectivity structure. Scoring functions are designed based on the concept that communities are sets of nodes that exhibit strong internal connections while maintaining fewer connections with nodes outside the community (Yang & Leskovec, 2015).We assessed the average internal edge density to measure the internal density of the community in the network (Rossetti et al., 2020). Consider a function f(CS) that characterizes the community quality in the network. Let CS∈V be the community obtained from the steps above, where nCS is the number of nodes in CS, nCS=|CS|, and mCS is the number of edges in CS and mCS=|{(u,v)∈E:u∈CS,v∈CS}| (Yang & Leskovec, 2015). A score close to 1 indicates that the communities in the network have a high interrelationship level. The formula (10) calculates this score.
f(CS)=mCSnCS(nCS−1)/2
(10)
3.
Correlogram of stock correlations
The Pearson correlation coefficient is used to delve into the dynamics of the stock market by examining the closing prices of stocks. This step is important to see how individual stocks move in relation to one another. It quantifies the strength (magnitude of the correlation) and direction (positive or negative correlation) of these relationships, aiding in the identification of underlying market trends and patterns. We depict the correlation in a correlogram as shown in Figure 2.
Figure 2.
Correlogram of stock correlation (a) before, (b) during, and (c) after COVID-19. The x-axis and y-axis represent 30 stock indexes in the financial sector. Blue indicates a positive correlation and red indicates a negative correlation between stocks. The shape represents the subsector of the stock: a triangle is a bank, a square is an insurance company, and a circle is "other financial services" companies.
The data shows a significant increase in positive correlation during COVID-19, as shown in Figure 2(b), in stark contrast to the periods before COVID-19, as shown in Figure 2(a), and after COVID-19, as shown in Figure 2(c). The proportion of positive correlations out of all pairs before COVID-19 is 59.08%, during COVID-19 is 86.90%, and after COVID-19 is 59.54%, which clearly shows the sharp increase during a crisis or turbulent period, revealing a shift in how stocks move in relation to each other. Moreover, the strength of the positive correlation pairs also increases during COVID-19, which is depicted with a dark shade of blue. This is in line with several studies that have found a high number of positive correlations between the stocks during the COVID-19 period (Aslam et al., 2020; Bahari et al., n.d.; Dellow et al., n.d.; Memon, 2022). In addition, the high positive correlation among stocks during COVID-19 can lead to increased risk and volatility in the market (J. Wu et al., 2022). This can make it difficult for investors to diversify their portfolios and protect against market downturns. This trend is even more concerning when we consider the banking sector, where a high degree of interdependence suggests that the sector may be vulnerable to shocks and fluctuations in the financial markets.
Therefore, some investors seek negatively correlated stocks to diversify their portfolios and reduce risk (Bahaludin et al. 2022). By strategically incorporating negatively correlated stocks, investors can offset potential losses in one stock with gains in another, leading to a more resilient portfolio. Based on the correlogram in Figure 2, we can identify stocks with a negative correlation pair. Particularly during COVID-19, there are four stocks (APES, BMYS, JHHS, and KNNK; all stocks are in the "other financial services" subsector) that have the most negative correlation pairs compared to the others. Although generally, the strength of the negative correlation between stocks during COVID-19 is weaker compared to before and after COVID-19; investors may pick the stocks with a negative correlation to build a relatively balanced portfolio that is less vulnerable to market fluctuations.
Table 2 contains descriptive statistics of Pearson correlation before, during, and after COVID-19. The mean correlation before COVID-19 was 0.2052, indicating a moderate level of interdependence among stocks. During COVID-19, the mean correlation is 0.5158, suggesting a higher degree of association among these stocks; the mean correlation after COVID-19 is 0.1284. There are also several studies that show a tighter correlation between the stocks and a high mean of correlation during the crisis period (Lee & Nobi, 2018; Memon & Yao, 2019; Nobi et al., 2014; Xia et al., 2018; Yao & Memon, 2019).
Table 2.
Descriptive statistics of Pearson correlation coefficients of stock prices before, during, and after COVID-19.
Statistics of correlation
Before COVID-19
During COVID-19
After COVID-19
Mean, ¯ρij
0.2052
0.5158
0.1284
Standard deviation, σ
0.5090
0.3557
0.4418
Maximum correlation value in P, max(ρij)
0.9651
0.9545
0.9051
Minimum correlation value in P, min(ρij)
−0.9147
−0.5399
−0.8661
Note: 1. Mean of correlation, ¯ρij and standard deviation, σ of correlation based on stock prices before, during, and after COVID-19. 2. Maximum, max(ρij) and minimum, min(ρij) correlation values mean the highest and lowest Pearson correlations between stocks i and j in a correlation matrix P.
Before the outbreak of COVID-19, the maximum correlation of 0.9651 was observed, indicating an exceptionally strong positive relationship during that period. In contrast, the minimum correlation during this period was −0.9147, signifying a strong negative relationship. During the COVID-19 pandemic there was a strong positive relationship with the highest correlation of 0.9545. The minimum correlation of −0.5399 has a weak relationship compared to the other periods. The financial industry kept developing as the global economy gradually recovered from the COVID-19 epidemic. The highest correlation recorded after COVID-19 was 0.9051, indicating a highly significant positive association. The minimum correlation after COVID-19, on the other hand, was −0.8611, indicating a very adverse association.
The performance of the stock market is closely intertwined with various economic, social, and geopolitical factors. The pandemic necessitated government actions like lockdowns, travel restrictions, and fiscal support to mitigate its effects (Azah et al., 2020; Keh & Tan, 2021; Shah et al., 2020). While these measures were imperative for public health and the economy, they injected considerable ambiguity into financial markets, leading to unparalleled levels of volatility and uncertainty (Haroon & Rizvi, 2020). Our results show that the stocks have high dependencies and little variation. This results in significant fluctuations in stock prices (Mamaysky, 2023), because the stock prices incorporate available information about a market at that particular time (Aldhamari et al., 2023), which reflects the prevailing market circumstances.
4.
Network characteristics of G19 (before COVID-19), G20 and G20' (during COVID-19), and G21 (after COVID-19)
To investigate the network structure and connectivity of our data we use networks. The definitions of the metrics we use are explained in Section 2. Table 3 contains the network properties for the four networks representing the three periods, namely G19 (before COVID-19), G20 (during COVID-19), G20' (during COVID-19 with adjusted density), and G21 (after COVID-19), which were built based on different thresholds—except for G20', which we will explain later. Note that the threshold values themselves vary among the periods, aligning with the distinctive market conditions and dynamics of each period explained in the methods.
Table 3.
The network properties for G19 (before COVID-19), G20 and G20' (during COVID-19), and G21 (after COVID-19).
Network properties
G19
G20
G20'
G21
Threshold, θ
0.7142
0.8715
0.8
0.5702
Number of edges, m
100
33
88
94
Number of positive edges, ρij≥θ
87
33
88
60
Number of negative edges, ρij≤−θ
13
0
0
34
Density, d
0.2299
0.0758
0.2023
0.2161
Average weighted degree, ⟨s⟩
5.5879
1.9903
5.0461
4.3219
Average weighted clustering coefficient, ⟨C⟩
0.4510
0.3863
0.5177
0.4010
Transitivity, T
0.8301
0.6429
0.6229
0.6564
Note: Network properties consist of a variety of metrics that depict the characteristics, structure, and behavior of a network. 1. The threshold value, θ, for G19, G20, and G21 is the sum of the mean and their standard deviation of the correlation coefficient from Table 2, which is θ(G)=¯ρij+σ based on the respective year. Meanwhile, G20′ was selected based on the resulting density that was comparable to G19 and G21. 2. The number of edges m is the count of the connections between stocks in the network. 3. The number of positive edges ρij≥θ is the count of connections with positive correlation. 4. The number of negative edges ρij≤−θ is the count of connections with negative correlation. 5. Density d is the ratio of the number of edges in a network to the maximum potential number of edges. High d shows a dense network. 6. The average weighted degree ⟨s⟩ is the average of the sum of the weighted edges (correlation between two stocks) that each node (stock) has in the network. A high ⟨s⟩ shows a high connection and strong correlations between the stock. 7. The average weighted clustering coefficient ⟨C⟩ is the fraction of the intensity of neighbors of nodes that are connected to each other indicating the tendency of nodes to form tightly knit clusters. A high ⟨C⟩ shows a high tendency for stocks to form a group. 8. Transitivity T is the ratio of the actual triangles (three nodes are connected to each other) in the network to all the potential triangles that could exist in the network. A high T suggests that the stocks are well connected in forming triangular connections in the network.
The highest threshold is 0.8715 for the G20, corresponding to the period during COVID-19. This high threshold is a result of the strong connectivity and increased association that have been seen throughout this turbulent period. Meanwhile, G21 has the lowest threshold, 0.5702, which may indicate a shift in market dynamics and less interconnectedness among the stocks. The threshold for G19 is 0.7142. This intermediate threshold illustrates the period before COVID-19 stock correlation patterns.
Thus, the number of edges within each of the three networks varies. These networks distinguish between edges with positive correlations, referred to as positive edges, and those with negative correlations, referred to as negative edges. Once we use the threshold, G19 has the highest number of edges, with 100 edges composed of 87 positives and 13 negative edges. G19 exhibits a high proportion, with 87% of its edges being positive. The number of edges in the G20 is 33, comprising 100% positive edges. This indicates an overwhelming synchronized movement and a strong tendency for stocks to move in tandem during uncertainties and market volatility brought about by the pandemic (Aslam et al., 2020; Memon, 2022; Xia et al., 2018). Lastly, G21 has 94 edges; 60 are positive and 34 are negative edges, displaying a proportion of 63% positive edges. The presence of both positive and negative edges in G21 reflects a more balanced and diverse correlation structure compared to the other periods, which may be reflective of a shift away from the pronounced market uncertainty experienced during the pandemic.
The density values provide quantitative measures of how densely connected the networks are during each period. G19 has a relatively significant portion of connections among nodes with a density of 0.2299, whereas G21 has a density of 0.2161 that is clearly higher than G20 (0.0758) but slightly lower than G19, with a comparable level of interconnectedness among nodes. G20 has a density that is different in magnitude from G19 and G21, thus leading to a sparser network compared to the other periods. Some have suggested that during the turbulent times of the pandemic, the low density could potentially reflect increased market volatility and unpredictability (Memon, 2022). However, this low density of G20 makes it less comparable with G19 and G21 since it captures less of the interaction due to the high threshold value (mean).
Therefore, utilizing just mean and standard deviations to obtain a threshold for building networks may not accurately capture the underlying patterns during crises, particularly when comparing networks with substantial density disparities. To mitigate this effect, we have chosen a threshold designed to yield a network density within a comparable range to those of G19 and G21. We shall refer to this approach as the threshold method with adjusted density and we named the network G20'. A threshold of 0.8 was selected to produce a network with a density comparable to that of the other networks, yielding a density of 0.2023. G20' has 88 more edges than G20. Notably, after thresholding, both networks only contain positive edges, implying that the negative correlations for 2020 during COVID-19 times are negligible.
In addition, the average weighted degree for G20 further highlighted this sparse characteristic, since G20 (⟨s⟩=1.9903) has a lower value than G19 (⟨s⟩=5.5879) and G21 (⟨s⟩=4.3219). This finding highlights the small number of nodes that have high correlation connected in the G20 network. G20' yields a high average weighted degree (⟨s⟩=5.0461), indicating that on average, its nodes experience strong connections, which is in line with the herding behavior expected during a crisis.
To further investigate the network's structure and connectivity, we look at the network's average weighted clustering coefficient and transitivity. The average weighted clustering coefficient explores the presence of cohesive groups (groups that contain nodes that are tightly connected to each other) within the network and shows that nodes in the network tend to have neighbors that are themselves connected to each other (Moody & Coleman, 2015).
G19 has a high average weighted clustering coefficient of 0.4510. This suggests that, before COVID-19, the network had a robust presence of small-scale substructures within the network and exhibited clustering coefficient behavior, indicating the nodes were tightly connected. G21 has a weighted average clustering coefficient of 0.4010, which is relatively comparable to G19. G20, on the other hand, has the lowest average weighted clustering coefficient of 0.3863, showing a decrease in the tendency for nodes to form such tight local clusters. It may indicate that G20 is more rigid to random node failures because of the low local weighted clustering coefficient structures that are less likely to maintain connectivity compared to other networks with higher average weighted clustering coefficients. However, this is probably the result of it being much less dense than the G19 as well as G20. In contrast, G20' exhibits the highest average weighted clustering coefficient with 0.5177; this reflects the presence of significant structural clusters within the network, indicating that its nodes tend to be densely connected and thus mirroring the expected herding behavior.
Transitivity measures the likelihood of nodes in a network being connected in triangles. G19 has the highest transitivity of 0.8301, implying that it is composed of well-connected nodes and has many stocks that are connected in triangles. G20 has a low transitivity of 0.6429 and G21 has a transitivity of 0.6564, slightly higher than G20, which may suggest a partial recovery in clustering behavior. Conversely, G20' exhibits the lowest transitivity, at 0.6229. This suggests that its low transitivity is not driven by the sparseness of G20 but rather reflects the weaker triadic closure and implies that the direct connection between nodes is more prominent in the network during COVID-19.
The network properties and connectivity patterns evolved significantly across the different periods, reflecting the impact of the COVID-19 pandemic. Before COVID-19 (G19), there was high connectivity and robust substructures. During the pandemic (G20), there was a notable increase in threshold and synchronization among stocks, resulting in sparse networks with fewer clusters. Adjusting the threshold (G20') created a denser network, emphasizing strong connections and structural clustering. After COVID-19 (G21), there was a shift toward reduced interconnectedness and more balanced correlation structures, indicating a move away from the pronounced market uncertainty experienced during the pandemic. In summary, these results portray the evolving dynamics of network properties and connectivity within correlation networks across different periods, emphasizing the impact of the COVID-19 pandemic on these structural patterns.
5.
Community structure of G19 (before COVID-19), G20 and G20' (during COVID-19), and G21 (after COVID-19)
In the previous sections, we looked at the connectivity of the network and found that networks during COVID-19 reflected a period of increased market volatility and potential disconnections among the stocks, as shown by the average weighted degree, average weighted clustering coefficient, and transitivity in G20 and G20'. Therefore, in this subsection, we analyze the community structure for these four networks using the Louvain algorithm, to investigate the community's connectivity in the network.
The modularity value indicates the strength of community structures in the network, with values exceeding 0.3 serving as a benchmark for a good quality community structure in the network. Meanwhile, the average edge density provides further insights into the connectivity within the detected communities; a higher value represents a higher interrelationship.
Table 4 shows the community properties for G19, G20, G20', and G21. It shows that G19 has the lowest modularity of 0.0695 and the lowest average internal edge density of 0.1981, implying that G19 has a weaker tendency to form a significant community. Even though G20 has the highest modularity value of 0.4895, it holds a lower average internal edge density of 0.2957 compared to G20'. This value seems to be amplified in G21' despite the lower modularity. Both networks indicate a substantial increase in the strength of community structures indicated by Q during the COVID-19 pandemic. This suggests that modularity is relatively robust to various threshold values and a high modularity value may be a good indicator of a crisis. This is similar to another study in which the network had the highest modularity during crises (Xia et al., 2018). The stocks were more likely to group into distinct communities with relatively strong internal connections, potentially reflecting the impact of market volatility and sectoral responses to the pandemic. G21 shows a modularity value of 0.2904 with the highest average internal edge density of 0.5455. Its modularity was lower than G20 and G20', suggesting that post-pandemic, the network maintained a moderate level of community structure. Communities within G21 had the densest internal connectivity, implying that the stocks within the same community were highly interconnected.
Table 4.
Community properties for G19, G20, G20', and G21.
Community properties
G19
G20
G20'
G21
Modularity, ¯Q
0.0695
0.4895
0.3357
0.2904
Average internal edge density, f(CS)
0.1981
0.2957
0.4268
0.5455
Number of communities (exclude isolated nodes)
4
5
4
4
Isolated nodes
9
8
2
1
Note: Community properties consist of a variety of metrics and characteristics that depict the structure of a community formed in a network. 1. Modularity, ¯Q, is a value that indicates the strength or quality of the community grouping in the network. The higher the modularity, the higher the quality. 2. Average internal edge density, f(CS), is a value that reflects the connectivity structure of a community. A high f(CS) means that the connectivity between stocks in each community formed in the network is high. 3. The number of communities (excluding isolated nodes) is the count of distinct groups of nodes (stocks) formed by using the Louvain algorithm. 4. Isolated nodes refer to a node that is disconnected (has no edges) in the network.
The number of communities for G19, G20', and G21 is four, while G20 has the highest number of communities (excluding isolated nodes), which is five. The increased number of communities in G20 might be due to the higher threshold, thus potentially missing out on capturing the true dynamics. This highlights the importance of considering not only the threshold but also the density of the network. Interestingly, G20' produces the same number of communities as both G19 and G21. We visualize the communities of these networks in Figure 3. The nodes of each community are colored differently except for isolates, which are all gray. The color of the edges represents the sign and magnitude of the correlation; positive edges are blue and negative edges are red. Edge thickness represents the strength of relationships (the absolute value of correlation). The thicker red edge shows a strong negative relationship (closer to -1), while the thicker blue edge shows a strong positive relationship (closer to 1). The shape of the node represents the subsector of the stocks. Note that the presence of communities sharing identical colors across different networks does not invariably imply their equivalence as identical communities in all networks. While certain stocks may be consistently assigned the same color across the three networks, it is crucial to recognize that these stocks may still pertain to different communities within each network.
Figure 3.
Communities in (a) G19, (b) G20, (c) G20', and (d) G21. The shape of the nodes represents the subsector of stocks, a triangle is a bank, a square is an insurance company, and a circle is an "other financial services" company. The color of the nodes represents their respective community given by the Louvain algorithm for community detection except for isolated nodes in gray.
The community structures in G19, G20, G20', and G21, as shown in Figure 3(a), Figure 3(b), Figure 3(c), and Figure 3(d), respectively, reveal apparent patterns of how stocks are split up and grouped together. In G19, the largest community is green and comprises 10 nodes. Within this green community, we find a mix of financial entities, including five banks, one insurance company, and four "other financial services" companies. The strength of their connections is evident in the densely thick edges that interconnect these nodes, indicating a high level of correlation among its members. Next, the purple community consists of six members, including three banks, two insurance companies, and one "other financial service" company. The blue community has only two nodes, both belonging to banks. Lastly, the orange community has three nodes, consisting of one insurance company and two "other financial services" companies.
Meanwhile, G20 depicts several smaller communities. The largest community in this network is shown in blue and comprises 10 nodes, five banks, two insurance companies, and three "other financial services" companies. The orange community has four nodes, all belonging to banks. The green community consists of three nodes, all representing "other financial services" companies. Lastly, the red community consists of two nodes, one insurance company, and one "other financial service" company. G20 exhibits distinct community structures that are disconnected from each other, forming five components. This results in a high modularity value (0.4895) due to the strong separation between these communities.
However, G20', with two components, produces four communities. It identifies three communities within one big component, yet still exhibits a considerably high modularity value, suggesting a significant underlying community structure. The largest community in G20' is colored green and comprises 11 nodes, five banks, three insurance companies, and three "other financial services" companies. The orange community has six nodes, consisting of four insurance companies and two "other financial services" companies. The purple community also has six nodes, comprised of five banks and one insurance company. Lastly, the blue community has five nodes, and all are "other financial services" companies.
For G21, the largest community is the green one comprising 11 nodes, five banks, five insurance companies, and one "other financial services" company. The purple community has 10 nodes, including one bank, three insurance companies, and six "other financial services" companies. The blue community has only two nodes, representing banks. The orange community has six nodes, two banks, one insurance company, and three "other financial services" companies. These community structures in G21 reflect the evolving dynamics in the post-COVID-19 period, highlighting the interconnectedness of various financial entities within each community.
When stocks from the same subsector, such as banks, are the only ones that group together in the same community, it can indicate a concentration of risk. Particularly during market stress and turbulent periods, if adverse events or market shocks affect that subsector, all the stocks within that community could be simultaneously vulnerable, potentially leading to amplified losses. In our analysis, G20 exhibits two such homogenous communities, while G20' shows one, highlighting the potential vulnerability of these sectors within the network. In addition, G20 and G20' are only composed of positive edges, which makes the communities particularly sensitive to external factors affecting their subsector. They may respond similarly to news, economic trends, or regulatory changes, making them vulnerable to systemic risks (Hu et al., 2015). This community structure analysis provides valuable insights into how stocks are grouped during each period, potentially driven by sectoral similarities and shared market responses.
6.
Discussion
Our correlation analysis across three periods (before, during, and after COVID-19) reveals significant shifts in stock market dynamics. We observed a surge in positive correlations during the pandemic, tighter interdependence among stocks, and reduced correlation dispersion. These changes may have been influenced by the Malaysian government's implementation of several measures to support the financial sector during COVID-19, such as immediate cashflow relief and an economic stimulus package, including a loan moratorium (Bank Negara Malaysia, 2020). Since the relationship between the stocks can be seen from the price movement of the stocks, represented as correlations between the stocks, we use networks to visualize this relationship. We built four networks, which represent three periods.
The networks revealed dynamic changes through various network properties. Especially during the COVID-19 pandemic, we observed heightened connectivity and an overwhelming dominance of positive correlations in the network, indicating synchronized stock movements amidst market uncertainties. These shifts highlight the profound impact of the pandemic on stock market network dynamics and connectivity. It is crucial to highlight the limitations of the threshold method during market crises. While it efficiently generates sparse networks, it can inadvertently omit crucial connections, misrepresenting the underlying network structure and failing to accurately reflect the complex relationships between stocks in the market during COVID-19. Thus, the novelty of our method in choosing a threshold is that we suggest using density as a counterbalance to only using the mean and standard deviation.
The connectivity of the networks was analyzed using average weighted degree, average clustering coefficient, and transitivity as global metrics of the network. A high average weighted degree, specifically in the networks during COVID-19 that only have positive edges, indicates that many stocks are moving together in the same direction, which is a sign of increased systemic risk in the financial system. A higher average weighted clustering coefficient indicates tighter clusters with strong relationships, implying potentially amplified herding. During a crisis like the COVID-19 pandemic, a surge in the average weighted clustering coefficient supports the notion of herding behavior in such turbulent times (Huang et al., 2024) and has a positive effect on collective behavior in the financial market (Kumar & Deo, 2012). However, this metric alone does not fully capture the dynamics between stocks. Transitivity, a complementary concept, asks if their shared connections amplify correlations, potentially leading to information cascades or herding. High transitivity before and after crises suggests collective behavior within clusters, while low transitivity during COVID-19 for G20 and G20' indicates independent decisions based on shared economic factors; this metric is sensitive to COVID-19-induced crises (Miśkiewicz & Bonarska-Kujawa, 2022). Moreover, the cyclical nature of business activity, intertwined with the presence of economic uncertainty during crises, directly influences the observed patterns of herding behavior in stock returns (Ahn et al., 2024).
Modularity is used to evaluate the existence of structure or patterns within a network, as it measures the degree to which the network can be partitioned into distinct clusters or communities. In other words, it quantifies how well the nodes in a network can be grouped into subsets that are more densely connected with each other than with the rest of the network. The community structure during COVID-19 exhibited the highest modularity and it is high both for G20 and G20', indicating that it is somewhat robust to varying thresholds, indicating stronger community structures during the pandemic but also vulnerable to the risk posed by the pandemic.
7.
Conclusions
In this research, we propose a new pipeline to analyze and visualize stock interdependencies and the dynamics of the financial crisis, i.e., COVID-19, with a particular emphasis on using correlation to obtain networks and modularity in the financial sector of Bursa Malaysia. Our correlation analysis across three periods (before, during, and after COVID-19) reveals significant shifts in stock market dynamics. By applying graph theory and network science to correlation-based networks and community analysis, we have unraveled significant insights into the evolving connectivity patterns among stocks, highlighting moments of crisis-induced turbulence and post-pandemic recovery. Moreover, for future research, we can include more sectors of the stock market in Malaysia to explore the network of other sectors and their communities, or cross-country comparisons of global correlations, networks, and communities. Additionally, delving deeper into the structural changes within communities and their implications for systemic risk management offers promising avenues for further investigation. This research aims to give a better understanding of the impact of financial crises, specifically COVID-19, on the network and community of stock markets in Malaysia.
Acknowledgments
This work was supported by a research grant FRGS/1/2020/STG06/UKM/02/8 from the Malaysian Ministry of Higher Education and Universiti Kebangsaan Malaysia.
Use of AI tools declaration
The authors declare they have not used Artificial Intelligence (AI) tools in the creation of this article.
Conflict of interest
All authors declare no conflicts of interest in this paper.
References
[1]
Abdul Razak F, Ahmad Shahabuddin F, Sarah Nik Zamri N (2019) Analyzing research collaborations within the School of Mathematical Sciences, UKM using Graph Theory. J Physics: Conference Series 1212. https://doi.org/10.1088/1742-6596/1212/1/012033 doi: 10.1088/1742-6596/1212/1/012033
[2]
Abdul Razak F, Expert P (2021) Modelling the Spread of Covid-19 on Malaysian Contact Networks for Practical Reopening Strategies in an Institutional Setting. Sains Malaysiana 50: 1497–1509.
[3]
Ahn K, Cong L, Jang H, et al. (2024) Business cycle and herding behavior in stock returns: Theory and evidence. Financ Innovation 10: 6. https://doi.org/10.1186/s40854-023-00540-z doi: 10.1186/s40854-023-00540-z
[4]
Aldhamari R, Ku Ismail KNI, Al-Sabri HMH, et al. (2023) Stock market reactions of Malaysian firms and industries towards events surrounding COVID-19 announcements and number of confirmed cases. Pacific Account Rev 35: 390–411. https://doi.org/10.1108/PAR-08-2020-0125 doi: 10.1108/PAR-08-2020-0125
[5]
Ashraf BN (2020) Economic impact of government interventions during the COVID-19 pandemic: International evidence from financial markets. J Behav Exp Financ 27: 100371. https://doi.org/10.1016/j.jbef.2020.100371 doi: 10.1016/j.jbef.2020.100371
[6]
Aslam F, Mohmand YT, Ferreira P, et al. (2020) Network analysis of global stock markets at the beginning of the coronavirus disease (Covid-19) outbreak. Borsa Istanb Rev 20: S49–S61. https://doi.org/https://doi.org/10.1016/j.bir.2020.09.003 doi: 10.1016/j.bir.2020.09.003
[7]
Azah N, Othman J, Lugova H, et al. (2020) Malaysia's approach in handling COVID-19 onslaught: Report on the Movement Control Order (MCO) and targeted screening to reduce community infection rate and impact on public health and economy. J Infect Public Heal 13: 1823–1829. https://doi.org/10.1016/j.jiph.2020.08.007 doi: 10.1016/j.jiph.2020.08.007
[8]
Bahaludin H, Abdullah MH, Siew LW, et al. (2019) The investigation on the impact of financial crisis on bursa malaysia using minimal spanning tree. Math Stat 7: 1–8. https://doi.org/10.13189/ms.2019.070701 doi: 10.13189/ms.2019.070701
[9]
Bahaludin H, Mahamood FNA, Abdullah MH, et al. (2022) The Impact of the COVID-19 Pandemic on the Interconnectedness of Stocks in Bursa Malaysia. Matematika 38: 69–82. https://doi.org/10.11113/matematika.v38.n2.1355 doi: 10.11113/matematika.v38.n2.1355
[10]
Bahari NN, Azzimi NSM, Ismail M, et al. (n.d.) Comparing the Behaviour of Malaysian Financial Sector Stocks of Pre and During the Coronavirus Outbreak Using Correlation. AIP Conference Proceedings, In press.
[11]
Bahari NN, Expert P, Razak FA (2023) An Analysis of Actors in Malay Films: Small Worlds, Centralities and Genre Diversity. Mathematics 11: 1252. https://doi.org/10.3390/math11051252 doi: 10.3390/math11051252
[12]
Baker SR, Bloom N, Davis SJ, et al. (2020) The unprecedented stock market reaction to COVID-19. Rev Asset Pricing Stud 10: 742–758. https://doi.org/10.1093/rapstu/raaa008 doi: 10.1093/rapstu/raaa008
[13]
Bank Negara Malaysia (2020) Coping with COVID-19: Risk Developments in the First Half of 2020.
[14]
Blondel VD, Guillaume JL, Lambiotte R, et al. (2008) Fast unfolding of communities in large networks. J Stat Mech-Theory E 10: 2–10. https://doi.org/10.1088/1742-5468/2008/10/P10008 doi: 10.1088/1742-5468/2008/10/P10008
[15]
Bouhali H, Dahbani A, Dinar B (2022) How Did Financial Markets Respond to COVID-19 and Governmental Policies During the Different Waves of the Pandemic? Asian Econ Lett 4: 1–5. https://doi.org/10.46557/001c.37191 doi: 10.46557/001c.37191
Cevik E, Kirci Altinkeski B, Cevik EI, et al. (2022) Investor sentiments and stock markets during the COVID-19 pandemic. Financ Innov 8: 69. https://doi.org/10.1186/s40854-022-00375-0 doi: 10.1186/s40854-022-00375-0
[18]
Chakrabarti P, Jawed MS, Sarkhel M (2021) COVID-19 pandemic and global financial market interlinkages: a dynamic temporal network analysis. Appl Econ 53: 2930–2945. https://doi.org/10.1080/00036846.2020.1870654 doi: 10.1080/00036846.2020.1870654
[19]
Clauset A, Newman MEJ, Moore C (2004) Finding community structure in very large networks. Phys Rev E 70: 066111. https://doi.org/10.1103/PhysRevE.70.066111 doi: 10.1103/PhysRevE.70.066111
[20]
Dellow AA, Ismail M, Bahaludin H, et al. (2024) Comparing the Impacts of Past Major Events on the Network Topology Structure of the Malaysian. J Knowl Econ 2024: 1–43. https://doi.org/10.1007/s13132-024-02038-0 doi: 10.1007/s13132-024-02038-0
[21]
Dellow AA, Razak F, Ismail M, et al. (n.d.) Comparison of the 2008 Global Financial Crisis, 2015 Stock Market Crash and COVID-19 Pandemic: Impacts on th Consumer Products and Services Sector of Malaysia using Pearson Correlation. AIP Conference Proceedings, In press.
Fortunato S (2010) Community detection in graphs. Phys Rep 486: 75–174. https://doi.org/10.1016/j.physrep.2009.11.002 doi: 10.1016/j.physrep.2009.11.002
[24]
Girvan M, Newman MEJ (2002) Community structure in social and biological networks. P Natl Acad Sci Usa 99: 7821–7826. https://doi.org/10.1073/pnas.122653799 doi: 10.1073/pnas.122653799
[25]
Goodell JW (2020) COVID-19 and finance: Agendas for future research. Financ Res Lett 35: 101512. https://doi.org/https://doi.org/10.1016/j.frl.2020.101512 doi: 10.1016/j.frl.2020.101512
[26]
Haroon O, Rizvi SAR (2020) COVID-19: Media coverage and financial markets behavior—A sectoral inquiry. J Behav Exp Financ 27: 100343. https://doi.org/10.1016/J.JBEF.2020.100343 doi: 10.1016/J.JBEF.2020.100343
[27]
Hassan S, Khodri M, Jati K, et al. (2023) The Impact of COVID-19 on the Malaysia Stock Market: Finance Sector. Int J Adv Res Econ Financ 4: 120–127. https://doi.org/10.55057/ijaref.2022.4.4.13 doi: 10.55057/ijaref.2022.4.4.13
[28]
Hong H, Bian Z, Lee CC (2021) COVID-19 and instability of stock market performance: evidence from the U.S. Financ Innov 7: 1–18. https://doi.org/10.1186/s40854-021-00229-1 doi: 10.1186/s40854-021-00229-1
[29]
Hu D, Schwabe G, Li X (2015) Systemic risk management and investment analysis with financial network analytics: research opportunities and challenges. Financ Innov 1: 1–9. https://doi.org/10.1186/s40854-015-0001-x doi: 10.1186/s40854-015-0001-x
[30]
Huang W, Wang H, Wei Y, et al. (2024) Complex network analysis of global stock market co‑movement during the COVID‑19 pandemic based on intraday open‑high‑low‑close data. Financ Innov 10: 7. https://doi.org/10.1186/s40854-023-00548-5 doi: 10.1186/s40854-023-00548-5
[31]
Hui ECM, Chan KKK (2022) How does Covid-19 affect global equity markets? Financ Innov 8: 25. https://doi.org/10.1186/s40854-021-00330-5 doi: 10.1186/s40854-021-00330-5
[32]
Keh CG, Tan YT (2021) COVID 19: The impact of government policy responses on economic activity and stock market performance in Malaysia. J Ekonomi Malaysia 55: 123–133. https://doi.org/10.17576/JEM-2021-5501-9 doi: 10.17576/JEM-2021-5501-9
[33]
Kostylenko O, Rodrigues HS, Torres DFM (2019) The spread of a financial virus through Europe and beyond. AIMS Math 4: 86–98. https://doi.org/10.3934/Math.2019.1.86 doi: 10.3934/Math.2019.1.86
[34]
Kumar S, Deo N (2012) Correlation and network analysis of global financial indices. Phys Rev E 86: 1–8. https://doi.org/10.1103/PhysRevE.86.026101 doi: 10.1103/PhysRevE.86.026101
[35]
Lancichinetti A, Saramäki J, Kivelä M, et al. (2010) Characterizing the community structure of complex networks. PLoS ONE 5: 1–8. https://doi.org/10.1371/journal.pone.0011976 doi: 10.1371/journal.pone.0011976
[36]
Lee JW, Nobi A (2018) State and Network Structures of Stock Markets Around the Global Financial Crisis. Comput Econ 51: 195–210. https://doi.org/10.1007/s10614-017-9672-x doi: 10.1007/s10614-017-9672-x
[37]
Li B, Pi D (2018) Analysis of global stock index data during crisis period via complex network approach. PLoS ONE 13: 1–16. https://doi.org/10.1371/journal.pone.0200600 doi: 10.1371/journal.pone.0200600
[38]
Liu H, Manzoor A, Wang C, et al. (2020) The COVID-19 Outbreak and Affected Countries Stock Markets Response. Int J Env Res Public Health 17: 2800. https://doi.org/10.3390/ijerph17082800 doi: 10.3390/ijerph17082800
[39]
Mahamood FNA, Bahaludin H, Abdullah MH (2019) Network analysis of shariah-compliant stocks on Bursa Malaysia by using minimum spanning tree (MST). AIP Conference Proceedings, 2138. https://doi.org/10.1063/1.5121093 doi: 10.1063/1.5121093
[40]
Mamaysky H (2023) News and Markets in the Time of COVID-19. SSRN Electronic J. https://doi.org/10.2139/SSRN.3565597 doi: 10.2139/SSRN.3565597
[41]
Mantegna RN (1999) Hierarchical structure in financial markets. Eur Phys J B 11: 193–197. https://doi.org/10.1007/S100510050929/METRICS doi: 10.1007/S100510050929/METRICS
[42]
Marti G, Nielsen F, Bińkowski M, et al. (2021) A Review of Two Decades of Correlations, Hierarchies, Networks and Clustering in Financial Markets. Prog Inf Geometry-Theor Appl 2021: 245–274. https://doi.org/10.1007/978-3-030-65459-7_10 doi: 10.1007/978-3-030-65459-7_10
[43]
Mazur M, Dang M, Vega M (2021) COVID-19 and the march 2020 stock market crash. Evidence from S & P1500. Financ Res Lett 38: 101690. https://doi.org/10.1016/j.frl.2020.101690 doi: 10.1016/j.frl.2020.101690
[44]
Memon BA (2022) Analysing network structures and dynamics of the Pakistan stock market across the uncertain time of global pandemic (Covid-19). Econ J Emerg Mark 14: 85–100. https://doi.org/10.20885/ejem.vol14.iss1.art7 doi: 10.20885/ejem.vol14.iss1.art7
[45]
Memon BA, Yao H (2019) Structural Change and Dynamics of Pakistan Stock Market during Crisis: A Complex Network Perspective. Entropy 21: 248. https://doi.org/10.3390/E21030248 doi: 10.3390/E21030248
[46]
Memon BA, Yao H (2021) Correlation structure networks of stock market during terrorism: evidence from Pakistan. Data Sci Financ Econ 1: 117–140. https://doi.org/10.3934/dsfe.2021007 doi: 10.3934/dsfe.2021007
[47]
Memon BA, Yao H, Tahir R (2020) General election effect on the network topology of Pakistan's stock market: network-based study of a political event. Financ Innov 6: 1–14. https://doi.org/10.1186/s40854-019-0165-x doi: 10.1186/s40854-019-0165-x
[48]
Millington T, Niranjan M (2021) Stability and similarity in financial networks—How do they change in times of turbulence? Physica A 574: 126016. https://doi.org/10.1016/j.physa.2021.126016 doi: 10.1016/j.physa.2021.126016
[49]
Ming KLY, Jais M (2021) Effectiveness of moving average rules during COVID-19 pandemic: Evidence from Malaysian stock market. J Ekonomi Malaysia 55: 87–98. https://doi.org/10.17576/JEM-2021-5501-6 doi: 10.17576/JEM-2021-5501-6
[50]
Miśkiewicz J, Bonarska-Kujawa D (2022) Evolving network analysis of S & P500 components: Covid-19 influence of cross-correlation network structure. Entropy 24. https://doi.org/10.3390/e24010021 doi: 10.3390/e24010021
[51]
Mohammed GAA, Ali AQA, Mohd NMA, et al. (2021) The Impact of COVID-19 on the Malaysian Stock Market: Evidence from an Autoregressive Distributed Lag Bound Testing Approach. J Asian Financ Econ 8: 1–9. https://doi.org/10.13106/JAFEB.2021.VOL8.NO7.0001 doi: 10.13106/JAFEB.2021.VOL8.NO7.0001
[52]
Mohd Rosli NAI, Tajuddin NII, Ulaganathan P, et al. (2023) Analysis of Stock Market Reaction in Malaysia During Covid-19 Pandemic via ARIMA. Mekatronika 5: 1–12. https://doi.org/10.15282/mekatronika.v5i1.9027 doi: 10.15282/mekatronika.v5i1.9027
Musa MH, Razak FA (2021) Directed network of Shariah-compliant stock in Bursa Malaysia. J Phys Conference Series 1988: 012019. https://doi.org/10.1088/1742-6596/1988/1/012019 doi: 10.1088/1742-6596/1988/1/012019
[55]
Newman MEJ (2006) Modularity and community structure in networks. P Natl Acad Sci Usa 103: 8577–8582. https://doi.org/10.1073/pnas.0601602103 doi: 10.1073/pnas.0601602103
[56]
Nobi A, Maeng SE, Ha GG, et al. (2014) Effects of global financial crisis on network structure in a local stock market. Physica A 407: 135–143. https://doi.org/10.1016/j.physa.2014.03.083 doi: 10.1016/j.physa.2014.03.083
[57]
Onnela JP, Saramäki J, Kertész J, et al. (2005) Intensity and coherence of motifs in weighted complex networks. Phys Rev E 71: 1–4. https://doi.org/10.1103/PhysRevE.71.065103 doi: 10.1103/PhysRevE.71.065103
Preis T, Kenett DY, Stanley HE, et al. (2012) Quantifying the behavior of stock correlations under market stress. Sci Rep 2: 1–5. https://doi.org/10.1038/srep00752 doi: 10.1038/srep00752
[60]
Qian L, Jiang Y, Long H (2023) What drives the dependence between the Chinese and global stock markets? Mod Financ 1: 12–16. https://doi.org/10.61351/mf.v1i1.5 doi: 10.61351/mf.v1i1.5
[61]
Rehman MU, Ahmad N, Shahzad SJH, et al. (2022) Dependence dynamics of stock markets during COVID-19. Emerg Mark Rev 51: 100894. https://doi.org/10.1016/j.ememar.2022.100894 doi: 10.1016/j.ememar.2022.100894
[62]
Rossetti G, Milli L, Cazabet R (2020) CDlib: A python library to extract, compare and evaluate communities from complex networks. CEUR Workshop Proc 2750: 2–5.
[63]
Roy RB, Sarkar UK (2011) Identifying influential stock indices from global stock markets: A social network analysis approach. Procedia Comput Sci 5: 442–449. https://doi.org/10.1016/j.procs.2011.07.057 doi: 10.1016/j.procs.2011.07.057
[64]
Saramäki J, Kivelä M, Onnela JP, et al. (2007) Generalizations of the clustering coefficient to weighted complex networks. Phys Rev E 75: 2–5. https://doi.org/10.1103/PhysRevE.75.027105 doi: 10.1103/PhysRevE.75.027105
[65]
Shah AUM, Safri SNA, Thevadas R, et al. (2020) COVID-19 outbreak in Malaysia: Actions taken by the Malaysian government. Int J Infect Dis 97: 108–116. https://doi.org/10.1016/J.IJID.2020.05.093 doi: 10.1016/J.IJID.2020.05.093
[66]
Song P, Ma X, Zhang X, et al. (2021) The influence of the SARS pandemic on asset prices. Pac-Basin Financ J 67: 101543. https://doi.org/https://doi.org/10.1016/j.pacfin.2021.101543 doi: 10.1016/j.pacfin.2021.101543
[67]
Song SI, Yazi E, Morni F, et al. (2021) Covid-19 and Stock Returns: Evidence From Malaysia. Int J Bank Financ 16: 111–140. https://doi.org/10.32890/ijbf2021.16.2.5 doi: 10.32890/ijbf2021.16.2.5
[68]
Sun J, Hou JW (2019) Monetary and Financial Cooperation Between China and the One Belt One Road Countries. Emerg Mark Financ Tr 55: 2609–2627. https://doi.org/10.1080/1540496X.2018.1540976 doi: 10.1080/1540496X.2018.1540976
[69]
Szczygielski JJ, Bwanya PR, Charteris A, et al. (2021) The only certainty is uncertainty: An analysis of the impact of COVID-19 uncertainty on regional stock markets. Financ Res Lett 43: 101945. https://doi.org/https://doi.org/10.1016/j.frl.2021.101945 doi: 10.1016/j.frl.2021.101945
[70]
Topcu M, Gulal OS (2020) The impact of COVID-19 on emerging stock markets. Financ Res Lett 36: 101691. https://doi.org/https://doi.org/10.1016/j.frl.2020.101691 doi: 10.1016/j.frl.2020.101691
[71]
Tse CK, Liu J, Lau FCM (2010) A network perspective of the stock market. J Empir Financ 17: 659–667. https://doi.org/10.1016/j.jempfin.2010.04.008 doi: 10.1016/j.jempfin.2010.04.008
[72]
Tumminello M, Aste T, Di Matteo T, et al. (2005) A tool for filtering information in complex systems. P Natl Acad Sci Usa 102: 10421–10426. https://doi.org/10.1073/pnas.0500298102 doi: 10.1073/pnas.0500298102
[73]
Tumminello M, Di Matteo T, Aste T, et al. (2007) Correlation based networks of equity returns sampled at different time horizons. Eur Phys J B 55: 209–217. https://doi.org/10.1140/epjb/e2006-00414-4 doi: 10.1140/epjb/e2006-00414-4
[74]
Wu J, Zhang C, Chen Y (2022) Analysis of risk correlations among stock markets during the COVID-19 pandemic. Int Rev Financ Anal 83: 102220. https://doi.org/https://doi.org/10.1016/j.irfa.2022.102220 doi: 10.1016/j.irfa.2022.102220
[75]
Wu S, Tuo M, Xiong D (2015) Network structure detection and analysis of Shanghai stock market. J Ind Eng Manage 8: 383–398. https://doi.org/10.3926/jiem.1314 doi: 10.3926/jiem.1314
[76]
Xia L, You D, Jiang X, et al. (2018) Comparison between global financial crisis and local stock disaster on top of Chinese stock network. Physica A 490: 222–230. https://doi.org/10.1016/j.physa.2017.08.005 doi: 10.1016/j.physa.2017.08.005
[77]
Yang J, Leskovec J (2015) Defining and evaluating network communities based on ground-truth. Knowl Inf Syst 42: 181–213. https://doi.org/10.1007/s10115-013-0693-z doi: 10.1007/s10115-013-0693-z
[78]
Yao H, Memon BA (2019) Network topology of FTSE 100 Index companies: From the perspective of Brexit. Physica A 523: 1248–1262. https://doi.org/10.1016/J.PHYSA.2019.04.106 doi: 10.1016/J.PHYSA.2019.04.106
[79]
Yaya O, Adenikinju O, Olayinka HA (2024) African stock markets' connectedness: Quantile VAR approach. Mod Financ 2: 51–68. https://doi.org/10.61351/mf.v2i1.70 doi: 10.61351/mf.v2i1.70
[80]
Zhang D, Hu M, Ji Q (2020) Financial markets under the global pandemic of COVID-19. Financ Res Lett 36: 101528. https://doi.org/https://doi.org/10.1016/j.frl.2020.101528 doi: 10.1016/j.frl.2020.101528
[81]
Zhu B, Zhang S, Zou J, et al. (2023) Structure connectivity and substructure connectivity of data center network. AIMS Math 8: 9877–9889.
[82]
Zuhud DA, Musa MH, Ismail M, et al. (2022) The Causality and Uncertainty of the COVID-19 Pandemic to Bursa Malaysia Financial Services Index's Constituents. Entropy 24. https://doi.org/10.3390/e24081100 doi: 10.3390/e24081100
This article has been cited by:
1.
Dariusz Siudak, Agata Świetlik,
Unsupervised learning modeling of the impact of Black Swan events on financial network reconfiguration: New insights from the COVID-19 outbreak and the Russia-Ukraine war,
2024,
03784371,
130277,
10.1016/j.physa.2024.130277
Nurun Najwa Bahari, Hafizah Bahaludin, Munira Ismail, Fatimah Abdul Razak. Network, correlation, and community structure of the financial sector of Bursa Malaysia before, during, and after COVID-19[J]. Data Science in Finance and Economics, 2024, 4(3): 362-387. doi: 10.3934/DSFE.2024016
Nurun Najwa Bahari, Hafizah Bahaludin, Munira Ismail, Fatimah Abdul Razak. Network, correlation, and community structure of the financial sector of Bursa Malaysia before, during, and after COVID-19[J]. Data Science in Finance and Economics, 2024, 4(3): 362-387. doi: 10.3934/DSFE.2024016
Table 1.
Name of companies and subsectors of 30 stocks under the financial services sector in Bursa Malaysia.
Stock symbol
Company
Subsector
AFIN
Affin Bank
Banking
AINM
Allianz Malaysia
Insurance
ALLI
Alliance Bank Malaysia
Banking
AMMB
AMMB Holdings
Banking
ANCR
Aeon Credit Service
Other financial services
APES
APEX Equity Holdings
Other Financial services
BIMB
Bank Islam Malaysia
Banking
BMYS
Bursa Malaysia
Other financial services
CIMB
CIMB Group Holdings
Banking
ECMI
ECM Libra Group
Other financial services
ELKD
Elk-Desa Resources
Other financial services
HLBB
Hong Leong Bank
Banking
HLCB
Hong Leong Financial Group
Banking
INSS
Insas
Other financial services
JHHS
Johan Holdings
Other financial services
KCDS
Kuchai Development
Other financial services
KNNK
Kenanga Investment Bank
Other financial services
LOND
LPI Capital
Insurance
MAAS
MAA Group
Insurance
MBBM
Malayan Banking
Banking
MBSS
Malaysia Building Society
Other financial services
MNLF
Manulife Holdings
Insurance
MNRB
MNRB Holdings
Insurance
MPHB
MPHB Capital
Insurance
PACO
Pacific and Orient
Insurance
PUBM
Public Bank
Banking
REDI
RCE Capital
Other financial services
RHBC
RHB Bank Berhad
Banking
TAKA
Syarikat Takaful Malaysia Keluarga
Insurance
TUNE
Tune Protect Group
Insurance
Note: 1 Stock symbol or ticker symbol is a unique letter assigned to a stock. 1. The subsector of a stock is categorized based on the definition of a company business provided by Bursa Malaysia.
Table 2.
Descriptive statistics of Pearson correlation coefficients of stock prices before, during, and after COVID-19.
Statistics of correlation
Before COVID-19
During COVID-19
After COVID-19
Mean, ¯ρij
0.2052
0.5158
0.1284
Standard deviation, σ
0.5090
0.3557
0.4418
Maximum correlation value in P, max(ρij)
0.9651
0.9545
0.9051
Minimum correlation value in P, min(ρij)
−0.9147
−0.5399
−0.8661
Note: 1. Mean of correlation, ¯ρij and standard deviation, σ of correlation based on stock prices before, during, and after COVID-19. 2. Maximum, max(ρij) and minimum, min(ρij) correlation values mean the highest and lowest Pearson correlations between stocks i and j in a correlation matrix P.
Table 3.
The network properties for G19 (before COVID-19), G20 and G20' (during COVID-19), and G21 (after COVID-19).
Network properties
G19
G20
G20'
G21
Threshold, θ
0.7142
0.8715
0.8
0.5702
Number of edges, m
100
33
88
94
Number of positive edges, ρij≥θ
87
33
88
60
Number of negative edges, ρij≤−θ
13
0
0
34
Density, d
0.2299
0.0758
0.2023
0.2161
Average weighted degree, ⟨s⟩
5.5879
1.9903
5.0461
4.3219
Average weighted clustering coefficient, ⟨C⟩
0.4510
0.3863
0.5177
0.4010
Transitivity, T
0.8301
0.6429
0.6229
0.6564
Note: Network properties consist of a variety of metrics that depict the characteristics, structure, and behavior of a network. 1. The threshold value, θ, for G19, G20, and G21 is the sum of the mean and their standard deviation of the correlation coefficient from Table 2, which is θ(G)=¯ρij+σ based on the respective year. Meanwhile, G20′ was selected based on the resulting density that was comparable to G19 and G21. 2. The number of edges m is the count of the connections between stocks in the network. 3. The number of positive edges ρij≥θ is the count of connections with positive correlation. 4. The number of negative edges ρij≤−θ is the count of connections with negative correlation. 5. Density d is the ratio of the number of edges in a network to the maximum potential number of edges. High d shows a dense network. 6. The average weighted degree ⟨s⟩ is the average of the sum of the weighted edges (correlation between two stocks) that each node (stock) has in the network. A high ⟨s⟩ shows a high connection and strong correlations between the stock. 7. The average weighted clustering coefficient ⟨C⟩ is the fraction of the intensity of neighbors of nodes that are connected to each other indicating the tendency of nodes to form tightly knit clusters. A high ⟨C⟩ shows a high tendency for stocks to form a group. 8. Transitivity T is the ratio of the actual triangles (three nodes are connected to each other) in the network to all the potential triangles that could exist in the network. A high T suggests that the stocks are well connected in forming triangular connections in the network.
Table 4.
Community properties for G19, G20, G20', and G21.
Community properties
G19
G20
G20'
G21
Modularity, ¯Q
0.0695
0.4895
0.3357
0.2904
Average internal edge density, f(CS)
0.1981
0.2957
0.4268
0.5455
Number of communities (exclude isolated nodes)
4
5
4
4
Isolated nodes
9
8
2
1
Note: Community properties consist of a variety of metrics and characteristics that depict the structure of a community formed in a network. 1. Modularity, ¯Q, is a value that indicates the strength or quality of the community grouping in the network. The higher the modularity, the higher the quality. 2. Average internal edge density, f(CS), is a value that reflects the connectivity structure of a community. A high f(CS) means that the connectivity between stocks in each community formed in the network is high. 3. The number of communities (excluding isolated nodes) is the count of distinct groups of nodes (stocks) formed by using the Louvain algorithm. 4. Isolated nodes refer to a node that is disconnected (has no edges) in the network.
Note: 1 Stock symbol or ticker symbol is a unique letter assigned to a stock. 1. The subsector of a stock is categorized based on the definition of a company business provided by Bursa Malaysia.
Statistics of correlation
Before COVID-19
During COVID-19
After COVID-19
Mean, ¯ρij
0.2052
0.5158
0.1284
Standard deviation, σ
0.5090
0.3557
0.4418
Maximum correlation value in P, max(ρij)
0.9651
0.9545
0.9051
Minimum correlation value in P, min(ρij)
−0.9147
−0.5399
−0.8661
Note: 1. Mean of correlation, ¯ρij and standard deviation, σ of correlation based on stock prices before, during, and after COVID-19. 2. Maximum, max(ρij) and minimum, min(ρij) correlation values mean the highest and lowest Pearson correlations between stocks i and j in a correlation matrix P.
Network properties
G19
G20
G20'
G21
Threshold, θ
0.7142
0.8715
0.8
0.5702
Number of edges, m
100
33
88
94
Number of positive edges, ρij≥θ
87
33
88
60
Number of negative edges, ρij≤−θ
13
0
0
34
Density, d
0.2299
0.0758
0.2023
0.2161
Average weighted degree, ⟨s⟩
5.5879
1.9903
5.0461
4.3219
Average weighted clustering coefficient, ⟨C⟩
0.4510
0.3863
0.5177
0.4010
Transitivity, T
0.8301
0.6429
0.6229
0.6564
Note: Network properties consist of a variety of metrics that depict the characteristics, structure, and behavior of a network. 1. The threshold value, θ, for G19, G20, and G21 is the sum of the mean and their standard deviation of the correlation coefficient from Table 2, which is θ(G)=¯ρij+σ based on the respective year. Meanwhile, G20′ was selected based on the resulting density that was comparable to G19 and G21. 2. The number of edges m is the count of the connections between stocks in the network. 3. The number of positive edges ρij≥θ is the count of connections with positive correlation. 4. The number of negative edges ρij≤−θ is the count of connections with negative correlation. 5. Density d is the ratio of the number of edges in a network to the maximum potential number of edges. High d shows a dense network. 6. The average weighted degree ⟨s⟩ is the average of the sum of the weighted edges (correlation between two stocks) that each node (stock) has in the network. A high ⟨s⟩ shows a high connection and strong correlations between the stock. 7. The average weighted clustering coefficient ⟨C⟩ is the fraction of the intensity of neighbors of nodes that are connected to each other indicating the tendency of nodes to form tightly knit clusters. A high ⟨C⟩ shows a high tendency for stocks to form a group. 8. Transitivity T is the ratio of the actual triangles (three nodes are connected to each other) in the network to all the potential triangles that could exist in the network. A high T suggests that the stocks are well connected in forming triangular connections in the network.
Community properties
G19
G20
G20'
G21
Modularity, ¯Q
0.0695
0.4895
0.3357
0.2904
Average internal edge density, f(CS)
0.1981
0.2957
0.4268
0.5455
Number of communities (exclude isolated nodes)
4
5
4
4
Isolated nodes
9
8
2
1
Note: Community properties consist of a variety of metrics and characteristics that depict the structure of a community formed in a network. 1. Modularity, ¯Q, is a value that indicates the strength or quality of the community grouping in the network. The higher the modularity, the higher the quality. 2. Average internal edge density, f(CS), is a value that reflects the connectivity structure of a community. A high f(CS) means that the connectivity between stocks in each community formed in the network is high. 3. The number of communities (excluding isolated nodes) is the count of distinct groups of nodes (stocks) formed by using the Louvain algorithm. 4. Isolated nodes refer to a node that is disconnected (has no edges) in the network.
Figure 1. The flowchart highlights the methodology in this article. The sequence of important steps is shown in the diagram
Figure 2. Correlogram of stock correlation (a) before, (b) during, and (c) after COVID-19. The x-axis and y-axis represent 30 stock indexes in the financial sector. Blue indicates a positive correlation and red indicates a negative correlation between stocks. The shape represents the subsector of the stock: a triangle is a bank, a square is an insurance company, and a circle is "other financial services" companies
Figure 3. Communities in (a) G19, (b) G20, (c) G20', and (d) G21. The shape of the nodes represents the subsector of stocks, a triangle is a bank, a square is an insurance company, and a circle is an "other financial services" company. The color of the nodes represents their respective community given by the Louvain algorithm for community detection except for isolated nodes in gray