Proposal and Pilot Study: A Generalization of the W or W' Statistic for Multivariate Normality

Abstract

The aim of this paper is to present a generalization of the Shapiro-Wilk W-test or Shapiro-Francia W'-test for application to two or more variables. It consists of calculating all the unweighted linear combinations of the variables and their W- or W'-statistics with the Royston’s log-transformation and standardization, zln(1-W) or zln(1-W'). Because the calculation of the probability of zln(1-W) or zln(1-W') is to the right tail, negative values are truncated to 0 before doing their sum of squares. Independence in the sequence of these half-normally distributed values is required for the test statistic to follow a chi-square distribution. This assumption is checked using the robust Ljung-Box test. One degree of freedom is lost for each cancelled value. Defined the new test with its two variants (Q-test or Q'-test), 50 random samples with 4 variables and 20 participants were generated, 20% following a multivariate normal distribution and 80% deviating from this distribution. The new test was compared with Mardia’s, runs, and Royston’s tests. Central tendency differences in type II error and statistical power were tested using the Friedman’s test and pairwise comparisons using the Wilcoxon’s test. Differences in the frequency of successes in statistical decision making were compared using the Cochran’s Q test and pairwise comparisons using the McNemar’s test. Sensitivity, specificity and efficiency proportions were compared using the McNemar’s Z test. The generated 50 samples were classified into five ordered categories of deviation from multivariate normality, the correlation between this variable and p-value of each test was calculated using the Spearman’s coefficient and these correlations were compared. Family-wise error rate corrections were applied. The new test and the Royston’s test were the best choices, with a very slight advantage Q-test over Q'-test. Based on these promising results, further study and use of this new sensitive, specific and effective test are suggested.

Share and Cite:

Rubia, J. (2023) Proposal and Pilot Study: A Generalization of the W or W' Statistic for Multivariate Normality. Open Journal of Statistics, 13, 119-169. doi: 10.4236/ojs.2023.131008.

1. Introduction

The present article aims to: 1) to present a new multivariate normality test as a generalization through a sum of squares of the Shapiro-Wilk W statistic [1] or the Shapiro-Francia W' statistic [2] with the Royston’s log-transformations and standardizations [3] [4] ; as well as 2) to compare the central tendency of type II error or statistical power; 3) the frequency of successes and errors in making the decision on the null hypothesis, 4) the sensitivity (proportion of detection of multivariate normality cases), specificity (proportion of rejection of non-cases) and efficiency (proportion of correctness in classifying), and 5) the correlation between the critical level or probability value and the deviation from multivariate normality (variable of five ordered categories defined when classifying the generated samples). The two versions of the new test are compared with the Mardia’s K2-test based on multivariate skewness and kurtosis [5] [6] [7] , the Friedman-Rafsky multivariate runs test [8] applied to the multivariate normality test by Smith and Jain [9] and the Royston’s H-test [10] , either from the W-statistics [3] or W'-statistics [4] . It is a very simple test both in its rationale and application, which is very easy to learn and teach. It can be run with the Excel program and could be included in the multivariate normality library of the R program, making it accessible to undergraduate students of social sciences, biosciences, and other empirical sciences with a stronger mathematical emphasis.

Why a new statistical test when there are already several for this purpose? Because it constitutes a good option despite the simplicity of its rationale, being a Q-type test of sum of variables with standard half-normal distribution (standard normal truncated from quantile 0.5 to quantile 1) that assumes independence in the sequence of summed values to use the approximation to the chi-squared distribution in the calculation of the critical level or probability value [11] [12] [13] , and checks this assumption of independency in a specified sequence that allows estimating autocorrelation in case of non-compliance for use in the calculation of bootstrap-based critical values.

2. The Proposed Q Test from the W Statistics or Q' Test from the W' Statistics

The test is based on the lemma or proven proposition that, if a set of k variables comes from a multivariate normal distribution, any linear combination among the variables follows a univariate normal distribution [14] . The lemma that the sum of squares of k independent variables with standard normal distribution follows a chi-square distribution with k degrees of freedom was initially considered [15] . In addition, a random sample of size k is defined as a succession of k random, independent and identically distributed variables [11] .

2.1. Formulation of Statistical Hypotheses

Let there be a random sample of n participants or elements to whom k measurements have been made with the same variable X or with k different variables. It is assumed that the variables are continuous quantitative or admit a continuous generalization so that they can fit a normal distribution model.

The null hypothesis (H0) states that the random vector x composed of k random variables follows a multivariate normal distribution of unknown parameters: μ (vector of population means) and Σ (population covariance matrix).

H 0 : x ~ N ( μ , Σ )

x , μ k y Σ k × k

The alternative hypothesis (H1) posits that the random vector x does not follow a multivariate normal distribution of unknown parameters μ and Σ.

H 1 : x N ( μ , Σ )

2.2. Assumptions

n independent samples of k tuples, that is, a random sample of n participants with scores on k continuous quantitative variables that may be correlated or independent.

• Large sample size n, at least 20 participants.

• Serial independence between the 2k − 1 values of the log-transformed, standardized and truncated W or W' statistics, considered as a succession of identically distributed random variables. The sequence is specified by the subscript of the variable (X1, X2, …, Xk) and the increasing complexity of the unweighted linear combination (one variable, two variables, … k variables).

2.3. Test Statistic

To obtain the test statistic Q (from the Shapiro-Wilk W statistics) or Q' (from the Shapiro-Francia W' statistics), the following steps are followed:

1) All unweighted linear combinations (by simple summation) among the k variables are obtained and the variables of each combination are summed, which results in k combinations of one variable, k(k − 1)/2 sums of combinations of two variables, kC3 (non-repeating combination of k variables taken in groups of three) sums of combinations of three variables, …, and a sum of the k variables, that is, 2k − 1 sums of linear combinations of k variables.

j = 1 k ( k j ) = ( k 1 ) + ( k 2 ) + + ( k k ) = 2 k 1

2) A first alternative is to calculate the Q-statistic that starts from the standardized values of the log-transformed W-statistics [3] of each of the 2k − 1 sums of linear combinations of the k variables. The Shapiro-Wilk W statistic is the square of the correlation between the empirical quantiles x (i) and the standardized and normalized theoretical quantiles ai.

W l = r x ( i ) l , a 2 = [ i = 1 n ( x ( i ) l x ¯ l ) ( a i a ¯ ) ] 2 i = 1 n ( x ( i ) l x ¯ l ) 2 i = 1 n ( a i a ¯ ) 2 = [ i = 1 n ( x ( i ) l x ¯ l ) a i ] 2 i = 1 n ( x ( i ) l x ¯ l ) 2

i = 1 , 2 , , n y l = 1 , 2 , , 2 k 1

x(i)l = empirical quantiles or scores of the variable Xl (l = 1, 2, …, 2k−1) sorted in ascending order, from 1 to n.

x (i)l: x(1)l x(2)l x(n)l

(i): 1 2 … n

x ¯ l = i = 1 n x l i / n = the arithmetic mean of variable Xl.

The n expected values under a standard normal distribution, denoted by mi, are common for the 2k−1 sums of the linear combinations of the k variables, as are the n standardized and normalized values, denoted by ai. To obtain the ai, the mi must first be calculated.

m i = Φ 1 ( ( i ) a n + 1 a b ) = Φ 1 ( ( i ) 0.375 n + 0.25 )

A value of 3/8 is given to the a and b values. It is based on the fact that the i order statistic of a variable with a standard uniform distribution follows a beta distribution of parameters: α = i and β = n + 1 − i, whose expected value is α/(α + β) = i/(n + 1). The values a and b can vary from 0 to 1 and 3/8 achieves the estimates with the best approximation to the quantiles of a normal distribution for many different sample sizes [16] .

m = i = 1 n m i 2

u = 1 / n

a n = m n / m + 0.221157 u 0.147981 u 2 2.071190 u 3 + 4.434685 u 4 2.706056 u 5

a n 1 = m n 1 / m + 0.042981 u 0.293762 u 2 1.752461 u 3 + 5.682633 u 4 3.582663 u 5

a 1 = a n

a 2 = a n 1

ϵ = m 2 m n 2 2 m n 1 2 1 2 a n 2 2 a n 1 2

a i = m i / ϵ ; i = 3 , 4 , , n 2

i = 1 n a i = 0 ; a ¯ = i = 1 n a i / n = 0 ; i = 1 n a i 2 = 1 ; i = 1 n ( a i a ¯ ) 2 = 1

The standardized value of the logarithmically transformed statistic for sample sizes from 12 to 5000 (n ≥ 20) is obtained using the following formulas:

Z ln ( 1 W l ) = ln ( 1 W l ) μ ln ( 1 W l ) σ ln ( 1 W l ) ~ N ( 0 , 1 )

μ ln ( 1 W l ) = 1.5861 0.31082 ln ( n ) 0.083751 [ ln ( n ) ] 2 + 0.0038915 [ ln ( n ) ] 3

σ ln ( 1 W l ) = e 0.4803 0.082676 ln ( n ) + 0.0030302 [ ln ( n ) ] 2

If P ( Z z ln ( 1 W l ) ) = 1 P ( Z < z ln ( 1 W l ) ) α , H0 is accepted

If P ( Z z ln ( 1 W l ) ) = 1 P ( Z < z ln ( 1 W l ) ) < α , H0 is rejected.

The other alternative is to calculate the Q' statistic using the standardized values of the logarithmically transformed Shapiro-Francia W' statistics [4] of the 2k−1 sums of linear combinations among the k variables. The test statistic for univariate normality from Shapiro and Francia [2] is used, which is the square of the correlation between the empirical quantiles and the expected quantiles under normal distribution [4] .

W l = r x ( i ) l m 2 = [ i = 1 n ( x ( i ) l x ¯ l ) ( m i m ¯ ) ] 2 i = 1 n ( x i l x ¯ l ) 2 i = 1 n ( a i a ¯ ) 2 = [ i = 1 n ( x ( i ) l x ¯ l ) m i ] 2 i = 1 n ( x i l x ¯ l ) 2 i = 1 n m i 2

mi = theoretical quantiles that are the same for the k variables.

m i = Φ 1 ( ( i ) 0.375 n + 0.25 )

i = 1 n m i = 0 ; m ¯ = i = 1 n m i / n = 0

The standardization of the logarithmically transformed W' statistic requires calculating its mean and standard deviation that depend on the u and v values, respectively. The u and v values only depend on the sample size n, so they are common to the 2k − 1 transformed statistics, as are the means and standard deviations. This standardization was developed for sample sizes from 5 to 5000.

ln ( 1 W l )

u = ln [ ln ( n ) ] ln ( n )

μ ln ( 1 W l ) = 1.0528 u 1.2725

v = ln [ ln ( n ) ] + 2 / ln ( n )

σ ln ( 1 W l ) = 0.26758 v + 1.0308

The standardized value of the logarithmic transformation of W' statistic follows a standard normal distribution [4] .

Z ln ( 1 W l ) = ln ( 1 W l ) μ ln ( 1 W l ) σ ln ( 1 W l ) ~ N ( 0 , 1 )

If P ( Z z ln ( 1 W l ) ) = 1 P ( Z < z ln ( 1 W l ) ) α , H0: X l ~ N ( μ X l , σ X l 2 ) is accepted.

If P ( Z z ln ( 1 W l ) ) = 1 P ( Z < z ln ( 1 W l ) ) < α , rechaza H0 is rejected.

3) Finally, the sum of the squares of the 2k − 1 z-statistics is calculated, thus obtaining the value of the test statistic Q or Q'. Since the calculation of the probability is one-sided towards the right tail, a negative value implies a good fit to normality. The more negative it is, the better the fit. Therefore, it is necessary to truncate any negative value; otherwise, the value of Q or Q' would be wrongly inflated. The number of canceled values is denoted by a.

z l = { 0 z ln ( 1 W l ) 2 < 0 z ln ( 1 W l ) 2 z ln ( 1 W l ) 2 0 z l = { 0 z ln ( 1 W l ) 2 < 0 z ln ( 1 W l ) 2 z ln ( 1 W l ) 2 0

Q = l = 1 2 k 1 z l 2 Q = l = 1 2 k 1 ( z l ) 2

2.4. Sampling Distribution

Initially, there were 2k − 1 identically distributed (with standard normal distribution) random variables with samples of size 1 (inferential reconceptualization of sample values: zln(1−W) or zln(1−W'), whose sum of squares in case of independence follows a chi-square distribution with 2k − 1 degrees of freedom. However, once the variables are truncated, they become standard half-normal distribution with mean or mathematical expectation: E ( Z l ) = σ × 2 / π = 2 / π and variance: v a r ( Z l ) = σ 2 × ( 1 2 / π ) = ( 1 2 / π ) , where σ2 = 1 [17] . To solve this obstacle, additional lemmas were considered.

If X follows a half-normal distribution, the ratio between the square of the variable and σ2 follows a chi-square distribution with one degree of freedom: X 2 / σ 2 ~ χ ( 1 ) 2 . In turn, the sum of 2k − 1 independent variables with chi-squared distribution with one degree of freedom follows a chi-squared distribution with 2k − 1 degrees of freedom [18] , leading to the initial path without the need to make any changes, since the truncated zln(1−W) or zln(1−W') values are divided by σ2 = 1 [17] . It is worth mentioning that the correspondence of the quantiles of a chi-squared distribution with a χ ( 1 ) 2 degree of freedom is more direct with the squared standard half-normal distribution (HZ2) than with the squared standard normal standard distribution (Z2). This is due to the 0 to +∞ support, positive skewness and leptokurtosis of the chi-square and half-normal distributions versus the −∞ to +∞ support, symmetry and meso-kurtosis of the normal distribution (Table 1).

χ p 1 2 H Z p 2 χ p 1 2 Z p = 0.5 + p / 2 2

Table 1. Correspondence among the quantiles of a chi-square distribution with one degree of freedom, a squared standard half-normal distribution, and squared standard normal distribution.

Note: p = quantile order, χ p ( 1 ) 2 = the pth quantile of a chi-square distribution with one degree of freedom, HZp = the pth quantile of a standard half-normal distribution, H Z p 2 = the pth quantile of a standard half-normal distribution, p' = 0.5 + p/2 = modified quantile order, Zp' = the quantile of order p' of a standard normal distribution, Z p 2 = the quantile of order p' of a squared standard normal distribution. Population or distribution statistics: μ = mean or mathematical expectation, Var. = variance, β 1 = the measure of skewness based on the third standardized central moment, β2 − 3 = excess kurtosis or measure of kurtosis based on the fourth standardized central moment minus the expected value for a normal distribution which is 3.

The test statistic Q or Q' is the sum of squares of 2k − 1 random variables with a chi-square distribution with one degree of freedom. In case the 2k − 1 random variables are independent, the sampling distribution of Q or Q' statistics would be a chi-square with 2k − 1 degrees of freedom [15] [18] [19] . However, a correction for the degrees of freedom was introduced to achieve greater specificity in the test by eliminating one degree of freedom for each canceled variable. Consequently, the degrees of freedom become 2k − 1 − a, where a is the number of nulled variables.

Q = i = 1 2 k 1 z l ó Q = i = 1 2 k 1 z l ~ χ 2 k 1 a 2

In case the independence assumption is not met, it would be a generalized chi-square distribution [19] .

In these cases, critical values can be obtained using a repetitive sampling method with replacement (Monte Carlo simulation). For the simulation, 2k − 1 − a half-normal distributions (truncated normal distribution from the quantile of order 0.5 to the quantile of order 0.9999) are defined. The outcome variable is the sum of squares of the 2k − 1 − a to half-normal distributions. A correlation matrix is defined that has ones in the main diagonal, the values of the significant autocorrelations between the corresponding variables (e.g., with first-order lag corresponds to the contiguous diagonals above and below the main diagonal), and zeros in the remaining cells. See an example of this matrix with three variables (bivariate normality: two variables and their linear combination) with a lag of first order (h = 1) and a negative autocorrelation of −0.7.

X1, X2, and X3 ~ HN (σ = 1).

Correlation X1 X2 X3

X1 1 −0.7 0

X2 −0.7 1 −0.7

X3 0 −0.7 1

Table 2 shows the quantiles for the case of three half-normally distributed variables, as well as the quantiles of the sampling distribution of the Q-statistic when the variables are independent or when they are correlated (with a first-order lag and different values of positive or negative autocorrelation). Compared to the quantiles of a chi-square distribution with three degrees of freedom, the bootstrap-based quantiles with independent variables are slightly higher. However, they increase quite a bit as the variables have higher positive correlations, and decrease quite a bit as the variables have lower negative correlations. These could be cases of bivariate normality testing with two variables, as three simple linear combinations are generated with these two variables (l = 22 − 1 = 3).

Table 3 shows the bootstrap-based quantiles for seven independent or dependent (with an autocorrelation of −0.5, −0.25, 0.25 or 0.5 for a first-order lag) half-normally distributed variables and the quantiles corresponding to a chi-square distribution with seven degrees of freedom. It is also observed that the bootstrap-based quantiles with independent variables are slightly higher than those of the chi-square distribution with seven degrees of freedom. However, they increase greatly when the variables are positively correlated and decrease greatly when they are negatively correlated. These could be cases of the multivariate normality test with three variables, since seven simple linear combinations are generated (l = 23 − 1 = 7).

The test of the assumption of serial independence is performed after truncating the standardized values of the log-transformed W or W' statistics, and is therefore performed on the generative sequence of the 2k − 1 values zl or z l . These values are reconceptualized as random variables with one-case samples in

Table 2. Bootstrap-based quantiles (Monte Carlo simulation) and quantiles of chi-square distribution with 3 degrees of freedom.

Note: p = quantile order. Three truncated normal distributions (between the quantile of 0.50 order and the quantile of 0.9999 order), i.e., three standard half-normal distributions (σ2 = 1), Ind Q = bootstrap-based quantiles for the test statistic or sum of squares of the three half-normally distributed variables when they are independent, and Rel Q when they are correlated (a first-order lag), χ ( 3 ) 2 = the pth quantiles of a chi-squared distribution with three degrees of freedom. In each simulation, the number of bootstrap samples was 1000. The sampling method was Latin hypercubes (number of sections = 500), and the correlation type was Spearman. Monte Carlo simulations were performed with XLSTAT version 24 [20] .

Table 3. Bootstrap-based quantiles and quantiles of chi-square distribution with 7 degrees of freedom.

Note: p = quantile order. Seven truncated normal distributions (between the quantile of 0.50 order and the quantile of 0.9999 order), i.e., seven standard half-normal distributions (σ2 = 1), Ind Q = bootstrap-based quantiles for the test statistic or sum of squares of the three half-normally distributed variables when they are independent, and Rel Q when they are correlated (a first-order lag), χ ( 3 ) 2 = the pth quantiles of a chi-squared distribution with three degrees of freedom. In each simulation, the number of bootstrap samples was 1000. The sampling method was Latin hypercubes (number of sections = 500), and the correlation type was Spearman. Monte Carlo simulations were performed with XLSTAT version 24 [20] .

a cumulative sequence (k individual variables: z1, z2, …, zk, k(k − 1)/2 sums of two variables, kC3 sums of three variables, …, a sum of k variables), and this reconceptualization allows testing the hypothesis of independence by means of the Wald-Wolfowitz runs test [21] . If the null hypothesis of independence holds, the chi-square approximation with 2k − 1 − a degrees of freedom could be used. Here the reduction of the degrees of freedom (−a) is an operational correction.

Usually, the assumption of random independence within a sequence of data is tested with a first-order lag, as does the Wald-Wolfowitz nonparametric test [20] . Another more comprehensive option to check serial independence is to specify lags from 1 to h and test for significance using the Ljung-Box Q-test [22] , as well as the correlogram [23] .

When considering that the autocorrelation values are required for the simulation, it is recommended to use the Ljung-Box Q-test; all the more so, when it is the most powerful test of serial dependence in comparative studies [24] . This test has an assumption of bivariate normality in each autocorrelation, so its robust variant can be used, which consists of transforming the variable into ranks, using average ranks in the case of ties [25] [26] . Another option is to use the series without truncation. The maximum number of lags (h) for the Ljung-Box test can be estimated using the Hyndman-Athanasopoulos rule for nonstationary series [27] : h = min (10, n/5), where n = 2k − 1. Another option would be the Schwert’s rule: h = 12 × (n/100)0.25 [28] , widely used in econometrics [29] , in turn, a number of lags from 5 to 10 is usually recommended for the correlogram [29] .

In case of significance, the analysis is repeated with the simplified series (without zeros) from the ordinary Ljung-Box test (without transforming to ranks). If this second test is significant, the correlogram is used to obtain the significantly non-zero autocorrelations. In case the significance of the full sequence is not confirmed in the simplified sequence (used in the simulation), there is a situation of ambiguity, which is resolved in favor of non-significance. Because the bootstrap-based quantiles with medium or high negative correlations go down a lot with respect to independent samples or up a lot with medium or high positive correlations, it is not recommended to consider only the reduced sequence (without zeros).

2.5. Statistical Decision with an Alpha Significance Level

To make the statistical decision, tested the assumption of independence in the sequence of zl values, the critical level or probability value of the test statistic value conditional on the null hypothesis of multivariate normality is calculated from the point to infinity (right tail) in a chi-square distribution with 2k − 1 − a degrees of freedom. If P( χ ( k 1 a ) 2 q' o q) > α, the null hypothesis of multivariate normality holds, since the test statistic value falls within the acceptance region: q' or q χ 1 α ( k 1 a ) 2 . Conversely, if P( χ ( k 1 a ) 2 q' o q) ≤ α, the null hypothesis of multivariate normality is rejected, since the test statistic value falls within the rejection region: q' o q > χ 1 α ( k 1 a ) 2 .

If the assumption does not hold, a simulation would be used to obtain the quantiles or critical values (percentiles) by generating at least 1000 bootstrap random samples. The sampling distribution of the 2k − 1 − a variables (nonnegative zl values) would be truncated standard normal distribution (from quartile of 0.5 order to quartile of 0.9999 order), i.e. standard half-normal distribution (with scale parameter σ = 1), and the outcome variable would be the sum of squares of the 2k − 1 − a half-normally distributed variables. The matrix is defined with the significant autocorrelations (ar). If q' or q > P95 (bootstrap-based 95th percentile), H0 is rejected. It should be noted that the discrepancy between the bootstrap-based quantiles (from a repeated sampling with replacement or Monte Carlo simulation) and quantiles of a chi-square distribution is not large in the case of the number of variables is high and the correlations low (ar < 0.30). The bootstrap-based quantiles are higher if the correlations are positive and lower if they are negative, so that chi-square quantiles of order 0.975 (ar = 0.25), 0.99 (ar = 0.3) and 0.995 (ar = 0.4) or 0.9 (ar = −0.25), 0.85 (ar = −0.3), and 0.8 (ar = −0.4) could also be used instead of 0.95 in case the simulation fails, because of its complexity.

2.6. Effect Size

The effect size can be calculated using the squared eta coefficient (η2) or its square root which is the eta coefficient (η). Both vary from 0 (no effect or independence) to 1 (total effect or dependence). Values of η2 less than 0.01 are usually considered trivial. Cohen [30] suggests interpreting η2 values between 0.01 and 0.059 as a small effect size, between 0.06 and 0.139 medium, and greater than or equal to 0.14 large for analysis of variance. For multiple linear regression, the cut-off points suggested by Cohen [30] are: 0.02 (small), 0.13 (medium), and 0.26 (large). A larger effect implies a larger deviation from the multivariate normality model in the test being proposed.

η 2 = Q n × g l = Q n ( 2 k 1 a ) o η 2 = Q n ( 2 k 1 a )

2.7. A Posteriori Type II Error and Statistical Power

Type II error (β) and statistical power (ϕ = 1 − β) are calculated using the cumulative distribution function of the noncentral chi-square distribution (NCχ2). Its degrees of freedom are the k-th power of 2 subtracting 1 and the number of null values, ν = 2k − 1 − a, and the non-centrality parameter is the squared eta coefficient multiplied by the sample size and degrees of freedom, λ = η2 × n × (2k − 1 − a) = q. The distribution function is evaluated at the critical value of the statistic Q or Q': 1−αχ2[2k − 1 − a], i.e., the quantile of order 1 −α of a chi-squared distribution with 2k − 1 − a degrees of freedom.

β = N C χ ( υ = 2 k 1 a , λ = η 2 × n × ( 2 k 1 a ) = q ) 2 ( χ 1 α 2 k 1 a 2 )

ϕ = 1 β

β = P(hold H0|H1 true) = the type II error or false negative error = the probability of holding the null hypothesis conditional on a true alternative hypothesis. When the null hypothesis is rejected due to a probability value less than the significance level, p < α, the probability β should be less than 0.5 and preferably equal to or less than 0.2, evidencing low probability of a mistaken rejection. When the null hypothesis holds due to a probability value greater than or equal to the significance level α, pα, the probability β should be greater than 0.5, indicating the low probability of the alternative hypothesis.

ϕ = P(reject H0|H1 true) = statistical power or success in rejecting the null hypothesis = probability of rejecting the null hypothesis conditional on a true alternative hypothesis. When the null hypothesis is rejected due to a probability value less than the significance level, p < α, the statistical power should be greater than 0.5 and preferably equal to or greater than 0.8 (strong power) or 0.9 (very strong power). When the null hypothesis holds due to a probability value greater than or equal to the significance level, pα, the statistical power should be less than 0.5, revealing the low probability of the alternative hypothesis.

α = P(reject false H0|H1) = type I error or false positive error, which is also called significance level = the probability of rejecting the null hypothesis conditional on a false alternative hypothesis and hence true null hypothesis. It is fixed a priori, usually with a value of 0.05. With small samples, it can be raised to 0.1 and with very large samples can be lowered to 0.01.

1 −α = P(hold H0|H1 false) = success in holding the null hypothesis or confidence level = the probability of holding the null hypothesis conditional on a false alternative hypothesis and hence true null hypothesis. If α = 0.05, then 1 −α = 0.95.

2.8. Example of Calculation of the Proposed Test

Let be a random sample of 20 participants who were measured on four different variables (Table 4). Check whether the sample was drawn from a population with multivariate normal distribution of unknown parameters μ and Σ.

H 0 : x = ( X 1 X 2 X 3 X 4 ) ~ N ( μ , Σ )

H 1 : x = ( X 1 X 2 X 3 X 4 ) N ( μ , Σ )

The 15 unweighted linear combinations (by simple summation) of the four variables are calculated (l = 24 − 1 = 15). The 20 data of each linear combination of variables are sorted in ascending order (empirical quantiles). These data are

Table 4. Data of the four variables in their random order.

assigned ranks i from 1 to 20. The orders of the theoretical quantiles, denoted by pi, are obtained as a function of the order i, pi = (i − 0.375)/20.25. The theoretical quantiles, denoted by mi, are computed using the Probit function or quantile function of the standard normal distribution, mi = Φ−1(pi). Finally, the standardized and normalized expected values, denoted by ai, are obtained using the Royston’s formulas [3] , as can be seen in Table 5.

On the one hand, the correlations between the empirical quantiles (of the 15 linear combinations) and the standardized and normalized theoretical quantiles ai are calculated. It should be recalled that theoretical quantiles are the same for all 15 linear combinations. These squared correlation coefficients constitute the W test statistics of the Shapiro-Wilk univariate normality test [1] . A logarithmic transformation is applied to the W statistics, the mean and standard deviation of the transformation are calculated as a function of the sample size (n = 20), and the log-transformed statistics are standardized following the Royston’s procedure [3] . See Table 6.

Table 5. Linear combinations (of one and two variables) among the 4 variables with their values sorted in ascending order or empirical quantiles and expected quantiles.

Note: i = the order of the data when sorted in ascending order, pi = (i − 0.375)/20.25 = the order of the theoretical quantile [16] , mi = Φ−1 (pi) = theoretical quantile under normal distribution [3] [4] , ai = standardized and normalized theoretical quantile [3] .

Table 6. Statistics W and W' with their logarithmic transformation, standardization and truncation.

Note: l = the order of the simple linear combination in its generative sequence, wl = the Shapiro-Wilk W-test statistic of the lth combination, ln(1 − wl) = the log-transformation of wl statistic, z ln ( 1 W l ) = the standardized value of the log-transformation of wl statistic, zl = the standardized and truncated value of the log-transformation of wl statistic (zl = 0, if z ln ( 1 W l ) < 0 ), w l = the Shapiro-Francia W' test statistic of the lth combination, ln(1 − wl) = the log-transformation of w l statistic, z ln ( 1 W l ) = standardized value of the log-transformation of w l statistic, z l = the standardized and truncated value of the log-transformation of w l statistic ( z l = 0 , if z ln ( 1 W l ) < 0 ).

w 1 = r X 1 a 2 = ( i = 1 20 ( x i 1 x ¯ 1 ) a i ) 2 i = 1 n ( x i 1 x ¯ 1 ) 2 = 4.0262 2 17.2680 = 0.9387

μ ln ( 1 W ) | n = 20 = 1.5861 0.31082 ln ( n ) 0.083751 [ ln ( n ) ] 2 + 0.0038915 [ ln ( n ) ] 3 = 1.5861 0.31082 ln ( 20 ) 0.083751 [ ln ( 20 ) ] 2 + 0.0038915 [ ln ( 20 ) ] 3 = 3.1642

σ ln ( 1 W ) | n = 20 = e 0.4803 0.082676 ln ( n ) + 0.0030302 [ ln ( n ) ] 2 = e 0.4803 0.082676 ln ( 20 ) + 0.0030302 [ ln ( 20 ) ] 2 = 0.4962

Z ln ( 1 W 1 ) = ln ( 1 W 1 ) μ ln ( 1 W ) σ ln ( 1 W ) = ln ( 1 0.9387 ) ( 3.1642 ) 0.4962 = 2.7927 + 3.1642 0.4962 = 0.7488

On the other hand, the correlations between the empirical quantiles of the 15 linear combinations and the theoretical quantiles mi that are common to the 15 combinations are calculated. These squared correlation coefficients constitute the W' test statistics of the Shapiro-Francia univariate normality test [2] . A logarithmic transformation is applied to the W' statistics, the mean and standard deviation of the transformation are calculated as a function of the sample size (n = 20), and the log-transformed statistics are standardized following the Royston’s procedure [4] . Finally, the negative values of ln ( 1 W l ) and ln ( 1 W l ) are cancelled, which affects six values in the first case and four in the second, resulting in the sequences zl and z l . See Table 6.

w 1 = r X 1 m 2 = [ i = 1 20 ( x i 1 x ¯ 1 ) m i ] 2 i = 1 20 ( x i 1 x ¯ 1 ) 2 i = 1 20 m i 2 = 16.9117 2 17.2680 × 17.6336 = 286.0060 304.4959 = 0.9393

u = ln [ ln ( n ) ] ln ( n ) = ln [ ln ( 20 ) ] ln ( 20 ) = 1.8985

μ ln ( 1 W ) = 1.0528 u 1.2725 = 1.0528 × ( 1.8985 ) 1.2725 = 3.26996

v = ln ( ln ( n ) ) + 2 / ln ( n ) = ln ( ln ( 20 ) ) + 2 / ln ( 20 ) = 1.7648

σ ln ( 1 W ) = 0.26758 v + 1.0308 = 0.26758 × 1.7648 + 1.0308 = 0.5586

Z ln ( 1 w 1 ) = ln ( 1 w 1 ) μ ln ( 1 W ) σ ln ( 1 W ) = ln ( 1 0.9393 ) ( 3.26996 ) 0.5586 = 2.8014 + 3.26996 0.5586 = 0.8388

The assumption of independence between the 15 values of zl (standardized and truncated values of the log-transformed W statistics) and z l (standardized and truncated values of the log-transformed W' statistics) is tested using the Wald-Wolfowitz runs test from the exact probabilities at a 10% significance level due to the small sizes of the sequences (15 elements). The hypothesis holds at the 10% significance level in a two-tailed test for both sequences (in its generative order). The exact probabilities are the same for both sequence of values zl and z l , since the number of runs (r = 8), number of values zl or z l less than their median (no = 7) and greater than or equal to their median (n1 = 8) coincide: point probability, P(R = 8) = 0.2176, probability to the left tail, P[R ≤ 8 = Mdn(R)] = 0.5136, probability to the other tail, P(R > 8) = 0.4864, and probability to two tails, P(R ≤ 8) + P(R > 8) = 0.5136 + 0.4864 = 1 > α = 0.10.

In turn, the independence assumption is tested using the Ljung-Box test. The lag order was determined using the Hyndman-Athanasopoulos criterion for non-stationary series: h = min(10, n/5) = min(10, 15/5) = 3. The test is not significant at the 10% significance level for either sequence with a third-order lag.

A visual inspection of the two correlograms with a maximum lag of 7 (Schwert’s criterion) reveals no significant autocorrelation, since the bars lie in the space between the upper and lower limits of 90% confidence intervals of null autocorrelations with lags from 1 to 7. See Figure 1.

h = 12 × ( n / 100 ) 1 / 4 = 12 × ( 15 / 100 ) 1 / 4 = 7.46 = 7

Lung-Box test applied to the zln(1−W) sequence (from the Shapiro-Wilk W statistics)

Q L B = n ( n + 2 ) i = 1 h a r i 2 n i = 15 × 17 × ( 0.0391 2 14 + 0.0457 2 13 + 0.0989 2 12 ) = 0.0279

q L B = 0.0279 < χ 1 α h 2 = χ 0.90 3 2 = 6.2514

y P ( χ 3 2 q L B = 0.0279 ) = 0.9988 > α = 0.10 , se mantiene H0: ρ 1 = ρ 2 = ρ 3 = 0 .

Figure 1. Correlograms with interpretation limits with a 90% confidence level.

Lung-Box test applied to the zln(1−W') sequence (from the Shapiro-Francia W' statistics).

Q L B = n ( n + 2 ) i = 1 h a r i 2 n i = 15 × 17 × ( 0.0357 2 14 + 0.0489 2 13 + 0.1135 2 12 ) = 0.0232

q L B = 0.0232 < χ 1 α h 2 = χ 0.90 3 2 = 6.2514

y P ( χ 3 2 q L B = 0.0232 ) = 0.9991 > α = 0.10 , se mantiene H0: ρ 1 = ρ 2 = ρ 3 = 0 .

With the robust Ljung-Box test [25] [26] , the null hypothesis of independence also holds for the sequence zl (Qr = 0.338, p = 0.953) and z l (Qr = 0.620, p = 0.892) with third-order lag.

Next, the sums of squares of zl and z l are performed, yielding the test statistics q and q', respectively. Since the assumption of independence holds, these two sums of squares follow a chi-square distribution. The degrees of freedom are 9 for Q-test (from the zl statistics) and 11 for Q'-test (from the z l statistics). Since the values of the test statistics q and q' are less than their corresponding critical values and their probability values under the null hypothesis of multivariate normality are greater than the 5% significance level, the null hypothesis is maintained with both versions of the proposed test.

Q = l = 1 2 k 1 z l 2 = l = 1 15 z l 2 = 0.7488 2 + 0.6686 2 + 0 + 0.4778 2 + 0 + 0 + 0.7162 2 + 0.6148 2 + 1.5879 2 + 0.2825 2 + 0.6828 2 + 0.7544 2 + 0 + 0 + 0 = 5.7636

d f = 2 k 1 a = 2 4 1 6 = 16 1 6 = 9

q = 5.7636 < χ 1 α 2 k 1 a 2 = χ 0.95 9 2 = 16.9190

P ( χ 9 2 q = 5.7636 ) = 0.7633 > α = 0.05

Q = l = 1 2 k 1 ( z l ) 2 = l = 1 15 ( z l ) 2 = 0.8388 2 + 0.5081 2 + 0 + 0.1805 2 + 0.4418 2 + 0 + 0.9239 2 + 0.6576 2 + 1.4918 2 + 0.1916 2 + 1.2416 2 + 0.8499 2 + 0.1262 2 + 0 + 0 = 7.0174

d f = 2 k 1 a = 2 4 1 4 = 16 1 = 11

q = 7.0174 < χ 1 α 2 k 1 4 2 = χ 0.95 11 2 = 19.6751

P ( χ 11 2 q = 7.0174 ) = 0.7977 > α = 0.05

The effect size is calculated, which is small in both versions of the proposed test.

η 2 = Q n × g l = Q n ( 2 k 1 a ) = 5.7636 20 × 9 = 0.0320

η 2 = Q n × g l = Q n ( 2 k 1 a ) = 7.0174 20 × 11 = 0.0319

The type II error is very high (β > 0.5) and the statistical power very low (ϕ = 1 − β < 0.5), which indicates that the alternative hypothesis is very unlikely and the null hypothesis of multivariate normality should be maintained with both versions of the proposed test. The version with the Shapiro-Wilk W statistic [3] seems slightly better than with the Shapiro-Francia W' statistic [4] in terms of type II error and statistical power.

Calculation of type II error and statistical power for Q-test (from Shapiro-Wilk W statistics).

β = N C χ ( υ = 2 k 1 a , λ = η 2 × n × ( 2 k 1 a ) = q ) 2 ( χ 1 α 2 k 1 a 2 )

β = N C χ ( υ = 9 , λ = 5.7636 ) 2 ( χ 0.95 9 2 = 16.9190 ) = 0.6750

ϕ = 1 β = 1 0.6750 = 0.3250

Calculation of type II error and statistical power for Q'-test (from Shapiro-Francia W' statistics).

β = N C χ ( υ = 2 k 1 , λ = η 2 × n × ( 2 k 1 ) = q ) 2 ( χ 1 α 2 k 1 2 )

β = N C χ ( υ = 11 , λ = 7.0174 ) 2 ( χ 0.95 11 2 = 16.9190 ) = 0.6360

ϕ = 1 β = 1 0.6360 = 0.3640

3. Method

3.1. Sample Generation and Statistical Analysis

In the present simulation study, only samples of 20 elements for four variables were analyzed, so it is a pilot study of the proposal. The small size of 20 was chosen as it is the minimum recommended for normality tests and with which the statistical power and discriminative capacity of the tests can be more compromised. Four variables were chosen as this is an easily manageable small number.

Fifty samples of 20 elements and 4 variables were generated. On the one hand, 40 samples were created. Four random variables with standard continuous uniform distribution U[0, 1] were used as a starting point to obtain variables with a standard normal distribution: xi = Φ−1(pi); with a good distributional convergence to normality: chi-square with 100 degrees of freedom, χ p i 100 2 , Student’s t with 100 degrees of freedom, t p i 100 , and binomial B(pi, 0.5, 20); with a distribution close to normality: standard logistic distribution: xi = ln[pi/(1 − pi)]; and with distributions far from normality: exponential with parameter λ = 1: xi = ln(pi), standard Cauchy distribution: xi = tan[π × (pi − 0.5)], standard log normal distribution: exp(Φ−1(pi)), standard Laplace distribution: xi = −1 × sign(pi − 0.5) × ln(1 − 2 × |pi − 0.5|), and binomial: xi = B(pi, 0.1, 10). Samples with four correlated normally distributed variables were obtained using Cholesky decomposition of covariance matrices with moderate to high correlations. In addition, 10 more samples were created. Eight standard continuous uniform variables were used to generate eight independent normal variables (Z), and from their transformation, independent non-normal distributions were obtained: inverse normal (Z−1 = 1/Z), chi-square with one degree of freedom (Z2), chi-square with two degrees of freedom ( Z 1 2 + Z 2 2 ), chi-square four degrees of freedom ( Z 1 2 + Z 2 2 + Z 3 2 + Z 4 2 ), and Cauchy distribution (Z1/Z2).

It was considered that the normality hypothesis should hold in the following situations (10 samples, 20%):

• Seven samples with normal variables (3 samples with the four independent variables and 4 samples with the four correlated variables).

• Three samples with a good convergence to multivariate normality: four variables following a Student’s t-distribution with 100 degrees of freedom, four variables following a chi-square distribution with 100 degrees of freedom, and four variables following a binomial distribution B(n = 20, p = 0.5).

Conversely, it should be rejected in the following situations (40 samples, 80%): N = normal, E = exponential, LogN = log normal, Logist = logistic, Lap = Laplace, C = Cauchy, B(n, p) = binomial with n independent trials and constant probability of success p, N−1 = 1/N = inverse normal and χ ( ν ) 2 = chi-square with ν degrees of freedom.

• Three variables with normal distribution and one without normal distribution (the preceding number indicates the number of variables, but if there is only one variable, the number is omitted): 3NE, 3NC, 3NLogN, 3NN−1, 3N χ ( 2 ) 2 , 3N χ ( 1 ) 2 , and 3NCauchy.

• Two independent variables with normal distribution and two without normal distribution (if the subscripts match, they are related, and if they do not match or have no subscripts, they are independent): 2NE1C1, 2NE1LogN1, 2NC1LogN1, 2NE2C2, 2NE2Log2, 2NC2LogN2, 2NE3C3, 2NE3LogN3. 2NC3LogN3, 2NE4C4, 2NE4LogN4, 2NC4LogN4, 2NE1C3, 2NE1LogN3, 2NC1LogN3, 2NE2C1, 2NE2LogN1, 2NC2LogN1, 2N2 χ ( 2 ) 2 , 2N2 χ ( 4 ) 2 , 2N2 χ ( 1 ) 2 , and 2N2C.

• One variable with normal distribution and three without normal distribution: N1E1C1LogN1, N2E2C2LogN2, N3E3C3LogN3, N4E4C4LogN4, and N1E2C3LogN4.

• Four independent variables with no normal distribution: 4E, 4C, 4LogN, 4Logist, 4Lap, and 4B (n = 10, p = 0.1).

On the one hand, the probability of the correct decision conditional on the alternative hypothesis is calculated. When the null hypothesis must be retained, this probability is the type II error or probability β, and when it must be rejected, it is the statistical power or complement of the beta probability: ϕ = 1 − β. The comparison of measures of central tendency in β or ϕ values among six samples is performed using the Friedman’s test [31] . Effect size is calculated using the Kendall’s W coefficient of concordance [32] . Pairwise comparisons are performed using the Wilcoxon’s signed-rank test [33] , estimating the effect size by the Rosenthal’s r coefficient [34] . The Sidak’s correction is applied with the Holm’s procedure to control for the family error rate [35] [36] . These comparisons are made with the 50 multivariate samples (β and ϕ), with 40 multivariate samples that deviate from multivariate normality (β), and with the 10 multivariate samples that follow or have a with good convergence to multivariate normality (ϕ).

On the other hand, the frequency of successes among the six tests was compared using the Cochran’s Q test [37] with the 50 multivariate samples. Effect size was estimated by the eta-squared coefficient [38] . Pairwise comparisons were performed using the McNemar’s test [39] , and the effect size was calculated by the Cohen’s q statistic (1988). The Sidak’s correction with the Holm’s procedure was applied to control the error rate by family [35] [36] . In addition, 2 × 2 tables were computed for each of the six tests with respect to the decision on null hypothesis. From these tables, point and interval estimates of sensitivity, specificity and efficacy were calculated for each of the 50 multivariate samples generated, using the Wilson’s confidence interval score with the Newcombe’s continuity correction [40] [41] . Pairwise comparisons between these correlated proportions were performed using the McNemar’s Z-test [39] .

A final analysis involved creating a variable of ordered categories by classifying the 50 multivariate samples generated by their deviation from multivariate normality. Five levels of deviation were defined. The ordinal variable was correlated with the critical level or probability value of each of the six multivariate normality tests, that is, with the probability associated with a critical region bounded by the observed value of the test statistic under the assumption that the null hypothesis is true within a known distribution (normal for the multivariate runs test and chi-square for the other tests). The more negative this correlation is (closer to −1), the better the multivariate normality test. Correlations were calculated by the Spearman’s rank coefficient [42] . The confidence interval was estimated with the Fisher’s transformation [43] and the Bonett-Wright standard error [44] . Comparisons were made using the Steiger’s Z-test [45] , following the suggestion of Myers and Sirois for the Spearman’s correlation [46] .

3.2. Multivariate Normality Tests with Which the New Proposal Is Compared

The calculation of the test statistic, the probability value for the statistical decision at the α level of significance, the effect size, the type II error, and the statistical power of the four tests with which the new proposal is compared are shown below. It starts with the omnibus test based on the multivariate skewness and kurtosis [5] [6] [7] . It continues with the runs Z-test for multivariate normality [8] [9] , and ends with Royston’s test [10] based on the H statistic (with the transformation and standardization of the W statistic of Royston [3] ) and the H' statistic (with the transformation and standardization of the W' statistic of Royston [4] ).

3.2.1. Mardia’s Omnibus Test of Multivariate Normality

The Mardia’s test starts from the square matrix of order n of standardized distances or moments, denoted by M. This is obtained by the product among the rectangular matrix of order n × k of differential scores (D), the square matrix of order k of the inverse of sample covariance matrix (S−1), and the rectangular matrix of order k × n of the transpose of the matrix of the differential scores (DT), where n is the number of participants and k the number of variables.

D = X 1 T x ¯ = ( x 11 x 1 k x n 1 x n k ) ( 1 1 ) ( x ¯ 1 x ¯ k )

S = 1 n 1 D T D = ( s x 1 2 s x 1 x k s x k x 1 s x k 2 )

M = D × S 1 × D T

M = ( x 11 x ¯ 1 x 1 k x ¯ k x n 1 x ¯ 1 x n k x ¯ k ) ( s x 1 2 s x 1 x k s x k x 1 s x k 2 ) 1 ( x 11 x ¯ 1 x n 1 x ¯ 1 x 1 k x ¯ k x n k x ¯ k ) = ( m 11 m 1 n m n 1 m n n )

Mardia’s multivariate skewness (b1M) with a correction for sampling bias ( b 1 M * ).

b 1 M = i = 1 n j = 1 n m i j 3 n 2

b 1 M * = ( n n 1 ) 3 b 1 M = ( n n 1 ) 3 i = 1 n j = 1 n m i j 3 n 2

Q = n 6 b 1 M *

Q c ~ χ k ( k + 1 ) ( k + 2 ) 6 2

Mardia’s multivariate kurtosis (b2M) with a correction for sampling bias ( b 2 M * ).

b 2 M = i = j = 1 n m i j 2 n

b 2 M * = ( n n 1 ) 2 b 2 M = ( n n 1 ) 2 i = j = 1 n m i j 2 n

Z = b 2 M * E ( b 2 M ) S D ( b 2 M ) = b 2 M * k ( k + 2 ) 8 k ( k + 2 ) n ~ N ( 0 , 1 )

Test statistics and sampling distribution

K M V N 2 = Q + Z 2

K M V N 2 ~ χ ( k ( k + 1 ) ( k + 2 ) 6 + 1 ) 2

Statistical decision under the null hypothesis of multivariate normality with a given level of significance (alpha).

P ( χ ( k ( k + 1 ) ( k + 2 ) 6 + 1 ) 2 K M V N 2 ) α , H0 is accepted; and < α , H0 is rejected.

The effect size estimated using the eta-squared coefficient.

η 2 = K M V N 2 n × d f = K M V N 2 n ( k ( k + 1 ) ( k + 2 ) 6 + 1 )

Type II error and statistical power calculated using the cumulative distribution function of a noncentral chi-squared distribution.

β = N C χ d f = 1 + k ( k + 1 ) ( k + 2 ) 6 , N C P = η 2 × n × d f = K M V N 2 2 ( χ 1 α k ( k + 1 ) ( k + 2 ) 6 + 1 2 )

ϕ = 1 β

3.2.2. Royston’s Multivariate Normality Test and Its Two Variants

To obtain the test statistic H (from Shapiro-Wilk W statistics) or H' (from Shapiro-Francia W' statistics), the following formulas are used [10] :

H = e j = 1 k ψ j k

ψ j = [ Φ 1 ( Φ ( z j ) z ) ] 2 = [ Φ 1 ( 0.5 × Φ ( z j ) ) ] 2 , j = 1 , 2 , , k

Φ−1 = the probit function or quantile function associated with a standard normal distribution, and Φ = the cumulative distribution function of a standard normal variable.

Z j = ln ( 1 W j ) μ ln ( 1 W j ) σ ln ( 1 W j )

H = e j = 1 k ψ j k

ψ j = [ Φ 1 ( 1 / 2 × Φ ( z j ) ) ] 2

Z j = ln ( 1 W j ) μ ln ( 1 W j ) σ ln ( 1 W j )

The formulas for obtaining the mean (μ) and standard error (σ) for ln(1 − Wj) are given in Royston [3] and for ln ( 1 W j ) in Royston [4] , and are shown in Section 2.3.

e = k 1 + ( k 1 ) c ¯

c ¯ = i = 1 k j i = 2 k c i j k ( k 1 ) / 2 = 2 i = 1 k j i = 2 k c i j k ( k 1 ) = 2 ( c 12 + c 13 + + c k 1 , k ) k ( k 1 )

The k-order square matrix of sample correlations is required.

R = ( r 11 r 1 j r 1 k r i 1 r i j r i k r k 1 r k j r k k )

c i j = r i j λ [ 1 μ υ n ( 1 r i j ) μ ]

If 10 n 2000 , then λ = 5 , μ = 0.715 , and υ n = 0.21364 + 0.015124 ( ln n ) 2 0.0018034 ( ln n ) 3 .

The sampling distribution of the test statistic H or H' is a chi-square distribution with e degrees of freedom: H ~ χ e 2 and H ~ χ e 2

The statistical decision under the null hypothesis of multivariate normality at a given significance level is taken one-sided to the right tail.

If P ( χ e 2 H ) α , H0 is accepted, and < α , is rejected.

If P ( χ e 2 H ) α , H0 is accepted, and < α , is rejected.

The size of the effect is estimated using the eta-squared coefficient.

η 2 = H n × g l = H n × e η 2 = H n × g l = H n × e

Type-II error or probability β and statistical power ϕ are calculated using the cumulative distribution function of a non-central chi-square distribution (NCχ2): degrees of freedom (df) = e, and non-centrality parameter (NCP) = η2 × n × e = H. Its argument is the critical value for the statistics h or h': χ 1 α e 2 .

β = N C χ d f = e = k 1 + ( k 1 ) c ¯ , N C P = η 2 × n × e 2 ( χ 1 α e 2 )

ϕ = 1 β

3.2.3. Runs Test for Multivariate Normality

A network diagram is a set of points connected by non-directional lines. In this type of diagram, the points are called nodes and the lines connecting the points are called edges. Each edge has a weight or value corresponding to the distance between the two nodes it connects, and is denoted by wi. In the present work, such weight is calculated through the Euclidean distance formula. Let the random vectors x and y .

x = ( x 1 x 2 x k )

y = ( y 1 y 2 y k )

w i = i = 1 k ( x i y i ) 2 = ( x 1 y 1 ) 2 + ( x 2 y 2 ) 2 + + ( x k y k ) 2

A spanning tree is a subset of nodes connected without the chain of connections returning to the origin. When the chain of connections is closed, returning to the origin, it is referred to as a cycle. As the nodes are numbered from 1 to n (random sampling order of the n score vectors or n data tuples), the root of the spanning tree is the node that receives no connections. A minimum spanning tree is the one that has the smallest sum of the weights of its edges. This may be unique or there may be more than one in a network diagram [8] .

In the multivariate runs test applied to multivariate normality [8] [9] , the random vector x corresponds to sample data and the random vector y is generated from a multivariate normal distribution, whose location parameter μ is estimated with the vector of sample means x and its scale parameter Σ is estimated with the sample covariance matrix S of the vector x .

Z = ( R μ R ) / σ R

μ R = n 0 n 1 n + 1

σ R = 2 n 0 n 1 n ( n 1 ) [ 2 n 0 n 1 n n + c n + 2 ( n 2 ) ( n 3 ) ( n ( n 1 ) 4 n 0 n 1 + 2 ) ]

n0 = the number of empirical k-dimensional tuples or k-dimensional vectors.

n1 = the number of theoretical or generated tuples under a multivariate normal distribution model with the sample mean vector x as the estimator of the location parameter μ and the sample covariance matrix of the vector x as the estimator of the scale parameter Σ.

n = n 0 + n 1 = 2 × n 0

r = the number of separate trees that result when any edge (line) in the minimum spanning tree between nodes of different (empirical vs. theoretical) samples is removed.

c = the number of pairs of edges (links or lines) sharing a common node (point) in the network diagram (points joined by lines).

c = 1 2 i = 1 n d i ( d i 1 )

di = the degree of node i (i = 1, 2, … n) in the minimum spanning tree within the network diagram or number of edges connected to node i.

The n1 theoretical tuples are generated from the vector of sample means, the sample covariance matrix and the lower triangular matrix of the Cholesky’s decomposition of the sample covariance matrix.

Vector of sample means: m = ( x ¯ 1 x ¯ 2 x ¯ k ) k

Sample covariance matrix:

S = ( s 1 2 s 1 k s k 1 s k 2 ) k × k

Lower triangular matrix of the Cholesky’s decomposition of the sample covariance matrix:

C = ( c 11 0 0 c 21 c 22 0 c k 1 c k 2 c k k ) k × k

S = C T C

z = ( z 1 z 2 z k ) k , z i ~ N ( 0 , 1 )

Vector of scores generated from multivariate normal distribution: y = m + C z k ~ N ( μ , Σ )

The test statistic and its sampling distribution which is a standard normal distribution.

Z = ( R μ R ) / σ R ~ N ( 0 , 1 )

The statistical decision under the null hypothesis of multivariate normality at a given significance level is made for a left-tailed test. If P(Zz) ≥ α, H0 is accepted; and <α, H0 is rejected.

The effect size can be estimated using Rosenthal’s r correlation coefficient.

r = | z | / n = | z | / n 1 + n 2

The calculation of the type II error or probability β and the statistical power ϕ is left-tailed in accordance with the calculation of the probability value or critical level.

R 1 = μ R + z α σ R

β = P ( Z z 1 = R 1 R σ R ) = 1 P ( Z z 1 = R 1 R σ R )

ϕ = 1 β = P ( Z z 1 )

4. Results

4.1. Comparison of the Probability of the Correct Decision Conditional on the Alternative Hypothesis among the Six Multivariate Normality Tests

Table 7 shows the statistical power values ϕ when the generated samples are drawn from a population without multivariate normality, corresponding to 40 random samples. The tests are expected to reject the null hypothesis of multivariate normality. Probability β appears when the generated samples have been drawn from a population with multivariate normality (sample #6 = 4N independent, sample #7 = 4N related, sample #32 = 4N related, sample #33 = 4N related, sample #34 = 4N related, sample #41 = 4N independent, and sample #46 = 4N independent) or with a good convergence to multivariate normality (sample #38 = 4t[ν = 100] independent, sample #39 = 4χ2[ν = 100] independent, and

Table 7. Probability of the correct decision conditional on the alternative hypothesis of the six multivariate normality tests.

Note: Multivariate samples extracted from: N = standard normal distribution, E = exponential distribution with inverse scale parameter λ = ½, C = standard Cauchy distribution, L = standard LogNormal distribution, B(n, πsucces) = binomial distribution with parameters n (number of trials) and p (probability of success), χ2[ν] = chi-square distribution with ν degrees of freedom, t[ν] = Student’s t distribution with ν degrees of freedom, Lap = standard Laplace distribution, N−1 = inverse normal distribution, and Logist = standard logistic distribution; ind = independent variables, rel = correlated variables. The preceding number is the number of variables with the same type of distribution. When the number of the variable subscripts matches, the corresponding variables are correlated. Pr = the probability of the correct decision conditional on the alternative hypothesis; when the null hypothesis of multivariate normality must be accepted, this probability is the type II error or beta probability (β), and when the null hypothesis must be rejected, it is the complement of the beta probability or statistical power (ϕ). Tests: the proposed Q-test from the Shapiro-Wilk W-statistics [3] and the proposed Q' test from the Shapiro-Francia W' statistics [4] , Mardia: K2 = Q + Z2 = multivariate normality omnibus statistic [7] , SJ = multivariate runs test applied to the multivariate normality by Smith and Jain [8] [9] , which is a left-tailed Z-test, and the Royston’s H-test from the Shapiro-Wilk W-statistics [3] [10] and the H'-test from the Shapiro-Francia W' statistics [4] [10] . Probability values were rounded to 4 decimal places, so the 1’s are an artifact of rounding.

sample #40 = 4B[n = 20, πsuccess = 0. 5] independent). With these 10 random samples, the tests are expected to sustain the null hypothesis of multivariate normality.

None of the six distributions of the β or ϕ probabilities corresponding to the six multivariate normality tests applied to the 50 generated multivariate samples followed a univariate normal distribution checked using the Shapiro-Wilk W-test (Royston, 1992) and D’Agostino-Berlanger-D’Agostino K2-test at a 5% significance level. The distributions showed a U-shaped profile with elevations at both ends and a depression in the center. All of them had negative skewness (left tail longer than right tail), three had positive excess kurtosis or heavy tails (Q, Q' and H'), one had negative excess kurtosis or shortened tails (Smith-Jain), and two had zero excess kurtosis (Mardia and H). See Table 8 and Table 9.

Nor did any of the ϕ probabilities of the six multivariate normality tests applied to the 40 multivariate samples drawn from populations without multivariate normality followed a univariate normal distribution either by the Shapiro-Wilk W-test [3] or D’Agostino-Berlanger-D’Agostino K2-test at the 5% significance level [47] . Five of their distributions showed negative skewness with an elongated profile of increasing staircase slope to the right, except for the distribution of ϕ probabilities from the runs test which showed symmetry. The profile of five of the six distributions was leptokurtic or thick-tailed, except for the profile of the runs test, which was platykurtic or thin-tailed. See Table 8 and Table 9.

However, the distributions of the β probabilities of four of the six multivariate normality tests applied to the 10 multivariate samples (drawn from populations with multivariate normality or with good convergence to it) were fitted to a

Table 8. Check of univariate normality using the Shapiro-Wilk test.

Note. n = sample size, W = the Shapiro-Wilk test statistic, Z = the standardized value of log-transformed W statistics using the Royston’s formulas [3] , p = right-tailed probability value under standard normal distribution, and Normality: yes when p < α = 0. 05 for n = 50 and 40 and 0.1 for n = 10, no when pα. Multivariate normality tests: the proposed Q-test from the Shapiro-Wilk W-statistics [3] and the Q'-test from the Shapiro-Francia W' statistics [4] , Mardia: K2 = Q + Z2 = multivariate normality omnibus statistic [7] , SJ = multivariate runs test applied to the multivariate normality by Smith and Jain [8] [9] , which is a left-tailed Z-test, and the Royston’s H-test from the Shapiro-Wilk W-statistics [3] [10] and the H'-test from the Shapiro-Francia W' statistics [4] [10] .

Table 9. Tests of univariate skewness, kurtosis and normality based on standardized central moments.

Note. n = sample size, z( b 1 ) = standardized value of skewness measure based on standardized third central moment [50] , p = two-tailed probability under a standard normal distribution, z (b2) = standardized kurtosis measure value based on standardized fourth central moment [51] , p = two-tailed probability value under a standard normal distribution, K2 = z( b 1 )2 + z(b2)2 = test statistic from the D’Agostino-Belanger-D’Agostino omnibus test of normality [47] , p = probability to the right tail under a chi-square distribution with two degrees of freedom. N(μ, σ) = fit to normality: yes when p < α = 0. 05 for n = 50 and 40 and 0.1 for n = 10, no when p < 0.05, either due to skewness (+positive or −negative) or kurtosis (↓ b2 < 3 leptokurtosis or ↑ b2 > 3 platykurtosis).

model a univariate normality distribution checked using W- and K2-tests at the 10% significance level (Q, Q', H and H'). The distribution of β probabilities from the runs test deviated from normality when tested using the W-test and showed negative skewness. The distribution of β probabilities from the Mardia’s test did not follow a normal distribution according to the K2-test, as they showed a positive skew and a leptokurtic profile. See Table 8 and Table 9. Except for the two versions of the Royston test, no profile of β probabilities was bell-shaped in the histogram. The profiles were ladder-shaped with their steps increasing with Q-, Q'-, and runs z-test and decreasing with Mardia’s test. Nor does the dotted line clearly lined up at 45 on the normal quantile-quantile plot with these last four tests.

When comparing probabilities β or ϕ, the choice was made to use nonparametric tests with the total of 50 generated multivariate samples and the 40 samples drawn from populations without multivariate normality. Even a non-parametric analysis approach was adopted with the 10 samples drawn from populations with multivariate normality or a good convergence to it due to the small sample size [48] , consistency with previous analyses, and lack of evidence of normality in the plots [49] , particularly in four of them.

Using the Friedman’s omnibus test for comparing values ϕ or β, there was a significant difference both in the sample of 50 tuples and in the sample of 40 tuples from a population without multivariate normality and in the sample of 10 tuples from a population with multivariate normality or a good convergence to it (Q > 11.071, p < 0.05). The statistical power was very high in the three tests (ϕ > 0.9). Following the cut-off points suggested by Kendall and Gibbons [32] , the effect size, estimated by the Kendall’s coefficient of agreement, was small in the 50-tuple and 10-tuple samples, with values in the interval (0.1, 0.3), and reached a medium level in the sample of 40 tuples (See Table 10).

In the random sample of 50 tuples, the highest median probability of the correct decision conditional on the alternative hypothesis (ϕ or β values) appeared with the version from the Shapiro-Francia statistics of the proposed test, Mdn (ϕ or β) = 0.9989, followed by the same test from the Shapiro-Wilk W'-statistics, Mdn (ϕ or β) = 0.9974. Thirdly, the Royston’s H-test from the Shapiro-Wilk W statistics was located, Mdn (ϕ or β) = 0.9734, fourthly, the Mardia’s K2-test, Mdn (ϕ or β) = 0.9684, fifthly, the Royston’s H-test from the Shapiro-Francia W' statistic, Mdn (ϕ or β) = 0.9591, and lastly the runs Z-test, Mdn (ϕ or β) = 0.8337.

When making the pairwise comparisons through the Wilcoxon’s signed-rank test from the asymptotic probability with the Sidak’s correction using Holm’s procedure to control for the family rate error [35] [36] , the two versions of the proposed test were equivalent in ϕ or β values and both were superior to the runs Z-test, Mardia’s K2-test, and Royston H'-test from Shapiro-Francia W' statistics. The version of the Royston test from the Shapiro-Wilk W-statistics was superior to the version from the Shapiro-Francia W'-statistics and was also superior to the runs Z-test and Mardia’s K2-test. In turn, the Royston H'-test from Shapiro and Francia W' statistic was superior to the runs Z-test. Following the cut-off points suggested by Cohen (1988), the effect sizes estimated using Rosenthal’s r coefficient varied from small (0.1 to 0.29) to medium (0.3 to 0.49). See Table 11.

Table 10. Friedman test, effect size, and statistical power.

Note: Compared variable: ϕ or β = the probability of the correct decision conditional on the alternative hypothesis of the six multivariate normality tests (ϕ with the 40 samples drawn from distributions without multivariate normality and β with the 10 samples from distributions with multivariate normality or a good convergency to it), ϕ = statistical power or probability of rejecting the null hypothesis when the alternative hypothesis is true, β = type II error or probability of maintaining the null hypothesis when the alternative hypothesis is true, n = the number of tuples, Q = the value of the Friedman’s test statistic, df = the degrees of freedom, p = right-tailed probability in a chi-square distribution with five degrees of freedom, Kendall’s W = the coefficient of agreement Kendall’s W as a measure of effect size, χ 0.95 ( 5 ) 2 (5) = critical value or quantile of order 0.95 of a chi-square distribution with five degrees of freedom, β = type II error, and Φ = statistical power.

Table 11. Pairwise comparisons between the six multivariate normality tests using the Wilcoxon signed-rank test in the sample of 50 tuples.

Note: G1 = group 1 and G2 = group 2. Multivariate normality tests: the Q = proposed Q-test from the Shapiro-Wilk W statistics and the Q'-test from the Shapiro-Francia W' statistics, M = the Mardia’s K2-test, SJ = the Smith-Jain runs Z-test, H = the Royston H-test from the Shapiro-Wilk W statistics, and the H'-test from the Shapiro-Francia W' statistics, Mdn (ϕ or β) = the sample median of ϕ or β values, up = the number of unequal pairs (non-zero differences), z = the Wilcoxon’s rank-signed test z-statistic from its approximation to the normal distribution with the correction for ties and the continuity correction, p = two-tailed probability under a standard normal distribution, r = | z | / 100 = the Rosenthal’s r coefficient as a measure of effect size, i = range in ascending order of probability value with average ranges in case of ties, αc = 1 − 0.95i/15 = significance level with the Sidak’s correction using the Holm’s procedure [35] [36] , Sig = significance: no when pαc and yes when p < αc, Diff = the group with the highest median in each pairwise comparison.

In the random sample of 40 tuples, the highest median statistical power (ϕ) appeared with the version from the Shapiro-Francia W' statistics of the proposed test, Mdn (ϕ) = 0.9999, followed by its version from Shapiro-Wilk W-statistics, Mdn (ϕ) = 0.9993. Thirdly, the median of the Mardia’s K2-test was located, Mdn (ϕ) = 0.9868, fourthly, that of the Royston’s H-test from the Shapiro-Wilk W statistics, Mdn (ϕ) = 0.9847), fifthly, that of the Royston’s H'-test from the Shapiro-Francia W' statistics, Mdn (ϕ) = 0.9781, and lastly that of runs Z-test, Mdn (ϕ) = 0.7419. When making the pairwise comparisons using the Wilcoxon signed-rank test from the asymptotic probability with the Sidak’s correction with the Holm’s procedure [35] [36] , the two versions of the proposed test were equivalent in ϕ values and both were superior to the other tests. Again, the version of the Royston’s test from the Shapiro-Wilk-statistics was superior to the version from the Shapiro-Francia W' statistics with a large effect size (Rosenthal’s r = 0.506) and both versions were superior to the runs Z-test. In turn, the Mardia’s K2-test was superior to the runs Z-test. The effect sizes estimated using Rosenthal’s r coefficient varied from small (from 0.1 to 0.29) to medium (from 0.3 to 0.49), reaching a large effect size on the statistical power when choosing between the proposed Q'-test and the runs Z-test. See Table 12.

In the random sample of 10 tuples, the highest median type II error (β) appeared with the runs Z-test, Mdn (β) = 0.9755. Secondly, the Royston’s H-test from the Shapiro-Wilk W-statistics was located, Mdn (β) = 0.8064, thirdly, this same test from the Shapiro-Francia W'-statistics, Mdn (β) = 0.8013, fourthly, the proposed test from the Shapiro-Francia W' statistics, Mdn (β) = 0.7355, fifthly, this same test from the Shapiro-Wilk W-statistics, Mdn (β) = 0.6904, and lastly the Mardia’s K2-test, Mdn (β) = 0.3922. When pairwise comparisons were made using the Wilcoxon signed-rank test from the exact probability with Sidak’s correction with Holm’s procedure with a nominal significance level of 0.1, the two versions of the proposed test were equivalent in β values as were the two versions of Royston’s test. The Mardia’s K2-test had a significantly lower β probability values than the two versions of the Royston test and the runs Z-test. The effect sizes estimated using the rank biserial correlation were very large. See Table 13.

4.2. Difference in the Number of Successes among the Six Multivariate Normality Tests

The proposed Q-test from the Shapiro-Wilk W statistics and the Royston’s H-test also based on the Shapiro-Wilk W statistics had the highest proportion of correct classifications or probability of success (ps = 0.94). Secondly, Royston’s H'-test from the Shapiro-Francia W'-statistics was located (ps = 0.94), thirdly, the proposed Q'-test from the Shapiro-Francia W' statistics (ps = 0.88), fourthly, the Mardia’s K2-test (ps = 0.70), and lastly, the runs Z-test (ps = 0.68).

Using Cochran’s omnibus Q test, there was significant difference in the sample of 50 tuples (Q = 44.593, df = 5, p < 0.001). The statistical power of the test was very high (ϕ = 0.9999). Following the cut-off points suggested by Cohen

Table 12. Pairwise comparisons between the six multivariate normality tests using the Wilcoxon signed-rank test on the sample of 40 tuples.

Note: G1 = group 1 and G2 = group 2. Multivariate normality tests: Q = the proposed Q-test from the Shapiro-Wilk W statistics and the Q'-test from the Shapiro-Francia W' statistics, M = the Mardia’s K2-test, SJ = the Smith-Jain runs Z-test, H = the Royston H-test from the Shapiro-Wilk W statistics, and the H'-test from the Shapiro-Francia W' statistics, Mdn (ϕ) = the sample median of ϕ values, up = the number of unequal pairs (non-zero differences), z = the Wilcoxon’s rank-signed test z-statistic from its approximation to the normal distribution with the correction for ties and the continuity correction, p = two-tailed probability under a standard normal distribution, r = | z | / 80 = the Rosenthal’s r coefficient as a measure of effect size, i = range in ascending order of probability value with average ranges in case of ties, αc = 1 − 0.95i/15 = significance level with the Sidak’s correction using the Holm’s procedure [35] [36] , Sig = significance: no when pαc and yes when p < αc, Diff = the group with the highest median in each pairwise comparison.

Table 13. Pairwise comparisons between the six multivariate normality tests using the Wilcoxon signed-rank test on the sample of 10 tuples.

Note: G1 = group 1 and G2 = group 2. Multivariate normality tests: Q = the proposed Q-test from the Shapiro-Wilk W statistics and the Q'-test from the Shapiro-Francia W' statistics, M = the Mardia’s K2-test, SJ = the Smith-Jain runs Z-test, H = the Royston H-test from the Shapiro-Wilk W statistics, and the H'-test from the Shapiro-Francia W' statistics, Mdn (β) = the sample median of β values. Wilcoxon’s signed-rank test: up = the number of unequal pairs (non-zero differences), SR− = the sum of negative ranks (G1 < G2), SR + = the sum of positive ranks (G1 > G2), T = test statistics or minor of SR + and SR− statistics, p = two-tailed exact probability, rbp = (SR+ − SR−)/(SR+ + SR−) = biserial rank correlation as a measure of effect size, i = range in ascending order of probability value with average ranges in case of ties, αc = 1 − 0.95i/15 = significance level with the Sidak’s correction using the Holm’s procedure [35] [36] , Sig = significance: no when pαc and yes when p < αc, Diff = the group with the highest median in each pairwise comparison.

[30] , the effect size estimated using the eta-squared coefficient was small (η2 = 0.032), with a value in the interval [0.01, 0.6).

When pairwise comparisons were made using the McNemar’s test from the exact probability (binomial distribution) applying the Sidak’s correction using the Holm’s procedure to control for the family error rate, there was no significant difference in successes between the two versions of the proposed test and the two versions of the Royston’s test, these four tests being statistically equivalent in number of successes. Both versions of the proposed test and the Royston test were more correct than the Mardia’s K2-test and the runs Z-test, the latter two being equivalent to each other. When the effect size was estimated by the odds ratio (OR) or Cohen’s g statistic and, following the cutoff points suggested by the author, the effect size was large in 6 of 8 significant differences (OR > 4.25 and |g| > 0.25). In the other two comparisons, the OR remained undefined and, therefore, so did the g-statistic. When the effect size in these two comparisons was calculated using the eta-squared coefficient, it was also large: η2 = Q/(n01 + n10) > 0.25, where Q = (|n01 + n10| − 1)2/(n01 + n10). See Table 14.

Although the difference between the two versions of the proposed test was not significant (exact probability: point value and one-tailed value of 0.125 and two-tailed value of 0.25 > α = 0.05), the effect size was large (OR = 0, g = −0.5, η2 = 0.44), the type II error was null and the unit statistical power, which supports the alternative hypothesis of difference, where Q-test would have a higher proportion of successes than Q'-test (0.94 versus 0.88). Consequently, there is a situation of ambiguity with respect to this difference.

Table 14. Pairwise comparisons of the number of successes using the McNemar’s test.

Note: T1 = first test, T2 = second test, n00 = the number of concordant pairs of non-normality for both tests, n01 = the number of discordant pairs of non-normality for the first test and normality for the second test, n10 = the number of discordant pairs of normality for the first test and non-normality for the second test, n11 = number of concordant pair of normality for both tests, x = the smaller of the discordant frequencies (n01 or n10) or number of successes for the calculation of the exact probability, n = sum of the discordant frequencies or parameter of the number of trials for the calculation of the exact probability, p = two-tailed exact probability under a binomial distribution B(n = n01 + n10, p = 0.5), ϕ = two-tailed statistical power (I = undefined), OR = n10/n01 = Cohen’s odds ratio for correlated 2 × 2 tables (I = undefined), Cohen’s g = n10/(n01 + n10) – 0.5 = effect size statistic that is only calculated if the OR value is defined, η2 = Q/(n01 + n10) = eta-squared coefficient, calculated with the McNemar’s test statistic Q with its continuity correction, i = rank in ascending order of the two-tailed exact probability values with average ranks in case of ties, αc = significance level with the Sidak’s correction using the Holm’s (1979) procedure, Sig = significance: yes when p < αc and no when pαc, ≥group with the highest number of successes in the pairwise comparison.

4.3. Sensitivity, Specificity and Efficiency of the Six Multivariate Normality Tests

The six tests presented a sensitivity of 100%, so the confidence intervals were calculated using the rule of three [52] : [1 − ln(0.05)/50, 1], as can be seen in Table 15. The specificity or ability to successfully reject the null hypothesis in case of deviation from multivariate normality varied from a minimum of 0.825 with the runs Z-tests to a maximum of 0.925 with the proposed Q-test from the Shapiro-Wilk W statistics. When making interval estimates at the 95% confidence level, the Wilson’s score intervals with the continuity correction [40] [41] for the specificity values of the six tests overlapped (Table 15). When making comparisons using the McNemar’s Z-test for two paired samples, the null hypothesis of

Table 15. Point estimates and 95% confidence intervals for the sensitivity, specificity and efficiency of the six multivariate normality tests.

Note: MN Test = Multivariate normality tests: Q = the proposed Q-test from the Shapiro-Wilk W statistics and the Q' test from the Shapiro-Francia W' statistics, M = the Mardia’s K2-test, SJ = the Smith-Jain runs Z-test, H = the Royston H-test from the Shapiro-Wilk W statistics, and the H' test from the Shapiro-Francia W' statistics. Joint frequencies: n00 = the frequency of successes when classifying as the sample as coming from the population without multivariate normal distribution, n01 = the frequency of false negatives, n10 = the frequency of false positives, and n11 = the frequency of successes when classifying the sample as coming from the population with multivariate normal distribution. S = n11/(n11 + n01) = sensitivity or proportion of successes when detecting cases of multivariate normality, E = n00/(n00 + n10) = specificity or proportion of successes when detecting multivariate non-normality cases, and Ef. = (n00 + n11)/(n11 + n01 + n10 + n11) = efficiency or proportion of successes when classifying. LB = the lower bound and UB = the upper bound of the Wilson’s score interval with Newcombe’s continuity correction at 95% confidence level.

no difference was maintained at the 5% significance level, even without considering any correction for family error rate in all 15 comparisons. The mean and median of specificity values were high, 0.867 and 0.863, respectively.

The efficiency or successes ratio varied from a minimum of 0.86 with the runs Z-test to a maximum of 0.94 with the proposed Q' test from the Shapiro-Wilk W statistics. The confidence intervals of the six tests overlapped. When comparisons were made using the Z-test for two paired samples, the null hypothesis of equivalence was maintained at the 5% significance level for the 15 differences, even without considering any correction for family error rate. The mean and median of efficiency values were high, 0.893 and 0.890, respectively.

As the lowest values of specificity and efficiency were observed in the Mardia’s K2-test and runs Z-test, but did not reveal to be significant in the comparisons of proportions with the other four tests, it was chosen to test in each of the six tests whether the specificity and efficiency values are equal to or greater than 0.90. At a significance level of 5%, the null hypothesis was rejected with the Mardia’s K2-test and runs Z-test with respect to specificity value with low statistical power (0.5 < ϕ = 0.54 < 0.80) and small effect size (0.10 < r = 0.25 < 0.30). Applying the Sidak’s correction with the Holm’s procedure, the null hypothesis would not be rejected: p (the probability value for a left-tailed hypothesis) = 0.039 (i = 1.5) > αc = 1 − 0.95 (1.5/6) = 0.013. In all other cases, the null hypothesis was hold (Table 16).

Table 16. Test of a value equal or greater than 0.85 for specificity and efficiency using the McNemar Z-test.

Note: MN test = multivariate normality test: Q = the proposed Q-test from the Shapiro-Wilk W-statistics and the Q' test from the Shapiro-Francia W' statistics, M = Mardia’s K2-test, SJ = the Smith-Jain runs Z-test, H = the Royston’s H-test from the Shapiro-Wilk W statistics and the H' test from the Shapiro-Francia W' statistics. E = specificity value, Ef = efficiency value, z = Z-test statistic for a population proportion, p = left-tailed probability in a standard normal distribution under the null hypothesis E ≥ 0.9 in the fourth column and Ef ≥ 0.9 in the seventh column, ϕ = left-tailed statistical power, r = | z | / 50 = effect size measure based on the Rosenthal’s r coefficient.

4.4. Correlation between the Critical Level or Probability Value and the Deviation from Normality

Finally, the deviation from multivariate normality of the 50 generated multivariate samples was classified by ordered categories, as can be seen in Table 17. The higher the level in variable D, the greater the deviation from multivariate normality.

All six correlations were significant and negative. The negative sign of the correlation means that the smaller the critical level or probability value of the test, the greater the deviation from normality according to expectation. The highest absolute correlation of the ordinal variable D (of deviation from multivariate normality) was with the probability value of the proposed Q-test from the Shapiro-Wilk W statistics (rhoQD = −0.746, 95% CI [−0.789, −0.399]), followed by the same test from the Shapiro-Francia W' statistics (rhoQ’D = −0.740, 95% CI [−0.787, −0.395]). In third place was the correlation with the Royston’s H' test from the Shapiro-Francia W' statistics (rhoH’D = −0.677, 95% CI [−0.759, −0.345]), in fourth place, with the same test from the Shapiro-Wilk W statistics (rhoHD = −0.664, 95% CI [−0.753, −0.335]), and in fifth place, with the Mardia’s K2-test (rhoMD = −0.645, 95% CI [−0.744, −0.319]). These five correlations were statistically equivalent using the Steiger’s Z-test and, following the cut-off points suggested by Cohen (1988), their strength of association was high (rs > 0.50). In sixth place was the correlation with the Smith-Jain runs test (rhoSJD = −0.455, 95% CI [−0.638, −0.153]), with a medium strength of association. The latter presented significant differences with the two versions of the proposed test and the Mardia’s K2-test at a 5% significance level. If the Sidak’s correction using the Holm’s procedure is considered, only with the two versions of the proposed test would be significant, since their strength of association with D was very high, rho > 0.70 (Table 18 and Table 19).

Table 17. Classification of the 50 generated multivariate samples in five ordered categories of deviation from multivariate normality.

Note: N = standard normal distribution, E = exponential distribution with inverse scale parameter λ = ½, C = standard Cauchy distribution, L = standard LogNormal distribution, B (n, p) = binomial distribution with parameters n (number of trials) and p (probability of success), χ2(ν) = chi-square distribution with ν degrees of freedom, Lap = standard Laplace distribution, N−1 = inverse normal distribution, Logist = standard logistic distribution, ind = independent variables, rel = correlated variables. The preceding number is the number of variables of the same type of distribution. When the number of subscripts of variables matches, the corresponding variables are correlated.

Table 18. Correlation between the critical level or probability value of each test and the level of deviation from multivariate normality.

Note: Q = the proposed Q-test from the Shapiro-Wilk W-statistics and the Q' test from the Shapiro-Francia W' statistics, M = the Mardia’s K2-test, SJ = the Smith-Jain runs Z-test, H = the Royston’s H-test from the Shapiro-Wilk W statistics and the H' test from the Shapiro-Francia W' statistics, and D = the ordinal variable of deviation from multivariate normality, rs = the value of Spearman’s rank-order correlation or rho coefficient, SE = ( 1 + r s 2 ) / ( n 3 ) = Bonett-Wright standard error for rho coefficient, zrs = atanh(rs) = the Fisher’s hyperbolic arctangent transformation of rs, LB = zrs − 1.96 × EE = the lower bound and UB = zrs + 1.96 × EE = the upper bound of the 95% confidence interval for the transformed correlation, 95% CI for rs = 95% confidence interval for rho coefficient undoing the transformation: LB = tanh (LBZ) and UB = tanh (UBZ).

Table 19. Comparison of correlations between the six tests using the Steiger’s Z-test.

Note: rhoT1D = the Spearman’s rank correlation coefficient between the first test (T1) and the ordinal variable of deviation from multivariate normality (D), rhoT2D = the Spearman’s rank correlation coefficient between the second test (T2) and the ordinal variable of deviation from normality multivariate normality (D), rhoT1T2 = the Spearman’s rank correlation coefficient between the two tests (T1 and T2), z = the standardized value of the difference between correlations using the Steiger’s formula [45] , p = two-tailed probability under a standard normal distribution, αc = level of significance with the Sidak’s correction using the Holm’s procedure, ϕ = statistical power (calculated with the GPower program for the Z-test of two dependent correlations with a common index: a = D, b = T1, and c = T2) [53] , r = | z | / n = effect size measure, Sig = significance: no when pαc and yes when p < αc, and Diff. = higher correlation between T1 or T2 and D in each pairwise comparison.

4.5. On the Assumption of Independence in the 50 Tuples

Due to the small size of the sequences, a significance level of 10% was used. Among the 50 sequences of the 15 zln(1−W’) values (from the Shapiro-Francia W' statistics), the ordinary Ljung-Box test detected serial dependence in multivariate samples 6, 12, 15, and 46. The robust Ljung-Box test from the sequences of z l values (transformed into ranks) detected serial dependence in multivariate samples 15, 22, 25, 38, and 46. Both tests agreed in samples 15 and 46. However, the ordinary Ljung-Box test applied to the reduced sequences (without zeros) did not confirm serial dependence in any of the seven cases. From the reduced sequences, there was serial dependence in the multivariate samples 39 (from four independent samples with chi-square distribution with 100 degrees of freedom) with a significant first-order lag autocorrelation (ar1 = −0.684 < LB90% = −0.672) and 44 (from two independent samples with normal distribution and two independent samples with chi-square distribution with one degree of freedom) with a significant second-order lag autocorrelation (ar2 = −0.462 < LB90% = −0.457). See Table 20.

Reviewing the 50 sequences of zln(1−W) values (from the Shapiro-Wilk W statistic), the assumption of independence was rejected by the ordinary Ljung-Box Q-test in multivariate samples 15 and 46. The robust Ljung-Box test from the sequences of zl values (transformed into ranks) detected serial dependence in multivariate samples 6, 15, 22, 26, and 46. Once again, both tests coincided in the significance of samples 15 and 46. However, the ordinary Ljung-Box test did not confirm serial dependence in any of the five cases in the reduced sequences (without zeros). With the reduced sequences, the Ljung-Box Q-test was significant in the multivariate sample 29 of three correlated variables with normal distribution and one independent variable with exponential distribution. Its highest autocorrelation was that of first-order lag (ar1 = −0.666). See Table 20.

Critical values were obtained by bootstrapping (Monte Carlo simulation) for multivariate sample 29 (proposed Q test) and multivariate samples 39 and 44 (proposed Q' test). Three, six, and thirteen standard half-normal distributions (truncated standard normal distribution between the 0.5 and 0.9999 quantiles) were defined, respectively. The outcome variable was the sum of squares of the 3, 6 or 13 variables with standard half-normal distributions. Three correlation matrices were defined with ones in the main diagonal, the value of the autocorrelation in the corresponding variables and zeros in the remaining cells. The correlation was −0.666 (first-order lag autocorrelation) between z1 - z2 and z2 - z3 in sample 29. The correlation was −0.684 (first-order lag autocorrelation) between z1 - z2, z2 - z3, z3 - z4, z4 - z5, and z5 - z6 in sample 39. The correlation was −0.462 (second-order lag autocorrelation) between z1 - z3, z2 - z4, z3 - z5, z4 - z6, z5 - z7, z6 - z8, z7 - z9, z8 - z10, z9 - z11, z10 - z12, and z11 - z13 in sample 44. Correlations were estimated using Spearman’s rank-order coefficient and calculations were performed with the XLSTAT software version 24 [20] . Percentiles were obtained from 1000 bootstrap samples for statistical decision making: if q' or q > (simulated) 95th percentile, H0 is rejected. As the autocorrelations were negative, the

Table 20. Testing the assumption of independence using the Ljung-Box Q test.

Note: Complete sequence (sequence of 15 values): zln(1−W') = the standardized and log-transformed Shapiro-Francia W' statistics [4] , z l = the truncated, standardized and log-transformed W' statistics, R( z l ) = the range of the value z l with average ranks in case of a tie, zln(1−W) = the standardized and log-transformed Shapiro-Wilk W statistics [3] , zl = the truncated, standardized and log-transformed W statistics, R(zl) = the range of the value zl with average ranks in case of a tie. Reduced sequence: without the null z l or zl values. p = asymptotic probability to the right tail in a chi-square distribution with three degrees of freedom in the complete sequence and with h degrees of freedom in the reduced sequence (without zeros), LJ = ordinary Ljung-Box Q-test, LJr = robust Ljung-Box Q-test, h = the order of the maximum lag determined using the Hyndman-Athanasopoulos rule [27] . Significant tests at a 10% significance level are highlighted in bold.

critical values or simulated percentiles were lower compared to the simulated percentiles with the independent variables or the percentiles of the chi-square distribution. See Table 21.

In samples 29 and 44, the null hypothesis of multivariate normality is rejected according to expectation (q = 6.922 < simulated P95 = 0.223 and q' = 45.9 < simulated P95 = 11.052, respectively). In sample 39, the null hypothesis is also rejected (q' = 5.322 < simulated P95 = 3.958), when the expectation is that it holds,

Table 21. Monte Carlo simulation quantiles.

Note: Sampling method: Latin hypercubes (number of sections = 500), number of intervals: 50, number of simulations: 1000, type of correlation: Spearman. χ p d f 2 = the p-order quantile of a chi-square distribution with df degrees of freedom, Ind = simulation with independent variables, and Rel = simulation with correlated variables.

so the test seems to perform better from the asymptotic approach by forcing the assumption of independence as is done in Mardia’s K2-test and multivariate runs Z-tests. Hence, it is advisable to use the reduced sequence only in case of significance in the full sequence. If the ordinary Ljung-Box test is used, the sequence must include the negative values. With the truncated sequence, the robust Ljung-Box test is used, which does not require normality and is more sensitive to anomalous tails [25] [26] .

5. Discussion

The first objective of this article was to present a new multivariate normality test. It is based on the lemma or proven proposition that, if a set of correlated or independent variables follow a multivariate normal distribution, any linear combination of them follows a univariate normal distribution [14] [54] . If there are k variables, the number of unweighted linear combinations is 2k − 1. Additionally, the lemma that the sum of squares of 2k − 1 independent variables with standard normal distribution follows a chi-square distribution with 2k − 1 degrees of freedom is considered [15] . This proposal has two variants: one from the Shapiro-Wilk W statistics with the logarithmic transformation and standardization of Royston [3] and the other from the Shapiro-Francia W' statistics with the logarithmic transformation and standardization of Royston [4] . Since the calculation of the critical level or probability value of the Royston´s statistics is one-sided (to the right tail), a problem arises with the negative values that indicate good fit. One option would be to take its absolute inverse, but this would result in a strong deviation in the sampling distribution of the test statistic from the chi-square distribution.

Another way of solving this problem was sought, and it was considered that the best option was to truncate these values to 0, so that the sampling distribution of the variables changes from a standard normal distribution to standard half-normal distribution, since truncating a standard normal variable between the quantiles 0.5 and 0. 9999… results in a standard half-normal variable: x Î X ~ SN(σ = 1), f(x) = 2 × φ(x), F(x) = 2 × Φ(x) − 1, and F−1(x) = Φ−1[(p + 1)/2], where φ is the density function, Φ the distribution function and Φ−1 the quantile function of a standard normal distribution [17] . Two additional lemmas are added here. The first states that if a variable follows a half-normal distribution, the square of the quotient between the variable and its scale parameter σ follows a chi-squared distribution with one degree of freedom [17] . The second posits that the sum of 2k − 1 independent variables with chi-square distribution with one degree of freedom follows a chi-square distribution with 2k − 1 degrees of freedom [18] . As the scale parameter σ takes a unit value in the 2k − 1 variables, the sum of squares of each variable divided by σ is reduced to the sum of squares of the variables, thus returning to the starting point.

For the sum of squares of standard normal variables (of mean 0 and unit variance) or standard half-normal variables to follow a chi-square distribution with as many degrees of freedom as variables summed, independence between variables is required [18] . However, the test is based on all possible linear combinations among the k variables from which the Shapiro-Wilk W- or Shapiro-Francia W' statistics are calculated. Here one could object that they are dependent variables and that the sampling distribution is generalized chi-square, which is a very complex distribution to calculate [19] . Indeed, the generated variables are linearly dependent, but the zl (from Shapiro-Wilk W statistics) or z l (from Shapiro-Francia W' statistics) values are not necessarily, so the independence assumption shifts to showing that the 2k − 1 zl or z l values in their generative sequence are independent, i.e., they do not exhibit serial correlation, either with a first-order lag or with a lag greater than one order. Here, these 2k − 1 values are conceived as identically distributed random variables with sample size 1. To test this assumption, the Ljung-Box Q test is used, and the maximum lag can be determined using the Hyndman-Athanasopoulos rule for non-stationary series [27] . The Ljung-Box test assumes bivariate normality in each autocorrelation, so it is required to use its robust version from the truncated sequence or to resort to the untruncated series. In case of non-compliance with the independence assumption, the critical values for the Q- or Q'-test can be obtained using Monte Carlo simulation.

To improve the specificity of the test, an operational correction is introduced that consists of eliminating one degree of freedom for each canceled variable (negative value converted to zero). Consequently, the simulation is run with a simplified sequence that corresponds to the non-zero values (random variables with sample size 1). Hence, the serial independence test has to be repeated with the simplified sequence, and from there obtain the significant autocorrelation values for the simulation. To obtain these last values, the correlogram is a very useful tool [23] . If there is no serial dependency in this second test, an ambiguous situation is generated that is resolved in favor of independence. One can also go directly to the simplified sequence. However, it seems that it is better to force the assumption of independence, so this second path is not recommended. It is only considered that there is a serial dependency if it appears in both the complete and reduced sequence with some significant autocorrelation.

The second objective of the study sought to compare the central tendency of the type II error or β-probability and the statistical power or complement of the β-probability. From these central tendency analyses, the new test yields good results without a clear advantage of one of its two versions, being equivalent to the Royston’s test and superior to the Mardia’s K2-test and runs Z-test. The third objective involved to compare the frequency of successes among the six multivariate normality tests. In this analysis, the proposed test together with the Royston’s test are the best, with no difference between their two versions. Although there is a situation of ambiguity in the statistical decision of equivalence between the two versions of the proposed test. The difference is not significant, but the effect size is large, the type II error is null and the unitary statistical power, which supports the alternative hypothesis of difference, in which the Q-test would have a higher proportion of successes than the Q'-test, 0.94 versus 0.88. The fourth objective focused on calculating and comparing the sensitivity, specificity, and efficiency of the six multivariate normality tests. All six tests have unit sensitivity, so they are equivalent in the property of detecting normality. Comparisons in specificity and efficiency among the six tests do not reveal significant differences, even without controlling for family rate error, so it would seem that average values would be valid for all of them and these would be high, namely above 0.85. However, when testing higher-than-average specificity and efficiency values (H0: E ≥ 0.90 and H0: Ef ≥ 0.90), the runs Z-test and Mardia’s K2-test show significantly lower specificity values than those hypothesized. The fifth objective proposed to classify the samples into ordered categories of deviation from normality, calculate the correlation between this ordinal variable and the critical level or probability value of each of the six tests, and compare these correlations. The highest correlations appear in the proposed test and the lowest appears with the runs Z-test. The latter presents a significant difference only in comparison with the two versions of the proposed test. In this analysis, the proposed test stands out with no difference between its two versions.

6. Conclusions

The new proposal presents a performance very similar to Royston’s test and clearly superior to the Mardia’s K2-test and runs a Z-test with samples of 20 tetra-dimensional tuples. It should be noted that the Q version from the Shapiro-Wilk W statistics reveals a very slight advantage over the Q' version from the Shapiro-Francia W' statistics. In the face of samples of 20 participants and 4 variables, the highest specificity and efficiency values, success ratio, and correlation between the critical level and the ordinal variable of deviation from normality are achieved with the proposed Q-test.

As limitations of the study, it should be noted that the number of simulations is very small, so it is merely a pilot study. With a larger number of simulations, some of the differences between the two versions of the proposed test may be significant, and the version based on the Shapiro-Wilk W statistics may be more specific and efficient. This pilot study only handles one sample size (n = 20) and one number of variables (k = 4) when the variation of n and k would allow the definition of power curves to compare the tests. There are also other multivariate normality tests not covered in the present work, such as those of Cox and Small [55] , Henze and Zirkler [56] , and Doornik and Hansen [57] , available in the R program [58] , the Monte Carlo version of multivariate runs test available in Excel [9] [59] or the tests of Arnastauskaite, Ruzgas and Braženas [60] and Kesemen, Tiryaki, Tezel and Özkul [61] , more recently. There is also another generalization of the Shapiro-Wilk test developed by Villaseñor-Alva and González-Estrada [62] , different from that of Royston [10] and the present work. Any of these tests not included would be excellent comparison options for future research, although there is currently no evidence or consensus on which is the best test [58] [60] .

Further study of this new statistical test is suggested. A test based on the principle that, given k variables drawn from a multivariate normal population, any linear combination of these variables should follow a univariate normal distribution; additionally, on the principle that the sum of squares of independent standard half-normal variables follows a chi-square distribution with as many degrees of freedom as variables added, with the additional correction of eliminating the number of variables nulled in the degrees of freedom. The independence assumption is tested on the generative sequence of standardized and truncated values. Initially, it is checked with the complete series and, in case of dependence, it is repeated with the reduced series (without zeros). If both series show dependence, the assumption is not fulfilled. In case of discrepancy between the independence of the two series, the decision is in favor of independence, since the simulated quantiles with moderate or high negative correlations go down a lot or with moderate or high positive correlations go up a lot compared to the situation with independent samples, resulting in a less accurate test. If further studies support this test, its computational implementation in programs such as R or Excel is very simple. Precisely, this article details an example, executed from the Excel program.

Acknowledgements

The author thanks the reviewers and editor for their helpful comments.

Conflicts of Interest

The authors declare no conflicts of interest.

References

[1] Shapiro, S.S. and Wilk, M.B. (1965) An Analysis of Variance Test for Normality (Complete Samples). Biometrika, 52, 591-611.
https://doi.org/10.1093/biomet/52.3-4.591
[2] Shapiro, S.S. and Francia, R.S. (1972) An Approximate Analysis of Variance Test for Normality. Journal of the American Statistical Association, 67, 215-216.
https://doi.org/10.1080/01621459.1972.10481232
[3] Royston, J.P. (1992) Approximating the Shapiro-Wilk W-Test for Non-Normality. Statistics and Computing, 2, 117-119.
https://doi.org/10.1007/BF01891203
[4] Royston, J.P. (1993) A Tool Kit for Testing for Normality in Incomplete and Censored Samples. Journal of the Royal Statistical Society. Series D (the Statistician), 42, 37-43.
https://doi.org/10.2307/2348109
[5] Mardia, K.V. (1970) Measures of Multivariate Skewness and Kurtosis with Applications. Biometrika, 57, 519-530.
https://doi.org/10.1093/biomet/57.3.519
[6] Mardia, K.V. (1974) Applications of Some Measures of Multivariate Skewness and Kurtosis in Testing Normality and Robustness Studies. Sankhya: The Indian Journal of Statistics, Series B (1960-2002), 36, 115-128.
https://www.jstor.org/stable/25051892
[7] Mardia, K.V. (1980) Tests of Univariate and Multivariate Normality. In Krishnaiah, P.R., Ed., Handbook of Statistics 1: Analysis of Variance, North-Holland, Amsterdam, 279-320.
https://doi.org/10.1016/S0169-7161(80)01011-5
[8] Friedman, J.H. and Rafsky, L.C. (1979) Multivariate Generalizations of the WaldWolfowitz and Smirnov Two-Sample Tests. The Annals of Statistics, 7, 697-717.
https://doi.org/10.1214/aos/1176344722
[9] Smith, S.P. and Jain, A.K. (1988) A Test to Determine the Multivariate Normality of a Data Set. IEEE Transactions on Pattern Analysis and Machine Intelligence, 10, 757-761.
https://doi.org/10.1109/34.6789
[10] Royston, J.P. (1983) Some Techniques for Assessing Multivariate Normality Based on the Shapiro-Wilk W. Journal of the Royal Statistical Society. Series C (Applied Statistics), 32, 121-133.
https://doi.org/10.2307/2347291
[11] Wald, A. (1939) Contributions to the Theory of Statistical Estimation and Testing Hypotheses. Annals of Mathematical Statistics, 10, 299-326.
https://doi.org/10.1214/aoms/1177732144
[12] Steiger, J.H., Shapiro, A. and Browne, M.W. (1985) On the Multivariate Asymptotic Distribution of Sequential Chi-Square Statistics. Psychometrika, 50, 253-263.
https://doi.org/10.1007/BF02294104
[13] Hoaglin, D.C. (2016) Misunderstandings about Q and Cochran’s Q Test. In Meta-Analysis. Statistics in Medicine, 35, 485-495.
https://doi.org/10.1002/sim.6632
[14] Ghurye, S.G. and Olkin, I. (1962) A Characterization of the Multivariate Normal Distribution. The Annals of Mathematical Statistics, 33, 533-541.
https://doi.org/10.1214/aoms/1177704579
[15] Cochran, W.G. (1934) The Distribution of Quadratic Forms in a Normal System, with Applications to the Analysis of Covariance. Mathematical Proceedings of the Cambridge Philosophical Society, 30, 178-191.
https://doi.org/10.1017/S0305004100016595
[16] Blom, G. (1958) Statistical Estimates and Transformed Beta-Variables. John Wiley and Sons, New York.
[17] Johnson, N., Kotz, S. and Balakrishnan, N. (1994) Continuous Univariate Distributions. 2nd Edition, John Wiley and Sons, New York.
[18] Coelho, C.A. (2020) On the Distribution of Linear Combinations of Chi-Square Random Variables. In Bekker, A., Chen, D.G. and Ferreira, J.T., Eds., Computational and Methodological Statistics and Biostatistics. Emerging Topics in Statistics and Biostatistics, Springer, Cham, 211-250.
https://doi.org/10.1007/978-3-030-42196-0_9
[19] Rahman, G., Mubeen, S. and Rehman, A. (2015) Generalization of Chi-Square Distribution. Journal of Statistics Applications and Probability, 4, 119-126.
https://digitalcommons.aaru.edu.jo/jsap/vol4/iss1/12
[20] Addinsoft (2021) Monte Carlo Simulations. In XL-STAT: Tutorials & Guides.
https://help.xlstat.com/tutorial-guides/monte-carlo-simulations
[21] Wald, A. and Wolfowitz, J. (1943) An Exact Test for Randomness in the Non-Parametric Case Based on Serial Correlation. Annals of Mathematical Statistics, 14, 378-388.
https://doi.org/10.1214/aoms/1177731358
[22] Ljung, G.M. and Box, G.E.P. (1978) On a Measure of a Lack of Fit in Time Series Models. Biometrika, 65, 297-303.
https://doi.org/10.1093/biomet/65.2.297
[23] Box, G.E.P., Jenkins, G.M., Reinsel, G.C. and Ljung, G.M. (2015) Time Series Analysis: Forecasting and Control. 5th Edition, John Wiley and Son, New York.
[24] Uyanto, S.S. (2020) Power Comparisons of Five Most Commonly Used Autocorrelation Tests. Pakistan Journal of Statistics and Operation Research, 16, 119-130.
https://doi.org/10.18187/pjsor.v16i1.2691
[25] Chan, W.S. (1994) On Portmanteau Goodness-of-Fit Tests in Robust Time Series Modeling. Computational Statistics, 9, 301-310.
[26] Burns, P.J. (2002) Robustness of the Ljung-Box Test and Its Rank Equivalent. SSRN.
https://doi.org/10.2139/ssrn.443560
[27] Hyndman, R.J. and Athanasopoulos, G. (2021) Forecasting: Principle and Practice. 3rd Edition, OTexts, Melbourne.
[28] Schwert, G.W. (1989) Why Does Stock Market Volatility Change Over Time? Journal of Finance, 44, 1115-1153.
https://doi.org/10.1111/j.1540-6261.1989.tb02647.x
[29] Albuquerque, P. (2020) Optimal Time Interval Selection in Long-Run Correlation Estimation. Journal of Quantitative Economics, the Indian Econometric Society, 18, 53-79.
https://doi.org/10.1007/s40953-019-00175-x
[30] Cohen, J. (1988) Statistical Power Analysis for the Behavioral Sciences. 2nd Edition, Lawrence Erlbaum Associate, Hillsdale.
[31] Friedman, M. (1937) The Use of Ranks to Avoid the Assumption of Normality Implicit in Analysis of Variance. Journal of the American Statistical Association, 32, 675-701.
https://doi.org/10.1080/01621459.1937.10503522
[32] Kendall, M.G. and Gibbons, J.D. (1990) Rank Correlation Methods. 5th Edition, A. Charles Griffin, London.
[33] Wilcoxon, F. (1945) Comparison by Ranking Methods. Biometrics Bulletin, 1, 80-83.
https://doi.org/10.2307/3001968
[34] Rosenthal, R. (1991) Metanalytic Procedures for Social Research. Rev. Edition, Sage Publications, Inc., New York.
[35] Sidak, Z. (1967) Rectangular Confidence Regions for the Means of Multivariate Normal Distributions. Journal of the American Statistical Association, 62, 626-633.
https://doi.org/10.2307/2283989
[36] Holm, S. (1979) A Simple Sequentially Rejective Multiple Test Procedure. Scandinavian Statistical Journal, 6, 65-70.
[37] Cochran, W.G. (1950) The Comparison of Percentages in Matched Samples. Biometrika, 37, 256-266.
https://doi.org/10.1093/biomet/37.3-4.256
[38] Serlin, R.C., Carr, J. and Marascuilo, L.A. (1982) A Measure of Association for Selected Nonparametric Procedures. Psychological Bulletin, 92, 786-790.
https://doi.org/10.1037/0033-2909.92.3.786
[39] McNemar, Q. (1947) Note on the Sampling Error of the Difference between Correlated Proportions and Percentages. Psychometrika, 12, 153-157.
https://doi.org/10.1007/BF02295996
[40] Wilson, E.B. (1927) Probable Inference, the Law of Succession, and Statistical Inference. Journal of the American Statistical Association, 22, 209-212.
https://doi.org/10.1080/01621459.1927.10502953
[41] Newcombe, R.G. (1998) Two-Sided Confidence Intervals for the Single Proportion: Comparison of Seven Methods. Statistics in Medicine, 17, 857-872.
https://doi.org/10.1002/(SICI)1097-0258(19980430)17:8<857::AID-SIM777>3.0.CO;2-E
[42] Spearman, C. (1904) The Proof and Measurement of Association between Two Things. The American Journal of Psychology, 15, 72-101.
https://doi.org/10.2307/1412159
[43] Fisher, R.A. (1915) Frequency Distribution of the Values of the Correlation Coefficient in Samples from an Indefinitely Large Population. Biometrika, 10, 507-521.
https://doi.org/10.1093/biomet/10.4.507
[44] Bonett, D.G. and Wright, T.A. (2000) Sample Size Requirements for Estimating Pearson, Kendall and Spearman Correlations. Psychometrika, 65, 23-28.
https://doi.org/10.1007/BF02294183
[45] Steiger, J.H. (1980) Tests for Comparing Elements of a Correlation Matrix. Psychological Bulletin, 87, 245-251.
https://doi.org/10.1037/0033-2909.87.2.245
[46] Myers, L. and Sirois, M.J. (2006) Spearman Correlation Coefficients, Differences Between. In: Kotz, S., Balakrishnan, N., Read, C.B. and Vidakovic, B., Eds., Encyclopedia of Statistical Sciences, 2nd Edition, John Willey and Sons, Hoboken, 7901-1903.
https://doi.org/10.1002/0471667196.ess5050.pub2
[47] D’Agostino, R.B., Belanger, A. and D’Agostino Jr., R.B. (1990) A Suggestion for Using Powerful and Informative Tests of Normality. The American Statistician, 44, 316-321.
https://doi.org/10.1080/00031305.1990.10475751
[48] Verma, J.P. and Abdel-Salam, A.S.G. (2019) Testing Statistical Assumptions in Research. John Wiley and Sons, Newark.
https://doi.org/10.1002/9781119528388
[49] Chakraborti, S. and Graham, M.A. (2019) Nonparametric (Distribution-Free) Control Charts: An Updated Overview and Some Results. Quality Engineering, 31, 523-544.
https://doi.org/10.1080/08982112.2018.1549330
[50] D’Agostino, R.B. (1970) Transformation to Normality of the Null Distribution of g1. Biometrika, 57, 679-681.
https://doi.org/10.1093/biomet/57.3.679
[51] Anscombe, F.J. and Glynn, W.J. (1983) Distribution of the Kurtosis Statistic b2 for Normal Samples. Biometrika, 70, 227-234.
https://doi.org/10.1093/biomet/70.1.227
[52] Jovanovic, B.D. and Levy, P.S. (1997) A Look at the Rule of Three. The American Statistician, 51, 137-139.
https://doi.org/10.1080/00031305.1997.10473947
[53] Universität Düsseldorf, Psychologie (2021) G* Power 3.1 Manual.
https://www.psychologie.hhu.de/fileadmin/redaktion/Fakultaeten/Mathematisch-Naturwissenschaftliche_Fakultaet/Psychologie/AAP/gpower/GPowerManual.pdf
[54] Rao, C.R. (1973) Linear Statistical Inference and Its Applications. 2nd Edition, John Wiley and Sons, New York.
https://doi.org/10.1002/9780470316436
[55] Cox, D.R. and Small, N.J.H. (1978) Testing Multivariate Normality. Biometrika, 65, 263-272.
https://doi.org/10.1093/biomet/65.2.263
[56] Henze, N. and Zirkler, B. (1990) A Class of Invariant Consistent Tests for Multivariate Normality. Communications in Statistics—Theory and Methods, 19, 3595-3617.
https://doi.org/10.1080/03610929008830400
[57] Doornik, J.A. and Hansen, H. (2008) An Omnibus Test for Univariate and Multivariate Normality. Oxford Bulletin of Economics and Statistics, 70, 927-939.
https://doi.org/10.1111/j.1468-0084.2008.00537.x
[58] Korkmaz, S. (2022) Package “MVN”. Multivariate Normality Tests.
https://cran.r-project.org/web/packages/MVN/MVN.pdf
[59] Zaiontz, C. (2022) Multivariate Normality Testing (FRSJ). In Real Statistics Using Excel.
https://www.real-statistics.com/multivariate-statistics/multivariate-normal-distribution/multivariate-normality-testing-frsj
[60] Arnastauskaite, J., Ruzgas, T. and Braženas, M.A (2021) New Goodness of Fit Test for Multivariate Normality and Comparative Simulation Study. Mathematics, 9, Article No. 3003.
https://doi.org/10.3390/math9233003
[61] Kesemen, O., Tiryaki, B.K., Tezel, Ö. and Özkul, E. (2021) A New Goodness of Fit Test for Multivariate Normality. Hacettepe Journal of Mathematics and Statistics, 50, 872-894.
https://doi.org/10.15672/hujms.644516
[62] Villaseñor-Alva, J.A. and González-Estrada, E. (2009) A Generalization of Shapiro-Wilk’s Test for Multivariate Normality. Communications in Statistics—Theory and Methods, 38, 1870-1883.
https://doi.org/10.1080/03610920802474465

Copyright © 2024 by authors and Scientific Research Publishing Inc.

Creative Commons License

This work and the related PDF file are licensed under a Creative Commons Attribution 4.0 International License.