tst_pi0_est: TST (Two-Step) pi0 estimator

Description Usage Arguments Value Examples

View source: R/pi0_estimators.R

Description

TST (Two-Step) pi0 estimator

Usage

1
tst_pi0_est(pvalue, alpha)

Arguments

pvalue

Numeric vector of unadjusted p-values.

alpha

Nominal level for applying the TST procedure

Value

estimated proportion of null hypotheses (pi0)

Examples

1
2
     sim_df <- du_ttest_sim(20000,0.95, 1.5)
     tst_pi0_est(sim_df$pvalue, .1)

nignatiadis/ihwPaper documentation built on Jan. 18, 2021, 3:13 p.m.