View source: R/SsPowerGivenJK.R
SsPowerGivenJKDbmVarCom | R Documentation |
Power given J, K and Dorfman-Berbaum-Metz variance components
SsPowerGivenJKDbmVarCom(
J,
K,
effectSize,
VarTR,
VarTC,
VarErr,
alpha = 0.05,
analysisOption = "RRRC"
)
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" |
The variance components are obtained using St
with method = "DBM"
.
A list containing the estimated power and associated statistics for the specified random factor(s).
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.