bisection.FWER: Bisection algorithm (FWER)

Description Usage Arguments Value Author(s) See Also

Description

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

Usage

1
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 ≤ β <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


FixSeqMTP documentation built on May 1, 2019, 10:53 p.m.