Skip to main content

Goodness-of-Fit Tests and Categorical Data Analysis

  • Chapter
  • First Online:
Modern Mathematical Statistics with Applications

Part of the book series: Springer Texts in Statistics ((STS))

  • 109k Accesses

Abstract

In the simplest type of situation considered in this chapter, each observation in a sample is classified as belonging to one of a finite number of categories (For example, blood type could be one of the four categories O, A, B, or AB). With pi denoting the probability that any particular observation belongs in category i (or the proportion of the population belonging to category i), we wish to test a null hypothesis that completely specifies the values of all the pi’s (such as H0: p1 =.45, p2 =.35, p3 =.15, p4 =.05, when there are four categories). The test statistic will be a measure of the discrepancy between the observed numbers in the categories and the expected numbers when H0 is true. Because a decision will be reached by comparing the computed value of the test statistic to a critical value of the chi-squared distribution, the procedure is called a chi-squared goodness-of-fit 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 95.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    The fact that (z α/2)2 = \( \chi_{{\alpha, 1}}^2 \) is a consequence of the relationship between the standard normal distribution and the chi-squared distribution with 1 df; if Z ∼ N(0, 1), then Z 2 has a chi-squared distribution with n = 1. See the first proposition in Section 6.4.

Bibliography

  • Agresti, Alan, An Introduction to Categorical Data Analysis (2nd ed.), Wiley, New York, 2007. An excellent treatment of various aspects of categorical data analysis by one of the most prominent researchers in this area.

    Google Scholar 

  • Everitt, B. S., The Analysis of Contingency Tables (2nd ed.), Halsted Press, New York, 1992. A compact but informative survey of methods for analyzing categorical data, exposited with a minimum of mathematics.

    Google Scholar 

  • Mosteller, Frederick, and Richard Rourke, Sturdy Statistics, Addison-Wesley, Reading, MA, 1973. Contains several very readable chapters on the varied uses of chi-square.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Jay L. Devore .

Rights and permissions

Reprints and permissions

Copyright information

© 2012 Springer Science+Business Media, LLC

About this chapter

Cite this chapter

Devore, J.L., Berk, K.N. (2012). Goodness-of-Fit Tests and Categorical Data Analysis. In: Modern Mathematical Statistics with Applications. Springer Texts in Statistics. Springer, New York, NY. https://doi.org/10.1007/978-1-4614-0391-3_13

Download citation

Publish with us

Policies and ethics