Chudnovsky algorithm: Difference between revisions
en>David Eppstein primary sources |
en>David Eppstein improve sourcing |
||
Line 1: | Line 1: | ||
Named for the Dutch mathematician [[Bartel Leendert van der Waerden]], the '''Van der Waerden test''' is a [[statistical test]] that ''k'' population distribution functions are equal. The Van Der Waerden test converts the ranks from a standard [[Kruskal-Wallis one-way analysis of variance]] to [[quantile]]s of the standard normal distribution (details given below). These are called normal scores and the test is computed from these normal scores. | |||
The ''k'' population version of the test is an extension of the test for two populations published by Van der Waerden (1952,1953). | |||
==Background== | |||
[[Analysis of Variance]] (ANOVA) is a [[data analysis]] technique for examining the significance of the factors ([[independent variables]]) in a multi-factor model. The one factor model can be thought of as a generalization of the [[two sample t-test]]. That is, the two sample t-test is a test of the hypothesis that two population means are equal. The one factor ANOVA tests the hypothesis that ''k'' population means are equal. The standard ANOVA assumes that the errors (i.e., residuals) are [[normal distribution|normally distributed]]. If this normality assumption is not valid, an alternative is to use a [[non-parametric test]]. | |||
==Test definition== | |||
Let ''n<sub>j</sub>'' (''j'' = 1, 2, ..., ''k'') represent the sample sizes for each of the ''k'' groups (i.e., samples) in the data. Let ''N'' denote the sample size for all groups. Let ''X<sub>ij</sub>'' represent the ''i''<sup>th</sup> value in the ''j''<sup>th</sup> group. The normal scores are computed as | |||
:<math> | |||
A_{ij} = \Phi^{-1}\left(\frac{R(X_{ij})}{N+1}\right) | |||
</math> | |||
where ''R''(''X<sub>ij</sub>'') denotes the rank of observation ''X<sub>ij</sub>'' and where ''Φ''<sup>-1</sup> denotes the normal [[quantile function]]. The average of the normal scores for each sample can then be computed as | |||
:<math> | |||
\bar{A}_j = \frac{1}{n_j}\sum_{i=1}^{n_j}A_{ij}\quad j=1,2,\ldots, k | |||
</math> | |||
The variance of the normal scores can be computed as | |||
:<math> | |||
s^2 = \frac{1}{N-1}\sum_{j=1}^k\sum_{i=1}^{n_j}A_{ij}^2 | |||
</math> | |||
The Van Der Waerden test can then be defined as follows: | |||
:H<sub>0</sub>: All of the ''k'' population distribution functions are identical | |||
:H<sub>a</sub>: At least one of the populations tends to yield larger observations than at least one of the other populations | |||
The test statistic is | |||
:<math> | |||
T_1 = \frac{1}{s^2}\sum_{j=1}^kn_j\bar{A}_j^2 | |||
</math> | |||
For [[significance level]] α, the critical region is | |||
:<math> | |||
T_1 > \chi_{\alpha,k-1}^2 | |||
</math> | |||
where Χ<sub>α,k − 1</sub><sup>2</sup> is the α-[[quantile]] of the [[chi-squared distribution]] with ''k'' − 1 degrees of freedom. The null hypothesis is rejected if the test statistic is in the critical region. If the hypothesis of identical distributions is rejected, one can perform a [[multiple comparisons]] procedure to determine which pairs of populations tend to differ. The populations ''j<sub>1</sub>'' and ''j<sub>2</sub>'' seem to be different if the following inequality is satisfied: | |||
:<math> | |||
\left\vert \bar{A}_{j_1} - \bar{A}_{j_2}\right\vert > s \,t_{1-\alpha/2}\sqrt{\frac{N-1-T_1}{N-k}}\sqrt{\frac{1}{n_{j_1}}+\frac{1}{n_{j_2}}} | |||
</math> | |||
with ''t''<sub>1 − α/2</sub> the (1 − α/2)-[[quantile]] of the [[Student's t-distribution|t-distribution]]. | |||
==Comparison with the Kruskal-Wallis test== | |||
The most common non-parametric test for the one-factor model is the [[Kruskal-Wallis one-way analysis of variance|Kruskal-Wallis test]]. The Kruskal-Wallis test is based on the ranks of the data. The advantage of the Van Der Waerden test is that it provides the high efficiency of the standard ANOVA analysis when the normality assumptions are in fact satisfied, but it also provides the robustness of the Kruskal-Wallis test when the normality assumptions are not satisfied. | |||
==References== | |||
*{{cite book | |||
|first= W. J. | |||
|last=Conover | |||
|year = 1999 | |||
|title = Practical Nonparameteric Statistics | |||
|edition = Third Edition | |||
|publisher = Wiley | |||
|pages = 396–406}} | |||
*van der Waerden, B.L. (1952). "Order tests for the two-sample problem and their power", ''Indagationes Mathematicae'', 14, 453–458. | |||
*van der Waerden, B.L. (1953). "Order tests for the two-sample problem. II, III", ''Proceedings of the Koninklijke Nederlandse Akademie van Wetenschappen, Serie A'', 564, 303–310, 311–316. | |||
{{NIST-PD}} | |||
[[Category:Statistical tests]] | |||
[[Category:Non-parametric statistics]] |
Revision as of 04:40, 22 October 2013
Named for the Dutch mathematician Bartel Leendert van der Waerden, the Van der Waerden test is a statistical test that k population distribution functions are equal. The Van Der Waerden test converts the ranks from a standard Kruskal-Wallis one-way analysis of variance to quantiles of the standard normal distribution (details given below). These are called normal scores and the test is computed from these normal scores.
The k population version of the test is an extension of the test for two populations published by Van der Waerden (1952,1953).
Background
Analysis of Variance (ANOVA) is a data analysis technique for examining the significance of the factors (independent variables) in a multi-factor model. The one factor model can be thought of as a generalization of the two sample t-test. That is, the two sample t-test is a test of the hypothesis that two population means are equal. The one factor ANOVA tests the hypothesis that k population means are equal. The standard ANOVA assumes that the errors (i.e., residuals) are normally distributed. If this normality assumption is not valid, an alternative is to use a non-parametric test.
Test definition
Let nj (j = 1, 2, ..., k) represent the sample sizes for each of the k groups (i.e., samples) in the data. Let N denote the sample size for all groups. Let Xij represent the ith value in the jth group. The normal scores are computed as
where R(Xij) denotes the rank of observation Xij and where Φ-1 denotes the normal quantile function. The average of the normal scores for each sample can then be computed as
The variance of the normal scores can be computed as
The Van Der Waerden test can then be defined as follows:
- H0: All of the k population distribution functions are identical
- Ha: At least one of the populations tends to yield larger observations than at least one of the other populations
The test statistic is
For significance level α, the critical region is
where Χα,k − 12 is the α-quantile of the chi-squared distribution with k − 1 degrees of freedom. The null hypothesis is rejected if the test statistic is in the critical region. If the hypothesis of identical distributions is rejected, one can perform a multiple comparisons procedure to determine which pairs of populations tend to differ. The populations j1 and j2 seem to be different if the following inequality is satisfied:
with t1 − α/2 the (1 − α/2)-quantile of the t-distribution.
Comparison with the Kruskal-Wallis test
The most common non-parametric test for the one-factor model is the Kruskal-Wallis test. The Kruskal-Wallis test is based on the ranks of the data. The advantage of the Van Der Waerden test is that it provides the high efficiency of the standard ANOVA analysis when the normality assumptions are in fact satisfied, but it also provides the robustness of the Kruskal-Wallis test when the normality assumptions are not satisfied.
References
- 20 year-old Real Estate Agent Rusty from Saint-Paul, has hobbies and interests which includes monopoly, property developers in singapore and poker. Will soon undertake a contiki trip that may include going to the Lower Valley of the Omo.
My blog: http://www.primaboinca.com/view_profile.php?userid=5889534
- van der Waerden, B.L. (1952). "Order tests for the two-sample problem and their power", Indagationes Mathematicae, 14, 453–458.
- van der Waerden, B.L. (1953). "Order tests for the two-sample problem. II, III", Proceedings of the Koninklijke Nederlandse Akademie van Wetenschappen, Serie A, 564, 303–310, 311–316.