my-server
← Wiki

D'Agostino's K-squared test

In statistics, D'Agostino's K<sup>2</sup> test, named for Ralph D'Agostino, is a goodness-of-fit measure of departure from normality, that is the test aims to gauge the compatibility of given data with the null hypothesis that the data is a realization of independent, identically distributed Gaussian random variables. The test is based on transformations of the sample kurtosis and skewness, and has power only against the alternatives that the distribution is skewed and/or kurtic.

Skewness and kurtosis

In the following, { x<sub>i</sub> } denotes a sample of n observations, g<sub>1</sub> and g<sub>2</sub> are the sample skewness and kurtosis, m<sub>j</sub>’s are the j-th sample central moments, and is the sample mean. Frequently in the literature related to normality testing, the skewness and kurtosis are denoted as and β<sub>2</sub> respectively. Such notation can be inconvenient since, for example, can be a negative quantity.

The sample skewness and kurtosis are defined as

These quantities consistently estimate the theoretical skewness and kurtosis of the distribution, respectively. Moreover, if the sample indeed comes from a normal population, then the exact finite sample distributions of the skewness and kurtosis can themselves be analysed in terms of their means , variances , skewnesses , and kurtosis . This has been done by , who derived the following expressions:

and

For example, a sample with size drawn from a normally distributed population can be expected to have a skewness of and a kurtosis of , where SD indicates the standard deviation.

Transformed sample skewness and kurtosis

The sample skewness g<sub>1</sub> and kurtosis g<sub>2</sub> are both asymptotically normal. However, the rate of their convergence to the distribution limit is frustratingly slow, especially for g<sub>2</sub>. For example even with observations the sample kurtosis g<sub>2</sub> has both the skewness and the kurtosis of approximately 0.3, which is not negligible. In order to remedy this situation, it has been suggested to transform the quantities g<sub>1</sub> and g<sub>2</sub> in a way that makes their distribution as close to standard normal as possible.

In particular, suggested the following transformation for sample skewness:

where constants and are computed as and

Also, , and is the kurtosis — the expressions given in the previous section.

Similarly, suggested a transformation for , which works reasonably well for sample sizes of 20 or greater:

where

and , , are the quantities computed by Pearson.

Omnibus K<sup>2</sup> statistic

Statistics Z<sub>1</sub> and Z<sub>2</sub> can be combined to produce an omnibus test, able to detect deviations from normality due to either skewness or kurtosis :

If the null hypothesis of normality is true, then K<sup>2</sup> is approximately χ<sup>2</sup>-distributed with 2 degrees of freedom.

Note that the statistics g<sub>1</sub>, g<sub>2</sub> are not independent, only uncorrelated. Therefore, their transforms Z<sub>1</sub>, Z<sub>2</sub> will be dependent also , rendering the validity of χ<sup>2</sup> approximation questionable. Simulations show that under the null hypothesis the K<sup>2</sup> test statistic is characterized by

See also

References