Skip to content
EvidenceHelixEvidenceLib · Scientific Encyclopedia
⌘ K

Scientific library

EvidenceLib encyclopediaAll articles A–Z2,100Open textbooks35Open-access articles1,010Cancer study catalog458How it is made

My workspace this browser

Saved pages0Notes & annotations0

Recently viewed

Explore by field

Cancer and Oncology182Genetics and Genomics170Neuroscience185Cardiovascular Medicine180Immunology162Pharmacology174Molecular Biology161Infectious Diseases150Rare and Inherited Diseases181Clinical Research173Anatomy and Physiology617Drugs and Chemicals621Psychiatry and Psychology75Public Health and Nutrition64Diagnostics and Medical Technology15
Plans & pricingCompare EvidenceHelix workspace plans
Library›Open textbooks›Statistics›Introduction

Continue where you left off ()

Explore more with EvidenceHelix Workspace

Compare studies, analyze evidence and create research reports with premium tools.

Explore Researcher plans

Statistics · The Chi-Square Distribution

Introduction

CC BY 4.0 · OpenStax · approximately 2 min read

Learning objectives

View original figure (external; image not reproduced in this text edition)

Original figure description: This is a photo of a pile of grocery store receipts. The items and prices are blurred.

The chi-square distribution can be used to find relationships between two things, like grocery prices at different stores. (credit: Pete/flickr)

Chapter Objectives

By the end of this chapter, the student should be able to do the following:

  • Interpret the chi-square probability distribution as the sample size changes
  • Conduct and interpret chi-square goodness-of-fit hypothesis tests
  • Conduct and interpret chi-square test of independence hypothesis tests
  • Conduct and interpret chi-square homogeneity hypothesis tests
  • Conduct and interpret chi-square single variance hypothesis tests

Have you ever wondered if lottery numbers were evenly distributed or if some numbers occurred with a greater frequency? How about if the types of movies people preferred were different across different age groups? What about if a coffee machine was dispensing approximately the same amount of coffee each time? You could answer these questions by conducting a hypothesis test.

You will now study a new distribution, one that is used to determine the answers to such questions. This distribution is called the chi-square distribution.

In this chapter, you will learn the three major applications of the chi-square distribution:

  • The goodness-of-fit test, which determines if data fit a particular distribution, such as in the lottery example
  • The test of independence, which determines if events are independent, such as in the movie example
  • The test of a single variance, which tests variability, such as in the coffee example

NOTE

Though the chi-square distribution depends on calculators or computers for most of the calculations, there is a table available (see m79717). TI-83+ and TI-84 calculator instructions are included in the text.

Collaborative Classroom Exercise

Look in the sports section of a newspaper or on the internet for some sports data: baseball averages, basketball scores, golf tournament scores, football odds, swimming times, and the like. Plot a histogram and a boxplot using your data. See if you can determine a probability distribution that your data fits. Have a discussion with the class about your choice.

← Hypothesis Testing for Two Means and Two ProportionsFacts About the Chi-Square Distribution →

Attribution. Statistics, OpenStax, Rice University, and the contributing authors credited in the book. Licensed under Creative Commons Attribution 4.0 International. Source revision 7dea80ae28 of openstax/osbooks-statistics (2026-04-23). CC BY 4.0. Original source ↗. Text edition of a pinned CC BY 4.0 source revision of the OpenStax book, converted from CNXML by the EvidenceHelix importer. Original prose, learning objectives, tables, exercises, glossary and captions are preserved; images are not copied (figures link to the original source and keep their credits). No new content was added. Later revisions of this book can carry different licence terms and are not used.

In this chapter Contents

  • Introduction
  • Facts About the Chi-Square Distribution
  • Goodness-of-Fit Test
  • Test of Independence
  • Test for Homogeneity
  • Comparison of the Chi-Square Tests
  • Test of a Single Variance
  • Lab 1: Chi-Square Goodness-of-Fit
  • Lab 2: Chi-Square Test of Independence

Source

OpenStax source file ↗

Illustrated original ↗

EvidenceLib is a research-education resource, not medical advice. It does not diagnose, prescribe or recommend starting, stopping or changing any treatment. Talk to a qualified clinician about your own situation. Methods, sources and licences · Rights and removal requests · Legal · Support