5.0

5.0 | 2 ratings Rate this file 22 Downloads (last 30 days) File Size: 4.44 KB File ID: #22099

Intraclass Correlation Coefficient (ICC)

by Arash Salarian

 

14 Nov 2008 (Updated 20 Nov 2008)

Calculate any of 6 different ICCs with confidence intervals

| Watch this File

File Information
Description

This function can calculate any of the 6 different ICCs defined by McGraw as well as their confidence intervals. In addition a hypothesis test is performed with the null hypothesis that ICC = r0. This function calls anova_rm (provided inside the zip file).

Syntax:
[r, LB, UB, F, df1, df2, p] = ICC(M, type, alpha, r0)

M is matrix of observations. Each row is an object of measurement and each column is a judge or measurement.

'type' is a string that can be one of the six possible codes for the desired type of ICC:
    '1-1': The degree of absolute agreement among measurements made on randomly seleted objects. It estimates the correlation of any two measurements.
    '1-k': The degree of absolute agreement of measurements that are averages of k independent measurements on randomly selected objects.
    'C-1': case 2: The degree of consistency among measurements. Also known as norm-referenced reliability and as Winer's adjustment for anchor points. case 3: The degree of consistency among measurements maded under the fixed levels of the column factor. This ICC estimates the corrlation of any two measurements, but when interaction is present, it underestimates reliability.
    'C-k': case 2: The degree of consistency for measurements that are averages of k independent measurements on randomly selected onbjectgs. Known as Cronbach's alpha in psychometrics. case 3: The degree of consistency for averages of k independent measures made under the fixed levels of column factor.
    'A-1': case 2: The degree of absolute agreement among measurements. Also known as criterion-referenced reliability. case 3: The absolute agreement of measurements made under the fixed levels of the column factor.
    'A-k': case 2: The degree of absolute agreement for measurements that are averages of k independent measurements on randomly selected objects. case 3: he degree of absolute agreement for measurements that are based on k independent measurements maded under the fixed levels of the column factor.

ICC is the estimated intraclass correlation. LB and UB are upper and lower bounds of the ICC with alpha level of significance.

In addition to estimation of ICC, a hypothesis test is performed with the null hypothesis that ICC = r0. The F value, degrees of freedom and the corresponding p-value of the this test are reported.

Reference: McGraw, K. O., Wong, S. P., "Forming Inferences About Some Intraclass Correlation Coefficients", Psychological Methods, Vol. 1, No. 1, pp. 30-46, 1996

Acknowledgements

The author wishes to acknowledge the following in the creation of this submission:
Repeated Measures ANOVA
This submission has inspired the following:
IPN tools for Test-Retest Reliability Analysis

Required Products Statistics Toolbox
MATLAB release MATLAB 7.2 (R2006a)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (3)
11 Feb 2011 Andrew

A phenomenal function for ICC--quick, painless, and complete. The only minor inconvenience is the fact that there are several functions that must be put into the code, but that is a small price to pay.

25 May 2011 Ted Teng

Great function, easy to use, and it also outputs the confidence interval and a reference for it! Excellent work!!

27 Sep 2011 Philip West

I used 'nanmean' and 'nanstd' instead of mean_nan and std_nan and it worked fine

Please login to add a comment or rating.
Updates
19 Nov 2008

Fixed a bug in ICC.m that resulted in incorrect results

20 Nov 2008

Fixed the title

Tag Activity for this File
Tag Applied By Date/Time
statistics Cristina McIntire 14 Nov 2008 15:26:08
reliability Cristina McIntire 14 Nov 2008 15:26:08
icc Cristina McIntire 14 Nov 2008 15:26:08
statistics Arash Salarian 14 Nov 2008 15:26:47
icc Arash Salarian 14 Nov 2008 15:26:47
reliability Arash Salarian 14 Nov 2008 15:26:47

Contact us at files@mathworks.com