est.prop: Proportion Estimation

Description Usage Arguments Value References Examples

View source: R/est.prop.R

Description

Estimates false null hypothesis Proportion from multiple p-values using higher criticism test estimator.

Usage

1
est.prop(p.value, cn, adj = TRUE)

Arguments

p.value

A sequence of p-values from test data, not including p-values from covariates.

cn

A value of bounding sequence generated by HCTR::bounding.seq().

adj

A boolean algebra to decide whether to use adjusted Higher Criticism test statistic, the default value is TRUE.

Value

An estimated proportion of false null hypothesis.

References

\insertRef

meinshausen2006estimatingHCTR

Examples

1
2
3
4
5
set.seed(10)
X <- matrix(runif(n = 10000, min = 0, max = 1), nrow = 100)
result <- bounding.seq(p.value = X)
Y <- matrix(runif(n = 100, min = 0, max = 1), nrow = 100)
test <- est.prop(p.value = Y, cn = result)

HCTR documentation built on Dec. 1, 2019, 1:21 a.m.