estP0 {reconsi} | R Documentation |
Estimate the fraction of true null hypotheses.
estP0(statObs, nullDensCum, zSeq, z0quantRange, smooth.df)
statObs |
A vector of observed z-values |
nullDensCum |
A smoothed cumulative distribution function of the observed z-values |
zSeq |
The support of the kernel smoother |
z0quantRange |
a number of quantiles between 0 and 0.5 |
smooth.df |
degrees of freedom for the spline smoother |
A natural spline is used over a range of intervals. Based on the qvalue::qvalue() function and Storey and Tibshirani, 2003
The estimated null fraction, the value of the spline evaluated at the first element of z0quantRange