SOLID STATE PRESS
← Back to catalog
The Chi-Square Test of Independence cover
Coming soon
Coming soon to Amazon
This title is in our publishing queue.
Browse available titles
Mathematics

The Chi-Square Test of Independence

Contingency Tables, Expected Counts, and Reading the P-Value — A TLDR Primer

The chi-square test of independence shows up on the AP Statistics exam, in intro college stats, and in research methods courses across biology, psychology, and political science — and it trips students up every time. The formula looks manageable, but the logic behind expected counts, the degrees of freedom calculation, and the difference between "statistically independent" and "no relationship whatsoever" are where points get lost.

This TLDR primer covers exactly what you need: how to read and build a contingency table, how to compute expected counts under the assumption of independence, how to apply the chi-square formula term by term, and how to make a decision from a p-value or critical-value table. Every concept is paired with a fully worked numerical example so you can follow the arithmetic step by step, not just watch it go by.

Designed for students preparing for the AP Statistics exam or working through an intro college stats course, the guide is short by design — no filler, no detours into topics you won't be tested on. It also addresses the mistakes that cost students the most: confusing the test of independence with the test of homogeneity, skipping the conditions check, and writing conclusions that overreach what the data actually show.

If you've stared at a chi-square problem and weren't sure where to start, this guide gives you a clear, repeatable process from raw data to written conclusion.

Scroll up and grab your copy before the next exam.

What you'll learn
  • Recognize when a chi-square test of independence is the right tool versus goodness-of-fit or a test for homogeneity
  • Build a two-way contingency table and compute expected counts under the independence assumption
  • Calculate the chi-square statistic and degrees of freedom by hand
  • Use a chi-square table or p-value to make a decision about the null hypothesis
  • State conclusions in context and avoid common interpretation traps
What's inside
  1. 1. What the Test Actually Asks
    Frames the test as a question about whether two categorical variables are related in a population, using a relatable example.
  2. 2. Contingency Tables and Expected Counts
    Walks through building a two-way table, computing row and column totals, and deriving expected counts under the assumption of independence.
  3. 3. The Chi-Square Statistic and Degrees of Freedom
    Explains the chi-square formula term by term, shows a full worked calculation, and derives degrees of freedom for an r-by-c table.
  4. 4. Conditions, P-Values, and Decisions
    Covers the conditions for valid inference, how to read a chi-square table or p-value, and how to make and state a decision.
  5. 5. Interpreting Results Without Overreaching
    Shows how to write a contextual conclusion, distinguishes independence from homogeneity, and names the most common student mistakes.
  6. 6. Where You'll See This Again
    Connects the chi-square test to AP Stats free-response patterns, intro college stats, and real research contexts in biology, polling, and medicine.
Published by Solid State Press
The Chi-Square Test of Independence cover
TLDR STUDY GUIDES

The Chi-Square Test of Independence

Contingency Tables, Expected Counts, and Reading the P-Value — A TLDR Primer
Solid State Press

Contents

  1. 1 What the Test Actually Asks
  2. 2 Contingency Tables and Expected Counts
  3. 3 The Chi-Square Statistic and Degrees of Freedom
  4. 4 Conditions, P-Values, and Decisions
  5. 5 Interpreting Results Without Overreaching
  6. 6 Where You'll See This Again
Chapter 1

What the Test Actually Asks

Suppose a school surveys 200 students and asks two questions: "Do you prefer morning or afternoon classes?" and "Are you in 9th, 10th, 11th, or 12th grade?" You end up with two lists of answers — one for each question. The natural next question is: does grade level affect class-time preference, or are the two things unrelated? That is exactly what the chi-square test of independence is designed to answer.

Both of those survey questions produce categorical variables — variables whose values are labels or categories rather than numbers. "Grade level" puts each student into one of four named groups; "class-time preference" puts each student into one of two named groups. You cannot average a category the way you average a test score. Standard tools like the t-test and linear regression are built for numerical data, so they do not apply here. When you want to study the relationship between two categorical variables measured on the same individuals, the chi-square test of independence is the right tool.

Association between two variables means that knowing a person's value on one variable tells you something about their likely value on the other. Independence means the opposite: knowing one variable gives you zero useful information about the other. These are not vague ideas — they have a precise mathematical definition you will use in Section 2 when you compute expected counts. For now, think of it this way: if grade level and class-time preference are independent, then the percentage of students who prefer morning classes should be roughly the same in every grade. If those percentages differ noticeably across grades, that is evidence of association.

The raw data from a two-variable categorical survey is almost always displayed in a two-way table (also called a contingency table) — a grid where rows represent categories of one variable and columns represent categories of the other, and each cell contains a count of how many individuals fall into that combination. Here is a small example.

About This Book

If you're staring down the inference unit in AP Statistics, grinding through an intro college stats course, or hunting for a chi-square test of independence explained clearly and fast, this book was written for you. It works equally well for a student who missed a lecture, a tutor prepping a session, or a parent trying to decode what "reject the null" actually means.

This primer covers everything you need: reading a two-way table of categorical variables, setting up the test of independence, calculating contingency table expected counts with practice problems, applying the chi-square degrees of freedom formula, and learning how to interpret a chi-square p-value without guessing. It functions as both an AP Statistics chi-square study guide and an intro college stats inference review. Short by design, with no filler.

Read straight through in order — the concepts stack. Work every worked example yourself before reading the solution, then tackle the problem set at the end to confirm you've got it.

Keep reading

You've read the first half of Chapter 1. The complete book covers 6 chapters in roughly fifteen pages — readable in one sitting.

Coming soon to Amazon