One-sided, one-sample Gaussian test
The one-sided one- sample Gauss test , also known as the one-sided Gauss test , is a special statistical test in test theory , a branch of mathematical statistics . In its basic version, in the case of a normal distribution with an unknown expected value and known variance, it tests whether the expected value is above or below a specified threshold value. If the sample size is large enough and it can be assumed that the central limit theorem applies, the test can also be used as an approximate test . It is then also tested whether the expected value of an unknown distribution is above or below a predetermined threshold value.
Action
If it can be assumed that there is a normal distribution with variance , the test runs according to the following scheme:
- Choose a threshold for the unknown expected value. The null hypothesis is then of the form
- ,
- the alternative of the form
- Choose an error probability that corresponds to type I error .
- Calculate the critical value
- .
- The - is the quantile of the standard normal distribution , which can be looked up in the quantile table of the standard normal distribution. Furthermore, there is the number of elements in the sample and the known variance of the underlying normal distribution.
- Find the arithmetic mean
- of the sample elements .
- If the arithmetic mean is greater than the critical value, i.e. if the following applies: reject the null hypothesis. Otherwise, keep the null hypothesis.
If you choose the right part of the number line as the null hypothesis , that is
and as an alternative accordingly
- ,
so the general procedure remains the same. However, when determining the critical value, the -quantile is replaced by the -quantile . He then calculates to
- .
The null hypothesis is rejected if the arithmetic mean is smaller than the critical value, i.e. if applies. It is retained accordingly if the arithmetic mean is greater than the critical value.
Optimality
In the case described above, a normal distribution with an unknown expected value and known variance, as well as the hypotheses used above, the one-sided Gaussian test is a uniformly best test . This means that at any given level he always has a smaller Type II error than any other test for that situation.
The proof is based on the fact that the normal distribution belongs to the exponential family and has a monotonic density quotient . This allows the Neyman-Pearson lemma for two-element test problems to be extended to the set of normal distributions considered here using monotonic arguments.
Mathematical basis
The underlying statistical model is
and is also known as the normal distribution model. It is a product model and formalizes the assumption implicitly made above that the sample variables are distributed independently and identically .
This model is the mathematical formalization of the implementation of identical experiments that do not influence each other and the outcome of which is normally distributed with known variance and unknown expected value.
The test of the null hypothesis against the alternative is based on the test statistic
- ,
the so-called sample mean . It is normally distributed to the unknown mean and to the variance , so it applies
- .
This follows from the calculation rules for normally distributed random variables . The actual statistical test is then given by
Here is the critical value . It determines the level (and thus the first type of error). If the level is as specified, the critical value is calculated as above
with the quantile of the standard normal distribution.
The rejection area of the test is thus
- ,
what in vector notation
corresponds. Here is the one vector and . The rejection area thus forms a half-space .
The mathematical basis for the analog test of the null hypothesis against the alternative is the same, only the inequality signs in the test are reversed and the critical value is determined as indicated in the section above.
Different definitions
Both the definition of the test and
as well as
However, the different inequality signs have no influence on the result of the test, which always applies. The probability that the test statistic assumes exactly the critical value and that the two definitions thus assume different values is zero and can be neglected.
Derived confidence interval
The confidence interval for the confidence level derived from the one-sample Gaussian test is
- .
respectively
- .
This follows directly from the duality of tests and confidence areas . The confidence intervals are thus equally the best confidence intervals .
Individual evidence
- ^ A b Ludger Rüschendorf: Mathematical Statistics . Springer Verlag, Berlin Heidelberg 2014, ISBN 978-3-642-41996-6 , p. 195 , doi : 10.1007 / 978-3-642-41997-3 .
- ↑ a b c Hans-Otto Georgii: Stochastics . Introduction to probability theory and statistics. 4th edition. Walter de Gruyter, Berlin 2009, ISBN 978-3-11-021526-7 , p. 276 , doi : 10.1515 / 9783110215274 .
- ^ Hans-Otto Georgii: Stochastics . Introduction to probability theory and statistics. 4th edition. Walter de Gruyter, Berlin 2009, ISBN 978-3-11-021526-7 , p. 265-266 , doi : 10.1515 / 9783110215274 .
- ↑ Claudia Czado, Thorsten Schmidt: Mathematical Statistics . Springer-Verlag, Berlin Heidelberg 2011, ISBN 978-3-642-17260-1 , p. 153 , doi : 10.1007 / 978-3-642-17261-8 .