Closed testing procedure (source code)

= Closed testing procedure
{wiki}

Choose a level-$\alpha$ local test for every nonempty intersection $H_I=\bigcap_{i\in I}H_i$. The closed testing procedure rejects an elementary hypothesis $H_i$ exactly when every intersection hypothesis containing it is rejected by its local test.