estimate.lambda: Estimating The threshold lambda in Estimating FDR Using...

Description Usage Arguments Value Author(s) References Examples

Description

This function calculate lambda threshold to estimate FDR

Usage

1
estimate.lambda(p, B = 20)

Arguments

p

a numerical vector of p-value.

B

number of bin.

Value

The function returns an estimate of lambdastar, the threshold to calculate FDR based on Storey's formula.

Author(s)

Dan Nettleton dnett@iastate.edu

References

Dan NETTLETON, J. T. Gene HWANG, Rico A. CALDO, and Roger P. WISE. Estimating the Number of True Null Hypotheses From a Histogram of p Values. Journal of Agricultural, Biological, and Environmental Statistics, Volume 11, Number 3, Pages 337–356.

Examples

1
2
3
p <- runif(100)
lambdastar <- estimate.lambda(p)
lambdastar

ntyet/sfdr documentation built on May 7, 2019, 1:30 p.m.