Two-sample t test vs. chi-squared test for homogeneity

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
1 reply · 2K views
Leo Liu
Messages
353
Reaction score
156
The purpose of t test is to find how close the two means of the two samples given are; whereas the result of ##\chi^2## homogeneity test indicates the likeness of the two distributions of two populations (or maybe samples--I am not sure). Can anyone please tell me the differences between them, when one should use which one, and whether one may conclude that chi-squared test is applicable to more situations than t test? Thanks.
 
Physics news on Phys.org
I think that your own statement has described the difference between the t-test and the chi-squared test. One thing to add is that the Student's t-test is for a sample drawn from a normal distribution.
 
Reply
  • Like
Likes   Reactions: Leo Liu