Mistake Master
Student view — seeing the site as a student does
Mistake Master · AP Statistics · Unit 3 · Step-Through Animation

Count the Populations Sampled, Then Let the Margins Do the Arithmetic

You'll learnhow to set up a chi-square test — choosing homogeneity or independence by how the data were sampled rather than by how the table looks, computing expected counts from the row and column totals, feeding the test counts instead of percentages, checking that every expected count reaches 5, and reading the degrees of freedom off the table's shape.

Both chi-square tests run on the same two-way table and produce the same statistic, which is exactly why the choice between them has to be made deliberately: nothing in the finished arithmetic will reveal it. Three schools surveyed separately is three populations and one variable, homogeneity; one school's students classified by grade and by answer is one population and two variables, independence. After that the machine is margins all the way down — each cell's expected count is its row total times its column total over the grand total. The counts have to be counts, because 60 percent of 10 people and 60 percent of 1,000 are different evidence, and this page runs the same percentages through the same formula and watches half the evidence vanish. The condition at the end is on the expected counts, not the observed ones, which is the direction nearly everyone checks it in. Twelve short steps; press Next for each one.

12 STEPS · 6 QUICK CHECKS · HOMOGENEITY VS INDEPENDENCE · EXPECTED COUNTS · CONDITIONS AND df · v2

Expected counts come from the margins, and the condition is on them.
Before you start
What you're looking at
A two-way table: three schools' yes and no answers about a later start time, 550 students in all. Everything this topic does is built from these six cells.
The question
Which chi-square test does this call for, and what does the null say each cell should hold?
Step 1 / 12