---
title: Distance-based ICC (dbICC) Overview
url: https://www.emergentmind.com/topics/distance-based-icc-dbicc
type: topic
---

# Distance-based ICC (dbICC) Overview

The distance-based intraclass correlation coefficient (dbICC) is a generalization of the classical intraclass correlation coefficient (ICC), extending measurement reliability to settings where observations are non-scalar or the measurement space admits no natural ICC. Defined in terms of arbitrary distances between observations, dbICC enables reliability assessment for data types such as vectors, curves, graphs, and covariance matrices. The framework provides a well-defined proportion of variance attributable to between-subject differences versus within-subject variability, operationalized entirely via pairwise distances. Bias correction procedures and theoretical extensions, such as a generalized Spearman–Brown formula, provide robust inference and study-planning tools for complex, high-dimensional, or structured measurement data [1912.07137].

## 1. Formal Definition and Sample Estimation

Let $I$ denote the number of subjects, $J_i$ the number of repeated measurements for subject $i$, and $X_{ij}$ the $j$th observation from subject $i$. For an arbitrary distance function $d(\cdot, \cdot)$ on the observation space, two principal quantities underpin dbICC:

- **Between-subject mean squared distance:**
  $$
  MSD_b = \mathbb{E}_{i_1 \neq i_2, j_1, j_2}[\,d(X_{i_1j_1}, X_{i_2j_2})^2\,]
  $$
- **Within-subject mean squared distance:**
  $$
  MSD_w = \mathbb{E}_{i, j_1 \neq j_2}[\,d(X_{ij_1}, X_{ij_2})^2\,]
  $$

The distance-based intraclass correlation coefficient is then formulated as:
$$
\rho = 1 - \frac{MSD_w}{MSD_b}
$$

This ratio quantifies the proportion of total distance-based "variance" due to subject-level signal, analogous to variance components in classical settings. For empirical data, the expectations are replaced by averages over all appropriate index pairs:

$$
\widehat{MSD}_b = \frac{ \sum_{1 \leq i_1 < i_2 \leq I} \sum_{j_1=1}^{J_{i_1}} \sum_{j_2=1}^{J_{i_2}} d(X_{i_1j_1}, X_{i_2j_2})^2 } { \sum_{1 \leq i_1 < i_2 \leq I} J_{i_1}J_{i_2} }
$$

$$
\widehat{MSD}_w = \frac{ \sum_{i=1}^I \sum_{1 \leq j_1 < j_2 \leq J_i} d(X_{ij_1}, X_{ij_2})^2 }{ \sum_{i=1}^I {J_i \choose 2} }
$$

$$
\widehat{\rho} = 1 - \frac{\widehat{MSD}_w}{\widehat{MSD}_b}
$$

## 2. Bias Correction for Bootstrap Confidence Intervals

Estimation of dbICC confidence intervals is complicated by the unknown sampling distribution of $d(\cdot,\cdot)$. Standard practice is to use a subject-level nonparametric bootstrap:

- Resample subjects with replacement.
- For each bootstrap sample, compute $\widehat{\rho}$ as in the sample formulas.

However, naive resampling can produce pseudo "between-subject" pairs where both indices correspond to the same original subject, leading to downward-biased estimates of $MSD_b$ and, consequently, overstated reliability. The bias correction consists of excluding any $(i_1,i_2)$ pair from the $MSD_b$ sum if $\pi^r_{i_1} = \pi^r_{i_2}$ in the $r$th bootstrap sample. $MSD_w$ within a subject needs no such correction. The resulting quantiles of the corrected $\widehat{\rho}^r$ form valid confidence intervals, substantially improving empirical coverage, especially in settings with small or moderate $I$ [1912.07137].

## 3. Generalized Spearman–Brown Formula

The dbICC admits an extended version of the Spearman–Brown formula for predicting the reliability of averaged measurements. Under the general "true-score+error" Hilbert space model $X_{ij} = T_i + \varepsilon_{ij}$, with appropriate orthogonality and variance-type distance definitions, the multi-replication dbICC for $m$ independent repeats is

$$
\rho_m = 1 - \frac{\Delta_\varepsilon(m)}{\Delta_T + \Delta_\varepsilon(m)} = \frac{\Delta_T}{\Delta_T + \Delta_\varepsilon(m)}
$$

where $\Delta_T = \mathbb{E} \|T_{i_1} - T_{i_2}\|^2$ and $\Delta_\varepsilon(m)$ is the within-subject mean squared error across $m$ repetitions. In the classical scalar case, $\Delta_\varepsilon(m) \propto 1/m$ recovers the usual Spearman–Brown formula:

$$
\rho_m = \frac{m \rho_1}{1 + (m-1)\rho_1}
$$

For vector or covariance-matrix data, the growth rate of reliability with $m$ is governed by the specific form of $\Delta_\varepsilon(m)$; e.g., for $m$ IID multivariate measurements, $\Delta_\varepsilon(m) \propto 1/(m-1)$, yielding $\rho_m/(1-\rho_m) \propto (m-1)$ [1912.07137].

## 4. Simulation Studies

Xu, Reiss, and Cribben conducted extensive simulation experiments to evaluate point and interval estimation behavior for dbICC. In their scenarios, $T_i \sim N_2(0, \Sigma_T)$, $\varepsilon_{ij} \sim N_2(0, c \Sigma_T)$, with varying signal-to-noise ratios $(c=4,1,0.25)$, sample sizes $(I=10,40,70)$, and $J_i=4$ repeats. True dbICC values $\rho=1/(1+c)$ ranged from 0.2 to 0.8.

Findings include:

- The point estimator $\widehat{\rho}$ exhibits negative bias at small $I$ (e.g., median bias for $I=10$), diminishing with larger $I$.
- Naive bootstrap confidence intervals tend to under-cover the nominal 95% level, especially for small $I$ (e.g., 86.0% coverage at $I=10$, $\rho=0.2$), whereas the bias-corrected bootstrap achieves substantially better accuracy (e.g., 90.8% coverage at $I=10$, $\rho=0.2$).
- Coverage rates approach nominal as $I$ increases or $\rho$ increases [1912.07137].

## 5. Application: Test–Retest Reliability for fMRI-Derived Connectivity Matrices

To demonstrate dbICC in a high-dimensional, non-scalar context, Xu et al. analyzed test–retest data on resting-state brain functional connectivity derived from fMRI scans. The dataset comprised 25 healthy adults, each scanned twice, generating 333 × 333 ROI correlation matrices (NYU TRT dataset). Preprocessing included motion correction, spatial normalization, tissue segmentation, nuisance regression, spatial smoothing (FWHM 6mm), and band-pass filtering.

Three distance metrics on correlation matrices were evaluated:

- $\ell_2$ (Frobenius) norm on flattened lower-triangular entries,
- $\ell_1$ entrywise norm,
- $\sqrt{1-r}$, with $r$ the Pearson correlation between lower triangles ("correlation of correlations").

dbICC values (point with 95% bias-corrected bootstrap CI):

| Region              | $\ell_2$             | $\ell_1$              | $\sqrt{1-r}$           |
|---------------------|----------------------|-----------------------|------------------------|
| All 333 ROIs        | 0.378 (0.329, 0.424) | 0.382 (0.335, 0.426)  | 0.382 (0.338, 0.426)   |
| Default Mode (41)   | 0.488 (0.403, 0.562) | 0.493 (0.404, 0.570)  | 0.487 (0.414, 0.555)   |
| Visual Network (39) | 0.434 (0.362, 0.508) | 0.435 (0.354, 0.515)  | 0.451 (0.401, 0.500)   |

dbICC for the full set was lower than for subnetworks (Default Mode, Visual), and soft-thresholding did not further improve reliability [1912.07137].

## 6. Practical Recommendations and Methodological Guidance

- Selection of $d(\cdot, \cdot)$ should be tailored to the data: Euclidean, Frobenius, dynamic-time-warping, or correlation-based distances are appropriate for vectors, matrices, or time series, respectively.
- Compute the full $IJ \times IJ$ distance matrix, average over off-diagonal within-subject and between-subject blocks to obtain $MSD_w$ and $MSD_b$.
- Employ subject-level nonparametric bootstrap, applying the bias correction for $MSD_b$ by excluding pairs representing the same individual in the resampled set.
- Plan studies using the generalized Spearman–Brown relation: plot $\log(\rho_m/(1-\rho_m))$ versus $\log(m)$ (measurement intensity) to estimate the requisite $m$ for a target reliability.
- Perform sensitivity analyses to alternative distance choices, thresholding strategies, and sample size.
- An implementation in R is available at https://github.com/wtagr/dbicc [1912.07137].

## 7. Context and Theoretical Significance

dbICC advances measurement reliability analysis to accommodate non-scalar, structured, and high-dimensional data realms, overcoming limitations of classical ICC. The approach is applicable wherever pairwise measurement dissimilarities are meaningful, including connectomics, time series, and functional data. The theoretical coherence with classical reliability models, extensibility to Hilbert spaces, and empirical validity underpin dbICC as a robust and unifying tool for generalized reliability quantification [1912.07137].

Source: https://www.emergentmind.com/topics/distance-based-icc-dbicc