tsdive.DesignTooSmall
¶
Bases: TSDiveError
A switchback schedule has too few blocks for a randomization test.
Raised when K balanced blocks give fewer than 20 assignments, or when the smallest two-sided p-value the assignments can reach exceeds 0.05: such a design cannot report a difference at the 5% level whatever the samples say.