benchmark.power: Benchmark power of test

View source: R/benchmark.power.R

benchmark.powerR Documentation

Benchmark power of test

Description

Benchmark power of test

Usage

benchmark.power(test.name, data.name, alpha = c(0.05, 0.01))

benchmark.sensitivity(test.name, data.name, pop, alpha = c(0.05, 0.01))

benchmark.recall(test.name, data.name, pop, alpha = c(0.05, 0.01))

benchmark.tpr(test.name, data.name, pop, alpha = c(0.05, 0.01))

benchmark.specificity(test.name, data.name, pop, alpha = c(0.05, 0.01))

benchmark.selectivity(test.name, data.name, pop, alpha = c(0.05, 0.01))

benchmark.tnr(test.name, data.name, pop, alpha = c(0.05, 0.01))

benchmark.ppv(test.name, data.name, pop, alpha = c(0.05, 0.01))

benchmark.precision(test.name, data.name, pop, alpha = c(0.05, 0.01))

benchmark.npv(test.name, data.name, pop, alpha = c(0.05, 0.01))

benchmark.accuracy(test.name, data.name, pop, alpha = c(0.05, 0.01))

Arguments

test.name

The name of the test being applied.

data.name

The name(s) of the data sets to be tested.

alpha

The type I error rate. Default is c(0.05, 0.01).

pop

A vector with the populations associated with each region.

Value

A data.frame

Examples

## Not run: 
benchmark.power("scan_stat", 
                data.name = c("mixed01", "mixed01_6000"))

## End(Not run)

jpfrench81/neastbenchmark documentation built on July 26, 2023, 3:07 p.m.