The Student T-Test is a set of statistical tests to determine whether the means for two samples are statistically different from one another and is utilized in hypothesis testing. This is different from a z-test as the mean for the entire population is unknown.
There are two types of t-tests:
Independent Samples T-Test
Paired-Samples T-Test
The Independent Samples T-Test is utilized to test for significance in the difference of two population means. The Paired Samples T-Test tests statistically evaluates the means of a population pre- and post-intervention or can be used to compare sample means of matched pairs across two different populations.
House Brand
!!!!!COOKIES!!!!!
Competitor
The following general procedure is used for both the Independent-Samples T-Test and the Paired-Samples T-Test.
1. Express what we are looking to identify in terms of a null and research hypothesis.
2. Identify the level of risk or significance we are willing to accept.
3. Determine which statistical analysis. For:
4. Calculate the test statistic.
5. Determine the value needed to reject the null hypothesis.
6. Compare the test statistic to the value needed to reject the null hypothesis
7. Accept or Reject
INDEPENDENT-SAMPLES T-TEST
Let's assume we have a cookie business and want to determine how our chocolate chip cookies compare to a competitor. One way we could do this is by comparing the average (mean) number of chocolate chips per cookie for our product against our competitor.
STATISTICAL ANALYSIS (SPSS)
Using this data set, the following video describes how to determine whether or not there is a statistical difference between the average number of chocolate chips in samples of the competitor and the House Brand.
APA FORMATTED DESCRIPTION
There was a significant difference in the number of chocolate chips for the house brand (M=9.32, SD=2.30) and the competitor (M=7.92, SD=2.53) conditions; t(48)=2.05, p=0.046.
PAIRED-SAMPLES T-TEST
The vendor providing chocolate chip cookies went out of business and a new supplier provides a sample for testing. Chips are distributed to the different manufacturing sites and used to produce new batches of cookies. In order to test for equivalency between the two chips, the average (mean) number of chocolate chips per cookie will be compared to the average (mean) number of chocolate chips per cookie using samples from the new supplier. There are ten manufacturing sites and data will be collected for each, pre- and post- vendor change.
STATISTICAL ANALYSIS (SPSS)
Using this data set, the following video describes how to determine whether or not there is a statistical difference between the average number of chocolate chips pre- and post- vendor change.
APA FORMATTED DESCRIPTION
There was not a significant difference in the number of chocolate before the change in supplier (M=8.25, SD=1.92) and after (M=8.10, SD=2.13) conditions; t(19)=0.250, p=0.805.
Additional Helpful Resources:
Barnard College's Emperical Reasoning Center: SPSS Resource on T-Tests
APA Formatting for Independent-Saples T-Test and Paired-Samples T-Tes
References
Salkind, N. J. (2017). Statistics for people who (think they) hate statistics (6th ed.). Washington, DC: Sage Publications.