Learn R Programming

FixSeqMTP (version 0.1.2)

optim.accept.adjp: Objective function to be optimized (2)

Description

Objective function to be optimized for the adjusted p-values for FWER controlling g-FSMTP based on the numbers of acceptances only. (See Procedure A2 in Qiu et al. (2015))

Usage

optim.accept.adjp(alpha, p, beta)

Arguments

alpha
the parameter we need to solve for the adjusted p-values.
p
numeric vector of p-values (possibly with NAs). Any other R is coerced by as.numeric. Same as in p.adjust.
beta
pre-specified constant satisfying $0 \le \beta <1$, only="" for="" method="accept".

Value

difference between adjusted p-value and significant level alpha.

References

Qiu, Z., Guo, W., & Lynch, G. (2015). On generalized fixed sequence procedures for controlling the FWER. Statistics in medicine, 34(30), 3968-3983.