SlideShare une entreprise Scribd logo
1  sur  43
2MATHWORLD
Presented by GROUP 2
It is a type of inferential statistic used to determine if there is a significant
difference between the means of two groups, which may be related in certain
features
T-TEST | 2MATHWORLD | Presented by GROUP 2 5
Video by Investopedia
T-TEST | 2MATHWORLD | Presented by GROUP 2
0
1
2
3
4
5
6
CATEGORY 1 CATEGORY 2 CATEGORY 3 CATEGORY 4
6
Background
 The t-test is used to test hypotheses about means when the
population variance is unknown (the usual case). Closely
related to z, the unit normal.
 Developed by Gossett for the quality control of beer.
 Three Types of T-Test: One sample t-test, Paired samples t-
test, and Independent samples t-test
T-TEST | 2MATHWORLD | Presented by GROUP 2 7
The t score is a ratio between the difference between two groups and the
difference within the groups. The larger the t score, the more difference there is
between groups. The smaller the t score, the more similarity there is between
groups. A t score of 3 means that the groups are three times as different from each
other as they are within each other. When you run a t test, the bigger the t-value,
the more likely it is that the results are repeatable.
 A large t-score tells you that the groups are different.
 A small t-score tells you that the groups are similar.
The t Score
T-TEST | 2MATHWORLD | Presented by GROUP 2 8
We use t when the population variance is
unknown (the usual case) and sample size is
small (N<100, the usual case). If you use a stat
package for testing hypotheses about means, you
will use t.
The t distribution is a short, fat relative of the
normal. The shape of t depends on its df. As N
becomes infinitely large, t becomes normal.
The t Distribution
T-TEST | 2MATHWORLD | Presented by GROUP 2 9
For the t distribution, degrees of freedom are
always a simple function of the sample size, e.g.,
(N-1).
One way of explaining df is that if we know
the total or mean, and all but one score, the last
(N-1) score is not free to vary. It is fixed by the
other scores. 4+3+2+X = 10. X=1
Degrees of Freedom
T-TEST | 2MATHWORLD | Presented by GROUP 2
1 0
t table
T-TEST | 2MATHWORLD | Presented by GROUP 2
T-Test Assumptions
1 1
1. The first assumption made regarding t-tests concerns the scale of measurement. The assumption for a t-
test is that the scale of measurement applied to the data collected follows a continuous or ordinal scale,
such as the scores for an IQ test.
2. The second assumption made is that of a simple random sample, that the data is collected from a
representative, randomly selected portion of the total population.
3. The third assumption is the data, when plotted, results in a normal distribution, bell-shaped
distribution curve.
4. The fourth assumption is a reasonably large sample size is used. Larger sample size means the
distribution of results should approach a normal bell-shaped curve.
5. The final assumption is the homogeneity of variance. Homogeneous, or equal, variance exists when the
standard deviations of samples are approximately equal.
T-TEST | 2MATHWORLD | Presented by GROUP 2
12 13 14 15 16 17 18 19 20 21 22 23 24 25
10
9
8
7
6
5
4
3
2
1
Spelling Test Scores
Suppose we conducted a study to compare two strategies for teaching spelling.
Group A had a mean score of 19. The range of scores was 16 to 22, and the
standard deviation was 1.5.
Group B had a mean score of 20. The range of scores was 17 to 23, and
the standard deviation was 1.5.
How confident can we be that the difference we found between the means of
Group A occurred because of differences in our strategies than by chance?
T-TEST | 2MATHWORLD | Presented by GROUP 2
12 13 14 15 16 17 18 19 20 21 22 23 24 25
10
9
8
7
6
5
4
3
2
1
Spelling Test Scores
A t test allows us to compare the means of two groups and determine how likely
the difference between the two means occurred by chance when there was no
difference in population from which the sample was drawn.
The calculations for a t test requires three pieces of information:
- the difference between the means (mean difference)
- the standard deviation for each group
- and the number of subjects in each group.
T-TEST | 2MATHWORLD | Presented by GROUP 2
All other factors being equal, large differences between means are
less likely to occur by chance than small differences.
12 13 14 15 16 17 18 19 20 21 22 23 24 25
10
9
8
7
6
5
4
3
2
1
Spelling Test Scores
12 13 14 15 16 17 18 19 20 21 22 23 24 25
10
9
8
7
6
5
4
3
2
1
Spelling Test Scores
T-TEST | 2MATHWORLD | Presented by GROUP 2
12 13 14 15 16 17 18 19 20 21 22 23 24 25
10
9
8
7
6
5
4
3
2
1
Spelling Test Scores
12 13 14 15 16 17 18 19 20 21 22 23 24 25
10
9
8
7
6
5
4
3
2
1
Spelling Test Scores
The size of the standard deviation also influences the outcome of a t test.
Given the same difference in means, groups with smaller standard
deviations are more likely to report a significant difference than groups with
larger standard deviations.
T-TEST | 2MATHWORLD | Presented by GROUP 2
From a practical standpoint, we can see that smaller standard deviations produce less
overlap between the groups than larger standard deviations. Less overlap would indicate
that the groups are more different from each other.
12 13 14 15 16 17 18 19 20 21 22 23 24 25
10
9
8
7
6
5
4
3
2
1
Spelling Test Scores
12 13 14 15 16 17 18 19 20 21 22 23 24 25
10
9
8
7
6
5
4
3
2
1
Spelling Test Scores
T-TEST | 2MATHWORLD | Presented by GROUP 2
12 13 14 15 16 17 18 19 20 21 22 23 24 25
10
9
8
7
6
5
4
3
2
1
Spelling Test Scores
The size of our sample is also important. The more subjects that are involved in a
study, the more confident we can be that the differences we find between our groups did
not occur by chance.
12 13 14 15 16 17 18 19 20 21 22 23 24 25
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
Spelling Test Scores
T-TEST | 2MATHWORLD | Presented by GROUP 2
One Sample t test whether the mean of a single
population is equal to a target value
A correlated (or paired) t test is concerned with the
difference between the average scores of a single
sample of individuals who is assessed at two
different times (such as before treatment and after
treatment) or on two different measures. It can also
compare average scores of samples of individuals
who are paired in some way (such as siblings,
mothers and daughters, persons who are matched in
terms of a particular characteristics).
Types of t tests | Overview
1 8
T-TEST | 2MATHWORLD | Presented by GROUP 2 1 9
Types of t tests | Overview
An independent t test compares the averages of
two samples that are selected independently of
each other (the subjects in the two groups are
not the same people). There are two types of
independent t tests: equal variance and
unequal variance.
T-TEST | 2MATHWORLD | Presented by GROUP 2
TYPESOFT-TEST
2 0
21
The One Sample t Test determines whether the sample mean is statistically
different from a known or hypothesized population mean. The One Sample t Test
is a parametric test.
This test is also known as:
 Single Sample t Test
The variable used in this test is known as:
 Test variable
In a One Sample t Test, the test variable is compared against a "test value", which
is a known or hypothesized value of the mean in the population.
One Sample T-Test
22
 Statistical difference between a sample mean and a known or hypothesized value of the
mean in the population.
 Statistical difference between the sample mean and the sample midpoint of the test
variable.
 Statistical difference between the sample mean of the test variable and chance.
This approach involves first calculating the chance level on the test variable. The
chance level is then used as the test value against which the sample mean of the test
variable is compared.
 Statistical difference between a change score and zero.
This approach involves creating a change score from two variables, and then
comparing the mean change score to zero, which will indicate whether any change
occurred between the two time points for the original measures. If the mean change
score is not significantly different from zero, no significant change occurred.
One Sample T-Test | Common Uses
23
1. Test variable that is continuous (i.e., interval or ratio level)
2. Scores on the test variable are independent (i.e., independence of observations)
 There is no relationship between scores on the test variable
 Violation of this assumption will yield an inaccurate p value
3. Random sample of data from the population
4. Normal distribution (approximately) of the sample and population on the test variable
• Non-normal population distributions, especially those that are thick-tailed or
heavily skewed, considerably reduce the power of the test
• Among moderate or large samples, a violation of normality may still yield
accurate p values
5. Homogeneity of variances (i.e., variances approximately equal in both the sample and
population)
6. No outliers
One Sample T-Test | Data Requirements
24
The null hypothesis (H0) and (two-tailed) alternative hypothesis (H1) of the
one sample T test can be expressed as:
H0: µ = 𝑥 ("the sample mean is equal to the [proposed] population mean")
H1: µ ≠ x ("the sample mean is not equal to the [proposed] population
mean")
where µ is a constant proposed for the population mean and x is the
sample mean.
One Sample T-Test | Hypotheses
25
One Sample T-Test | Test Statistic
𝒕 =
𝒙 − 𝝁
𝒔 𝒙
𝑺 𝒙 =
𝑺
𝒏
The test statistic for a One Sample t Test is denoted t, which is calculated using the following
formula:
where
μ = Proposed constant for the population mean
𝑥 = Sample mean
n = Sample size (i.e., number of observations)
𝑠 = Sample standard deviation
𝑠 𝑥 = Estimated standard error of the mean (s/sqrt(n))
The calculated t value is then compared to the critical t value from the t distribution
table with degrees of freedom df = n - 1 and chosen confidence level. If the calculated t
value > critical t value, then we reject the null hypothesis.
T-TEST | 2MATHWORLD | Presented by GROUP 2
TYPESOFT-TEST
2 7
28
The Paired Samples t Test compares two means that are from the same individual, object, or
related units. The two means typically represent two different times (e.g., pre-test and post-
test with an intervention between the two time points) or two different but related
conditions or units (e.g., left and right ears, twins). The purpose of the test is to determine
whether there is statistical evidence that the mean difference between paired observations
on a particular outcome is significantly different from zero. The Paired Samples t Test is a
parametric test.
This test is also known as:
The variable used in this test is known as:
 Dependent variable, or test variable (continuous), measured at two different times or for
two related conditions or units
Paired Samples T-Test
Dependent t Test Paired t Test Repeated Measures t Test
29
The Paired Samples t Test is commonly used to test the following:
 Statistical difference between two time points
 Statistical difference between two conditions
 Statistical difference between two measurements
 Statistical difference between a matched pair
 To compare unpaired means between two groups on a continuous outcome that is
normally distributed, choose the Independent Samples t Test.
 To compare unpaired means between more than two groups on a continuous outcome
that is normally distributed, choose ANOVA.
 To compare paired means for continuous data that are not normally distributed, choose
the nonparametric Wilcoxon Signed-Ranks Test.
 To compare paired means for ranked data, choose the nonparametric Wilcoxon Signed-
Ranks Test.
Paired Samples T-Test | Common Uses
30
1. Dependent variable that is continuous (i.e., interval or ratio
level)
Note: The paired measurements must be recorded in two
separate variables.
2. Related samples/groups (i.e., dependent observations)
The subjects in each sample, or group, are the same. This
means that the subjects in the first group are also in the
second group.
3. Random sample of data from the population
4. Normal distribution (approximately) of the difference
between the paired values
5. No outliers in the difference between the two related groups
Paired Samples T-Test | Data Requirements
31
The hypotheses can be expressed in two different ways that express the same idea
and are mathematically equivalent:
H0: µ1 = µ2 ("the paired population means are equal")
H1: µ1 ≠ µ2 ("the paired population means are not equal")
OR
H0: µ1 - µ2 = 0 ("the difference between the paired population means is equal to 0")
H1: µ1 - µ2 ≠ 0 ("the difference between the paired population means is not 0")
where
µ1 is the population mean of variable 1, and
µ2 is the population mean of variable 2.
Paired Samples T-Test | Hypotheses
32
Paired Samples T-Test | Test Statistic
The test statistic for the Paired Samples t Test, denoted t, follows the same formula as the
one sample t test.
where
𝒙 𝐝𝐢𝐟𝐟 = Sample mean
n = Sample size (i.e., number of observations)
𝒔diff = Sample standard deviation
𝒔 𝒙 = Estimated standard error of the mean (s/sqrt(n))
The calculated t value is then compared to the critical t value with df = n - 1 from the t
distribution table for a chosen confidence level. If the calculated t value is greater than the
critical t value, then we reject the null hypothesis (and conclude that the means are
significantly different).
𝒕 =
𝒙 𝒅𝒊𝒇𝒇 − 𝟎
𝒔 𝒙
𝒔 𝒙 =
𝒔 𝒅𝒊𝒇𝒇
𝒏
T-TEST | 2MATHWORLD | Presented by GROUP 2
TYPESOFT-TEST
Independent
sampleS
t-test
3 4
35
The Independent Samples t Test compares the means of two independent groups in order to
determine whether there is statistical evidence that the associated population means are
significantly different. The Independent Samples t Test is a parametric test.
This test is also known as:
 Independent t Test
 Independent Measures t Test
 Independent Two-sample t Test
 Student t Test
 Two-Sample t Test
 Uncorrelated Scores t Test
 Unpaired t Test
 Unrelated t Test
Independent Samples T-Test
The variables used in this test are known as:
Dependent variable, or test variable
Independent variable, or grouping variable
3636
The Independent Samples t Test is commonly used to test the following:
 Statistical differences between the means of two groups
 Statistical differences between the means of two interventions
 Statistical differences between the means of two change scores
Independent Samples T-Test | Common Uses
3737
Your data must meet the following requirements:
1. Dependent variable that is continuous (i.e., interval or ratio level)
2. Independent variable that is categorical (i.e., two or more groups)
3. Cases that have values on both the dependent and independent variables
4. Independent samples/groups (i.e., independence of observations)
 There is no relationship between the subjects in each sample. This means that:
a. ▪ Subjects in the first group cannot also be in the second group
 No subject in either group can influence subjects in the other group
 No group can influence the other group
 Violation of this assumption will yield an inaccurate p value
5. Random sample of data from the population
Independent Samples T-Test | Data Requirements
3838
6. Normal distribution (approximately) of the dependent variable for each group
 Non-normal population distributions, especially those that are thick-tailed or
heavily skewed, considerably reduce the power of the test
 Among moderate or large samples, a violation of normality may still yield accurate
p values
7. Homogeneity of variances (i.e., variances approximately equal across groups)
 When this assumption is violated and the sample sizes for each group differ, the p
value is not trustworthy. However, the Independent Samples t Test output also
includes an approximate t statistic that is not based on assuming equal population
variances; this alternative statistic, called the Welch t Test statistic1, may be used
when equal variances among populations cannot be assumed. The Welch t Test is
also known an Unequal Variance T Test or Separate Variances T Test.
8. No outliers
Independent Samples T-Test | Data Requirements
39
The null hypothesis (H0) and alternative hypothesis (H1) of the Independent
Samples t Test can be expressed in two different but equivalent ways:
H0: µ1 = µ2 ("the two population means are equal")
H1: µ1 ≠ µ2 ("the two population means are not equal")
OR
H0: µ1 - µ2 = 0 ("the difference between the two population means is equal to 0")
H1: µ1 - µ2 ≠ 0 ("the difference between the two population means is not 0")
where µ1 and µ2 are the population means for group 1 and group 2, respectively.
Notice that the second set of hypotheses can be derived from the first set by simply
subtracting µ2 from both sides of the equation.
Independent Samples T-Test | Hypotheses
40
Independent Samples T-Test | Test Statistic
The test statistic for an Independent Samples t Test is denoted t. There are actually two
forms of the test statistic for this test, depending on whether or not equal variances are
assumed. Note that the null and alternative hypotheses are identical for both forms of the
test statistic.
TWO TYPES OF INDEPENDENT T-TEST
Equal Variances
Unequal Variances
41
Independent Samples T-Test | Test Statistic
When the two independent samples are assumed to be drawn from populations with
identical population variances (i.e., σ12 = σ22) , the test statistic t is computed as
where
EQUAL VARIANCES ASSUMED
𝒕 =
𝒙 𝟏 − 𝒙 𝟐
𝒔 𝑷
𝟏
𝒏 𝟏
+
𝟏
𝒏 𝟐
𝑺𝒑 =
𝒏 𝟏 − 𝟏 𝑺 𝟏
𝟐
+ 𝒏 𝟐 − 𝟏 𝑺 𝟐
𝟐
𝒏 𝟏 + 𝒏 𝟐 − 𝟐
𝒙 𝟏 = Mean of first sample
𝒙 𝟐 = Mean of second sample
𝒏 𝟏= Sample size (i.e., number of observations)
of first sample
𝒏 𝟐= Sample size (i.e., number of observations)
of second sample
𝒔 𝟏 = Standard deviation of first sample
𝒔 𝟐= Standard deviation of second sample
𝒔 𝒑 = Pooled standard deviation
42
Independent Samples T-Test | Test Statistic
The calculated t value is then compared to the critical t value from the t distribution
table with degrees of freedom df = n1 + n2 - 2 and chosen confidence level. If the calculated
t value is greater than the critical t value, then we reject the null hypothesis.
Note that this form of the independent samples T test statistic assumes equal variances.
Because we assume equal population variances, it is OK to "pool" the sample variances
( 𝒔 𝑷). However, if this assumption is violated, the pooled variance estimate may not be
accurate, which would affect the accuracy of our test statistic (and hence, the p-value).
EQUAL VARIANCES ASSUMED
43
Independent Samples T-Test | Test Statistic
When the two independent samples are assumed to be drawn from populations with
unequal variances (i.e., σ12 ≠ σ22), the test statistic t is computed as:
where
UNEQUAL VARIANCES
𝒕 =
𝒙 𝟏 − 𝒙 𝟐
𝑺 𝑷
𝑺 𝟏
𝟐
𝒏 𝟏
+
𝑺 𝟐
𝟐
𝒏 𝟐
𝒙 𝟏 = Mean of first sample
𝒙 𝟐 = Mean of second sample
𝒏 𝟏= Sample size (i.e., number of observations)
of first sample
𝒏 𝟐= Sample size (i.e., number of observations) of
second sample
𝒔 𝟏 = Standard deviation of first sample
𝒔 𝟐= Standard deviation of second sample
4444
where
UNEQUAL VARIANCES
𝒕 =
𝒙 𝟏 − 𝒙 𝟐
𝑺 𝑷
𝑺 𝟏
𝟐
𝒏 𝟏
+
𝑺 𝟐
𝟐
𝒏 𝟐
𝒙 𝟏 = Mean of first sample
𝒙 𝟐 = Mean of second sample
𝒏 𝟏= Sample size (i.e., number of observations) of
first sample
𝒏 𝟐 = Sample size (i.e., number of observations) of
second sample
𝒔 𝟏 = Standard deviation of first sample
𝒔 𝟐= Standard deviation of second sample
The calculated t value is then compared to the critical t value from the t distribution table with degrees of freedom
and chosen confidence level. If the calculated t value > critical t value, then we reject the null hypothesis.
Note that this form of the independent samples T test statistic does not assume equal variances. This is why both the
denominator of the test statistic and the degrees of freedom of the critical value of t are different than the equal
variances form of the test statistic.
𝐝𝒇 =
𝒔 𝟏
𝟐
𝒏 𝟏
+
𝒔 𝟐
𝟐
𝒏 𝟐
𝟐
𝟏
𝒏 𝟏 − 𝟏
𝒔 𝟏
𝟐
𝒏 𝟏
𝟐
+
𝟏
𝒏 𝟐 − 𝟏
𝒔 𝟐
𝟐
𝒏 𝟐
𝟐
T-TEST | 2MATHWORLD | Presented by GROUP 2
4 5
A light bulb manufacturer guarantees that the mean life
of a certain type of light bulb is at least 750 hrs. A
random sample of 36 light bulbs has a mean life of 745
hours with a standard deviation of 60 hours. Do you
have enough evidence to reject the manufacturer’s
claim? Use a=0.05
Sample Problem
where
𝒙 𝐝𝐢𝐟𝐟 = Sample mean
n = Sample size (i.e., number of observations)
𝒔diff = Sample standard deviation
𝒔 𝒙 = Estimated standard error of the mean (s/sqrt(n))
𝒕 =
𝒙 𝒅𝒊𝒇𝒇 − 𝟎
𝒔 𝒙 𝒔 𝒙 =
𝒔 𝒅𝒊𝒇𝒇
𝒏
T-TEST | 2MATHWORLD | Presented by GROUP 2
4 6
t table
T-TEST | 2MATHWORLD | Presented by GROUP 2
4 7
GROUP 2
Guanzon, Eildriz Niño
Layug, Christine Kinsley
Garcia, Adrian Lash
Lapuz, Alexandra
Leal, Ivan
Mendoza, JC
Lumalanlan, Joseph Ian
Velasquez, Miguel
Magcalas, Neildrin
Marin, Sivel

Contenu connexe

Tendances

P value, Power, Type 1 and 2 errors
P value, Power, Type 1 and 2 errorsP value, Power, Type 1 and 2 errors
P value, Power, Type 1 and 2 errorsRizwan S A
 
Test of-significance : Z test , Chi square test
Test of-significance : Z test , Chi square testTest of-significance : Z test , Chi square test
Test of-significance : Z test , Chi square testdr.balan shaikh
 
LEVEL OF SIGNIFICANCE.pptx
LEVEL OF SIGNIFICANCE.pptxLEVEL OF SIGNIFICANCE.pptx
LEVEL OF SIGNIFICANCE.pptxRingoNavarro3
 
STATISTICS: Hypothesis Testing
STATISTICS: Hypothesis TestingSTATISTICS: Hypothesis Testing
STATISTICS: Hypothesis Testingjundumaug1
 
Statistical Data Analysis | Data Analysis | Statistics Services | Data Collec...
Statistical Data Analysis | Data Analysis | Statistics Services | Data Collec...Statistical Data Analysis | Data Analysis | Statistics Services | Data Collec...
Statistical Data Analysis | Data Analysis | Statistics Services | Data Collec...Stats Statswork
 
Parametric and non parametric test in biostatistics
Parametric and non parametric test in biostatistics Parametric and non parametric test in biostatistics
Parametric and non parametric test in biostatistics Mero Eye
 
INFERENTIAL STATISTICS: AN INTRODUCTION
INFERENTIAL STATISTICS: AN INTRODUCTIONINFERENTIAL STATISTICS: AN INTRODUCTION
INFERENTIAL STATISTICS: AN INTRODUCTIONJohn Labrador
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testingSumit Sharma
 
Statistical inference: Statistical Power, ANOVA, and Post Hoc tests
Statistical inference: Statistical Power, ANOVA, and Post Hoc testsStatistical inference: Statistical Power, ANOVA, and Post Hoc tests
Statistical inference: Statistical Power, ANOVA, and Post Hoc testsEugene Yan Ziyou
 

Tendances (20)

T test statistic
T test statisticT test statistic
T test statistic
 
P value
P valueP value
P value
 
P value, Power, Type 1 and 2 errors
P value, Power, Type 1 and 2 errorsP value, Power, Type 1 and 2 errors
P value, Power, Type 1 and 2 errors
 
Chi square
Chi squareChi square
Chi square
 
Test of-significance : Z test , Chi square test
Test of-significance : Z test , Chi square testTest of-significance : Z test , Chi square test
Test of-significance : Z test , Chi square test
 
LEVEL OF SIGNIFICANCE.pptx
LEVEL OF SIGNIFICANCE.pptxLEVEL OF SIGNIFICANCE.pptx
LEVEL OF SIGNIFICANCE.pptx
 
STATISTICS: Hypothesis Testing
STATISTICS: Hypothesis TestingSTATISTICS: Hypothesis Testing
STATISTICS: Hypothesis Testing
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testing
 
Chi squared test
Chi squared testChi squared test
Chi squared test
 
T test
T testT test
T test
 
Hypothesis testing Part1
Hypothesis testing Part1Hypothesis testing Part1
Hypothesis testing Part1
 
Statistical Data Analysis | Data Analysis | Statistics Services | Data Collec...
Statistical Data Analysis | Data Analysis | Statistics Services | Data Collec...Statistical Data Analysis | Data Analysis | Statistics Services | Data Collec...
Statistical Data Analysis | Data Analysis | Statistics Services | Data Collec...
 
Student's T-Test
Student's T-TestStudent's T-Test
Student's T-Test
 
t test
t testt test
t test
 
Parametric and non parametric test in biostatistics
Parametric and non parametric test in biostatistics Parametric and non parametric test in biostatistics
Parametric and non parametric test in biostatistics
 
INFERENTIAL STATISTICS: AN INTRODUCTION
INFERENTIAL STATISTICS: AN INTRODUCTIONINFERENTIAL STATISTICS: AN INTRODUCTION
INFERENTIAL STATISTICS: AN INTRODUCTION
 
Central tendency
Central tendencyCentral tendency
Central tendency
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testing
 
Statistical inference: Statistical Power, ANOVA, and Post Hoc tests
Statistical inference: Statistical Power, ANOVA, and Post Hoc testsStatistical inference: Statistical Power, ANOVA, and Post Hoc tests
Statistical inference: Statistical Power, ANOVA, and Post Hoc tests
 
The mann whitney u test
The mann whitney u testThe mann whitney u test
The mann whitney u test
 

Similaire à T-Test

t Test- Thiyagu
t Test- Thiyagut Test- Thiyagu
t Test- ThiyaguThiyagu K
 
T test, independant sample, paired sample and anova
T test, independant sample, paired sample and anovaT test, independant sample, paired sample and anova
T test, independant sample, paired sample and anovaQasim Raza
 
Marketing Research Hypothesis Testing.pptx
Marketing Research Hypothesis Testing.pptxMarketing Research Hypothesis Testing.pptx
Marketing Research Hypothesis Testing.pptxxababid981
 
11 T(EA) FOR TWO TESTS BETWEEN THE MEANS OF DIFFERENT GROUPS11 .docx
11 T(EA) FOR TWO TESTS BETWEEN THE MEANS OF DIFFERENT GROUPS11 .docx11 T(EA) FOR TWO TESTS BETWEEN THE MEANS OF DIFFERENT GROUPS11 .docx
11 T(EA) FOR TWO TESTS BETWEEN THE MEANS OF DIFFERENT GROUPS11 .docxnovabroom
 
11 T(EA) FOR TWO TESTS BETWEEN THE MEANS OF DIFFERENT GROUPS11 .docx
11 T(EA) FOR TWO TESTS BETWEEN THE MEANS OF DIFFERENT GROUPS11 .docx11 T(EA) FOR TWO TESTS BETWEEN THE MEANS OF DIFFERENT GROUPS11 .docx
11 T(EA) FOR TWO TESTS BETWEEN THE MEANS OF DIFFERENT GROUPS11 .docxhyacinthshackley2629
 
Chapter36a
Chapter36aChapter36a
Chapter36aYing Liu
 
tps5e_Ch10_2.ppt
tps5e_Ch10_2.ppttps5e_Ch10_2.ppt
tps5e_Ch10_2.pptDunakanshon
 
Basic of Statistical Inference Part-V: Types of Hypothesis Test (Parametric)
Basic of Statistical Inference Part-V: Types of Hypothesis Test (Parametric) Basic of Statistical Inference Part-V: Types of Hypothesis Test (Parametric)
Basic of Statistical Inference Part-V: Types of Hypothesis Test (Parametric) Dexlab Analytics
 
tests of significance
tests of significancetests of significance
tests of significancebenita regi
 
Inferential Statistics.pptx
Inferential Statistics.pptxInferential Statistics.pptx
Inferential Statistics.pptxjonatanjohn1
 
Basics of Educational Statistics (T-test)
Basics of Educational Statistics (T-test)Basics of Educational Statistics (T-test)
Basics of Educational Statistics (T-test)HennaAnsari
 
jhghgjhgjhgjhfhcgjfjhvjhjgjkggjhgjhgjhfjgjgfgfhgfhg
jhghgjhgjhgjhfhcgjfjhvjhjgjkggjhgjhgjhfjgjgfgfhgfhgjhghgjhgjhgjhfhcgjfjhvjhjgjkggjhgjhgjhfjgjgfgfhgfhg
jhghgjhgjhgjhfhcgjfjhvjhjgjkggjhgjhgjhfjgjgfgfhgfhgUMAIRASHFAQ20
 
T-test in statistics for data science
T-test in statistics for data science T-test in statistics for data science
T-test in statistics for data science Learnbay Datascience
 
Student's T test distributions & its Applications
Student's T test distributions & its Applications Student's T test distributions & its Applications
Student's T test distributions & its Applications vidit jain
 
t test for statistics 1st sem mba sylabus
t test for statistics 1st sem mba sylabust test for statistics 1st sem mba sylabus
t test for statistics 1st sem mba sylabusSoujanyaLk1
 

Similaire à T-Test (20)

Ttest
TtestTtest
Ttest
 
T test
T test T test
T test
 
t Test- Thiyagu
t Test- Thiyagut Test- Thiyagu
t Test- Thiyagu
 
The t test
The t testThe t test
The t test
 
T test, independant sample, paired sample and anova
T test, independant sample, paired sample and anovaT test, independant sample, paired sample and anova
T test, independant sample, paired sample and anova
 
Marketing Research Hypothesis Testing.pptx
Marketing Research Hypothesis Testing.pptxMarketing Research Hypothesis Testing.pptx
Marketing Research Hypothesis Testing.pptx
 
11 T(EA) FOR TWO TESTS BETWEEN THE MEANS OF DIFFERENT GROUPS11 .docx
11 T(EA) FOR TWO TESTS BETWEEN THE MEANS OF DIFFERENT GROUPS11 .docx11 T(EA) FOR TWO TESTS BETWEEN THE MEANS OF DIFFERENT GROUPS11 .docx
11 T(EA) FOR TWO TESTS BETWEEN THE MEANS OF DIFFERENT GROUPS11 .docx
 
11 T(EA) FOR TWO TESTS BETWEEN THE MEANS OF DIFFERENT GROUPS11 .docx
11 T(EA) FOR TWO TESTS BETWEEN THE MEANS OF DIFFERENT GROUPS11 .docx11 T(EA) FOR TWO TESTS BETWEEN THE MEANS OF DIFFERENT GROUPS11 .docx
11 T(EA) FOR TWO TESTS BETWEEN THE MEANS OF DIFFERENT GROUPS11 .docx
 
Chapter36a
Chapter36aChapter36a
Chapter36a
 
tps5e_Ch10_2.ppt
tps5e_Ch10_2.ppttps5e_Ch10_2.ppt
tps5e_Ch10_2.ppt
 
Basic of Statistical Inference Part-V: Types of Hypothesis Test (Parametric)
Basic of Statistical Inference Part-V: Types of Hypothesis Test (Parametric) Basic of Statistical Inference Part-V: Types of Hypothesis Test (Parametric)
Basic of Statistical Inference Part-V: Types of Hypothesis Test (Parametric)
 
tests of significance
tests of significancetests of significance
tests of significance
 
Inferential Statistics.pptx
Inferential Statistics.pptxInferential Statistics.pptx
Inferential Statistics.pptx
 
Basics of Educational Statistics (T-test)
Basics of Educational Statistics (T-test)Basics of Educational Statistics (T-test)
Basics of Educational Statistics (T-test)
 
jhghgjhgjhgjhfhcgjfjhvjhjgjkggjhgjhgjhfjgjgfgfhgfhg
jhghgjhgjhgjhfhcgjfjhvjhjgjkggjhgjhgjhfjgjgfgfhgfhgjhghgjhgjhgjhfhcgjfjhvjhjgjkggjhgjhgjhfjgjgfgfhgfhg
jhghgjhgjhgjhfhcgjfjhvjhjgjkggjhgjhgjhfjgjgfgfhgfhg
 
T- test .pptx
T- test .pptxT- test .pptx
T- test .pptx
 
Data analysis
Data analysisData analysis
Data analysis
 
T-test in statistics for data science
T-test in statistics for data science T-test in statistics for data science
T-test in statistics for data science
 
Student's T test distributions & its Applications
Student's T test distributions & its Applications Student's T test distributions & its Applications
Student's T test distributions & its Applications
 
t test for statistics 1st sem mba sylabus
t test for statistics 1st sem mba sylabust test for statistics 1st sem mba sylabus
t test for statistics 1st sem mba sylabus
 

Dernier

ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Pooja Bhuva
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxPooja Bhuva
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseAnaAcapella
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentationcamerronhm
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17Celine George
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jisc
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxDr. Sarita Anand
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfDr Vijay Vishwakarma
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...Nguyen Thanh Tu Collection
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxCeline George
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Jisc
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17Celine George
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the ClassroomPooky Knightsmith
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxJisc
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structuredhanjurrannsibayan2
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...pradhanghanshyam7136
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 

Dernier (20)

Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 

T-Test

  • 2. It is a type of inferential statistic used to determine if there is a significant difference between the means of two groups, which may be related in certain features
  • 3. T-TEST | 2MATHWORLD | Presented by GROUP 2 5 Video by Investopedia
  • 4. T-TEST | 2MATHWORLD | Presented by GROUP 2 0 1 2 3 4 5 6 CATEGORY 1 CATEGORY 2 CATEGORY 3 CATEGORY 4 6 Background  The t-test is used to test hypotheses about means when the population variance is unknown (the usual case). Closely related to z, the unit normal.  Developed by Gossett for the quality control of beer.  Three Types of T-Test: One sample t-test, Paired samples t- test, and Independent samples t-test
  • 5. T-TEST | 2MATHWORLD | Presented by GROUP 2 7 The t score is a ratio between the difference between two groups and the difference within the groups. The larger the t score, the more difference there is between groups. The smaller the t score, the more similarity there is between groups. A t score of 3 means that the groups are three times as different from each other as they are within each other. When you run a t test, the bigger the t-value, the more likely it is that the results are repeatable.  A large t-score tells you that the groups are different.  A small t-score tells you that the groups are similar. The t Score
  • 6. T-TEST | 2MATHWORLD | Presented by GROUP 2 8 We use t when the population variance is unknown (the usual case) and sample size is small (N<100, the usual case). If you use a stat package for testing hypotheses about means, you will use t. The t distribution is a short, fat relative of the normal. The shape of t depends on its df. As N becomes infinitely large, t becomes normal. The t Distribution
  • 7. T-TEST | 2MATHWORLD | Presented by GROUP 2 9 For the t distribution, degrees of freedom are always a simple function of the sample size, e.g., (N-1). One way of explaining df is that if we know the total or mean, and all but one score, the last (N-1) score is not free to vary. It is fixed by the other scores. 4+3+2+X = 10. X=1 Degrees of Freedom
  • 8. T-TEST | 2MATHWORLD | Presented by GROUP 2 1 0 t table
  • 9. T-TEST | 2MATHWORLD | Presented by GROUP 2 T-Test Assumptions 1 1 1. The first assumption made regarding t-tests concerns the scale of measurement. The assumption for a t- test is that the scale of measurement applied to the data collected follows a continuous or ordinal scale, such as the scores for an IQ test. 2. The second assumption made is that of a simple random sample, that the data is collected from a representative, randomly selected portion of the total population. 3. The third assumption is the data, when plotted, results in a normal distribution, bell-shaped distribution curve. 4. The fourth assumption is a reasonably large sample size is used. Larger sample size means the distribution of results should approach a normal bell-shaped curve. 5. The final assumption is the homogeneity of variance. Homogeneous, or equal, variance exists when the standard deviations of samples are approximately equal.
  • 10. T-TEST | 2MATHWORLD | Presented by GROUP 2 12 13 14 15 16 17 18 19 20 21 22 23 24 25 10 9 8 7 6 5 4 3 2 1 Spelling Test Scores Suppose we conducted a study to compare two strategies for teaching spelling. Group A had a mean score of 19. The range of scores was 16 to 22, and the standard deviation was 1.5. Group B had a mean score of 20. The range of scores was 17 to 23, and the standard deviation was 1.5. How confident can we be that the difference we found between the means of Group A occurred because of differences in our strategies than by chance?
  • 11. T-TEST | 2MATHWORLD | Presented by GROUP 2 12 13 14 15 16 17 18 19 20 21 22 23 24 25 10 9 8 7 6 5 4 3 2 1 Spelling Test Scores A t test allows us to compare the means of two groups and determine how likely the difference between the two means occurred by chance when there was no difference in population from which the sample was drawn. The calculations for a t test requires three pieces of information: - the difference between the means (mean difference) - the standard deviation for each group - and the number of subjects in each group.
  • 12. T-TEST | 2MATHWORLD | Presented by GROUP 2 All other factors being equal, large differences between means are less likely to occur by chance than small differences. 12 13 14 15 16 17 18 19 20 21 22 23 24 25 10 9 8 7 6 5 4 3 2 1 Spelling Test Scores 12 13 14 15 16 17 18 19 20 21 22 23 24 25 10 9 8 7 6 5 4 3 2 1 Spelling Test Scores
  • 13. T-TEST | 2MATHWORLD | Presented by GROUP 2 12 13 14 15 16 17 18 19 20 21 22 23 24 25 10 9 8 7 6 5 4 3 2 1 Spelling Test Scores 12 13 14 15 16 17 18 19 20 21 22 23 24 25 10 9 8 7 6 5 4 3 2 1 Spelling Test Scores The size of the standard deviation also influences the outcome of a t test. Given the same difference in means, groups with smaller standard deviations are more likely to report a significant difference than groups with larger standard deviations.
  • 14. T-TEST | 2MATHWORLD | Presented by GROUP 2 From a practical standpoint, we can see that smaller standard deviations produce less overlap between the groups than larger standard deviations. Less overlap would indicate that the groups are more different from each other. 12 13 14 15 16 17 18 19 20 21 22 23 24 25 10 9 8 7 6 5 4 3 2 1 Spelling Test Scores 12 13 14 15 16 17 18 19 20 21 22 23 24 25 10 9 8 7 6 5 4 3 2 1 Spelling Test Scores
  • 15. T-TEST | 2MATHWORLD | Presented by GROUP 2 12 13 14 15 16 17 18 19 20 21 22 23 24 25 10 9 8 7 6 5 4 3 2 1 Spelling Test Scores The size of our sample is also important. The more subjects that are involved in a study, the more confident we can be that the differences we find between our groups did not occur by chance. 12 13 14 15 16 17 18 19 20 21 22 23 24 25 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 Spelling Test Scores
  • 16. T-TEST | 2MATHWORLD | Presented by GROUP 2 One Sample t test whether the mean of a single population is equal to a target value A correlated (or paired) t test is concerned with the difference between the average scores of a single sample of individuals who is assessed at two different times (such as before treatment and after treatment) or on two different measures. It can also compare average scores of samples of individuals who are paired in some way (such as siblings, mothers and daughters, persons who are matched in terms of a particular characteristics). Types of t tests | Overview 1 8
  • 17. T-TEST | 2MATHWORLD | Presented by GROUP 2 1 9 Types of t tests | Overview An independent t test compares the averages of two samples that are selected independently of each other (the subjects in the two groups are not the same people). There are two types of independent t tests: equal variance and unequal variance.
  • 18. T-TEST | 2MATHWORLD | Presented by GROUP 2 TYPESOFT-TEST 2 0
  • 19. 21 The One Sample t Test determines whether the sample mean is statistically different from a known or hypothesized population mean. The One Sample t Test is a parametric test. This test is also known as:  Single Sample t Test The variable used in this test is known as:  Test variable In a One Sample t Test, the test variable is compared against a "test value", which is a known or hypothesized value of the mean in the population. One Sample T-Test
  • 20. 22  Statistical difference between a sample mean and a known or hypothesized value of the mean in the population.  Statistical difference between the sample mean and the sample midpoint of the test variable.  Statistical difference between the sample mean of the test variable and chance. This approach involves first calculating the chance level on the test variable. The chance level is then used as the test value against which the sample mean of the test variable is compared.  Statistical difference between a change score and zero. This approach involves creating a change score from two variables, and then comparing the mean change score to zero, which will indicate whether any change occurred between the two time points for the original measures. If the mean change score is not significantly different from zero, no significant change occurred. One Sample T-Test | Common Uses
  • 21. 23 1. Test variable that is continuous (i.e., interval or ratio level) 2. Scores on the test variable are independent (i.e., independence of observations)  There is no relationship between scores on the test variable  Violation of this assumption will yield an inaccurate p value 3. Random sample of data from the population 4. Normal distribution (approximately) of the sample and population on the test variable • Non-normal population distributions, especially those that are thick-tailed or heavily skewed, considerably reduce the power of the test • Among moderate or large samples, a violation of normality may still yield accurate p values 5. Homogeneity of variances (i.e., variances approximately equal in both the sample and population) 6. No outliers One Sample T-Test | Data Requirements
  • 22. 24 The null hypothesis (H0) and (two-tailed) alternative hypothesis (H1) of the one sample T test can be expressed as: H0: µ = 𝑥 ("the sample mean is equal to the [proposed] population mean") H1: µ ≠ x ("the sample mean is not equal to the [proposed] population mean") where µ is a constant proposed for the population mean and x is the sample mean. One Sample T-Test | Hypotheses
  • 23. 25 One Sample T-Test | Test Statistic 𝒕 = 𝒙 − 𝝁 𝒔 𝒙 𝑺 𝒙 = 𝑺 𝒏 The test statistic for a One Sample t Test is denoted t, which is calculated using the following formula: where μ = Proposed constant for the population mean 𝑥 = Sample mean n = Sample size (i.e., number of observations) 𝑠 = Sample standard deviation 𝑠 𝑥 = Estimated standard error of the mean (s/sqrt(n)) The calculated t value is then compared to the critical t value from the t distribution table with degrees of freedom df = n - 1 and chosen confidence level. If the calculated t value > critical t value, then we reject the null hypothesis.
  • 24. T-TEST | 2MATHWORLD | Presented by GROUP 2 TYPESOFT-TEST 2 7
  • 25. 28 The Paired Samples t Test compares two means that are from the same individual, object, or related units. The two means typically represent two different times (e.g., pre-test and post- test with an intervention between the two time points) or two different but related conditions or units (e.g., left and right ears, twins). The purpose of the test is to determine whether there is statistical evidence that the mean difference between paired observations on a particular outcome is significantly different from zero. The Paired Samples t Test is a parametric test. This test is also known as: The variable used in this test is known as:  Dependent variable, or test variable (continuous), measured at two different times or for two related conditions or units Paired Samples T-Test Dependent t Test Paired t Test Repeated Measures t Test
  • 26. 29 The Paired Samples t Test is commonly used to test the following:  Statistical difference between two time points  Statistical difference between two conditions  Statistical difference between two measurements  Statistical difference between a matched pair  To compare unpaired means between two groups on a continuous outcome that is normally distributed, choose the Independent Samples t Test.  To compare unpaired means between more than two groups on a continuous outcome that is normally distributed, choose ANOVA.  To compare paired means for continuous data that are not normally distributed, choose the nonparametric Wilcoxon Signed-Ranks Test.  To compare paired means for ranked data, choose the nonparametric Wilcoxon Signed- Ranks Test. Paired Samples T-Test | Common Uses
  • 27. 30 1. Dependent variable that is continuous (i.e., interval or ratio level) Note: The paired measurements must be recorded in two separate variables. 2. Related samples/groups (i.e., dependent observations) The subjects in each sample, or group, are the same. This means that the subjects in the first group are also in the second group. 3. Random sample of data from the population 4. Normal distribution (approximately) of the difference between the paired values 5. No outliers in the difference between the two related groups Paired Samples T-Test | Data Requirements
  • 28. 31 The hypotheses can be expressed in two different ways that express the same idea and are mathematically equivalent: H0: µ1 = µ2 ("the paired population means are equal") H1: µ1 ≠ µ2 ("the paired population means are not equal") OR H0: µ1 - µ2 = 0 ("the difference between the paired population means is equal to 0") H1: µ1 - µ2 ≠ 0 ("the difference between the paired population means is not 0") where µ1 is the population mean of variable 1, and µ2 is the population mean of variable 2. Paired Samples T-Test | Hypotheses
  • 29. 32 Paired Samples T-Test | Test Statistic The test statistic for the Paired Samples t Test, denoted t, follows the same formula as the one sample t test. where 𝒙 𝐝𝐢𝐟𝐟 = Sample mean n = Sample size (i.e., number of observations) 𝒔diff = Sample standard deviation 𝒔 𝒙 = Estimated standard error of the mean (s/sqrt(n)) The calculated t value is then compared to the critical t value with df = n - 1 from the t distribution table for a chosen confidence level. If the calculated t value is greater than the critical t value, then we reject the null hypothesis (and conclude that the means are significantly different). 𝒕 = 𝒙 𝒅𝒊𝒇𝒇 − 𝟎 𝒔 𝒙 𝒔 𝒙 = 𝒔 𝒅𝒊𝒇𝒇 𝒏
  • 30. T-TEST | 2MATHWORLD | Presented by GROUP 2 TYPESOFT-TEST Independent sampleS t-test 3 4
  • 31. 35 The Independent Samples t Test compares the means of two independent groups in order to determine whether there is statistical evidence that the associated population means are significantly different. The Independent Samples t Test is a parametric test. This test is also known as:  Independent t Test  Independent Measures t Test  Independent Two-sample t Test  Student t Test  Two-Sample t Test  Uncorrelated Scores t Test  Unpaired t Test  Unrelated t Test Independent Samples T-Test The variables used in this test are known as: Dependent variable, or test variable Independent variable, or grouping variable
  • 32. 3636 The Independent Samples t Test is commonly used to test the following:  Statistical differences between the means of two groups  Statistical differences between the means of two interventions  Statistical differences between the means of two change scores Independent Samples T-Test | Common Uses
  • 33. 3737 Your data must meet the following requirements: 1. Dependent variable that is continuous (i.e., interval or ratio level) 2. Independent variable that is categorical (i.e., two or more groups) 3. Cases that have values on both the dependent and independent variables 4. Independent samples/groups (i.e., independence of observations)  There is no relationship between the subjects in each sample. This means that: a. ▪ Subjects in the first group cannot also be in the second group  No subject in either group can influence subjects in the other group  No group can influence the other group  Violation of this assumption will yield an inaccurate p value 5. Random sample of data from the population Independent Samples T-Test | Data Requirements
  • 34. 3838 6. Normal distribution (approximately) of the dependent variable for each group  Non-normal population distributions, especially those that are thick-tailed or heavily skewed, considerably reduce the power of the test  Among moderate or large samples, a violation of normality may still yield accurate p values 7. Homogeneity of variances (i.e., variances approximately equal across groups)  When this assumption is violated and the sample sizes for each group differ, the p value is not trustworthy. However, the Independent Samples t Test output also includes an approximate t statistic that is not based on assuming equal population variances; this alternative statistic, called the Welch t Test statistic1, may be used when equal variances among populations cannot be assumed. The Welch t Test is also known an Unequal Variance T Test or Separate Variances T Test. 8. No outliers Independent Samples T-Test | Data Requirements
  • 35. 39 The null hypothesis (H0) and alternative hypothesis (H1) of the Independent Samples t Test can be expressed in two different but equivalent ways: H0: µ1 = µ2 ("the two population means are equal") H1: µ1 ≠ µ2 ("the two population means are not equal") OR H0: µ1 - µ2 = 0 ("the difference between the two population means is equal to 0") H1: µ1 - µ2 ≠ 0 ("the difference between the two population means is not 0") where µ1 and µ2 are the population means for group 1 and group 2, respectively. Notice that the second set of hypotheses can be derived from the first set by simply subtracting µ2 from both sides of the equation. Independent Samples T-Test | Hypotheses
  • 36. 40 Independent Samples T-Test | Test Statistic The test statistic for an Independent Samples t Test is denoted t. There are actually two forms of the test statistic for this test, depending on whether or not equal variances are assumed. Note that the null and alternative hypotheses are identical for both forms of the test statistic. TWO TYPES OF INDEPENDENT T-TEST Equal Variances Unequal Variances
  • 37. 41 Independent Samples T-Test | Test Statistic When the two independent samples are assumed to be drawn from populations with identical population variances (i.e., σ12 = σ22) , the test statistic t is computed as where EQUAL VARIANCES ASSUMED 𝒕 = 𝒙 𝟏 − 𝒙 𝟐 𝒔 𝑷 𝟏 𝒏 𝟏 + 𝟏 𝒏 𝟐 𝑺𝒑 = 𝒏 𝟏 − 𝟏 𝑺 𝟏 𝟐 + 𝒏 𝟐 − 𝟏 𝑺 𝟐 𝟐 𝒏 𝟏 + 𝒏 𝟐 − 𝟐 𝒙 𝟏 = Mean of first sample 𝒙 𝟐 = Mean of second sample 𝒏 𝟏= Sample size (i.e., number of observations) of first sample 𝒏 𝟐= Sample size (i.e., number of observations) of second sample 𝒔 𝟏 = Standard deviation of first sample 𝒔 𝟐= Standard deviation of second sample 𝒔 𝒑 = Pooled standard deviation
  • 38. 42 Independent Samples T-Test | Test Statistic The calculated t value is then compared to the critical t value from the t distribution table with degrees of freedom df = n1 + n2 - 2 and chosen confidence level. If the calculated t value is greater than the critical t value, then we reject the null hypothesis. Note that this form of the independent samples T test statistic assumes equal variances. Because we assume equal population variances, it is OK to "pool" the sample variances ( 𝒔 𝑷). However, if this assumption is violated, the pooled variance estimate may not be accurate, which would affect the accuracy of our test statistic (and hence, the p-value). EQUAL VARIANCES ASSUMED
  • 39. 43 Independent Samples T-Test | Test Statistic When the two independent samples are assumed to be drawn from populations with unequal variances (i.e., σ12 ≠ σ22), the test statistic t is computed as: where UNEQUAL VARIANCES 𝒕 = 𝒙 𝟏 − 𝒙 𝟐 𝑺 𝑷 𝑺 𝟏 𝟐 𝒏 𝟏 + 𝑺 𝟐 𝟐 𝒏 𝟐 𝒙 𝟏 = Mean of first sample 𝒙 𝟐 = Mean of second sample 𝒏 𝟏= Sample size (i.e., number of observations) of first sample 𝒏 𝟐= Sample size (i.e., number of observations) of second sample 𝒔 𝟏 = Standard deviation of first sample 𝒔 𝟐= Standard deviation of second sample
  • 40. 4444 where UNEQUAL VARIANCES 𝒕 = 𝒙 𝟏 − 𝒙 𝟐 𝑺 𝑷 𝑺 𝟏 𝟐 𝒏 𝟏 + 𝑺 𝟐 𝟐 𝒏 𝟐 𝒙 𝟏 = Mean of first sample 𝒙 𝟐 = Mean of second sample 𝒏 𝟏= Sample size (i.e., number of observations) of first sample 𝒏 𝟐 = Sample size (i.e., number of observations) of second sample 𝒔 𝟏 = Standard deviation of first sample 𝒔 𝟐= Standard deviation of second sample The calculated t value is then compared to the critical t value from the t distribution table with degrees of freedom and chosen confidence level. If the calculated t value > critical t value, then we reject the null hypothesis. Note that this form of the independent samples T test statistic does not assume equal variances. This is why both the denominator of the test statistic and the degrees of freedom of the critical value of t are different than the equal variances form of the test statistic. 𝐝𝒇 = 𝒔 𝟏 𝟐 𝒏 𝟏 + 𝒔 𝟐 𝟐 𝒏 𝟐 𝟐 𝟏 𝒏 𝟏 − 𝟏 𝒔 𝟏 𝟐 𝒏 𝟏 𝟐 + 𝟏 𝒏 𝟐 − 𝟏 𝒔 𝟐 𝟐 𝒏 𝟐 𝟐
  • 41. T-TEST | 2MATHWORLD | Presented by GROUP 2 4 5 A light bulb manufacturer guarantees that the mean life of a certain type of light bulb is at least 750 hrs. A random sample of 36 light bulbs has a mean life of 745 hours with a standard deviation of 60 hours. Do you have enough evidence to reject the manufacturer’s claim? Use a=0.05 Sample Problem where 𝒙 𝐝𝐢𝐟𝐟 = Sample mean n = Sample size (i.e., number of observations) 𝒔diff = Sample standard deviation 𝒔 𝒙 = Estimated standard error of the mean (s/sqrt(n)) 𝒕 = 𝒙 𝒅𝒊𝒇𝒇 − 𝟎 𝒔 𝒙 𝒔 𝒙 = 𝒔 𝒅𝒊𝒇𝒇 𝒏
  • 42. T-TEST | 2MATHWORLD | Presented by GROUP 2 4 6 t table
  • 43. T-TEST | 2MATHWORLD | Presented by GROUP 2 4 7 GROUP 2 Guanzon, Eildriz Niño Layug, Christine Kinsley Garcia, Adrian Lash Lapuz, Alexandra Leal, Ivan Mendoza, JC Lumalanlan, Joseph Ian Velasquez, Miguel Magcalas, Neildrin Marin, Sivel

Notes de l'éditeur

  1. The One Sample t Test can only compare a single sample mean to a specified constant. It can not compare sample means between two or more groups. If you wish to compare the means of multiple groups to each other, you will likely want to run an Independent Samples t Test (to compare the means of two groups) or a One-Way ANOVA (to compare the means of two or more groups).
  2. The Paired Samples t Test can only compare the means for two (and only two) related (paired) units on a continuous outcome that is normally distributed. The Paired Samples t Test is not appropriate for analyses involving the following: 1) unpaired data; 2) comparisons between more than two units/groups; 3) a continuous outcome that is not normally distributed; and 4) an ordinal/ranked outcome.
  3. Note: When testing assumptions related to normality and outliers, you must use a variable that represents the difference between the paired values - not the original variables themselves. Note: When one or more of the assumptions for the Paired Samples t Test are not met, you may want to run the nonparametric Wilcoxon Signed-Ranks Test instead.
  4. Note: The Independent Samples t Test can only compare the means for two (and only two) groups. It cannot make comparisons among more than two groups. If you wish to compare the means across more than two groups, you will likely want to run an ANOVA.
  5. Note: When one or more of the assumptions for the Independent Samples t Test are not met, you may want to run the nonparametric Mann-Whitney U Test instead. Researchers often follow several rules of thumb: Each group should have at least 6 subjects, ideally more. Inferences for the population will be more tenuous with too few subjects. Roughly balanced design (i.e., same number of subjects in each group) are ideal. Extremely unbalanced designs increase the possibility that violating any of the requirements/assumptions will threaten the validity of the Independent Samples t Test.
  6. Note: When one or more of the assumptions for the Independent Samples t Test are not met, you may want to run the nonparametric Mann-Whitney U Test instead. Researchers often follow several rules of thumb: Each group should have at least 6 subjects, ideally more. Inferences for the population will be more tenuous with too few subjects. Roughly balanced design (i.e., same number of subjects in each group) are ideal. Extremely unbalanced designs increase the possibility that violating any of the requirements/assumptions will threaten the validity of the Independent Samples t Test.