pvals.ICC1b: P-value of the ICC under ANOVA Model 1B for arbitrary null...

Description Usage Arguments Value References Examples

View source: R/icc1factor.r

Description

This function computes the p-value associated with the Intraclass Correlation Coefficient (ICC) under the one-factor ANOVA model where each rater may rate a different group of subjects.

Usage

1
pvals.ICC1b(ratings, gam.zero = 0)

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.

gam.zero

This is an optional parameter that represents a vector containing an arbitrary number of null values between 0 and 1 for which a p-value will be calculated. If left unspecified, its default value will be 0.

Value

This function returns a vector containing p-values associated with the null values specified in the parameter gam.zero.

References

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

Examples

1
2
3
4
5
#iccdata1 is a small dataset that comes with the package. Use it as follows:
library(irrICC)
iccdata1 #see what the iccdata1 dataset looks like
#Let c(0.05,0.13,0.28,0.33) be an arbitrary vector of values between 0 and 1
pvals.ICC1b(iccdata1,c(0.05,0.13,0.28,0.33))

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