pvals.ICC2r.inter: P-values of ICC(2,1) under Model 2 with subject-rater...

Description Usage Arguments Value References Examples

View source: R/icc2x3.r

Description

This function computes p-values for the Intraclass Correlation Coefficients (ICC) used as a measure of inter-rater reliability under the random factorial ANOVA model (Model 2) with subject-rater interaction. The output is vector of p-values, one for each of the null values specified in the optional rho.zero parameter, whose default value is 0.

Usage

1
pvals.ICC2r.inter(dfra, rho.zero = 0)

Arguments

dfra

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.

rho.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 not specified then its default value will be 0.

Value

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

References

Gwet, K.L. (2014): Handbook of Inter-Rater Reliability - 4th ed. chapter 9, section 9.3.1 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 iccdata1 dataset looks like
pvals.ICC2r.inter(iccdata1,c(0.15,0.20,0.25))

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