estP0 {reconsi}R Documentation

Estimate the fraction of true null hypotheses.

Description

Estimate the fraction of true null hypotheses.

Usage

estP0(statObs, fitAll, z0quantRange, smooth.df)

Arguments

statObs

A vector of observed z-values

fitAll

the estimated normal null

z0quantRange

a number of quantiles between 0 and 0.5

smooth.df

degrees of freedom for the spline smoother

Details

A natural spline is used over a range of intervals. Based on the qvalue::qvalue() function and Storey and Tibshirani, 2003

Value

The estimated null fraction, the value of the spline evaluated at the first element of z0quantRange


[Package reconsi version 1.2.0 Index]