Planning Test Size

We would like to minimize Type 2 Error to hold to our Hypothesis. We thus would like to know how many samples we should take to get below a certain threshold.

One-Sided Tests

For One-Sided Gauß Test

Thus by applying the inverse we get:

Two-Sided Test

For Two-Sided Gauß Test

Here we have to solve for numerically. For example by plotting and reading the value.