fdr_calc: False discovery rate

Description Usage Arguments Value Examples

View source: R/fdr_calc.R

Description

The function express the false discovery rate associated with selection bias in multiple testing. This produces a tibble of the recall, precision and false discovery rate when give the true probability of a positive results, the significance level, ,the false negative rate (Type II error) and the number of trails.

Usage

1
fdr_calc(ground_truth, alpha = 0.05, beta, trails)

Arguments

ground_truth

double probability of a positive results

alpha

double level of significance

beta

double Type || error

trails

integer No of trails

Value

tibble

Examples

1
fdr_calc(0.01,beta=0.4,trails=10000)

barryquinn1/ATI documentation built on May 10, 2021, 10:47 a.m.