icc3_1

Note

This page is a reference documentation. It only explains the function signature, and not how to use it. Please refer to the Habitat Guide and Python API guide (v2.0) for usage.

icc3_1(data: ndarray) → float[source]

Compute ICC(3,1): two-way mixed model, consistency, single measurement.

This is the ICC variant HABIT uses by default for test-retest feature stability (the v0.1 icc3 configuration default, pingouin’s ICC3 row; McGraw & Wong notation ICC(C,1)): (MS_R - MS_E) / (MS_R + (k - 1) * MS_E).

Parameters:

data – Matrix of shape (n_targets, k_raters).

Returns:

The ICC(3,1) value (can be negative when between-target variance is below the error variance).