Adaptive choice of scale tests in flexible two-stage designs with applications in experimental ecology and clinical trials