Interfaces for the NAG Mark 27.3 nonpar Chapter.
nonpar - Nonparametric Statistics
The functions in this module perform nonparametric statistical tests which are based on distribution-free methods of analysis. For convenience, the module contents are divided into five types of test: tests of location, tests of dispersion, tests of distribution, tests of association and correlation, and tests of randomness. There are also functions to fit linear regression models using the ranks of the observations.
The emphasis in this module is on testing; if you wish to compute nonparametric correlations you are referred to submodule
correg, which contains several functions for that purpose.
There are a large number of nonparametric tests available. A selection of some of the more commonly used tests are included in this module.
Regression using ranks
Tests of association and correlation
Kendall’s coefficient of concordance:
Tests of dispersion
Mood’s and David’s tests on two samples of unequal size:
Tests of fit
and its probability of for a fully-unspecified Normal distribution:
and its probability of for an unspecified exponential distribution:
and its probability of for uniformly distributed data:
Anderson–Darling test statistic :
Kolmogorov–Smirnov one-sample distribution test
Kolmogorov–Smirnov two-sample distribution test:
Tests of location
Cochran test on cross-classified binary data:
exact probabilities for Mann–Whitney statistic
Friedman two-way analysis of variance on matched samples:
Kruskal–Wallis one-way analysis of variance on samples of unequal size:
Mann–Whitney test on two samples of possibly unequal size:
Median test on two samples of unequal size:
sign test on two paired samples:
Wilcoxon one sample signed rank test:
Tests of randomness
For full information please refer to the NAG Library document