icc: Intraclass correlation coefficients

Description Usage Arguments Details Value Author(s) References Examples

Description

Calculates intraclass correlation coefficients as a reliability measure for interval scale data.

Usage

1
2
icc(data = NULL, model = c("one", "two"), type = c("agreement", "consistency"), 
           measure = c("single", "average"), conf.level = 0.95)

Arguments

data

A matrix with n subjects and m observations (n*m matrix).

model

A character string specifying "one" for one-way models or "two" for two-way models (See details).

type

A character string specifying "agreement" or "consistency" (See details).

measure

A character string specifying "singel" or "average" (See details).

conf.level

Confidence level of the interval.

Details

ICC measures the proportion of variance that is attributable to the objects of measurement (McGraw and Wong 1996). In the one-way model rows are random (i.e., columns are nested within rows), and in the two-way model both rows and columns are random (i.e., rows and columns are crossed).

Consistency considers observations relative to each other while absolute agreement considers the absolute difference of the observations (McGraw and Wong 1996). For example, ICC equals 1.00 for the paired scores (2,4), (4,6) and (6,8) for consistency, but only 0.67 for absolute agreement. In the one-way model, only absolute agreement is possible (McGraw and Wong 1996). The measure chosen should reflect the application of the tested item. The single measure is appropriate if the intention is to use the score from a single observation, while the average measure is suitable if the intention is to use an average score across a number of observations. The confidence interval is based on a F distribution. Incomplete cases are omitted listwise.

Value

method

Analysis name

obs

Number of observations

sample

Sample size

est

Point estimate

se

Standard error

lb

Lower confidence boundary

ub

Upper confidence boundary

data

analyzed data

Author(s)

Riccardo Lo Martire

References

McGraw, K. O., Wong, S. P. (1996), Forming inferences about some intraclass correlation coefficients. Psychological Methods, 1(1), 30-46.

Shrout, P. E., Fleiss, J. L. (1979), Intraclass correlation: uses in assessing rater reliability. Psychological Bulletin, 86(2), 420-428.

Examples

1
2
3
4
5
#Sample data: 200 subjects rated their weight twice.
data <- cbind(sample(50:100,200,replace=TRUE), sample(50:100,200,replace=TRUE))

#ICC based on a two-way random effects model of absolute agreement for a single observation
icc(data=data, model = "two", type = "agreement", measure ="single", conf.level=0.95)

Example output

Call:
icc(data = data, model = "two", type = "agreement", measure = "single", 
    conf.level = 0.95)

       Estimate   LowerCB UpperCB
Const  0.032649 -0.103105   0.168

Confidence level = 95%
Observations = 2
Sample size = 200

rel documentation built on March 3, 2020, 9:07 a.m.