getFdr: Calculate tail-area (Fdr) and local (fdr) false discovery...

Description Usage Arguments Value

View source: R/F_getFdr.R

Description

Calculate tail-area (Fdr) and local (fdr) false discovery rates, based on a certain null distribution

Usage

1
getFdr(statObs, fitAll, fdr, zSeq, p, p0, zValsDensObs, smoothObs, ...)

Arguments

statObs

Vector of observed z-values

fitAll

The parameters of the estimated random null

fdr

local false discovery rate, already estimated

zSeq

Support of the density estimation

p

the number of hypotheses

p0

The estimated fraction of null hypotheses

zValsDensObs

estimated densities of observed test statistics

smoothObs

A boolean, should estimated observed densities of the test statistics be used in estimating the Fdr

...

more arguments, ignored

Value

A list with components

Fdr

Tail are false discovery rate

fdr

Local false discovery rate


reconsi documentation built on Nov. 8, 2020, 5:04 p.m.

Related to getFdr in reconsi...