Skip to main content
. Author manuscript; available in PMC: 2021 Apr 15.
Published in final edited form as: J Am Stat Assoc. 2019 Jun 28;115(531):1279–1291. doi: 10.1080/01621459.2019.1623040
Algorithm 1 Simultaneous testing procedure
1.Calculate the test statisticsMl,gand the corresponding finitesample correctedandnormal quantile transformed statisticsNl,g,for all pairs1l,gL.2.Estimate the FDP by,FDP^(t)=L2(1Φ(t))(l,g)HI(Nl,gt)1.3.For a given0α1,calculatet^=inf{0t(4logL2loglogL)12:FDP^(t)α}.Ift^does not exist,sett^=2(logL)12.4For1l,gL,rejectH0,l,gifand onlyifNl,gt^,and setH^1={(l,g):Nl,gt^}.