n_icc: Sample size for ICC

View source: R/n_icc.R

n_iccR Documentation

Sample size for ICC

Description

Sample size for ICC

Usage

n_icc(beta = 0.8, alpha = 0.05, k = 3, icc, icc_lower)

Arguments

beta

power level, default beta = 0.8, also called assurance probability.

alpha

confidence level, default alpha = 0.05

k

number of raters, default k = 3

icc

reliability coefficient

icc_lower

lower limit of the reliability coefficient icc

Details

Calculate the sample size for achieving a certain lower limit of the confidence interval derived by the F procedure. This method is developed for the ICC type oneway.

References

Zou, G.Y. (2012) Sample size formulas for estimating intraclass correlation coefficients with precision and assurance. Statistics in medicine, 31, 3971-3981.

Examples

n_icc(icc = 0.7, icc_lower = 0.6, k = 4)
n_icc(icc = 0.7, icc_lower = 0.6, k = 2)
n_icc(icc = 0.7, icc_lower = 0.6, k = 3)

iriseekhout/Agree documentation built on July 28, 2023, 11:24 p.m.