SsPowerGivenJKDbmVarCom.Rd
Power given J, K and Dorfman-Berbaum-Metz variance components
SsPowerGivenJKDbmVarCom(
J,
K,
effectSize,
VarTR,
VarTC,
VarErr,
alpha = 0.05,
analysisOption = "RRRC"
)
The number of readers
The number of cases
The effect size
The modality-reader DBM variance component
The modality-case DBM variance component
The error-term DBM variance component
The size of the test (default = 0.05)
Specify the random factor(s): "RRRC", "FRRC", "RRFC"
A list containing the estimated power and associated statistics for the specified random factor(s).
The variance components are obtained using St
with method = "DBM"
.
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)