Skip to main content

Tests on Categorical Data

  • Chapter
  • First Online:
An Introduction to Statistics with Python

Part of the book series: Statistics and Computing ((SCO))

  • 20k Accesses

Abstract

Categorical data are data that can take on one of a limited, and usually fixed, number of possible values. (A “mean value” typically makes no sense for categorical data.) This chapter covers the tests most commonly used for the analysis of categorical data: chi-square tests, Fisher’s Exact Test, McNemar’s Test, and Cochran’s Q-Test.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    Adapted from Stat Labs: Mathematical statistics through applications by D. Nolan and T. Speed, Springer-Verlag, New York, 2000.

  2. 2.

    https://github.com/thomas-haslwanter/statsintro_python/tree/master/ISP/Code_Quantlets/09_Test sCategoricalData/compGroups.

References

  • Altman, D. G. (1999). Practical statistics for medical research. New York: Chapman & Hall/CRC.

    Google Scholar 

  • Box, J. F. (1978). R. A. Fisher: The life of a scientist. New York: Wiley.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2016 Springer International Publishing Switzerland

About this chapter

Cite this chapter

Haslwanter, T. (2016). Tests on Categorical Data. In: An Introduction to Statistics with Python. Statistics and Computing. Springer, Cham. https://doi.org/10.1007/978-3-319-28316-6_9

Download citation

Publish with us

Policies and ethics