Stat Intraclass Correlation
stat_intraclass_correlationCalculate intraclass correlation to assess inter-rater, test-retest, or device agreement and consistency; use ICC2 for absolute agreement and ICC3 for consistency.
Instructions
Intraclass correlation — agreement or consistency between raters or measurements.
WHEN TO USE: inter-rater reliability, test-retest reliability, agreement between measurement devices.
WHEN NOT TO USE: as a substitute for Bland-Altman when the question is whether two methods agree in absolute terms — ICC is bounded by the range of the sample and can look excellent while agreement is poor.
Choosing the form matters and is often got wrong:
ICC2 — absolute agreement, raters treated as random and interchangeable.
ICC3 — consistency only (do raters rank the same way?), raters fixed.
the "k" variants — reliability of the mean of k raters, which is higher.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>",
"targets": "<targets>",
"raters": "<raters>",
"ratings": "<ratings>"
},
"name": "stat_intraclass_correlation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| raters | Yes | ||
| ratings | Yes | ||
| targets | Yes | ||
| icc_type | No | ICC2 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |