EstNullProp_RB {calm}R Documentation

Right-boundary procedure

Description

True null proportion (pi_0) estimator of Liang and Nettleton (2012), JRSSB

Usage

EstNullProp_RB(pval, lambda.vec = 0.05 * seq_len(19))

Arguments

pval

vector of p-values

lambda.vec

vector of lambda candidates (excluding 0 and 1)

Value

the estimate of the overall true null proportion

Examples

pval <- c(runif(900), rbeta(100, 1, 10))
EstNullProp_RB(pval)

[Package calm version 1.4.0 Index]