icc2_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.

icc2_1(data: ndarray) → float[source]

Compute ICC(2,1): two-way random model, absolute agreement, single measurement (pingouin’s ICC2 row; McGraw & Wong ICC(A,1)): (MS_R - MS_E) / (MS_R + (k - 1) * MS_E + k * (MS_C - MS_E) / n).

Parameters:

data – Matrix of shape (n_targets, k_raters).

Returns:

The ICC(2,1) value.