lsl_pi0_est: LSL (Least-Slope) pi0 estimator

Description Usage Arguments Value Examples

View source: R/pi0_estimators.R

Description

LSL (Least-Slope) pi0 estimator

Usage

1
lsl_pi0_est(pvalue)

Arguments

pvalue

Numeric vector of unadjusted p-values.

Value

estimated proportion of null hypotheses (pi0)

Examples

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

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