IDEAS home Printed from https://ideas.repec.org/a/jss/jstsof/v028i08.html
   My bibliography  Save this article

Implementing a Class of Permutation Tests: The coin Package

Author

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

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 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 along with examples on how to extend the implemented functionality.

Suggested Citation

  • Hothorn, Torsten & Hornik, Kurt & van de Wiel, Mark A. & Zeileis, Achim, 2008. "Implementing a Class of Permutation Tests: The coin Package," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 28(i08).
  • Handle: RePEc:jss:jstsof:v:028:i08
    DOI: http://hdl.handle.net/10.18637/jss.v028.i08
    as

    Download full text from publisher

    File URL: https://www.jstatsoft.org/index.php/jss/article/view/v028i08/v28i08.pdf
    Download Restriction: no

    File URL: https://www.jstatsoft.org/index.php/jss/article/downloadSuppFile/v028i08/coin_1.0-0.tar.gz
    Download Restriction: no

    File URL: https://www.jstatsoft.org/index.php/jss/article/downloadSuppFile/v028i08/v28i08.R
    Download Restriction: no

    File URL: https://libkey.io/http://hdl.handle.net/10.18637/jss.v028.i08?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    References listed on IDEAS

    as
    1. Hothorn, Torsten & Hornik, Kurt & van de Wiel, Mark A. & Zeileis, Achim, 2006. "A Lego System for Conditional Inference," The American Statistician, American Statistical Association, vol. 60, pages 257-263, August.
    2. Meyer, David & Zeileis, Achim & Hornik, Kurt, 2006. "The Strucplot Framework: Visualizing Multi-way Contingency Tables with vcd," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 17(i03).
    3. Oster R.A., 2002. "An Examination of Statistical Software Packages for Categorical Data Analysis Using Exact Methods," The American Statistician, American Statistical Association, vol. 56, pages 235-246, August.
    4. Oster R.A., 2003. "An Examination of Statistical Software Packages for Categorical Data Analysis Using Exact Methods-Part II," The American Statistician, American Statistical Association, vol. 57, pages 201-213, August.
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. James V Dunne & Stephan F van Eeden & Kevin J Keen, 2012. "L-selectin and Skin Damage in Systemic Sclerosis," PLOS ONE, Public Library of Science, vol. 7(9), pages 1-8, September.
    2. Maldonado, A.D. & Aguilera, P.A. & Salmerón, A. & Nicholson, A.E., 2018. "Probabilistic modeling of the relationship between socioeconomy and ecosystem services in cultural landscapes," Ecosystem Services, Elsevier, vol. 33(PB), pages 146-164.
    3. Fay, Michael P. & Shaw, Pamela A., 2010. "Exact and Asymptotic Weighted Logrank Tests for Interval Censored Data: The interval R Package," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 36(i02).
    4. O'Sullivan, Kimberley C. & Stanley, James & Fougere, Geoffrey & Howden-Chapman, Philippa, 2016. "Heating practices and self-disconnection among electricity prepayment meter consumers in New Zealand: A follow-up survey," Utilities Policy, Elsevier, vol. 41(C), pages 139-147.
    5. Zeileis, Achim & Croissant, Yves, 2010. "Extended Model Formulas in R: Multiple Parts and Multiple Responses," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 34(i01).
    6. Brosig-Koch, Jeannette & Griebenow, Malte & Kifmann, Mathias & Then, Franziska, 2022. "Rewards for information provision in patient referrals: A theoretical model and an experimental test," Journal of Health Economics, Elsevier, vol. 86(C).
    7. Harinder Singh & Sandeep Singh & Gajendra P S Raghava, 2014. "Evaluation of Protein Dihedral Angle Prediction Methods," PLOS ONE, Public Library of Science, vol. 9(8), pages 1-9, August.
    8. repec:jss:jstsof:36:i02 is not listed on IDEAS
    9. repec:jss:jstsof:34:i01 is not listed on IDEAS
    10. Nordhausen, Klaus & Oja, Hannu, 2011. "Multivariate L1 Statistical Methods: The Package MNM," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 43(i05).
    11. McGinlay, James & Parsons, David J. & Morris, Joe & Hubatova, Marie & Graves, Anil & Bradbury, Richard B. & Bullock, James M., 2017. "Do charismatic species groups generate more cultural ecosystem service benefits?," Ecosystem Services, Elsevier, vol. 27(PA), pages 15-24.
    12. McGinlay, James & Parsons, David J. & Morris, Joe & Graves, Anil & Hubatova, Marie & Bradbury, Richard B. & Bullock, James M., 2018. "Leisure activities and social factors influence the generation of cultural ecosystem service benefits," Ecosystem Services, Elsevier, vol. 31(PC), pages 468-480.
    13. Achim Zeileis & Torsten Hothorn, 2013. "A toolbox of permutation tests for structural change," Statistical Papers, Springer, vol. 54(4), pages 931-954, November.

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. repec:jss:jstsof:28:i08 is not listed on IDEAS
    2. Zamar, David & McNeney, Brad & Graham, Jinko, 2007. "elrm: Software Implementing Exact-Like Inference for Logistic Regression Models," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 21(i03).
    3. Tomáš Želinský, 2015. "Nekonzistentnosť časových preferencií ľudí z arginalizovaných rómskych komunít [On inconsistency of time preferences of people from the marginalised roma communities]," Politická ekonomie, Prague University of Economics and Business, vol. 2015(2), pages 204-222.
    4. Yee, Thomas W., 2010. "The VGAM Package for Categorical Data Analysis," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 32(i10).
    5. repec:jss:jstsof:36:i02 is not listed on IDEAS
    6. Georgina Milne & Andrew William Byrne & Emma Campbell & Jordon Graham & John McGrath & Raymond Kirke & Wilma McMaster & Jesko Zimmermann & Adewale Henry Adenuga, 2022. "Quantifying Land Fragmentation in Northern Irish Cattle Enterprises," Land, MDPI, vol. 11(3), pages 1-16, March.
    7. Payton J. Jones & Patrick Mair & Thorsten Simon & Achim Zeileis, 2020. "Network Trees: A Method for Recursively Partitioning Covariance Structures," Psychometrika, Springer;The Psychometric Society, vol. 85(4), pages 926-945, December.
    8. Seibold Heidi & Hothorn Torsten & Zeileis Achim, 2016. "Model-Based Recursive Partitioning for Subgroup Analyses," The International Journal of Biostatistics, De Gruyter, vol. 12(1), pages 45-63, May.
    9. Matthias Templ & Andreas Alfons & Peter Filzmoser, 2012. "Exploring incomplete data using visualization techniques," Advances in Data Analysis and Classification, Springer;German Classification Society - Gesellschaft für Klassifikation (GfKl);Japanese Classification Society (JCS);Classification and Data Analysis Group of the Italian Statistical Society (CLADAG);International Federation of Classification Societies (IFCS), vol. 6(1), pages 29-47, April.
    10. McGinlay, James & Parsons, David J. & Morris, Joe & Hubatova, Marie & Graves, Anil & Bradbury, Richard B. & Bullock, James M., 2017. "Do charismatic species groups generate more cultural ecosystem service benefits?," Ecosystem Services, Elsevier, vol. 27(PA), pages 15-24.
    11. Pilhöfer, Alexander & Unwin, Antony, 2013. "New Approaches in Visualization of Categorical Data: R Package extracat," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 53(i07).
    12. Marc Ditzhaus & Arnold Janssen, 2020. "Bootstrap and permutation rank tests for proportional hazards under right censoring," Lifetime Data Analysis: An International Journal Devoted to Statistical Methods and Applications for Time-to-Event Data, Springer, vol. 26(3), pages 493-517, July.
    13. Elsäßer Amelie & Victor Anja & Hommel Gerhard, 2011. "Multiple Testing in Candidate Gene Situations: A Comparison of Classical, Discrete, and Resampling-Based Procedures," Statistical Applications in Genetics and Molecular Biology, De Gruyter, vol. 10(1), pages 1-21, November.
    14. Torsten Hothorn & Achim Zeileis, 2008. "Generalized Maximally Selected Statistics," Biometrics, The International Biometric Society, vol. 64(4), pages 1263-1269, December.
    15. Jorge M. Arevalillo & Hilario Navarro, 2021. "Skewness-Kurtosis Model-Based Projection Pursuit with Application to Summarizing Gene Expression Data," Mathematics, MDPI, vol. 9(9), pages 1-18, April.
    16. Cook, Dianne & Hofmann, Heike, 2011. "R Graphics (2nd Edition)," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 43(b03).
    17. repec:jss:jstsof:32:i10 is not listed on IDEAS
    18. Justyna Brzezińska, 2012. "Independence analysis of nominal data with the use of log-linear models in R," Statistics in Transition new series, Główny Urząd Statystyczny (Polska), vol. 13(2), pages 311-320, June.
    19. Henning Sommermeyer & Hanna Krauss & Zuzanna Chęcińska-Maciejewska & Marcin Pszczola & Jacek Piątek, 2020. "Infantile Colic—The Perspective of German and Polish Pediatricians in 2020," IJERPH, MDPI, vol. 17(19), pages 1-11, September.
    20. Heiberger, Richard & Robbins, Naomi, 2014. "Design of Diverging Stacked Bar Charts for Likert Scales and Other Applications," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 57(i05).
    21. Chavez, Alex K. & Bicchieri, Cristina, 2013. "Third-party sanctioning and compensation behavior: Findings from the ultimatum game," Journal of Economic Psychology, Elsevier, vol. 39(C), pages 268-277.
    22. Raphael Knevels & Alexander Brenning & Simone Gingrich & Gerhard Heiss & Theresia Lechner & Philip Leopold & Christoph Plutzar & Herwig Proske & Helene Petschko, 2021. "Towards the Use of Land Use Legacies in Landslide Modeling: Current Challenges and Future Perspectives in an Austrian Case Study," Land, MDPI, vol. 10(9), pages 1-29, September.
    23. repec:jss:jstsof:34:i01 is not listed on IDEAS
    24. Brzezińska Justyna, 2018. "Visualization of Categorical Data Using Extracat Package in R," Econometrics. Advances in Applied Data Analysis, Sciendo, vol. 22(2), pages 9-19, June.

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:jss:jstsof:v:028:i08. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Christopher F. Baum (email available below). General contact details of provider: http://www.jstatsoft.org/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.