-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sample size calculation #40
Conversation
4e242a0
to
7aeda09
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
two_vars = 2 * (std ** 2) if std_2 is None else (std ** 2 + std_2 ** 2) | ||
delta = mean * minimum_effect | ||
|
||
alpha = 1 - confidence_level | ||
m = n_variants - 1 | ||
alpha = alpha / m # Bonferroni correction |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure if it is relevant for pre-test calculation that we use Holm-Bonferroni instead of Bonferroni.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is not really applicable here. Holm-Bonferroni sorts the variants by their
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Otherwise, LGTM 👍
No description provided.