Pearson chi-squared test (χ2): differences?

  • Context: Undergrad 
  • Thread starter Thread starter Drudge
  • Start date Start date
  • Tags Tags
    Chi-squared Test
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
3 replies · 3K views
Drudge
Messages
30
Reaction score
0
So, as far as I know, there are two χ2-tests: "test for fit of a distribution" & "Test of independence"

How big of a mistake is it to use the one instead of the other in an exam for example (of course all exams are all different to some degree, but generally)?

The only differences I can really find out is how each test counts the theoretical value(s) and the way in which the degrees of freedom are counted

For example a problem might be as follows:
a random sample from population X is, as a function of age, distributed as follows

10-20
5
21-30
4
31-40
3
40-41
9

And the equivalent theoretical values are: 6, 5, 4, 5

Question:

"Does the sample represent the theoretical distribution?"

So, you would use a "test for fit of distribution", but how much of a difference is it to use a "test of independence"?
 
Physics news on Phys.org
Stephen Tashi said:
That would depend on what theoretical distribution was stated in the problem.

Non normal distribution.