Implementing a class of permutation tests: The coin package

Torsten Hothorn, Kurt Hornik, Mark A. van de Wiel, Achim Zeileis

Publication: Working/Discussion PaperWU Working Paper

188 Downloads (Pure)

Abstract

The R package coin implements a unified approach to permutation tests providing a huge class of independence tests for nominal, ordered, numeric, and censored data as well as multivariate data at mixed scales. Based on a rich and flexible conceptual framework that embeds different permutation test procedures into a common theory, a computational framework is established in coin that likewise embeds the corresponding R functionality in a common S4 class structure with associated generic functions. As a consequence, the computational tools in coin inherit the flexibility of the underlying theory and conditional inference functions for important special cases can be set up easily. Conditional versions of classical tests - such as tests for location and scale problems in two or more samples, independence in two- or three-way contingency tables, or association problems for censored, ordered categorical or multivariate data - can be easily be implemented as special cases using this computational toolbox by choosing appropriate transformations of the observations. The paper gives a detailed exposition of both the internal structure of the package and the provided user interfaces.
Original languageEnglish
Place of PublicationVienna
PublisherDepartment of Statistics and Mathematics, WU Vienna University of Economics and Business
DOIs
Publication statusPublished - Jul 2007

Publication series

SeriesResearch Report Series / Department of Statistics and Mathematics
Number55

Bibliographical note

Earlier version

WU Working Paper Series

  • Research Report Series / Department of Statistics and Mathematics

Cite this