| Algorithm 1: Calculation of a causal matrix in the source space. |
1: for , do 2: for , do 3: Calculate the residual in autoregressive model by Equation (4). 4: Calculate the residual in vector regression model by Equation (5). 5: Calculate the Granger causality between the and EEG source sign by Equation (6). 6: end for 7: end for |