Learn R Programming

agRee (version 0.5-3)

agree.icc1: Intraclass correlation coefficient for one-way random anova model

Description

Obtain confidence interval and point estimate of the intraclass correlation coefficient for one-way random anova model (ICC1).

Usage

agree.icc1(ratings, conf.level=0.95, method=c("sf"),
             NAaction=c("fail", "omit"))

Arguments

ratings

a matrix of observations with one subject per row and one rater per column.

conf.level

confidence level of the interval. The default is 0.95.

method

a character string specifying the method used to obtain confidence interval of the ICC1. Now only the "sf" method is supported.

NAaction

a character string specifying what should happen when the data contain NAs. It must be one of "fail" and "omit" and may be abbreviated. The default is "fail" that causes the function to print an error message and terminate if there are any incomplete observations. If it is "omit", then the entire row(s) containing incomplete observation(s) will be deleted.

Value

Point estimate of the ICC1 and lower and upper bounds of the confidence interval.

Details

The point estimate and confidence interval are based on a one-way random anova model as proposed in Shrout and Fleiss (1979).

References

Patrick E Shrout and Joseph L Fleiss (1979). Intraclass correlations: uses in assessing rater reliability. Psychological Bulletin 86 420-428

Examples

Run this code
# NOT RUN {
  data(lesionBurden)
  agree.icc1(lesionBurden.M)
# }

Run the code above in your browser using DataLab