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 treatment-reader DBM variance component |
VarTC |
The treatment-case DBM variance component |
VarErr |
The error-term DBM variance component |
alpha |
The size of the test (default = 0.05) |
analysisOption |
The desired generalization ("RRRC", "FRRC", "RRFC", "ALL") |
The variance components are obtained using StSignificanceTesting
with method = "DBM"
.
A list object containing the estimated power and associated statistics for each desired generalization.
VarCom <- StSignificanceTesting(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.