Power given J, K and Dorfman-Berbaum-Metz variance components
SsPowerGivenJKDbmVarComp(
J,
K,
effectSize,
varYTR,
varYTC,
varYEps,
alpha = 0.05,
option
)
The number of readers
The number of cases
The effect size
The treatment-reader DBM variance component
The treatment-case DBM variance component
The error-term DBM variance component
The size of the test (default = 0.05)
The desired generalization ("RRRC", "FRRC", "RRFC", "ALL")
A list object containing the estimated power and associated statistics for each desired generalization.
The variance components are obtained using StSignificanceTesting
with method = "DBMH"
.
# NOT RUN {
VarComp <- StSignificanceTesting(dataset02, FOM = "Wilcoxon", method = "DBMH",
option = "RRRC")$varComp
varYTR <- VarComp$varTR
varYTC <- VarComp$varTC
varYEps <- VarComp$varErr
ret <- SsPowerGivenJKDbmVarComp (J = 5, K = 100, effectSize = 0.05, varYTR,
varYTC, varYEps, option = "RRRC")
cat("RRRC power = ", ret$powerRRRC)
# }
Run the code above in your browser using DataLab