EstNullProp_RB {calm} | R Documentation |
True null proportion (pi_0) estimator of Liang and Nettleton (2012), JRSSB
EstNullProp_RB(pval, lambda.vec = 0.05 * seq_len(19))
pval |
vector of p-values |
lambda.vec |
vector of lambda candidates (excluding 0 and 1) |
the estimate of the overall true null proportion
pval <- c(runif(900), rbeta(100, 1, 10)) EstNullProp_RB(pval)