T Test Presentation
T Test Presentation
T – Test
What It Is With Multiple Formulas and When To Use Them
What Is a T-Test?
01 02 03
A t-test is an inferential The t-test is a test used Calculating a t-test requires three fundamental
statistic used to determine if for hypothesis testing in data values including the difference between the
there is a statistically statistics. mean values from each data set, the standard
significant difference deviation of each group, and the number of data
between the means of two values.
variables.
Key Takeaways
Dependent (related,
within subject or paired)
sample t-test compares
the means of two
04 Independent (unrelated)
sample t-test compares
conditions in which the the means of two groups
same (or closely matched) T-tests can be dependent or of participants.
participants participated in independent.
the study.
T – Test [‘tē-’test]
After the drug trial, the members of the placebo-fed control group reported an
increase in average life expectancy of three years, while the members of the group
who are prescribed the new drug reported an increase in average life expectancy of
four years.
Using a T – Test
01 02 03
One Sample t- Independent Paired Samples t-test: Used to
test: Used to Two Sample t- compare two population means
compare a test: Used to when each observation in one
population compare two sample can be paired with an
mean to some population observation in the other sample.
value. means.
One Sample T – Test in
Real Life
A manufacturing engineer wants to know if One A doctor may want to know if some new
some new process leads to a significant drug leads to a significant reduction in blood
improvement in mean battery life of some Sample T – pressure compared to the current standard
product. drug used.
Test
To test this, he measures the mean battery To test this, he recruits 20 subjects to
life for 50 products created using the new participate in a study in which they each take
process and performs a one sample t-test the new drug for one month. He can perform
to determine if the mean battery life is a one sample t-test to determine if the mean
different from the mean battery life of reduction in blood pressure is significantly
products made using the current process. greater than the mean reduction that results
from the current standard drug.
One Sample t-test:
Definition, Formula and
Example
A one sample t-test is used to test whether or
not the mean of a population is equal to some
value.
One Sample T - Test
The t-test is just one of many tests used for this purpose.
Statisticians use additional tests other than the t-test to
examine more variables and larger sample sizes. For a
large sample size, statisticians use a z-test. Other testing
options include the chi-square test and the f-test.
One Sample T – Test:
Motivation
However, it’s virtually guaranteed that the mean
weight of turtles in our sample will differ from
310 pounds. The question is whether or not this
difference is statistically significant. Fortunately,
a one sample t-test allows us to answer this
question.
One Sample T – Test:
Formula
Sample size n = 40
Sample mean weight x = 300
Sample standard deviation s = 18.5
Step 2: Define the
hypotheses.
We will perform the one sample t-test with the
following hypotheses:
t = (x – μ) / (s/√n)
= (300-310) / (18.5/√40)
= -3.4187
Step 4: Calculate the p-
value of the test statistic t.