Statistical design examples#
This notebooks shows various examples of statistical design calculations, which involve the trade-offs between four parameters of a scientific study:
Type I error rate \(\alpha\)
Type II error rate \(\beta\)
The unknown effect size we want to detect \(\Delta\)
Sample size \(n\)
One-sample test#
z-approx
Two-sample tests#
z-approx formula