ci.ICC1b: Confidence Interval of Intraclass Correlation Coefficient...

Description Usage Arguments Value References Examples

View source: R/icc1factor.r

Description

This function computes the lower and upper confidence bounds associated with the ICC under the one-factor ANOVA model where each rater may rate a different group of subjects.

Usage

1
ci.ICC1b(ratings, conflev = 0.95)

Arguments

ratings

This is a data frame containing 3 columns or more. The first column contains subject numbers (there could be duplicates if a subject was assigned multiple ratings) and each of the remaining columns is associated with a particular rater and contains its numeric ratings.

conflev

This is the optional confidence level associated with the confidence interval. If not specified, the default value will be 0.95, which is the most commonly-used valuee in the literature.

Value

This function returns a vector containing the following the lower confidence (lcb) and the upper confidence bound (ucb).

References

Gwet, K.L. (2014): Handbook of Inter-Rater Reliability - 4th ed. chapter 8, section 8.3.4, equations 8.3.5 and 8.3.6. Advanced Analytics, LLC.

Examples

1
2
3
4
#iccdata1 is a small dataset that comes with the package. Use it as follows:
library(irrICC)
iccdata1 #see what the iccdata3 dataset looks like
ci.ICC1b(iccdata1)

irrICC documentation built on Sept. 23, 2019, 5:05 p.m.