Testing normality via a distributional fixed point property in the Stein characterization
Steffen Betsch, Bruno Ebner

TL;DR
This paper introduces two novel goodness-of-fit tests for univariate normality based on distributional fixed point properties, demonstrating their theoretical validity and competitive power through empirical studies.
Contribution
The paper develops new normality tests using $L^2$-distances related to the Stein characterization, with proven asymptotic properties and practical performance evaluation.
Findings
Tests are theoretically justified under null and alternative hypotheses.
Empirical critical values enable practical application.
New tests show competitive power in finite samples.
Abstract
We propose two families of tests for the classical goodness-of-fit problem to univariate normality. The new procedures are based on -distances of the empirical zero-bias transformation to the normal distribution or the empirical distribution of the data, respectively. Weak convergence results are derived under the null hypothesis, under fixed alternatives as well as under contiguous alternatives. Empirical critical values are provided and a comparative finite-sample power study shows the competitiveness to classical procedures.
| 0.1 | 0.25 | 0.5 | 1 | 1.5 | 2 | 3 | ||
|---|---|---|---|---|---|---|---|---|
| 0.01 | 20 | 1.692 | 1.452 | 1.226 | 0.993 | 0.862 | 0.772 | 0.653 |
| 50 | 1.766 | 1.509 | 1.281 | 1.038 | 0.897 | 0.806 | 0.684 | |
| 100 | 1.784 | 1.538 | 1.303 | 1.052 | 0.914 | 0.820 | 0.694 | |
| 200 | 1.802 | 1.549 | 1.311 | 1.058 | 0.914 | 0.817 | 0.691 | |
| 500 | 1.820 | 1.569 | 1.332 | 1.075 | 0.928 | 0.830 | 0.701 | |
| 0.05 | 1.027 | 0.891 | 0.754 | 0.609 | 0.525 | 0.469 | 0.396 | |
| 50 | 1.066 | 0.928 | 0.789 | 0.642 | 0.555 | 0.497 | 0.421 | |
| 100 | 1.062 | 0.927 | 0.791 | 0.643 | 0.558 | 0.499 | 0.423 | |
| 200 | 1.067 | 0.929 | 0.795 | 0.649 | 0.563 | 0.504 | 0.427 | |
| 500 | 1.068 | 0.935 | 0.802 | 0.653 | 0.566 | 0.507 | 0.429 | |
| 0.1 | 0.750 | 0.655 | 0.560 | 0.453 | 0.392 | 0.351 | 0.296 | |
| 50 | 0.763 | 0.670 | 0.578 | 0.472 | 0.411 | 0.368 | 0.312 | |
| 100 | 0.773 | 0.682 | 0.589 | 0.483 | 0.421 | 0.377 | 0.321 | |
| 200 | 0.764 | 0.676 | 0.585 | 0.482 | 0.420 | 0.377 | 0.321 | |
| 500 | 0.770 | 0.678 | 0.588 | 0.484 | 0.422 | 0.379 | 0.323 |
| 0.1 | 0.25 | 0.5 | 1 | 1.5 | 2 | 3 | ||
|---|---|---|---|---|---|---|---|---|
| 0.01 | 20 | 0.665 | 0.645 | 0.608 | 0.545 | 0.496 | 0.458 | 0.400 |
| 50 | 0.711 | 0.691 | 0.652 | 0.582 | 0.530 | 0.489 | 0.430 | |
| 100 | 0.727 | 0.706 | 0.662 | 0.592 | 0.538 | 0.496 | 0.435 | |
| 200 | 0.736 | 0.715 | 0.672 | 0.598 | 0.540 | 0.496 | 0.433 | |
| 500 | 0.754 | 0.731 | 0.687 | 0.607 | 0.549 | 0.506 | 0.440 | |
| 0.05 | 20 | 0.391 | 0.380 | 0.357 | 0.315 | 0.284 | 0.261 | 0.227 |
| 50 | 0.420 | 0.408 | 0.384 | 0.342 | 0.309 | 0.284 | 0.247 | |
| 100 | 0.424 | 0.413 | 0.389 | 0.347 | 0.315 | 0.290 | 0.253 | |
| 200 | 0.427 | 0.414 | 0.391 | 0.350 | 0.317 | 0.292 | 0.255 | |
| 500 | 0.433 | 0.419 | 0.396 | 0.354 | 0.320 | 0.295 | 0.258 | |
| 0.1 | 20 | 0.279 | 0.271 | 0.255 | 0.225 | 0.202 | 0.185 | 0.160 |
| 50 | 0.293 | 0.287 | 0.271 | 0.241 | 0.219 | 0.201 | 0.175 | |
| 100 | 0.302 | 0.294 | 0.279 | 0.249 | 0.226 | 0.208 | 0.182 | |
| 200 | 0.302 | 0.295 | 0.279 | 0.251 | 0.228 | 0.210 | 0.183 | |
| 500 | 0.303 | 0.295 | 0.280 | 0.251 | 0.228 | 0.210 | 0.184 |
| 20 | 0.31 | 0.368 | 0.1503 | 0.2568 | 0.3258 |
|---|---|---|---|---|---|
| 50 | 0.30 | 0.374 | 6.349e-3 | 8.568e-3 | 9.556e-3 |
| 100 | 0.29 | 0.376 | 4.001e-4 | 4.988e-4 | 5.369e-4 |
| Alt. | 0.1 | 0.25 | 0.5 | 1 | 1.5 | 2 | 3 | 0.1 | 0.25 | 0.5 | 1 | 1.5 | 2 | 3 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 20 | 5 | 5 | 5 | 5 | 5 | 5 | 5 | 5 | 5 | 5 | 5 | 5 | 5 | 5 | |
| 50 | 5 | 5 | 5 | 5 | 5 | 5 | 5 | 5 | 5 | 5 | 5 | 5 | 5 | 5 | |
| 100 | 5 | 5 | 5 | 5 | 5 | 5 | 5 | 5 | 5 | 5 | 5 | 5 | 5 | 5 | |
| 20 | 25 | 25 | 24 | 24 | 23 | 23 | 23 | 22 | 22 | 21 | 20 | 20 | 19 | 19 | |
| 50 | 56 | 57 | 57 | 56 | 56 | 55 | 55 | 50 | 50 | 49 | 48 | 47 | 46 | 46 | |
| 100 | 86 | 87 | 87 | 87 | 86 | 86 | 86 | 80 | 80 | 79 | 78 | 77 | 77 | 76 | |
| 20 | 34 | 35 | 35 | 36 | 37 | 37 | 37 | 32 | 32 | 33 | 33 | 33 | 33 | 34 | |
| 50 | 52 | 56 | 60 | 63 | 64 | 64 | 65 | 42 | 43 | 44 | 46 | 47 | 48 | 49 | |
| 100 | 75 | 84 | 89 | 91 | 92 | 92 | 92 | 55 | 57 | 60 | 66 | 68 | 70 | 71 | |
| 20 | 30 | 31 | 33 | 34 | 35 | 35 | 35 | 32 | 32 | 33 | 34 | 34 | 35 | 35 | |
| 50 | 41 | 46 | 50 | 54 | 56 | 57 | 58 | 44 | 45 | 47 | 50 | 52 | 53 | 54 | |
| 100 | 54 | 63 | 70 | 76 | 78 | 79 | 81 | 53 | 56 | 61 | 67 | 70 | 72 | 74 | |
| 20 | 16 | 17 | 18 | 19 | 19 | 19 | 20 | 18 | 18 | 19 | 19 | 19 | 19 | 20 | |
| 50 | 22 | 25 | 27 | 29 | 31 | 31 | 32 | 26 | 26 | 27 | 29 | 30 | 31 | 31 | |
| 100 | 27 | 31 | 36 | 41 | 43 | 44 | 46 | 30 | 31 | 34 | 37 | 39 | 41 | 42 | |
| 20 | 9 | 9 | 10 | 10 | 10 | 10 | 10 | 10 | 10 | 10 | 10 | 11 | 11 | 11 | |
| 50 | 11 | 11 | 12 | 13 | 14 | 15 | 15 | 13 | 13 | 13 | 14 | 15 | 15 | 16 | |
| 100 | 11 | 12 | 14 | 16 | 17 | 17 | 18 | 14 | 14 | 15 | 16 | 17 | 17 | 18 | |
| 20 | 4 | 4 | 3 | 3 | 3 | 3 | 3 | 2 | 2 | 2 | 2 | 1 | 1 | 1 | |
| 50 | 3 | 4 | 5 | 7 | 7 | 8 | 8 | 2 | 2 | 2 | 2 | 1 | 1 | 1 | |
| 100 | 5 | 10 | 19 | 32 | 38 | 41 | 45 | 2 | 2 | 3 | 3 | 3 | 3 | 3 | |
| 20 | 44 | 45 | 45 | 45 | 44 | 44 | 44 | 45 | 45 | 44 | 44 | 43 | 43 | 43 | |
| 50 | 84 | 86 | 87 | 87 | 87 | 87 | 87 | 87 | 87 | 87 | 87 | 87 | 87 | 87 | |
| 100 | 99 | 99 | 99 | 99 | 99 | 99 | 99 | 99 | 99 | 99 | 99 | 99 | 99 | 99 | |
| 20 | 18 | 18 | 19 | 19 | 19 | 19 | 19 | 19 | 19 | 19 | 19 | 19 | 19 | 19 | |
| 50 | 44 | 45 | 46 | 46 | 46 | 46 | 46 | 47 | 47 | 47 | 47 | 46 | 46 | 46 | |
| 100 | 74 | 76 | 77 | 78 | 78 | 78 | 78 | 78 | 78 | 79 | 78 | 78 | 78 | 78 | |
| 20 | 49 | 51 | 51 | 51 | 51 | 50 | 50 | 49 | 49 | 49 | 48 | 47 | 47 | 46 | |
| 50 | 90 | 93 | 94 | 94 | 94 | 94 | 94 | 92 | 92 | 92 | 92 | 92 | 92 | 92 | |
| 100 | 100 | 100 | 100 | 100 | 100 | 100 | 100 | 100 | 100 | 100 | 100 | 100 | 100 | 100 | |
| 20 | 15 | 16 | 15 | 15 | 15 | 15 | 15 | 15 | 15 | 15 | 15 | 14 | 14 | 14 | |
| 50 | 40 | 42 | 43 | 44 | 44 | 43 | 43 | 42 | 42 | 42 | 42 | 41 | 41 | 41 | |
| 100 | 73 | 77 | 79 | 80 | 81 | 81 | 81 | 76 | 77 | 78 | 78 | 78 | 78 | 78 | |
| 20 | 76 | 78 | 78 | 78 | 78 | 78 | 78 | 77 | 77 | 76 | 76 | 75 | 75 | 74 | |
| 50 | 99 | 100 | 100 | 100 | 100 | 100 | 100 | 99 | 99 | 100 | 100 | 100 | 100 | 99 | |
| 100 | 100 | 100 | 100 | 100 | 100 | 100 | 100 | 100 | 100 | 100 | 100 | 100 | 100 | 100 | |
| 20 | 25 | 25 | 25 | 25 | 25 | 25 | 25 | 26 | 26 | 26 | 25 | 25 | 25 | 25 | |
| 50 | 58 | 60 | 61 | 61 | 61 | 61 | 61 | 62 | 62 | 62 | 62 | 62 | 61 | 61 | |
| 100 | 88 | 90 | 90 | 91 | 91 | 91 | 91 | 91 | 91 | 91 | 91 | 91 | 91 | 91 | |
| 20 | 76 | 78 | 78 | 78 | 78 | 78 | 78 | 77 | 77 | 77 | 76 | 75 | 75 | 75 | |
| 50 | 99 | 100 | 100 | 100 | 100 | 100 | 100 | 99 | 99 | 100 | 100 | 99 | 99 | 99 | |
| 100 | 100 | 100 | 100 | 100 | 100 | 100 | 100 | 100 | 100 | 100 | 100 | 100 | 100 | 100 | |
| 20 | 32 | 33 | 33 | 33 | 33 | 33 | 33 | 34 | 34 | 34 | 33 | 33 | 33 | 33 | |
| 50 | 70 | 71 | 72 | 72 | 72 | 72 | 72 | 73 | 73 | 73 | 72 | 72 | 72 | 72 | |
| 100 | 94 | 95 | 95 | 95 | 96 | 96 | 96 | 96 | 96 | 96 | 96 | 96 | 96 | 96 | |
| 20 | 90 | 91 | 91 | 91 | 91 | 91 | 91 | 90 | 90 | 90 | 90 | 90 | 89 | 89 | |
| 50 | 100 | 100 | 100 | 100 | 100 | 100 | 100 | 100 | 100 | 100 | 100 | 100 | 100 | 100 | |
| 100 | 100 | 100 | 100 | 100 | 100 | 100 | 100 | 100 | 100 | 100 | 100 | 100 | 100 | 100 | |
| Alt. | |||||||||
|---|---|---|---|---|---|---|---|---|---|
| 20 | 5 | 5 | 5 | 5 | 5 | 5 | 5 | 5 | |
| 50 | 5 | 5 | 5 | 5 | 5 | 5 | 5 | 5 | |
| 100 | 5 | 5 | 5 | 5 | 5 | 5 | 5 | 5 | |
| 20 | 28 | 28 | 27 | 30 | 25 | 11 | 13 | 14 | |
| 50 | 60 | 60 | 62 | 68 | 57 | 16 | 26 | 32 | |
| 100 | 89 | 89 | 90 | 94 | 88 | 28 | 49 | 58 | |
| 20 | 40 | 43 | 42 | 46 | 48 | 34 | 33 | 33 | |
| 50 | 78 | 80 | 80 | 86 | 83 | 49 | 49 | 46 | |
| 100 | 97 | 98 | 98 | 99 | 98 | 69 | 68 | 61 | |
| 20 | 35 | 37 | 34 | 33 | 40 | 38 | 37 | 36 | |
| 50 | 64 | 65 | 61 | 60 | 69 | 64 | 62 | 59 | |
| 100 | 88 | 89 | 86 | 85 | 91 | 86 | 84 | 78 | |
| 20 | 19 | 20 | 18 | 17 | 22 | 22 | 22 | 21 | |
| 50 | 35 | 37 | 32 | 31 | 41 | 40 | 38 | 36 | |
| 100 | 56 | 58 | 50 | 48 | 63 | 59 | 55 | 50 | |
| 20 | 10 | 11 | 9 | 9 | 12 | 12 | 12 | 12 | |
| 50 | 16 | 17 | 13 | 12 | 20 | 20 | 19 | 18 | |
| 100 | 22 | 24 | 16 | 15 | 28 | 28 | 26 | 23 | |
| 20 | 21 | 17 | 13 | 17 | 8 | 0 | 0 | 0 | |
| 50 | 75 | 70 | 55 | 58 | 47 | 0 | 0 | 0 | |
| 100 | 100 | 99 | 95 | 95 | 97 | 0 | 0 | 0 | |
| 20 | 44 | 44 | 42 | 38 | 42 | 33 | 36 | 39 | |
| 50 | 89 | 88 | 84 | 80 | 85 | 65 | 76 | 80 | |
| 100 | 100 | 100 | 99 | 99 | 100 | 91 | 98 | 99 | |
| 20 | 18 | 18 | 17 | 16 | 18 | 16 | 17 | 18 | |
| 50 | 42 | 42 | 39 | 33 | 40 | 32 | 38 | 41 | |
| 100 | 75 | 74 | 68 | 61 | 71 | 54 | 68 | 73 | |
| 20 | 59 | 58 | 52 | 51 | 53 | 28 | 34 | 38 | |
| 50 | 98 | 98 | 94 | 95 | 97 | 57 | 76 | 83 | |
| 100 | 100 | 100 | 100 | 100 | 100 | 89 | 99 | 100 | |
| 20 | 16 | 16 | 16 | 14 | 14 | 9 | 11 | 12 | |
| 50 | 50 | 47 | 45 | 39 | 40 | 16 | 25 | 30 | |
| 100 | 90 | 89 | 80 | 76 | 82 | 29 | 54 | 64 | |
| 20 | 83 | 83 | 77 | 77 | 80 | 57 | 63 | 67 | |
| 50 | 100 | 100 | 100 | 100 | 100 | 91 | 97 | 98 | |
| 100 | 100 | 100 | 100 | 100 | 100 | 100 | 100 | 100 | |
| 20 | 24 | 24 | 23 | 20 | 24 | 20 | 22 | 23 | |
| 50 | 59 | 59 | 55 | 49 | 56 | 42 | 51 | 55 | |
| 100 | 90 | 90 | 85 | 81 | 88 | 69 | 83 | 87 | |
| 20 | 84 | 83 | 78 | 77 | 80 | 58 | 64 | 67 | |
| 50 | 100 | 100 | 100 | 100 | 100 | 91 | 97 | 98 | |
| 100 | 100 | 100 | 100 | 100 | 100 | 100 | 100 | 100 | |
| 20 | 31 | 32 | 31 | 28 | 32 | 28 | 30 | 31 | |
| 50 | 69 | 69 | 66 | 60 | 67 | 55 | 64 | 67 | |
| 100 | 94 | 94 | 91 | 89 | 93 | 83 | 92 | 94 | |
| 20 | 93 | 93 | 91 | 90 | 91 | 78 | 83 | 85 | |
| 50 | 100 | 100 | 100 | 100 | 100 | 99 | 100 | 100 | |
| 100 | 100 | 100 | 100 | 100 | 100 | 100 | 100 | 100 |
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Testing normality via a distributional fixed point property in the Stein characterization
S. Betsch and B. Ebner
Abstract
We propose two families of tests for the classical goodness-of-fit problem to univariate normality. The new procedures are based on -distances of the empirical zero-bias transformation to the normal distribution or the empirical distribution of the data, respectively. Weak convergence results are derived under the null hypothesis, under fixed alternatives as well as under contiguous alternatives. Empirical critical values are provided and a comparative finite-sample power study shows the competitiveness to classical procedures.
00footnotetext: American Mathematical Society 2010 subject classifications. Primary 62G10 Secondary 60F0500footnotetext: Key words and phrases Goodness-of-fit, Normal Distribution, Stein’s Method, Zero Bias Transformation
1 Introduction
Testing normality is commonly known as the most used and discussed goodness-of-fit technique, motivated by the model assumption of normality in classical models. To be specific, let be real valued independent and identically distributed (iid.) random variables. The problem of interest is to test the hypothesis
[TABLE]
against general alternatives. So far, a great variety of goodness-of-fit tests have been proposed and research is of ongoing interest, as witnessed by the recent papers [8, 21, 45] and comparative simulation studies like [35, 46]. Classical procedures in goodness-of-fit methodology as the Kolmogorov-Smirnov and the Cramér-von Mises test approach the testing problem by measuring the distance of the empirical distribution function to the estimated representant of . For a theoretical approach to the goodness-of-fit to a family of distributions, see [11, 31]. Other methods are based on skewness and kurtosis, as for instance proposed in [33] (known to lead to inconsistent procedures), the empirical characteristic function, see [13], the Wasserstein distance, see [11, 12], the sample entropy, see [44], or correlation and regression tests, as the famous Shapiro-Wilk test, see [40], among others. For a survey of classical existing methods see [11], section 3, and [19], for surveys on goodness-of-fit techniques connected to characterizations of distributions, including the normal, see [29, 30, 32] and for the problem of testing multivariate normality, we refer to [20, 28].
Another natural approach to assess the distance of the distribution of a real valued random variable to the normal distribution is to calculate the difference between and , where , over some large class of functions . With the class leading to the characteristic functions of the distributions one heavily relies on the assumption of independence when proving limit theorems. In an attempt to give an alternative proof of the central limit theorem, Charles Stein considered a different class of test functions (see eg. [42]). Stating that has a standard normal distribution if, and only if,
[TABLE]
holds for each absolutely continuous function for which the expectation exists, it appears reasonable to regard the left hand side of (2), for a suitable function , as an estimate of since both terms ought to be small whenever the distribution of is close to standard normal. In practice, solving the differential equation
[TABLE]
for absolutely continuous functions , evaluating at and taking expectations, the problem reduces to appraising , with being the solution of (3). A commonly used tool to handle these terms is the so called zero bias transformation introduced by [15]. Namely, if and , a random variable is said to have the -zero bias distribution if
[TABLE]
holds for all absolutely continuous functions for which these expectations exist. The use of this distribution, if existent, lends itself easily to the purpose of distributional approximation. For instance, starting with the solution of (3), the mean value theorem gives
[TABLE]
Thus, the problem reduces to bounding the derivatives of the solution of (3) and constructing such that is accessible. Bounds on and its derivatives are well-known and a comprehensive treatment as well as explicit constructions for may be found in [10] (for the bounds see also [43]). For an introduction to Stein’s method, see [10, 36]. One of the main reasons Stein’s method, particularly for the normal distribution, has been studied to a remarkable extent are various central limit type results, also giving convergence rates, even in dependency settings.
It seems reasonable to ask whether Stein’s characterization (2) may be used to construct a goodness-of-fit statistic. Apparently, we can hardly evaluate a quantity for all absolutely continuous functions which makes the direct application of equation (2) rather complicated (cf. [27]). Instead, we propose a test based on the zero bias distribution. To this end, we interpret (4) as a distributional transformation and notice that, by (2), the standard normal distribution is the unique fixed point of this transformation, see [15], Lemma 2.1 (i) or [10].
Proposition 1.1**.**
If is a centred, real valued random variable with , the -zero bias distribution exists and is unique. Moreover, it is absolutely continuous with respect to the Lebesgue measure with density
[TABLE]
and distribution function
[TABLE]
A proof can be found in [10] or in the original treatment [15]. In view of Proposition 1.1 and the interpretation of (4) as a distributional transformation, the normal distribution is characterized as follows. A random variable with distribution function and , is standard normally distributed if, and only if,
[TABLE]
where is the distribution function of the standard normal distribution. In section 2 we will use a weighted -measure of deviation between an empirical version of and or the empirical distribution, respectively, to construct two statistics for our testing problem (1). Further, we will establish the consistency of our classes of tests and derive their limit distributions under fixed alternatives in section 3. The limit null distributions are derived in section 4. The behaviour under contiguous alternatives is studied in section 5 and empirical results in form of a power study are presented in section 6. Conclusions and outlines complete the article.
2 The proposed test statistics
Let be real valued iid. random variables defined on an underlying probability space . Further, let be the distribution function of and assume that . We intend to test the hypothesis in (1). To reflect the invariance of the family of normal distrbutions with respect to affine transformations, the proposed statistics will only depend on the so called scaled residuals, namely , , where and are the sample mean and variance, respectively. This way, the values of our statistics themselves and thus the tests based on them are invariant under affine transformation of the data. We note that has a normal distribution with some parameters and if, and only if, is asymptotically standard normal as is a strongly consistent estimator of . Due to the affine invariance, we assume w.l.o.g. and .
In view of (2), (4) and Proposition 1.1, we suggest the Cramér-von Mises type test statistics
[TABLE]
and
[TABLE]
Here, is an empirical version of the zero bias distribution function and is the empirical distribution function of . By we denote a positive continuous weight function satisfying
[TABLE]
A test based on or rejects for large values of the statistic. A suggestion for the choice of the weight function and equivalent expressions for and that are suitable for computations can be found in section 6.
For the asymptotic theory we consider the Hilbert space of measurable, square integrable functions . We denote by
[TABLE]
the usual -norm as well as the usual inner product in . Notice that the functions figuring within the norm in the definition of and are random elements of . In the following, we denote convergence in distribution by and write and for convergence to [math] in probability and boundedness in probability, respectively. Before we present our main results for the statistics, we proof a preliminary Lemma which is frequently used in the subsequent elaborations.
Lemma 2.1**.**
For as above, we set
[TABLE]
Then
[TABLE]
-almost surely. Additionally, putting
[TABLE]
we have
[TABLE]
Proof. First, notice that
[TABLE]
Using the first representation when integrating over and the second for , we obtain
[TABLE]
Now, since
[TABLE]
we conclude that is a continuous distribution function. We observe that, by the strong law of large numbers and the almost sure convergence , we have
[TABLE]
-almost surely for and any . The proof of the classical Glivenko-Cantelli theorem applies to which yields (8). For (9), we record that straightforward calculations, using Fubini’s theorem and (7), give
[TABLE]
so . Noting that is continuous, we have
[TABLE]
on a set of measure one. Therefore,
[TABLE]
in probability, for , which finishes the proof. ∎
3 Consistency and limit distributions under fixed alternatives
A first use of Lemma 2.1 becomes evident when realizing that, by a simple change of variable,
[TABLE]
and
[TABLE]
In the broad, non-parametric setting introduced at the beginning of section 2, the limit in (8), the classical theorem of Glivenko-Cantelli and (10) yield the following theorem.
Theorem 3.1**.**
As , we have
[TABLE]
and
[TABLE]
each convergence being -almost surely.
By Proposition 1.1 together with (2), the limits and are positive if has a non-normal distribution. Consequently, any level--test based on or is consistent against each alternative with existing second moment.
We will now use (9) to specify Theorem 3.1. More precisely, we study the limit distributions of our statistics under fixed alternatives. In the following, we write whenever
[TABLE]
Here, and are random elements of our Hilbert space. By (10), this new notation is equivalent to .
Theorem 3.2**.**
Let be iid., non-normal random variables with , distribution function , continuously differentiable density satisfying and and, w.l.o.g., , . Then, as ,
[TABLE]
where
[TABLE]
with
[TABLE]
and
[TABLE]
Proof. The main idea of the proof is to approximate the term figuring within the integral in (11) by ( times) a sum of iid. random elements of , for which the central limit theorem in Hilbert spaces is applicable.
Setting
[TABLE]
a change of variable in both integrals and an integral decomposition, as used by [9], gives
[TABLE]
where . Invoking Proposition 1.1, a Taylor expansion yields
[TABLE]
where
[TABLE]
with . Using , and , we have (observe that we need (7) to guarantee that ). With an analogous expansion for , utilizing , we note
[TABLE]
Now, by (9) of Lemma 2.1 and ,
[TABLE]
Combining (3) and the expansions (15), (16) we get
[TABLE]
Again, using , we realize that
[TABLE]
Moreover, by the classical Glivenko-Cantelli theorem and ,
[TABLE]
Further, a Taylor expansion of the square root gives
[TABLE]
where . Therefore, subliminally assuming that is large enough to ensure (on a set of measure one), and
[TABLE]
Putting these last four approximations together, we have
[TABLE]
where
[TABLE]
Notice that are iid. random elements of with . Hence, the central limit theorem for separable Hilbert spaces (see [26], Corollary 10.9) implies
[TABLE]
where is a centred Gaussian element satisfying . With (18), the stochastic boundedness of and (10), decomposition (3) reads as
[TABLE]
The continuous mapping theorem and Slutzki’s Lemma imply
[TABLE]
Letting
[TABLE]
be the covariance kernel of , we finally record that has the normal distribution , where
[TABLE]
ending the proof. ∎
Applying the reasoning of Theorem 3.2 to , we realize that will drop out when considering the decomposition of the integrals. Proceeding with the remaining terms exactly as before, we obtain an analogous statement for the second statistic under slightly weaker conditions.
Corollary 3.3**.**
Let be iid., non-normal random variables with , distribution function and Lebesgue density . Further, assume and, w.l.o.g, , . Then, as
[TABLE]
where
[TABLE]
with
[TABLE]
and
[TABLE]
Remark**.**
Note that for the proof of Theorem 3.2 we redeployed a line of proof put forward by [5]. The asymptotic normality also qualifies our statistics for the applications they propose (see also [7]).
First, we fix and denote by the -quantile of the standard normal distribution. Letting be a (weakly) consistent estimator of , , figuring in Theorem 3.2 and Corollary 3.3, respectively, (13) and (19) immediately indicate that
[TABLE]
is an asymptotic confidence interval for at level . Here, satisfies the assumptions of Theorem 3.2 (or Corollary 3.3). As was briefly explained in the introduction, one main objective of applying Stein’s method for the normal distribution is to assess how close a given distribution is to being normal. Thus, seeing and as ’measure’, in the -distance, of how far differs from the standard normal distribution, we also developed a procedure for empirical assessments of this kind.
Second, we emphasize that our statistics can be employed for inverse testing problems. Namely, if is a given distance of tolerance, tests that reject if
[TABLE]
are asymptotic level--tests for testing
[TABLE]
These tests are consistent against each alternative and aim at validating a whole non-parametric neighborhood of the hypothesized, underlying normality. Unfortunately, the direct approach to obtain estimators for does not lead to viable results. Trying to replace each expected value and distribution function figuring in the associated covariance kernel by its natural estimator and explicitly calculate the integrals in the definition of with those estimators inserted, we observe that some of these integrals can not be solved. In the case of this is due to the occurrence of in which has to be replaced by some kernel density estimator and for the terms involving and remain intractable for the weight functions we consider (see section 6). Since these unresolved integrals depend on the data and emerge within double or triple sums, the resulting estimators are impractical.
Finally, we suppose is the sequence of critical values for a level--test based on , , i.e., is rejected if and . For an alternative distribution satisfying the relevant prerequisites of Theorem 3.2 or Corollary 3.3, we can approximate the power of the test against this alternative by
[TABLE]
Note that this last application does not need an estimator of . Instead, and have to be calculated for the particular fixed alternative.
4 The Limit null distributions
Our next results for the statistics concern the study of their behavior under the hypothesis. Therefore, we assume, in this section, that are independent random variables. By we denote the density function of the standard normal law.
Theorem 4.1**.**
There exists a centred Gaussian element of with covariance kernel
[TABLE]
where
[TABLE]
with , such that
[TABLE]
Proof. The proof follows the same scheme as the proof of Theorem 3.2. Starting with (12) we have
[TABLE]
where
[TABLE]
Using , a Taylor expansion similar to (16) gives
[TABLE]
Plugging the expression on the right hand side, together with approximation (3) of , into the definition of , we get
[TABLE]
Since (see the proof of Theorem 3.2)
[TABLE]
and
[TABLE]
we obtain
[TABLE]
where
[TABLE]
Notice that are iid. random elements of with ( under ). The central limit theorem for separable Hilbert spaces provides the existence of a centred Gaussian element with
[TABLE]
By (22), is bounded in probability and with (10), (12) reads as
[TABLE]
Hence, the continuous mapping theorem and Slutzki’s Lemma imply
[TABLE]
Since the function defined in the statement of the theorem satisfies and thus, is the covariance kernel of , we are done. ∎
For , the limit distribution under the hypothesis can be obtained in a similar manner. Starting with (11), we do not need to consider a Taylor expansion, as the term replacing already has the required ’sum of iid. variables’ form. Therefore, the proof is less involved and, following the standard procedure (3) for and applying
[TABLE]
the reasoning closely parallels that of the proof of Theorem 4.1.
Corollary 4.2**.**
There exists a centred Gaussian element of with covariance kernel
[TABLE]
where
[TABLE]
such that
[TABLE]
Remark**.**
The distribution of , , that is, the limit distribution of under the hypothesis, is that of . Here, the random variables are independent, and are the non-zero eigenvalues of the operator
[TABLE]
. Considering the complexity of , it does not seem possible to determine (for any weight function) explicitly. Thus, in practice, critical values are obtained by simulation rather then by using asymptotic results. An alternative approach to gain theoretically justified (approximate) critical values is to calculate the first four moments of the limit null distribution and fit a representative of the Pearson- or Johnson- family of distributions to those moments (see [18] for the test). But since we do not face any complications in computing the critical values, we will only pursue the empirical approach.
5 Contiguous alternatives
Adjusting the argumentation of [22], we will derive non-degenerate limit distributions for our statistics under contiguous alternatives converging to the normal distribution at rate . To this end, we introduce a triangular array of row-wise iid. random variables , , with Lebesgue density
[TABLE]
Here, , , and is a measurable, bounded function satisfying
[TABLE]
Notice that, by the boundedness of , we may assume to be large enough to ensure . First, we set
[TABLE]
which are measures on , with being the Borel--algebra of . Apparently, is absolutely continuous with respect to and we can look upon the Radon-Nikodym derivative . We observe that, by a Taylor expansion,
[TABLE]
whenever . Therefore, viewing as a random element , the Lindeberg-Feller central limit theorem and the (weak) law of large numbers give
[TABLE]
where
[TABLE]
and denotes convergences in distribution under . By LeCam’s first Lemma (see for instance [17], p.253, Corollary 1), is contiguous to .
Now, recall from the proof of Theorem 4.1
[TABLE]
where
[TABLE]
Also notice that, when interpreting , (22) yields
[TABLE]
where and
[TABLE]
Thus, by contiguity,
[TABLE]
Defining
[TABLE]
and using the boundedness of we get, under ,
[TABLE]
with . Consequently, for any , and , the multivariate Lindeberg-Feller-type central limit theorem implies,
[TABLE]
Here, \Sigma=\big{(}\widetilde{\mathcal{K}}^{(2)}(s_{i},s_{j})\big{)}_{1\leq i,j\leq k}, with the covariance kernel of from Theorem 4.1, and \zeta_{k}=\big{(}\zeta(s_{1}),\dots,\zeta(s_{k})\big{)}^{\top}. Therefore,
[TABLE]
and LeCam’s third Lemma (see [17], p.259, Lemma 2) implies
[TABLE]
where denotes convergence of the finite-dimensional distributions (under ). We realize that in the proof of Theorem 4.1 we have shown that which entails the tightness of under . By contiguity, remains tight under . Together with (24) this demonstrates
[TABLE]
Noting that, with (10), the stochastic boundedness of (under ) and (23), reads as
[TABLE]
Thus, we have shown
Theorem 5.1**.**
Under the triangular array , with , we have
[TABLE]
Since Corollary 4.2 is obtained with the same line of argument used in Theorem 4.1 it is evident that we can, likewise, conclude
[TABLE]
where and .
From these statements we discern that tests based on any of our statistics are able to detect contiguous alternatives which converge, at rate , to the class of normal distributions. For further insights on contiguity, we refer to [37] and [38].
6 Empirical Results
For the implementation of our tests, we need to specify the weight function . We propose families of test statistics , , by considering the density function of a centred normal distribution
[TABLE]
where the variance is chosen to be some tuning parameter . Apparently, the continuous function satisfies (7) and is, therefore, an admissible weight function in our previous considerations. Note that a weight function of this type has also been employed in [23] for the class of tests. For this explicit function, our statistics have the expressions
[TABLE]
and
[TABLE]
where is the ordered sample of the scaled residuals , see section 2. Those expressions make the statistics amenable to computations. We immediately see that the integral figuring in the second sum of , although being accessible to stable numerical integration, is a slight drawback in terms of calculation time as compared to .
The rest of the section is organized as follows. First, we present empirical critical values for a range of possible tuning parameters, sample sizes and significance levels. Then, a brief summary of the competing tests and an overview of the considered alternatives follows. At last, we display the performance of our tests (in comparison to the established tests) in form of a finite-sample power study. Notice that there are several comparative simulation studies for testing normality in the literature, as witnessed by [4, 14, 25, 33, 35, 41, 46] and others. All simulations are performed using the statistical computing environment R, see [34].
The empirical critical values were obtained by a Monte Carlo simulation with 100 000 repetitions and can be found in Table 1 and Table 2 for sample sizes , tuning parameters and significance levels .
We considered the following competitors to the new families of test statistics. As classical and well known tests, we included the Shapiro-Wilk test (), see [40], the Shapiro-Francia test (), see [39], and the Anderson-Darling test (), see [3]. For the implementation of these tests in R we refer to the package nortest by [16]. Tests based on the empirical characteristic function are represented by the Baringhaus-Henze-Epps-Pulley-test (), see [6, 13]. The test with tuning parameter is based on
[TABLE]
We fixed and took the critical values from [18], but also restated them in Table 3.
Furthermore, we include the quantile correlation test of del Barrio-Cuesta-Albertos-Mátran-Rodríguez-Rodríguez (BCMR), based on the -Wasserstein distance, see [12] and [11] section 3.3. The BCMR statistic is given by
[TABLE]
where is the -th order statistic of , is the sample variance and is the quantile function of the standard normal distribution. Simulated critical values can be found in [24], or in Table 3.
The Henze-Jiménez-Gamero test, see [21], uses a weighted distance of the empirical moment generating function and the moment generating function of the standard normal distribution, . The test is based on
[TABLE]
with and . We considered the tuning parameters . Since in [21] no critical values were simulated in the univariate case, the empirical critical values can be found in Table 3. This test was proposed recently, so it is not yet found in any other power studies.
All of the simulated critical values have been confirmed in a simulation study with 100 000 replications and can, for the sake of completeness, be found in Table 3 (compare to [18, 24]).
The alternatives were chosen to fit the extensive power study of normality tests by [35], in order to ease the comparison to other tests. Namely, we chose as symmetric distributions the Students -distribution with degrees of freedom, as well as the uniform distribution . The asymmetric distributions are the -distribution with degrees of freedom, the Beta distributions and , the Gamma distributions and , the Gumbel distribution with location parameter 1 and scale parameter 2, the lognormal distribution as well as the Weibull distribution with scale parameter 1 and shape parameter 0.5. As representative of bimodal distributions we chose the mixture of normal distributions , where the random variables were generated by
[TABLE]
Since we consider two new families of tests that depend on the choice of the tuning parameter , we will demonstrate the finite-sample power for a range of different parameters. In each Monte Carlo simulation we consider the sample sizes , and and fix the nominal level of significance to . Throughout, the critical values for , , are taken from Table 1 and 2. Each entry in Table 4 and 5 referring to the finite-sample power of the tests is based on replications. The best performing test for each distribution and sample size taken over both tables has been highlighted for easy reference. Starting from the symmetric distributions, we can see that the , the and test have the best performances for these models. Interestingly, the test performs best for the Students distribution, but completely fails to detect the uniform alternative. The finite-sample power of the new tests for symmetric alternatives is comparable to the test, which in turn is dominated by the procedure. Considering the asymmetric distributions, the new procedures show their potential by dominating all other procedures for the -, Gamma- as well as the Gumbel distribution. Moreover, for small sample sizes the asymmetric Beta model is best detected by but for larger the and have small advances in power. In general, performs a little better than for all asymmetric models, but in direct comparison the latter procedure seems to be somewhat more robust in detecting symmetric alternatives. All procedures do a good job in rejecting the Weibull and the lognormal alternatives.
7 Conclusions and outlines
Starting with Charles Stein’s insight that a random variable has a unit normal distribution if, and only if,
[TABLE]
holds for any absolutely continuous function, we developed two classes of goodness-of-fit statistics for testing the normality hypothesis. To that end, we utilized the zero-bias transformation to bypass the problem of calculating an empirical property for all absolutely continuous function. An advantage of the underlying zero-bias transformation over many other types of transformation applied in goodness-of-fit testing, like the characteristic function or the Laplace transform, is that the distribution inserted into the mapping is not associated with a purely analytic quantity but is mapped to another distribution and, thereby, stays accessible to a stochastically intuitive examination (cf. Proposition 1.1 and Lemma 2.1). The conducted power study suggests that our tests are serious competitors to established tests and, in a noteworthy number of asymmetrical alternatives, even set new markers in terms of the highest power achieved. Additionally, the statistics possess the most important asymptotic properties desirable for a hypothesis test, namely, they are consistent against general alternatives, have a limiting normal distribution under fixed alternatives and are able to detect contiguous alternatives. We want to emphasize that some questions remain open for further research. An interesting question is whether there are some limiting statistics as for the families of statistics , , with weight function . In view of the simulation results of section 6, finding a (possibly data dependent) best choice of tuning parameter would be a nice result, but for most models the power performance seems to be rather stable. An exception are the symmetric distributions where the influence seems to be significant, cf. the results for the uniform distribution. Perhaps a data-dependent choice of the tuning parameter as proposed by [1] can give better results (for a discussion of this method for exponentiality tests with tuning parameters, see section 3 of [2]). Due to the problems with the classical, direct approach (see the Remark in section 3) we have not stated consistent estimators for and , which are crucial to find asymptotic confidence intervals as in (20).
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] J. Allison and L. Santana. On a data-dependent choice of the tuning parameter appearing in certain goodness-of-fit tests. Journal of Statistical Computation and Simulation , 85(16):3276–3288, 2015.
- 2[2] J. S. Allison, L. Santana, N. Smit, and I. J. H. Visagie. An ‘apples to apples’ comparison of various tests for exponentiality. Computational Statistics , 32(4):1241–1283, 2017.
- 3[3] T. W. Anderson and D. A. Darling. Asymptotic theory of certain ”goodness of fit” criteria based on stochastic processes. Annals of Mathematical Statistics , 23, 1952.
- 4[4] L. Baringhaus, R. Danschke, and N. Henze. Recent and classical tests for normality - a comparative study. Communications in Statistics - Simulation and Computation , 18(1):363–379, 1989.
- 5[5] L. Baringhaus, B. Ebner, and N. Henze. The limit distribution of weighted L 2 superscript 𝐿 2 {L}^{2} -goodness-of-fit statistics under fixed alternatives, with applications. Annals of the Institute of Statistical Mathematics , 69(5):969–995, 2017.
- 6[6] L. Baringhaus and N. Henze. A consistent test for multivariate normality based on the empirical characteristic function. Metrika , 35(1):339–348, 1988.
- 7[7] L. Baringhaus and N. Henze. Cramér–-von Mises distance: probabilistic interpretation, confidence intervals, and neighbourhood-of-model validation. Journal of Nonparametric Statistics , 29(2):167–188, 2017.
- 8[8] A. K. Bera, A. F. Galvao, L. Wang, and Z. Xiao. A new characterization of the normal distribution and test for normality. Econometric Theory , 32(5):1216––1252, 2016.
