Tutorials › Multiple Imputation by Chained Equations (MICE) › Autocorrelation Between FCS Iterations

Fully Conditional Specification · Tutorial 131 of 497

Autocorrelation Between FCS Iterations

You will calculate lag autocorrelations for FCS summaries and interpret what persistent dependence says—and does not say—about chain exploration.

Intermediate 10 min read

What You'll Learn

  • Define a scalar summary of the FCS state at each iteration.
  • Calculate sample autocorrelation at a specified lag.
  • Interpret positive, negative, and persistent autocorrelation in context.
  • Explain why autocorrelation limits the information gained from successive states.
  • Identify conditions and diagnostic pitfalls that affect interpretation.

Why Dependence Between Iterations Matters

An FCS algorithm produces a sequence of completed-data states, not a collection of independent draws. After one sweep through the variables, the next sweep begins from the current state. If the conditional updates retain information from one sweep to the next, summaries of successive states can be similar. A chain may then move through its possible values slowly: recording many iterations does not necessarily mean the algorithm has explored many distinct regions of its distribution.

Autocorrelation quantifies this dependence for a chosen numerical summary. It is a property of that summary’s sequence across iterations, rather than a single property that describes every feature of the full imputed data. For example, the mean of an imputed continuous variable may have low autocorrelation even while a category proportion has high autocorrelation.

Definition: Let \(Q_t\) be a scalar summary calculated from the FCS state after iteration \(t\), for \(t=1,\ldots,T\). If the sequence is stationary, its lag-\(k\) autocovariance is \(\gamma_k=\operatorname{Cov}(Q_t,Q_{t+k})\), and its lag-\(k\) autocorrelation is \(\rho_k=\gamma_k/\gamma_0\), where \(\gamma_0=\operatorname{Var}(Q_t)\). The lag \(k\) is the number of FCS iterations separating the two summaries.

The summary \(Q_t\) must be defined consistently at every iteration. It could be the mean of an imputed variable, the proportion assigned to a category, or another scalar quantity computed from the current completed-data state. An FCS iteration ordinarily means one full sweep through the variables being imputed. If summaries are instead recorded after each individual conditional update, the time index has a different meaning, so the lag must be interpreted accordingly.

The population autocorrelation definition assumes a stationary sequence with finite, nonzero variance: its mean and variance do not change with \(t\), and the covariance between two terms depends on their separation \(k\), not on their absolute positions. These conditions make a single \(\rho_k\) meaningful. They are not guaranteed merely because a sequence was produced by an algorithm. If the chain is still changing systematically, an autocorrelation calculated over the whole sequence can mix dependence with that change.

Estimating Autocorrelation From a Sequence

For an observed finite sequence \(Q_1,\ldots,Q_T\), first calculate its sample mean \(\bar{Q}=T^{-1}\sum_{t=1}^T Q_t\). A commonly used sample autocorrelation at lag \(k\), for \(1\leq k<T\), is

$$ \hat{\rho}_k= \frac{\displaystyle\sum_{t=1}^{T-k}(Q_t-\bar{Q})(Q_{t+k}-\bar{Q})} {\displaystyle\sum_{t=1}^{T}(Q_t-\bar{Q})^2}. $$

The numerator pairs values \(k\) iterations apart, while the denominator measures the total squared variation around the sequence mean. This convention uses the same denominator for all lags. Other finite-sample estimators exist; when comparing reported estimates, check which convention was used. For a short sequence, the estimate can be quite variable, even if the underlying chain is stationary.

Worked Example: Calculating Lag-One Autocorrelation

Suppose a hypothetical FCS run records the mean of a continuously imputed variable after each of five iterations: \(Q=(2,4,3,5,4)\). These values are in the variable’s measurement units. Calculate the sample autocorrelation at lag one using the stated estimator.

The mean is \(\bar{Q}=(2+4+3+5+4)/5=3.6\). The deviations are \((-1.6,0.4,-0.6,1.4,0.4)\), and their squared sum is \(2.56+0.16+0.36+1.96+0.16=5.20\).

For lag one, pair each deviation with the next deviation. The numerator is \((-1.6)(0.4)+(0.4)(-0.6)+(-0.6)(1.4)+(1.4)(0.4)=-0.64-0.24-0.84+0.56=-1.16\). Therefore, \(\hat{\rho}_1=-1.16/5.20=-0.223\), to three significant figures.

This short hypothetical sequence has a negative lag-one estimate: adjacent values tend, in this sample, to lie on opposite sides of the mean. Five observations are not enough to establish a stable pattern in the underlying chain; the calculation describes this sequence, not a definitive property of the FCS process.

Reading the Sign and Persistence

A positive \(\rho_k\) means that values \(k\) iterations apart tend to deviate from their mean in the same direction. A negative value means that they tend to deviate in opposite directions. An autocorrelation near zero indicates little linear association at that particular lag; it does not rule out all dependence or dependence at other lags.

Persistence matters when positive dependence extends across several lags. If a summary is high at one iteration and remains likely to be high in nearby iterations, repeated records contain less distinct movement through the summary’s range than an equally long sequence of independent values would. This is why a large iteration count by itself does not guarantee thorough exploration. Autocorrelation describes the dependence relevant to that summary; it does not directly establish whether the chain has reached a stationary distribution.

Worked Example: Interpreting Positive Dependence

A hypothetical run produces the summary sequence \(Q=(8,9,10,11,12,11,10,9)\). Find the lag-one sample autocorrelation and interpret it.

The mean is \(\bar{Q}=10\), so the deviations are \((-2,-1,0,1,2,1,0,-1)\). Their squared sum is \(4+1+0+1+4+1+0+1=12\). The lag-one cross-products sum to \((-2)(-1)+(-1)(0)+(0)(1)+(1)(2)+(2)(1)+(1)(0)+(0)(-1)=2+0+0+2+2+0+0=6\). Thus \(\hat{\rho}_1=6/12=0.500\).

In this hypothetical sequence, adjacent summaries show a moderately positive sample association. The values tend to move smoothly rather than changing independently at each sweep. This calculation alone does not show whether the chain is stationary, nor does it determine how representative the sampled states are.

A useful justification for why dependence can persist across multiple lags comes from a simple stationary autoregressive model. This model is an illustration, not an assumption that every FCS summary follows an autoregression. Suppose \(Q_t-\mu=\phi(Q_{t-1}-\mu)+\varepsilon_t\), where the innovations \(\varepsilon_t\) have mean zero, variance \(\sigma_\varepsilon^2\), are independent across time, and are independent of past values. If \(|\phi|<1\), the process has stationary variance. For \(k\geq1\), the innovation at time \(t+k\) is uncorrelated with \(Q_t\), so \(\operatorname{Cov}(Q_t,Q_{t+k})=\phi\operatorname{Cov}(Q_t,Q_{t+k-1})\). Repeated application gives \(\gamma_k=\phi^k\gamma_0\), and hence \(\rho_k=\phi^k\). The condition \(|\phi|<1\) also ensures that this dependence decays as the lag grows.

Worked Example: How Dependence Can Persist Across Lags

Consider a hypothetical stationary autoregressive summary model with \(\phi=0.8\). Its model-based autocorrelations are \(\rho_k=\phi^k\). Calculate the first three and interpret them in terms of dependence between FCS summaries.

At lag one, \(\rho_1=0.8^1=0.800\). At lag two, \(\rho_2=0.8^2=0.640\). At lag three, \(\rho_3=0.8^3=0.512\). All three are positive, and dependence remains substantial even three iterations apart in this model.

This illustrates how a chain can retain information about its recent state over several sweeps. It does not imply that an actual FCS chain has these exact correlations: those must be assessed from its summary sequence, and the autoregressive model is only a convenient explanation of one possible pattern.

Assumptions, Diagnostics, and Limits

Interpret estimated autocorrelation with the conditions behind its definition in mind. The sequence should represent the same summary, recorded at the same point in each sweep. A stationary interpretation requires a stable mean and variance over the analyzed segment. A summary with no variation has an undefined autocorrelation because the denominator is zero. With a short or irregular sequence, estimates can be noisy, and sample values at individual lags should not be treated as exact population correlations.

Several checks help prevent misleading conclusions:

  • Check that the summary is meaningful. Choose a quantity tied to the feature of the imputed data or analysis that matters. Autocorrelation in one summary does not automatically describe a different variable or statistic.
  • Check the time index. Be explicit about whether a lag counts full FCS sweeps or individual conditional updates. A lag of one has no interpretation without this definition.
  • Consider whether the sequence is stable. A clear shift in level or spread can make an overall autocorrelation hard to interpret as stationary dependence. Autocorrelation is not a test that the chain has converged.
  • Look beyond lag one. A small lag-one estimate does not ensure small dependence at every higher lag, and a negative lag-one estimate can accompany alternating patterns. Dependence is a sequence across lags, not just one number.
  • Remember sampling variability. Autocorrelation estimates from finite runs can fluctuate. A single estimate near zero is not proof of independence, and a large estimate should be interpreted alongside the sequence and the other summaries being examined.

Autocorrelation complements, rather than replaces, other ways of examining FCS output. It gives a numerical description of linear dependence for a selected summary at specified lags. Assessing whether the marginal distribution of that summary looks stable addresses a different question; neither assessment alone establishes compatibility of the conditional models. A sequence can have low autocorrelation while still failing to represent the intended distribution, and a high autocorrelation does not by itself show that the conditional models are incompatible.

A common mistake is to say, “There are hundreds of iterations, so the chain must have explored well.” That reasoning counts recorded states but ignores their dependence. If successive values are strongly persistent, many records can repeatedly reflect nearly the same part of the summary’s range. The correction is to interpret the sequence’s dependence together with whether its behavior is stable and with the substantive summaries of interest. Autocorrelation identifies a limitation on how much new movement is seen from one iteration to the next; it is not, by itself, a verdict about the entire FCS analysis.

Autocorrelation also has limits as a diagnostic. It concerns linear association in a chosen scalar sequence, so nonlinear dependence may go undetected. Different summaries can have very different dependence patterns. And even a convincing estimate of low autocorrelation over observed lags cannot prove that unobserved regions have been explored. The conclusion should therefore remain specific: state the summary, the lag, the estimated dependence, and the conditions under which its interpretation is reasonable.

Check Your Understanding

Answer each question, then compare your reasoning with the solutions.

  1. What does a lag-two autocorrelation describe when summaries are recorded once after each full FCS sweep?
  2. A summary sequence has positive lag-one autocorrelation. What does that say about adjacent values, and what does it not establish?
  3. For the stationary autoregressive model in this tutorial with \(\phi=0.5\), calculate the model-based lag-three autocorrelation.
  4. Why can calculating autocorrelation for a sequence with a changing mean give a misleading account of dependence?
  5. Can low autocorrelation for the mean of one imputed variable establish low dependence for every FCS summary? Explain.

Solutions. (1) It describes the association between summaries separated by two full sweeps, \(Q_t\) and \(Q_{t+2}\). (2) Adjacent values tend to deviate from their mean in the same direction; this does not establish stationarity, convergence, or good exploration of the full state space. (3) \(\rho_3=\phi^3=0.5^3=0.125\). (4) A changing mean violates the stationary interpretation, so the estimate can combine a time trend with within-chain dependence. (5) No. Autocorrelation is summary-specific, and another summary may have a different dependence pattern.

Clinical Biostats