Skip to main content

Abstract

This chapter introduces methods to explore the relationship between two categorical variables (either measured at the nominal or ordinal levels) using the British Crime Survey data. We will cover how to tabulate and visualize this kind of relationships using a two-way contingency table (also referred to as cross tabulation or cross tabs), but also review the chi-square test (χ2 test), which is the statistical significance test used to infer association in these cases. The chapter also covers Fisher’s exact test and calculation of residuals (difference between observed and expected frequencies).

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

Access this chapter

eBook
USD 16.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 64.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 99.99
Price excludes VAT (USA)
  • Durable hardcover 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

Reference

  • Home Office, Research, Development and Statistics Directorate, BMRB, Social Research. (2009). British crime survey, 2007-2008 (3rd ed.) [data file]. UK Data Service. SN: 6066. Retrieved from https://doi.org/10.5255/UKDA-SN-6066-1.

Download references

Author information

Authors and Affiliations

Authors

Electronic Supplementary Material

Data 9.1

(DTA 625 kb)

Key Terms

Chi-square statistic

The test statistic resulting from applying the chi-square formula to the observed and expected frequencies for each cell. This statistic tells us how much the observed distribution differs from that expected under the null hypothesis.

Contingency table

A tabular way of viewing the relationship between categorical variables (also referred to as cross tabs).

Expected frequency

The number of observations one would predict for a cell in a contingency table if the null hypothesis were true.

Marginal

The value in the margin of a table that totals the scores in the appropriate column or row.

Observed frequency

The observed result of the study, recorded in a cell of a contingency table.

Residual

An index of the relative deviation of the observed frequency from the expected frequency for a cell of a contingency table. It is useful for guiding the interpretation of an association between two nominal variables.

Rights and permissions

Reprints and permissions

Copyright information

© 2021 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Wooditch, A., Johnson, N.J., Solymosi, R., Medina Ariza, J., Langton, S. (2021). Chi-Square and Contingency Tables. In: A Beginner’s Guide to Statistics for Criminology and Criminal Justice Using R. Springer, Cham. https://doi.org/10.1007/978-3-030-50625-4_9

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-50625-4_9

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-50624-7

  • Online ISBN: 978-3-030-50625-4

  • eBook Packages: Law and CriminologyLaw and Criminology (R0)

Publish with us

Policies and ethics