stepwise: Decision-making Function for Generalized Stepwise Procedures

Description Usage Arguments Value Author(s) References

View source: R/hiercv.R

Description

Given a set of p-values, return the decisions using the generalized stepwise procedure.

Usage

1
stepwise(p, CF, k)

Arguments

p

numeric vector of p-values (possibly with NAs). Any other R is coerced by as.numeric. Same as in p.adjust.

CF

critical functions of the corresponding multiple testing procedure

k

the order of a generalized stepwise procedure.

Value

logical values of each hypothesis being rejected or not, if TRUE, then the hypothesis is rejected; otherwise, the hypothesis is not rejected.

Author(s)

Yalin Zhu

References

Lynch, G., Guo, W. (2016). On Procedures Controlling the FDR for Testing Hierarchically Ordered Hypotheses. arXiv preprint arXiv:1612.04467.

Tamhane, A. C., Liu, W., & Dunnett, C. W. (1998). A generalized step-up-down multiple test procedure. The Canadian Journal of Statistics/La Revue Canadienne de Statistique, 353-363.

Sarkar, S. K. (2002). Some results on false discovery rate in stepwise multiple testing procedures. Annals of statistics, 239-257.


allenzhuaz/MHThier documentation built on June 1, 2017, 5:22 p.m.