You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Somehow the calculation of the initial sample size broke when ballot polling was introduced. Presumably, calculating the incremental sample size is also wrong. And the sample size calculations should terminate if the size reaches the appropriate population size (max_cards or contest['cards']).
The text was updated successfully, but these errors were encountered:
Resolved. issue was using np.argmax(p_history <= alpha) when the risk limit was not attained, which erroneously produced a sample size of 1 instead of N. Now test whether risk limit is attained.
Somehow the calculation of the initial sample size broke when ballot polling was introduced. Presumably, calculating the incremental sample size is also wrong. And the sample size calculations should terminate if the size reaches the appropriate population size (max_cards or contest['cards']).
The text was updated successfully, but these errors were encountered: