bisection.FWER {FixSeqMTP}R Documentation

Bisection algorithm (FWER)

Description

Bisection algorithm to find the solution for the adjusted p-value for FWER controlling g-FSMTPs.

Usage

bisection.FWER(f, a=0, b=1, p, beta, j, n = 1000, tol)

Arguments

f

the objective function to be optimized for the solution.

a

mininum of the interval which contains the solution from bisection algorithm.

b

maxinum of the interval which contains the solution from bisection algorithm.

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".

j

index of the hypothesis.

n

number of sections that the interval which from bisection algorithm.

tol

desired accuracy.

Value

a solution of the objective function which is between the interval from a to b.

Author(s)

Yalin Zhu

See Also

bisection.FDR


[Package FixSeqMTP version 0.1.2 Index]