estP0: Estimate the fraction of true null hypotheses.

Description Usage Arguments Details Value

View source: R/F_estP0.R

Description

Estimate the fraction of true null hypotheses.

Usage

1
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


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

Related to estP0 in reconsi...