As the Gaussian distribution is ubiquitous, there exists some hypothesis tests whose entire purpose is to validate the parameters of this kind of distribution. These tests should be used when the sample is composed of iid Gaussian random variables.
Mean test#
Given a random sample of Gaussian variables , a classical test is to determine whether the mean is a specific value :
The test statistic is given by
where is the sample standard deviation. This statistic follows a Student's t distribution with degrees of freedom when is true. Because of this, it's also called the t-test.
Alternatively, if is known, it can be used instead of . In that case, is usually called and follows a standard normal distribution, :
This test is known as a Z-test.
Since Gaussian (and Student's t) distributions are symmetrical around the mean, the critical region is chosen to be double-sided, as both too large and too small values of don't satisfy . Given an a priori significance level , in the case , the critical region is defined by the integrals
From this, you can find the critical region bound for both sides. If , simply integrate the Student's t distribution instead.
It is also possible to use and as alternative hypothesis if you want to know if is an over- or underestimate. In these cases, the critical region is one-sided, since the equality permits one of the two sides.
Variance test#
The premise is the same as above, except we're testing instead of :
If we know and is true, the test statistic is
which has chi-square distribution with degrees of freedom. The test is also double-tailed, and you integrate the for the critical region. Given an , you find the values and for which the integrals are both equal to . However, since the is asymmetrical for low , these values are going to be different, unlike above where there's a common .