Skip to content
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

z-test instead of t-test in the group sequential implementation #118

Open
daryadedik opened this issue May 30, 2017 · 4 comments
Open

z-test instead of t-test in the group sequential implementation #118

daryadedik opened this issue May 30, 2017 · 4 comments

Comments

@daryadedik
Copy link
Contributor

In the group sequential implementation is used z-test instead of t-test and sample standard deviation is used instead of population standard deviation. If the population standard deviation is unknown it would be more reasonable to use t-test instead of z-test.

@shansfolder
Copy link
Contributor

@jbao Is there a reason you use z-test(instead of t-test as Darya described above) when deciding early stopping in the group sequential method? :)

@daryadedik
Copy link
Contributor Author

just a note&question: when the sample size is large, the sample standard deviation can be used as an approximation of population standard deviation, but then how large the sample size should be and what is the problem with switching to t-test instead?

@jbao
Copy link

jbao commented May 31, 2017

You're absolutely right, if you compare L92 and L99 in early_stopping.py you would notice that z-score is used to compare with a threshold, but the interval is calculated by the percentiles of the t-distribution. I agree it probably makes sense to use the t-statistics.

@shansfolder
Copy link
Contributor

thank you @jbao , we will plan and update the method. ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants