File Exchange

image thumbnail

IPN tools for Test-Retest Reliability Analysis

version 1.11 (4.54 KB) by

This is one part of my IPN toolbox, aiming at the reliability analysis of neuroimaging meaures.



View License

The basic functions include the MATLAB implementation of ICC (Intraclass Correlation Coefficient), CCC (Corcordance Correlation Coefficient) and Kendall's W or KCC (Kendall's Coefficient of Concordance).

List of basic functions:

[1]. IPN_icc: computes the interclass correlations for indexing the reliability analysis according to shrout and fleiss' schema.
Shrout PE, Fleiss JL. Intraclass correlations: uses in assessing rater reliability. Psychol Bull. 1979;86:420-428.
[2]. IPN_ccc: computes the concordance correlation coefficient for evaluating reproducibility.
Lin, L.I. 1989. A Corcordance Correlation Coefficient to Evaluate Reproducibility. Biometrics 45, 255-268.
[3]. IPN_kendallW: computes the Kendall's W.
Kendall, M. G. and Babington Smith, B. 1939. The Problem of m Rankings. The Annals of Mathematical Statistics 10 (3): 275–287.

Papers List:
[1]. Zuo XN, Di Martino A, Kelly C, Shehzad ZE, Gee DG, Klein DF, Castellanos FX, Biswal BB, Milham MP. The oscillating brain: Complex and reliable. Neuroimage 49(2): 1432-1445.
[2]. Zuo XN, Kelly C, Adelstein JS, Klein DF, Castellanos FX, Milham MP. 2010. Reliable Intrinsic Connectivity Networks: Test-Retest Evaluation Using ICA and Dual Regression Approach. NeuroImage, in press.

Comments and Ratings (5)


imu931 (view profile)

thank you very much for the code!

I have n subjects acquired 2 times and I would like to perform a test-retest study. Should I use 'single' or 'k' option?
like, IPN_icc([test;test],1,'single') or IPN_icc([test;test],1,'k) ?


Xi-Nian Zuo

Xi-Nian Zuo (view profile)

hi dan, can you post your codes to call kendallW function? it should not be the case it is > 1.


Dan (view profile)

Hey thanks for uploading this!
I have one question regarding Kendall's coefficient of concordance W: When I choose to correct for ties within the data, I get values > 1. Is that possible? I know it's not supposed to be without correcting for ties.

Jasper Klewer

IPN_CCC calls the functions IPN_sum and IPN_ssd, which are not in the ZIP file. Could you include these in the package?



Remove the function dependency of IPN_mean and IPN_sum.


Added the functions IPN_sum and IPN_ssd and updated the IPN_ccc function with respect to Jasper Klewer's comments.


Updates for calculation of Kendall's W including a tied rank correction option.


Updates the screen shot!


Deleted several useless files.

MATLAB Release
MATLAB 6.5.1 (R13SP1)

Inspired by: Intraclass Correlation Coefficient (ICC)

Inspired: Manchester

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Win prizes and improve your MATLAB skills

Play today