The Magic Lookup Table - Chi-square (adv) - University Of Maryland

MathBench > Statistical Tests

Goodness of Fit Tests

Table of Contents
  • Prequiz...
  • 1: Do those shoes fit?
  • 2: Dilbert’s 3 day work week
  • 3: The day is saved … or not
  • 4: The Brute Force method
  • 5: Computer = brute force
  • 6: What's your threshold for pain?
  • 7: Sick-day sistribution
  • 8: A brief recap of the Brute Force Method
  • 9: The Brute Force method again
  • 10: Using arithmetic instead of Brute Force
  • 11: One small correction
  • 12: How big is big?
  • 13: Degrees of Freedom
  • 14: The magic lookup table
  • 15: The answer, finally
  • 16: Summary of chi-square
  • 17: Another example for chi-square
  • 18: So, which method do you like better?
  • 19: Applications
  • 20: Example 1: Testing for a dihybrid ratio
  • 21: Example 2: Habitat selection (ecology)
  • 22: Review and Words of Wisdom
  • map
  • |
  • <
  • |
  • >
  • |
  • home
The magic lookup table

Once you know the degrees of freedom (or df), you can use a chi square table, like the one on the right (books sometimes have a more complicated table which we'll talk about at the bottom of the page).

Although this table does come from a mathematical function (called a chi-square distribution, go figure!) for our purposes you can basically treat it like it appeared magically.

The first thing you need to know is the degrees of freedom in your test. As we talked about on the last page, this is the same as the number of rows in your table minus 1. Use your df to look up the critical value of the chi-square test, also called the chi-square-crit. So for a test with 1 df (degree of freedom), the "critical" value of the chi-square statistic is 3.84.

What does critical value mean?

sad face Basically, if the chi-square you calculated was bigger than the critical value in the table, then the data did not fit the model, which means you have to reject the null hypothesis.

happy face On the other hand, if the chi-square you calculated was smaller than the critical value, then the data did fit the model, you fail to reject the null hypothesis, and go out and party.* (*Assuming you don't want to reject the null. Which you usually don't.)

chi-square table

Why do you think the chi-square-crit increases as the degrees of freedom increases?

(To make this problem interactive, turn on javascript!)

  • I need a hint ... : If you have, say, 15 degrees of freedom, how many rows are in your table?
  • ...another hint ... : For every row in the table you need to calculate another deviation.

I think I have the answer: With a lot of degrees of freedom, you have a lot of rows in your table. Therefore you're adding more numbers together to get your final chi-square. So it makes sense that the critical value also increases.

end detour signFine print: some tables have many columns, one for each p-value you might be interested in. In that case, you first need to find the 0.05 p-value (or any other p-value you're asked for), then the df, then the chi-square-crit.

Even finer print: or, you may be asked to find the p-value corresponding to the chi-square-calc. In that case you have to find the right df first, then find the two chi-square-crits that your chi-square-calc falls between, then note the p-value.

  • <
  • |
  • top
  • |
  • >
  • |
  • home

Copyright University of Maryland, 2007

You may link to this site for educational purposes.

Please do not copy without permission

requests/questions/feedback email: [email protected]

Tag » What Is Chi Square Critical Value