reliability_sample_size_estimation: Title: Sample Size Estimations For Reliability Studies

Description Usage Arguments Details Value

View source: R/reliability_sample_size_estimation.R

Description

Function that takes a given width of a confidence interval (w), number of replicates (n), z score for confidence interval required (z), and planned ICC value (p_h) Formulas given by Shoukri et al., 2004 (equation 7) Shoukri MM, Asyali MH & Donner A (2004). Sample size requirements for the design of reliability study: review and new results. Statistical Methods in Medical Research 13, 251-271.

Usage

1

Arguments

w

numeric value or vector of values for width of the confidence interval

n

numeric value for number of replicates

z

numeric value indicating the z score value for a given confidence interval (e.g., 1.96 for 95% CI)

p_h

numeric value or vector of values for expected/planned ICC

type

string input taking form of "single" or "multiple".

Details

For: w = 0.2, n = 3, z = 1.96, p_h = 0.8, type = "single, should equal k = 35, k1 = 36 to fit with Table 3 in Shoukri et al., 2004

Value

dataframe consisting of two values (type = "single") for k and K1, or large dataframe with k and k1 values for a range of w and p_h values.


AshleyAkerman/mmReliability documentation built on Dec. 31, 2020, 9:51 a.m.