estPerf: estPerf

Description Usage Arguments Value References Examples

View source: R/estPerf.R

Description

Estimate performance (false-positive rate, false-negative rate, true-positive rate, true-negative rate) when there are repeated tests for a set of test subjects (e.g. genes).

Usage

1
estPerf(n, N, delta)

Arguments

n

Vector of integers specifying the number of tests that produced a particular result (either negative or positive) for each subject.

N

Integer value giving the total number of repeated tests per subject.

delta

Vector of real numbers giving the probability that a given subject has the expected result (either negative or positive) - must be the same length as 'n'.

Value

The estimated performance, a real value in the range [0,1].

References

Jakobsdottir and Weeks (2007). Estimating prevalence, false-positive rate, and false-negative rate with use of repeated testing when true responses are unknown. Am J Hum Genet 81:1111-1113.

Examples

1
## Not run: estPerf(n,N,delta)

alex-kalinka-cruk/perept documentation built on Jan. 11, 2020, 3:46 p.m.