# chi squared vs t test

**URL:** <https://boards.straightdope.com/t/chi-squared-vs-t-test/162845>\
**Category:** Factual Questions\
**Created:** [March 20, 2003, 5:28pm UTC](https://boards.straightdope.com/t/chi-squared-vs-t-test/162845 "2003-03-20T17:28:46Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![mycoman](https://avatars.discourse-cdn.com/v4/letter/m/9fc29f/32.png) [@mycoman](https://boards.straightdope.com/u/mycoman)\
**Post date:** [March 20, 2003, 5:28pm UTC](https://boards.straightdope.com/t/chi-squared-vs-t-test/162845/1 "2003-03-20T17:28:46Z")

</div>

I’m sure this is no big deal, but the subtleties are beyond me:

What are the differences between using chi squared and a t test when examining data? I know both can be used to calculate the probability of a null hypothesis, but are there times when one is more appropriate than the other?

Thanx in advance,  
mycoman

---

<div class="post-metadata">

**Author:** ![ultrafilter](https://avatars.discourse-cdn.com/v4/letter/u/3d9bf3/32.png) [@ultrafilter](https://boards.straightdope.com/u/ultrafilter)\
**Post date:** [March 20, 2003, 5:34pm UTC](https://boards.straightdope.com/t/chi-squared-vs-t-test/162845/2 "2003-03-20T17:34:15Z")

</div>

The test that you should use for the null hypothesis depends on the distribution of your test statistic. If the test statistic is distributed according to a t distribution, you use a t test. If it’s distributed according to a chi squared distribution, you use a chi squared test. If it’s distributed according to an F distribution, you use an F test. If it has some other distribution, you use the appropriate test.

---

<div class="post-metadata">

**Author:** ![mycoman](https://avatars.discourse-cdn.com/v4/letter/m/9fc29f/32.png) [@mycoman](https://boards.straightdope.com/u/mycoman)\
**Post date:** [March 20, 2003, 6:07pm UTC](https://boards.straightdope.com/t/chi-squared-vs-t-test/162845/3 "2003-03-20T18:07:31Z")

</div>

Thanx, Ultrafilter, I think you’ve helped me realize where my deficiency in understanding lays.

How does one recognize the aforementioned distributions?

(apologies for the unplumbed depths of my ignorance, but the help really is appreciated.)

mycoman

---

<div class="post-metadata">

**Author:** ![ultrafilter](https://avatars.discourse-cdn.com/v4/letter/u/3d9bf3/32.png) [@ultrafilter](https://boards.straightdope.com/u/ultrafilter)\
**Post date:** [March 20, 2003, 6:12pm UTC](https://boards.straightdope.com/t/chi-squared-vs-t-test/162845/4 "2003-03-20T18:12:01Z")

</div>

> [@](#):
>
> \*Originally posted by mycoman \*  
> **How does one recognize the aforementioned distributions?**

Unless you either have a graduate degree in statistics or are working on one, you generally need to have that told to you.

If you have a specific problem in mind, post that, and you’ll get more specific (i.e., useful) answers.

---

<div class="post-metadata">

**Author:** ![mycoman](https://avatars.discourse-cdn.com/v4/letter/m/9fc29f/32.png) [@mycoman](https://boards.straightdope.com/u/mycoman)\
**Post date:** [March 20, 2003, 6:24pm UTC](https://boards.straightdope.com/t/chi-squared-vs-t-test/162845/5 "2003-03-20T18:24:33Z")

</div>

Believe it or not, Ultrafilter, that pretty much answered my question.

I had learned how to do a chi-squared in the past, and was being asked to do a t test now, and was uncertain why. Although I’m sure a more thorough knowledge of the background would be interesting, in this case it would only distract me from what I need to accomplish.

Thanx again

mycoman

---

<div class="post-metadata">

**Author:** ![bouv](https://avatars.discourse-cdn.com/v4/letter/b/bc8723/32.png) [@bouv](https://boards.straightdope.com/u/bouv)\
**Post date:** [March 20, 2003, 7:08pm UTC](https://boards.straightdope.com/t/chi-squared-vs-t-test/162845/6 "2003-03-20T19:08:44Z")

</div>

Well, if you have some handy-dandy software (such as Minitab,) then you can actually put in a set of data and test it to almost any type of distribution. I’m currently taking a class all about this kind of stuff, and let me tell you, having a computer do it for me makes it a lot less tedious.
