Skip to main content

Table 1 The process of achieving the criterion \(\hat{d}\)

From: Detecting the lead–lag effect in stock markets: definition, patterns, and investment strategies

Input: the total number of stocks N, the daily lead–lag network Gt achieved from real data (t = 1, 2, …, T), and the statistical significance level δ

Output: the criterion \(\hat{d}\)

Steps:

(1) Random directed network RGt on day t is generated by retaining the node degree distribution of Gt via the configuration model. The code can be directly achieved from https://networkx.org/documentation/stable/modules/networkx/generators/degree_seq.html#directed_configuration_modmo. Note that the case of following oneself is also considered

(2) By repeating the steps (1) from t = 1 to T, a series of random networks RG1, RG2, …, RGT can be obtained. Then, the accumulated following days of each pair (denoted as rdij, i, j = 1, 2, …, N) are achieved based on the above series of random networks via Eq. (3). As a result, one group of simulation is completed with the obtained set {rdij}i,j=1

(3) Hundred groups of simulations can be conducted (e.g., 500 groups) as above and then all the accumulated following days of each pair obtained from each group are put together to get their distribution. Given the statistical significance level δ, the corresponding criterion \(\hat{d}\) can be immediately achieved