bisection.FDR: Bisection algorithm (FDR)

Description Usage Arguments Value Author(s) See Also

Description

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

Usage

1
bisection.FDR(f, a=0, b=1, p, k, 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.

k

pre-specified number of acceptances allowed in the testing procedure (cannot exceed the length of p)

j

the index of the hypothesis.

n

the number of sections that the interval which from bisection algorithm.

tol

the 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.FWER


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