Page 1 of 1

T-test

Posted: Mon Aug 15, 2016 3:32 am
by mehtarb
When doing a t-test, is it possible to have a different number of data points on each side. So, if I had 20 results in category A along with 30 in B, could I still run a t-test

Re: T-test

Posted: Fri Aug 19, 2016 7:03 am
by tdaly
Hi mehtarb,

I'm not sure I understand your question. Can you elaborate on what you mean by "data points on each side"?

In addition, please explain how your question relates to a science fair project you are working on. We don't provide help with other types of HW assignments, but there are other online forums that do. If your question is not related to a K-12 science project, then a different set of online forums will better be able to help you with your question.

Re: T-test

Posted: Sun Aug 21, 2016 11:41 am
by dcnick96
Hi, mehtarb.

You can absolutely run a t-test with unequal sample sizes. What is actually more important in a t-test is:
- Do your two populations have equal variances, as that changes the formulas a bit. You can conduct an F-test to determine this. See the Excel link below for more information.
- Are you samples independent?
- Do your samples follow a normal distribution (can also be tested for online or in Excel)

What are you trying to do with your two populations? Are you comparing means to see if they are different? Comparing two populations is also known as a two-sample t-test. More information here.
http://stattrek.com/hypothesis-test/dif ... utorial=AP

The formulas are easy enough to do manually, but I highly recommend letting software do it for you. There are free online calculators where you simply plug in your sample data, or it is also easy to do in Microsoft Excel. A tutuorial is below.
http://www.excel-easy.com/examples/t-test.html

Please feel free to write back with more questions. You can also find more information by Googling "two-sample t test".

Good luck!

Re: T-test

Posted: Mon Aug 29, 2016 8:53 pm
by MadelineB
Hello mehtarb,
At the risk of overwhelming you with "expert" advice, I would second the first expert's suggestion that you tell us more about your science project. Before deciding to do a "t-test", I wonder why you have fewer observations in one group? And, what are the observations? What is your hypothesis with respect to the differences between the two groups?

Here's the link to the Science Buddies project guide which should help you answers to these questions.
Be sure to let us know if you have more questions!

Re: T-test

Posted: Wed Aug 31, 2016 9:18 pm
by MadelineB
Hello Mehtarb,
Here's the link that I forgot to add to my previous post (mea culpa)!

https://www.sciencebuddies.org/science- ... ndex.shtml