Abstract
For many of the classical tests, including the Wilcoxon signed rank and rank sum and the Ansari-Bradley tests, exact unconditional distributions of the test statistics can be obtained using recursion formulae provided that the underlying distribution functions are continuous. For every score function special algorithms are needed. Moreover, they are not valid for tied scores. However, the classical tests can be viewed as special cases of permutation tests. We use the shift algorithm introduced by Streitberg & Röhmel (1986) for the computation of the conditional distribution of a permutation test for integer valued scores. Implementation details and generalizations to situations with rational or real scores are given.
Financial support from Deutsche Forschungsgemeinschaft, grant SFB 539A4/C1, is gratefully acknowledged.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
Bauer, D. F. (1972). Constructing confidence sets using rank statistics. Jour-nal of the American Statistical Association, 67(339), 687–690.
Hájek, J., Šidák, Z., &Sen, P. K. (1999). Theory of Rank Tests. London:Academic Press, 2nd edn.
Hollander, M. & Wolfe, D. A. (1973). Nonparametric statistical inference. New York: John Wiley & Sons.
Hothorn, T. & Lausen, B. (2001). On the exact distribution of maximally selected rank statistics. Preprint, Universität Erlangen-Nürnberg, submitted.
Mehta, C. R. & Patel, N. R. (1998). StatXact-4 for Windows. Cytel Software Cooperation, Cambridge, USA.
Röhmel, J. (1996). Precision intervals for estimates of the difference in success rates for binary random variables based on the permutation principle. Biometrical Journal, 38(8), 977–993.
Streitberg, B. &Röhmel, J. (1986). Exact distributions for permutations and rank tests: An introduction to some recently published algorithms. Statistical Software Newsletters, 12(1), 10–17.
Streitberg, B. & Röhmel, J. (1987). Exakte Verteilungen für Rang-und Randomisierungstests im allgemeinen c-Stichprobenfall. EDV in Medizin und Biologie, 18(1), 12–19.
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2002 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Hothorn, T., Hornik, K. (2002). Exact Nonparametric Inference in R. In: Härdle, W., Rönz, B. (eds) Compstat. Physica, Heidelberg. https://doi.org/10.1007/978-3-642-57489-4_52
Download citation
DOI: https://doi.org/10.1007/978-3-642-57489-4_52
Publisher Name: Physica, Heidelberg
Print ISBN: 978-3-7908-1517-7
Online ISBN: 978-3-642-57489-4
eBook Packages: Springer Book Archive