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

View source: R/SsPowerGivenJK.R

SsPowerGivenJKDbmVarComR Documentation

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

Description

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

Usage

SsPowerGivenJKDbmVarCom(
  J,
  K,
  effectSize,
  VarTR,
  VarTC,
  VarErr,
  alpha = 0.05,
  analysisOption = "RRRC"
)

Arguments

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")

Details

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

Value

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

Examples

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)
  

RJafroc documentation built on Nov. 10, 2022, 5:45 p.m.