50% off | Unlimited Data & AI Learning
Get 50% off unlimited learning

RJafroc (version 1.3.2)

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

Description

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

Usage

SsPowerGivenJKDbmVarComp(
  J,
  K,
  effectSize,
  varYTR,
  varYTC,
  varYEps,
  alpha = 0.05,
  option
)

Arguments

J

The number of readers

K

The number of cases

effectSize

The effect size

varYTR

The treatment-reader DBM variance component

varYTC

The treatment-case DBM variance component

varYEps

The error-term DBM variance component

alpha

The size of the test (default = 0.05)

option

The desired generalization ("RRRC", "FRRC", "RRFC", "ALL")

Value

A list object containing the estimated power and associated statistics for each desired generalization.

Details

The variance components are obtained using StSignificanceTesting with method = "DBMH".

Examples

Run this code
# 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