Skip to main content
. Author manuscript; available in PMC: 2020 Jan 1.
Published in final edited form as: J Am Stat Assoc. 2018 Aug 6;114(525):419–433. doi: 10.1080/01621459.2017.1411269

Procedure 2.

Selecting lambdas under the assumption of independence: equal groups sizes

input: q ∈ (0, 1), w > 0, p, n, m, l ∈ ℕ
λ1:=1wFχl-1(1-qm);
For i ∈ {2, . . . , m}:
λS := (λ1, . . . , λi−1);
S:=n-l(i-1)n+w2λS22n-l(i-1)-1;
λi:=SwFχl-1(1-q·im);
 if λiλi-1, then put λi:=λi. Otherwise, stop the procedure and put λj := λi−1 for ji;
end for