Power given J, K and Dorfman-Berbaum-Metz variance components

SsPowerGivenJKDbmVarCom(
  J,
  K,
  effectSize,
  VarTR,
  VarTC,
  VarErr,
  alpha = 0.05,
  analysisOption = "RRRC"
)

Arguments

J

The number of readers

K

The number of cases

effectSize

The effect size

VarTR

The modality-reader DBM variance component

VarTC

The modality-case DBM variance component

VarErr

The error-term DBM variance component

alpha

The size of the test (default = 0.05)

analysisOption

Specify the random factor(s): "RRRC", "FRRC", "RRFC"

Value

A list containing the estimated power and associated statistics for the specified random factor(s).

Details

The variance components are obtained using St with method = "DBM".

Examples

VarCom <- St(dataset02, FOM = "Wilcoxon", method = "DBM", 
   analysisOption = "RRRC")$ANOVA$VarCom
VarTR <- VarCom["VarTR",1]
VarTC <- VarCom["VarTC",1]
VarErr <- VarCom["VarErr",1]
ret <- SsPowerGivenJKDbmVarCom (J = 5, K = 100, effectSize = 0.05, VarTR, 
   VarTC, VarErr, analysisOption = "RRRC")
##cat("RRRC power = ", ret$powerRRRC)