## Samplesize comparison

This is a comparison of A/B testing with a fixed samplesize test versus a sequential GLR test (via SeGLiR). Click to generate data from the given proportions p_{1} and p_{2} and simulate outcomes of the test as well as how many samples are needed.

Both tests are "comparison of proportions" tests done at α-level 0.05, β-level 0.10, where the null-hypothesis is that p_{1} = p_{2}, while the alternative hypothesis is that p_{1} ≠ p_{2}. We also specify that we are interested in detecting any difference between p_{0} and p_{1} larger than 0.01. Note that the fixed sample-size test always needs 52425 samples to conclude, while the samplesize needed for the sequential GLR test varies depending on the generated data as well as the true difference between p_{0} and p_{1}.

For more information about the sequential GLR test take a look at the reference of SeGLiR.