Introduction

One of the fields of interest in functional magnetic resonance imaging (fMRI) is finding the functional connectivity (FC) between brain areas. In this field, the dependency of blood-oxygen-level-dependent (BOLD) response time series from various brain regions is studied.

Heretofore, these time series had been assumed to be stationary over time. Therefore, FC was considered to be constant across time (static FC) [1,2,3]. In recent years, scientists have observed indications of non-stationarity in these time series both in resting-state and in task-based fMRI experiments [4,5,6,7,8,9,10,11]. This evidence led to the introduction of a new concept in evaluating brain regions connectivity named dynamic FC which has encouraged the introduction of a large number of methods to detect it. Sliding window, for instance, has been a widely used method to assess dynamic FC [12,13,14,15,16]. Dynamic connectivity regression (DCR) is another method recommended by [4, 5] to discover FC change points between brain areas. [17] proposed dynamic connectivity detection (DCD) algorithm based on DCR algorithm. This new method is faster and has no problem finding changes in connectivity for more than 100 brain regions. In this regard, network change point detection (NCPD) method was introduced by [18]. Whole-brain dynamics can be investigated through this method. As other studies in this field, [19] suggested dynamic Bayesian variable partition model (DBVPM) to model dynamic FC via a unified Bayesian framework. Product hidden Markov models (PHMMs) were recommended by [20] to assess temporal behavior of dynamic FC in resting-state fMRI. [21] pointed out the drawbacks of the sliding window method drawbacks and recommended two model-based approaches named exponentially weighted moving average (EWMA) and dynamic conditional correlation (DCC) models and demonstrated that DCC performed better than sliding window by calculating mean square error (MSE) in simulation studies. These two well-known models, which simulate dynamic correlation in finance literature, have recently drawn a lot of attention from scientists in the field of neuroscience, like real-time fMRI. For instance, [22] proposed to utilize EWMA models as well as Smooth Incremental Graphical Lasso Estimation (SINGLE) algorithm to estimate dynamic FC in real time.

Functional connectivity is evaluated by estimating the covariance matrix of two BOLD response time series. Therefore, non-stationarity in BOLD response time series leads to time-variant covariance matrix (dynamic FC). When the conditional covariance is time-variant, we have conditional heteroscedasticity which is the main focus of multivariate volatility modeling. The effective estimations derived from volatility models in neuroimaging context [21, 22] motivated us to investigate and modify them. In this regard, the EWMA and DCC models introduced in [21] are further developed in this article. To be more precise, we present two new multivariate volatility models built upon the framework of DCC and EWMA models and named standardized dynamic conditional correlation (SDCC) and standardized exponentially weighted moving average (SEWMA). These two new models apply standardized residuals instead of residuals. Our goal is to examine whether exploiting standardized residuals can reduce the mean square error. This idea arose from this fact that the residuals have fat tails. Furthermore, some new simulation studies are proposed based on the simulation designed by [21]. These simulations are designed in such a way that they more closely mirror the blood-oxygen-level-dependent (BOLD) time series of brain areas. Although former simulations were well defined, they had some shortcomings. The first one is that, in all simulations, the conditional expectation was equal to zero. This condition is not realistic due to the existence of hemodynamic response function (hrf) in the brain. Furthermore, each brain region has a dynamic association with itself during the time. Thus, considering static variances in those simulations is not acceptable. The performance of these two new methods is surveyed via previous and recent simulation studies. After calculating the MSE in these simulation studies, it is proved that the new methods work better than the older ones in both previous and new simulations. Finally, the best model fits to an Iranian resting-state fMRI data.

This article is organized as follows:

Two new models are introduced in Sect. “Methods.” First, we describe basic concepts required in estimating FC. Next, SEWMA and SDCC models are nominated. Section “Simulation studies” explains simulation studies and demonstrates their results. Experimental data are illustrated in Sect. “Experimental data.” In this part, we first state information of the Iranian resting-state fMRI data and brain regions. After that, the best model fits to the real data in order to estimate the FC. Finally, the presented results are discussed in the last section.

Methods

In this part, we first explain BOLD response time series and hrf in preliminaries. Then, the problem of evaluating dynamic FC is illustrated in problem setup.

Preliminaries

The hrf is the hypothetical BOLD response to an idealized impulse of neural activation [23]. In fact,

$$B_{t} = N_{t} \otimes h_{t} ,\quad t = 0, \ldots ,T,$$
(1)

where \(B_{t}\) is the BOLD response time series, \(N_{t}\) is the neural activation, \(h_{t}\) is the hrf, and \(\otimes\) indicates convolution. This fact is clearly demonstrated by Fig. 1.

Fig. 1
figure 1

BOLD response is generated by convolving the hrf and neural activation. No noise is added to the result in this figure

It should be mentioned that resting-state fMRI is studied in this article. Thus, there is not any information about neural activity onsets.

Problem setup

Let \(\varvec{y}_{t} = \varvec{ }(y_{1,t} ,y_{2,t} )^{T}\), \(t = 0, \ldots ,T\), is a vector where \(y_{i,t}\), \(i = 1,2\), is a time series extracted from one region of interest (ROI) in the brain. Suppose that

$$\varvec{y}_{\varvec{t}} =\varvec{\mu}_{\varvec{t}} + \varvec{e}_{\varvec{t}} ,$$
(2)

with

$$\varvec{\mu}_{t} = \left( {\mu_{1,t} ,\mu_{2,t} } \right)^{T} ,$$
(3)

and

$$\mu_{i,t} = E\left( {y_{i,t} |F_{i,t - 1} } \right),\quad i = 1,2,$$
(4)

where \(F_{i,t - 1}\) indicates the information set available up to time t − 1. Moreover, \(\varvec{e}_{\varvec{t}}\) is the noise term with zero mean and conditional covariance matrix \(\varSigma_{t}\) as follows:

$$\varSigma_{t} = \left( {\begin{array}{*{20}c} {\sigma_{1,t}^{2} } & {\sigma_{12,t} } \\ {\sigma_{12,t} } & {\sigma_{2,t}^{2} } \\ \end{array} } \right),$$
(5)

where

$$\sigma_{i,t}^{2} = {\text{Var}}\left( {y_{i,t} |F_{i,t - 1} } \right) = E\left[ {\left( {y_{i,t} - \mu_{i,t} } \right)^{2} \left| {F_{i,t - 1} } \right.} \right],\quad i = 1,2,$$
(6)
$$\sigma_{12,t} = \sigma_{1,t} \sigma_{2,t} \rho_{t} ,$$
(7)

and

$$\rho_{t} = \frac{{E\left[ {\left( {y_{1,t} - \mu_{1,t} } \right)\left( {y_{2,t} - \mu_{2,t} } \right) \left| {(F_{1,t - 1} ,F_{2,t - 1} )} \right.} \right]}}{{\sqrt {E\left[ {\left( {y_{1,t} - \mu_{1,t} } \right)^{2} \left| {F_{1,t - 1} } \right.} \right]E\left[ {\left( {y_{2,t} - \mu_{2,t} } \right)^{2} \left| {F_{2,t - 1} } \right.} \right]} }}.$$
(8)

Residual is also defined as below:

$$\hat{e}_{t} = y_{t} - \hat{\mu }_{t} ,$$
(9)

where \(\hat{\mu }_{t}\) is the fitted conditional mean of \(y_{t}\). In fact, residual is the difference between the observed value and the predicted value.

The conditional covariance matrix \(\varSigma_{t}\) can be written as follows:

$$\varSigma_{t} = D_{t} R_{t} D_{t} ,$$
(10)

where

$$D_{t} = {\text{diag}}\{ \sigma_{1,t} ,\sigma_{2,t} \} ,$$
(11)
$$R_{t} = \left( {\begin{array}{*{20}c} 1 & {\rho_{t} } \\ {\rho_{t} } & 1 \\ \end{array} } \right).$$
(12)

To evaluate the connectivity of two separate brain regions, we should estimate \(\varSigma_{t}\) and, therefore, \(\sigma_{1,t} ,\sigma_{2,t}\), and \(\rho_{t}\). [24] recommended two multivariate volatility models, EWMA and DCC models, to estimate \(\varSigma_{t}\) in finance literature, and [21] advocated these two models to estimate dynamic FC in resting-state fMRI data. In this article, we have attempted to improve both of them as below. Unlike [21], we put \(\varvec{\mu}_{t} \ne 0\) in Eq. (2) since in actual fMRI data, the conditional mean (\(\varvec{\mu}_{t} )\) is not zero. This fact is due to the hrf in the brain.

Standardized exponentially weighted moving average (SEWMA)

This method, like EWMA, places emphasis on the basic fact that past observations are less relevant than the recent ones. The SEWMA model is

$$\varSigma_{t} = \left( {1 - \lambda } \right)\varvec{a}^{*}_{t - 1} \varvec{a}^{*\prime }_{t - 1} + \lambda \varSigma_{t - 1} ,$$
(13)

where \(\varvec{a}^{*}_{t} = (a^{*}_{1,t} ,a^{*}_{2,t} )\) is a vector of standardized residual, and \(a^{*}_{i,t} , i = 1,2,\) is defined in the following way

$$a^{*}_{i,t} = \frac{{y_{i,t} - {\text{median}}\left( {y_{i,t} |F_{i,t - 1} } \right)}}{{\sigma_{i,t} }},\quad i = 1,2,$$
(14)

where \(\sigma_{i,t}^{2}\) is the conditional variance of \(y_{i,t}\) and is defined in Eq. (6). Furthermore, \(0 < \lambda < 1\) indicates the decaying rate. If \(\varvec{y}_{\varvec{t}}\) is bivariate Gaussian, then we can estimate \(\lambda\) via maximum likelihood estimation. In this survey, we use \(\lambda = 0.94\) as a default value. This value was recommended in RiskMetrics [25], and not only it is common in financial literature [26], but also it is proved to be appropriate for fMRI data [21].

Standardized dynamic conditional correlation model (SDCC)

This model is based on DCC model introduced by [24] which similarly has two steps. Suppose we have \(\varvec{y}_{t}\) = \(\varvec{\mu}_{t} + \varvec{e}_{t}\) with the mentioned assumptions, we have \(a^{*}_{i,t}\) which is defined in Eq. (14). Now, in the first step, \(\sigma_{i,t}^{2}\), \(i = 1,2\), is obtained as below:

$$\sigma_{i,t}^{2} = w_{i} + \xi_{i} a^{*2}_{i,t} + \beta_{i} \sigma_{i,t - 1}^{2} ,\quad i = 1,2.$$
(15)

And in the second step, \(\varSigma_{t}\) is modeled as follows:

$$\varvec{D}_{t} = {\text{diag}}\{ \sigma_{1,t} ,\sigma_{2,t} \} ,$$
(16)
$$\varvec{Q}_{t} = \left( {1 - \theta_{1} - \theta_{2} } \right)\bar{\varvec{Q}} + \theta_{1} \varvec{a}^{*}_{t - 1} \varvec{a}_{t - 1}^{*\prime } + \theta_{2} \varvec{Q}_{t - 1} ,$$
(17)
$$\varvec{R}_{t} = {\text{diag}}\left\{ {\varvec{Q}_{t} } \right\}^{{\frac{ - 1}{2}}} \varvec{Q}_{t} {\text{diag}}\left\{ {\varvec{Q}_{t} } \right\}^{{\frac{ - 1}{2}}} ,$$
(18)
$${\varvec{\Sigma}}_{t} = \varvec{D}_{t} \varvec{R}_{t} \varvec{D}_{t} ,$$
(19)

where \(\bar{\varvec{Q}}\) is the unconditional covariance matrix of \(\varvec{a}^{*}_{t}\) and \(\left( {\theta_{1} ,\theta_{2} } \right)\) are nonnegative real numbers so that \(0 < \theta_{1} + \theta_{2} < 1\). \(w_{1} , \xi_{1} , \beta_{1} , w_{2} , \xi_{2} , \beta_{2} , \theta_{1} ,\theta_{2}\) are model parameters estimated via a two-step method.

Simulation studies

In order to assess different models performance, we not only designed some new simulation studies, but we also made use of the former simulations recommended by [21]. It should be mentioned that the new simulation studies are designed with respect to the former simulations designed by [21]. In this part, we want to generate random data \(\varvec{y}_{t} = \varvec{ }(y_{1,t} ,y_{2,t} )^{T}\), \(t = 0, \ldots ,T\). As mentioned in Eq. (2), we have \(\varvec{y}_{\varvec{t}} =\varvec{\mu}_{\varvec{t}} + \varvec{e}_{\varvec{t}}\). In the previous simulation studies, the conditional expectation was equal to zero. So, Eq. (2) is reduced to

$$\varvec{y}_{\varvec{t}} = \varvec{e}_{\varvec{t}} ,$$
(20)

where \(\varvec{e}_{\varvec{t}}\) is the noise term with zero mean and conditional covariance matrix \(\varSigma_{t}\) as mentioned in Eq. (5). Therefore, [21] generated \(\varvec{y}_{\varvec{t}}\) using a mean-zero bivariate normal distribution with covariance matrix

$$\varSigma_{t} = \left( {\begin{array}{*{20}c} 2 & {\sigma_{12,t} } \\ {\sigma_{12,t} } & 3 \\ \end{array} } \right),$$
(21)

where \(\sigma_{12,t}\) is the covariance term and varies across time. In fact, variances are constant (time-invariant) and only covariance is time-variant. In simulation studies, our goal is to control the relationship between \(y_{1,t} ,y_{2,t}\) by \(\rho_{t}\) as below:

  1. 1.

    \(\sigma_{12,t} = 0,\quad {\text{for}}\;t = 0, \ldots ,600,\)

  2. 2.

    \(\sigma_{12,t} = \sin \left( {\frac{t}{{2^{k} }}} \right)\quad {\text{with}}\;k = 6,7,8,\,{\text{and}}\,9\quad {\text{and}}\quad t = 0, \ldots ,600,\)

  3. 3.

    \(\sigma_{12,t} = \exp \left( { - \frac{x - 250}{{2\sigma^{2} }}} \right)\quad {\text{with}}\;\sigma = 15*k,\;k = 1, 2, 3,\;{\text{and}}\;4,\;{\text{and}}\;t = 0, \ldots ,600.\)

Each simulation study was repeated 1000 times, and the MSE of four models (EWMA, SEWMA, DCC, and SDCC) were measured.

In order to compare the results, we compute \({\text{Mean}}_{{{\text{Diff}}1}}\) and \({\text{Mean}}_{{{\text{Diff}}2}}\) as below:

$${\text{Mean}}_{{{\text{Diff}}1}} = {\text{mean}}\left( {{\text{MSE}}_{\text{EWMA}} \left( i \right) - {\text{MSE}}_{\text{SEWMA}} \left( i \right)} \right)\quad i = 1,2, \ldots ,1000,$$
(22)
$${\text{Mean}}_{{{\text{Diff}}2}} = {\text{mean}}\left( {{\text{MSE}}_{\text{DCC}} \left( i \right) - {\text{MSE}}_{\text{SDCC}} \left( i \right)} \right)\quad i = 1,2, \ldots ,1000,$$
(23)

where \({\text{MSE}}_{\text{A}} \left( i \right)\) is the mean square error of model A in iteration i. Positive values for \({\text{Mean}}_{{{\text{Diff}}1}}\) and \({\text{Mean}}_{{{\text{Diff}}2}}\) mean that SEWMA works better than EWMA and SDCC outperforms DCC in that simulation, respectively. Table 1 abstracts the results of \({\text{Mean}}_{{{\text{Diff}}1}}\) and \({\text{Mean}}_{{{\text{Diff}}2}}\) for each simulation.

Table 1 Results of \({\text{Mean}}_{{{\text{Diff}}1}}\) and \({\text{Mean}}_{{{\text{Diff}}2}}\) in the simulations

As it is seen in Table 1, the values of \({\text{Mean}}_{{{\text{Diff}}1}}\) and \({\text{Mean}}_{{{\text{Diff}}2}}\) are positive. This shows that in the former simulations, the proposed models work better.

Since these values are small, it should be tested whether the models’ results are significantly different. In this regard, we first used a one-sample Kolmogorov–Smirnov test for \({\text{MSE}}_{\text{EWMA}}\), \({\text{MSE}}_{\text{SEWMA}}\), \({\text{MSE}}_{\text{DCC}}\), and \({\text{MSE}}_{\text{SDCC}}\) data sets. In 5% significance level, the test rejects the null hypothesis that each data set follows a standard normal distribution. Therefore, a Mann–Whitney–Wilcoxon test was utilized to compare the means of the groups as it is demonstrated in Table 2.

Table 2 Results of Mann–Whitney–Wilcoxon p value in the 5% significance level

According to Table 2, in the 5% significance level, two null hypotheses are rejected. So, there is a difference between \({\text{MSE}}_{\text{EWMA}}\) and \(MSE_{SEWMA}\), and between \({\text{MSE}}_{\text{DCC}}\) and \({\text{MSE}}_{\text{SDCC}}\). On the other hand, \({\text{Mean}}_{{{\text{Diff}}1}}\) and \({\text{Mean}}_{{{\text{Diff}}2}}\) values in Table 1 are positive. Therefore, it can be concluded that, in the former simulation studies, SEWMA and SDCC outperform EWMA and DCC models, respectively.

In this work, one of our goals is to improve the former simulation studies. As mentioned before, we should not put \(\varvec{\mu}_{t} = 0\), because the changes in fMRI signals are trigged by instantaneous neural activity which is known as the hrf. So, according to Eq. (2) (\(\varvec{y}_{\varvec{t}}\) = \(\varvec{\mu}_{\varvec{t}} + \varvec{e}_{\varvec{t}}\)), we should opt for a realistic value for \(\varvec{\mu}_{t}\). The best choice is to utilize the conditional expectation of real BOLD response time series which we gain from fMRI data. As we assess pair-wise FC, the BOLD response time series of two brain regions are needed. To do this, we first randomly selected one person’s fMRI data and extracted the BOLD response time series of two brain areas. One of the two selected regions was always posterior cingulate cortex (PCC), and the other one was randomly selected from the remaining five regions. In experimental data, we explain brain regions in detail. Next, conditional expectations, \(\mu_{1,t} \;{\text{and}}\;\mu_{2,t}\), were conditional mean of those BOLD response time series. In addition, \(\varvec{e}_{t}\) should be generated by a mean-zero bivariate normal distribution with the following covariance matrix

$$\varSigma_{t} = \left( {\begin{array}{*{20}c} {\sigma_{1,t}^{2} } & {\sigma_{12,t} } \\ {\sigma_{12,t} } & {\sigma_{2,t}^{2} } \\ \end{array} } \right),\quad t = 1, \ldots ,T,$$
(24)

where \(\sigma_{i,t}^{2}\) \(, \,i = 1,2\), is conditional variance of those BOLD response time series which were extracted. Unlike the previous simulation studies, we have chosen time-variant variances since each brain region has dynamic FC with itself. Moreover, \(\sigma_{12,t}\) was determined in three different forms:

  1. 1.

    \(\sigma_{12,t} = 0,\quad t = 1, \ldots , 200,\)

  2. 2.

    \(\sigma_{12,t} = \sin \left( {\frac{t}{{2^{k} }}} \right)\quad {\text{with}}\;k = 4.5, 5.5, 6.5,\;{\text{and}}\; 7.5,\quad t = 1, \ldots ,200,\)

  3. 3.

    \(\sigma_{12,t} = { \exp }\left( { - \frac{{\left( {x - 100} \right)^{2} }}{{2\sigma^{2} }}} \right)\quad {\text{with}}\quad \sigma = 15*k,\quad k = 1,2,3,\quad t = 1, \ldots ,200.\)

Then, for each of these three forms, the conditional correlation \(\rho_{t}\) is computed as

$$\rho_{t} = \frac{{\sigma_{12,t} }}{{\sigma_{1,t} \sigma_{2,t} }}.$$
(25)

Finally, \(\varvec{y}_{\varvec{t}}\) is achieved by substituting the values of \(\varvec{\mu}_{\varvec{t}}\) and \(\varvec{e}_{\varvec{t}}\) in Eq. (2) (\(\varvec{ y}_{\varvec{t}}\) = \(\varvec{\mu}_{\varvec{t}} + \varvec{e}_{\varvec{t}} )\). Each of these three simulations was repeated 1000 times. In each repetition, EWMA, DCC, SEWMA, and SDCC models were fitted to the simulated data and the MSEs were computed.

Figure 2 demonstrates the result for simulation 1. In this simulation, we suppose that two brain regions do not have any connectivity during the experiment. For this simulation, subject 10 and ROI 1 were both randomly selected. Part (a) shows the result of fitting EWMA, DCC, SEWMA, and SDCC models in one of the iterations, and part (b) shows the box plot for MSE of these three models. According to the part (b), SEWMA and SDCC perform better than EWMA and DCC, respectively. And judging by the results, it is evident that SDCC is the best model among them.

Fig. 2
figure 2

Simulation 1. a The results of fitting EWMA, SEWMA, DCC, and SDCC models in one of the iterations, and b the box plot for MSE of these four models

Figure 3 displays the results for the second simulation. In this simulation, we suppose that connectivity of two brain regions is in the form of sine. The information (number) about selected subjects and regions is written on top of the figures. Part (a) shows the results of fitting EWMA, DCC, SEWMA, and SDCC models in one of the iterations, and part (b) shows the box plot for MSE of these four models. According to the part (b), SEWMA and SDCC perform better than EWMA and DCC, respectively. Moreover, in comparison with the other models, SDCC has the lowest mean square error.

Fig. 3
figure 3

Simulation 2. A The results of fitting EWMA, SEWMA, DCC, and SDCC models in one of the iterations and b the box plot for MSE of these four models. In both parts, k is 4.5, 5.5, 6.5, and 7.5, top to bottom

The results for the third simulation are exhibited in Fig. 4. In this simulation study, we suppose that connectivity of two brain regions is in the Gaussian form. The information (number) about selected subjects and regions is written on top of each figure. Part (a) shows the result of fitting EWMA, DCC, SEWMA, and SDCC models in one of the iterations, and part (b) shows the box plot for MSE of these four models. According to the part (b), SEWMA and SDCC outperform EWMA and DCC, respectively. Having the lowest MSEs, SDCC is clearly the best model.

Fig. 4
figure 4

Simulation 3. a The results of fitting EWMA, SEWMA, DCC, and SDCC models in one of the iterations, and b the box plot for MSE of these four models. In both parts, k is 1, 2, and 3, top to bottom

Experimental data

These study protocol and consent form were verified by the Ethics Committee of Tehran University of Medical Sciences. Before scanning, the imaging procedure was thoroughly explained for all subjects and their written informed consents were acquired.

This study contained 20 healthy male volunteers (23–46 years old). Each resting-state scan took 7 min. A 2D EPI sequence with partial parallel imaging acceleration was utilized to gain 3 × 3 mm in-plane resolution in 3-mm axial slices with a 1-mm slice gap. The slice order was interleaved with TR/TE = 2500/30 ms, and flip angle of 50 and SENSE acceleration factor of 2 were applied.

The preprocessing step and extracting brain regions time series were done via SPM 12, DPARSF 4.3, and MATLAB codes. The preprocessing steps included these steps: slice time correction, realignment, segmentation, normalization, smoothing (6-mm kernel), and reducing physiological noise by CompCor [27].

Brain regions of interest (ROIs) were selected based on [13]. In the default mode network (DMN), the posterior cingulate cortex (3-mm-radius sphere centered at x = −6, y = −58, z = 28) was selected as the principal region and five other regions of interest (ROIs), demonstrated by [13] as brain regions with the most enormous variation in dynamic correlation with PCC, were also chosen. These brain regions are as follows:

ROI1 Right inferior parietal cortex (3-mm-radius sphere centered at x = 38, y = −58, z = 44).

ROI2 Right inferior frontal operculum (3-mm-radius sphere centered at x = 50, y = 18, z = 32).

ROI3 Right inferior temporal cortex (3-mm-radius sphere centered at x = 58, y = −38, z = −16).

ROI4 Right inferior orbitofrontal cortex (3-mm-radius sphere centered at x = 50, y = 26, z = −8).

ROI5 Anterior cingulate cortex (ACC) (3-mm-radius sphere centered at x = −2, y = 26, z = 24).

SDCC model was selected to assess dynamic FC in this study. Figure 5 represents BOLD response time series of PCC and the other ROIs, and the estimation of their dynamic FC. The information (number) about selected subjects and regions is written on top of each figure. Moreover, 95% confidence intervals and static FCs can be seen in this figure. Results show that in these three subjects, the dynamic FCs do not change a lot, and there are few points in static FCs which are outside of the confidence intervals.

Fig. 5
figure 5

Shown are BOLD response time series of PCC and the other ROIs, and the estimation of their dynamic FC. The confidence intervals and static FCs are also presented

Discussion

In this paper, we try to estimate dynamic FC, one of the research priorities in the world, by using some models with lower error. Our criterion for choosing the best model is to calculate the models MSE in simulation studies which are close to BOLD response time series in brain regions.

EWMA and DCC models were introduced by [24] for the first time in finance literature, and [21] made use of these two models to assess dynamic FC in the brain. In this work, we present SDCC and SEWMA models based on DCC and EWMA, respectively, with the aim of decreasing MSE. The basic difference between the former and latter models is applying the standardized residual, \(a^{*}_{i,t}\), for \(i = 1,2\), in the new models. This idea is due to the fact that the residuals have fat tails. Although missing rapid changes is the common shortcoming of SDCC and DCC models, they have lots of merits which cause us to prefer them over the other models. Dynamic connectivity regression (DCR) is an appropriate method for the situations with rapid changes [4, 5, 21]. SDCC models inherit the advantages of DCC models. For instance, random noise does not disturb them to recognize the real correlation, and models’ parameters are estimated via a quasi-maximum likelihood method. Moreover, SDCC models have lower MSE than DCC models.

Furthermore, we strive to apply more realistic simulation studies. In this survey, we have \(\varvec{\mu}_{t} \ne 0\). This choice is due to the hrf in the brain. Hemodynamic response is because of any kind of stimulus that brain receives even in resting state. We also suppose that each time series variance is time-variant. This assumption is owing to the dynamic association of each brain region with itself during the experiment time.

To check these models, we compared these models MSE in both previous and recent simulation studies. The results showed that both new models performed better than the older ones in both former and latter simulation studies. Although, in the previous simulations, the difference between the former and proposed models was less than these values in the new simulations, it was shown that these little differences are significant in the 5% significance level. The former simulations consider the ideal generated data with \(\varvec{\mu}_{t} = 0\) and mean-zero bivariate normal distribution for \(\varvec{e}_{\varvec{t}}\). So, standardized residuals and residuals have fewer differences in those generated data than in ones generated in new simulation studies.

SDCC model outperformed the other methods in these studies. Hence, we exploited this model to find dynamic FC in the Iranian resting-state fMRI data. For these 20 subjects, we calculated dynamic FC between PCC and five other regions which according to [13] had high variations in their correlation with PCC.

Finally, we have reached the conclusion that SDCC models outperform the other models even DCC models, and they are a suitable option for estimating dynamic FC in resting-state fMRI. We have witnessed differences in estimated dynamic FC between distinctive regions and also different subjects. This outcome only seems reasonable since not only do we have rest fMRI which is task-free, but also different people do not have exactly the same results in real experiments.