SlideShare a Scribd company logo
9
Most read
16
Most read
18
Most read
Week 9:Independent t -test


  t test for Two Independent Samples



                                       1
Independent Samples t - test
   The reason for hypothesis
    testing is to gain knowledge
    about an unknown
    population.
   Independent samples t-test is
    applied when we have two
    independent samples and
    want to make a comparison
    between two groups of
    individuals. The parameters
    are unknown.
   How is this different than a
    Z-test and One Sample t-
    test?


                                    2
Independent t - test
   We are interested in the difference between
    two independent groups. As such, we are
    comparing two populations by evaluating the
    mean difference.
   In order to evaluate the mean difference
    between two populations, we sample from
    each population and compare the sample
    means on a given variable.
   Must have two independent groups
    (i.e.samples) and one dependent variable that
    is continuous to compare them on.

                                                3
Examples:
 Do males and females significantly differ on
  their level of math anxiety?
IV: Gender (2 groups: males and females)
DV: Level of math anxiety
 Do older people exercise significantly less

  frequently than younger people?
IV: Age (2 groups: older people and younger
  people)
DV: Frequency of getting exercise

                                                 4
Examples:
 Do 8th graders have significantly more
  unexcused absences than 7th graders in
  Toledo junior highs?
IV: Grade (2 groups: 8th grade and 7th grade)
DV: Unexcused absences
 Note that Independent t-test can be applied
  to answer each research question when the
  independent variable is dichotomous with
  only two groups and the dependent variable
  is continuous.

                                                5
Generate examples of research questions
requiring an Independent Samples t-test:

   What are some examples that you can
    come up with? Remember- you need
    two independent samples and one
    dependent variable that is continuous.




                                             6
Assumptions
   The two groups are independent of one another.

   The dependent variable is normally distributed.
       Examine skewness and kurtosis (peak) of distribution
            Leptokurtosis vs. platykurtosis vs. mesokurtosis


   The two groups have approximately equal
    variance on the dependent variable. (When n1 = n2
    [equal sample sizes] ,the violation of this
    assumption has been shown to be unimportant.)

                                                                7
Steps in Independent Samples t-test




                                      8
Step 1: State the hypotheses

Ho: The null hypothesis states that the two samples come from the same
  population. In other words, There is no statistically significant
  difference between the two groups on the dependent variable.

Symbols:
Non-directional:   Ho: μ1 = μ2

Directional:   H 0:µ ≥ µ1      2
                                   or
                                        H 0:µ ≤ µ 1      2


•   If the null hypothesis is tenable, the two group means differ only by
    sampling fluctuation – how much the statistic’s value varies from
    sample to sample or chance.
                                                                            9
Ha: The alternative hypothesis states that the two
  samples come from different populations. In other
  words, There is a statistically significant difference
  between the two groups on the dependent variable.

Symbols:
Non-directional:   H 1:µ ≠ µ
                         1       2


Directional:
               H 1:µ > µ
                     1       2


               H 1:µ < µ
                     1       2
                                                           10
Step 2: Set a Criterion for
Rejecting Ho
       Compute degrees of freedom
       Set alpha level
       Identify critical value(s)
        Table C. 3 (page 638 of text)




                                         11
Computing Degrees of Freedom
Calculate degrees of freedom (df) to determine
 rejection region.
         n n
df = 1 + 2 − 2
                                           -2
    sample size for sample1+ sample size for sample2
    •   df describe the number of scores in a sample that are
        free to vary.
    •   We subtract 2 because in this case we have 2
        samples.



                                                            12
More on Degrees of Freedom

•   In an Independent samples t-test, each
    sample mean places a restriction on the
    value of one score in the sample, hence
    the sample lost one degree of freedom and
    there are n-1 degrees of freedom for the
    sample.



                                            13
Set alpha level
   Set at .001, .01 , .05, or .10, etc.




                                           14
Identify critical value(s)
   Directional or non-directional?
   Look at page 638 Table C.3.
   To determine your CV(s) you need to
    know:
       df – if df are not in the table, use the next
        lowest number to be conservative
       directionality of the test
       alpha level

                                                        15
Step 3: Collect data and Calculate t
           statistic


           t=             x −x    1       2

                 ( − 1) + ( − 1)  1
                  2               2
                                                        
variance
                s n
                  1   1   s n  + 1
                                  2   2                 
                    n +n −2       n n                
                         1   2                  1   2

Whereby:
 n: Sample size       s2 = variance           df

 x :Sample mean       subscript1 = sample 1 or group 1
                      subscript2 = sample 2 or group 2      16
Step 4: Compare test statistic to
      criterion




df = 18 α = .05 , two-tailed test in this example
   • critical values are ± 2.101 in this example
                                                    17
Step 5: Make Decision




Fail to reject the null hypothesis and conclude that there is no statistically
significant difference between the two groups on the dependent variable,
t = , p > α.
OR
Reject the null hypothesis and conclude that there is a statistically
significant difference between the two groups on the dependent variable,
t = , p < α.
• If directional, indicate which group is higher or lower (greater, or less
                                                                              18
than, etc.).
Interpreting Output Table:
                                                          Mean APGAR
                                    Sample size             SCORE



Levene’s tests the assumption of equal
variances – if p < .05, then variances
                                                          t-value        Degrees of
are not equal and use a different test                                   freedom
to modify this:

  Here, we have met
  the assumption so
  use first row.                                                                                      CI




                                                                    p - value
                                                                                Observed difference        19
   Retrieved on July 12, 2007 from SPSSShortManual.html                         between the groups
Interpreting APA table:




                          20
Variable                       Math anxiety   t
 Gender
  Male                             3.66
  Female                           3.98        3.35***
 Age
  Under 40 years                   3.32
  Over 41 years                    3.64        2.67**
Note. **p < .01. ***p < .001.
                                                         21
Examples and Practice
   See attached document.
   Create the following index cards from this
    lecture:
       When to conduct a t-test (purpose, conditions,
        and assumptions)
       t-test statistic formula for computation
            t-test statistic formula
            df formula



                                                         22

More Related Content

PPTX
Art appreciation
PPTX
Parametric and nonparametric test
PPTX
Properties of matter ppt
PPTX
t distribution, paired and unpaired t-test
PPTX
Conceptual Framework of Accounting
PPTX
One way anova final ppt.
PPTX
Inferential Statistics
PPTX
Strangulation
Art appreciation
Parametric and nonparametric test
Properties of matter ppt
t distribution, paired and unpaired t-test
Conceptual Framework of Accounting
One way anova final ppt.
Inferential Statistics
Strangulation

What's hot (20)

PPTX
Measures of Variability
PPT
Anova lecture
PPTX
Frequency Distributions
PPT
Estimation and hypothesis testing 1 (graduate statistics2)
PPTX
PPTX
Normal Curve
PPT
Independent sample t test
PPTX
PPTX
Introduction to Statistics
PPTX
The median test
PPTX
STATISTICS: Hypothesis Testing
PPTX
The Central Limit Theorem
PDF
Analysis of Variance (ANOVA)
PPTX
T distribution
PPTX
Hypothesis testing examples on z test
PPTX
Advance Statistics - Wilcoxon Signed Rank Test
PPTX
Central limit theorem
PDF
Kolmogorov Smirnov good-of-fit test
PPTX
QUASI EXPERIMENTAL DESIGN
Measures of Variability
Anova lecture
Frequency Distributions
Estimation and hypothesis testing 1 (graduate statistics2)
Normal Curve
Independent sample t test
Introduction to Statistics
The median test
STATISTICS: Hypothesis Testing
The Central Limit Theorem
Analysis of Variance (ANOVA)
T distribution
Hypothesis testing examples on z test
Advance Statistics - Wilcoxon Signed Rank Test
Central limit theorem
Kolmogorov Smirnov good-of-fit test
QUASI EXPERIMENTAL DESIGN
Ad

Viewers also liked (6)

PPTX
Null hypothesis for an independent-sample t-test
PPT
Kajian Tindakan Dalam Pendidikan Upload
PPTX
Tutorial 1 kaedah penyelidikan
PPTX
Eksperimental
PPTX
T test, independant sample, paired sample and anova
PPSX
Reka bentuk Kajian Dr. Kamarul
Null hypothesis for an independent-sample t-test
Kajian Tindakan Dalam Pendidikan Upload
Tutorial 1 kaedah penyelidikan
Eksperimental
T test, independant sample, paired sample and anova
Reka bentuk Kajian Dr. Kamarul
Ad

Similar to T Test For Two Independent Samples (20)

PPTX
3.1 Inference about Two Population Mean_Summer 2025.pptx
PPTX
Two variances or standard deviations
PPTX
PPTX
Hypothesis Test _Two-sample t-test, Z-test, Proportion Z-test
PDF
t Test- Thiyagu
DOC
Str t-test1
PPT
T test statistics
PPT
Medical statistics2
PPT
Two Sample Tests
PPT
Lesson06_static11
PPT
Lesson06_new
PPTX
Two Means Independent Samples
PPT
Aron chpt 8 ed
PPT
Aron chpt 8 ed
PPTX
Independent Samples t-test.pptx
PPT
tps5e_Ch10_2.ppt
PPT
Unit-5.-t-test.ppt
PPTX
Lecture dsfgidsjfhjknflkdnkldnklnfklfndls.pptx
DOCX
11 T(EA) FOR TWO TESTS BETWEEN THE MEANS OF DIFFERENT GROUPS11 .docx
PPT
T Test Samples for Statistics in Research
3.1 Inference about Two Population Mean_Summer 2025.pptx
Two variances or standard deviations
Hypothesis Test _Two-sample t-test, Z-test, Proportion Z-test
t Test- Thiyagu
Str t-test1
T test statistics
Medical statistics2
Two Sample Tests
Lesson06_static11
Lesson06_new
Two Means Independent Samples
Aron chpt 8 ed
Aron chpt 8 ed
Independent Samples t-test.pptx
tps5e_Ch10_2.ppt
Unit-5.-t-test.ppt
Lecture dsfgidsjfhjknflkdnkldnklnfklfndls.pptx
11 T(EA) FOR TWO TESTS BETWEEN THE MEANS OF DIFFERENT GROUPS11 .docx
T Test Samples for Statistics in Research

More from shoffma5 (20)

PPT
Dte Energy Grant
PPT
Strawberrybanks
PPT
vocational curriculum
PPT
Dependent T Test
PPT
Review Z Test Ci 1
PPT
One Way Anova
PPT
One Sample T Test
PPT
Error And Power
PPT
Variables
PPT
Standard Scores
PPT
Calculating Standard Deviation (Sample)
PPT
Validity And Reliabilty
PPT
Objective Items
PPT
Multiple Choice Golden Rules
PPT
Learning Objectives 1
PPT
Learning Objectives (Taxonomy)
PPT
Grading 101
PPT
Essays
PPT
Authentic Assessment
PPT
Ss,Ch7review
Dte Energy Grant
Strawberrybanks
vocational curriculum
Dependent T Test
Review Z Test Ci 1
One Way Anova
One Sample T Test
Error And Power
Variables
Standard Scores
Calculating Standard Deviation (Sample)
Validity And Reliabilty
Objective Items
Multiple Choice Golden Rules
Learning Objectives 1
Learning Objectives (Taxonomy)
Grading 101
Essays
Authentic Assessment
Ss,Ch7review

Recently uploaded (20)

PDF
DOC-20250806-WA0002._20250806_112011_0000.pdf
DOCX
unit 1 COST ACCOUNTING AND COST SHEET
PDF
MSPs in 10 Words - Created by US MSP Network
PDF
Deliverable file - Regulatory guideline analysis.pdf
PPTX
CkgxkgxydkydyldylydlydyldlyddolydyoyyU2.pptx
PDF
How to Get Funding for Your Trucking Business
PDF
Reconciliation AND MEMORANDUM RECONCILATION
PDF
Training And Development of Employee .pdf
PPTX
ICG2025_ICG 6th steering committee 30-8-24.pptx
PDF
20250805_A. Stotz All Weather Strategy - Performance review July 2025.pdf
PDF
Dr. Enrique Segura Ense Group - A Self-Made Entrepreneur And Executive
PDF
kom-180-proposal-for-a-directive-amending-directive-2014-45-eu-and-directive-...
PPTX
Probability Distribution, binomial distribution, poisson distribution
PPTX
5 Stages of group development guide.pptx
PDF
Chapter 5_Foreign Exchange Market in .pdf
PDF
Roadmap Map-digital Banking feature MB,IB,AB
DOCX
Euro SEO Services 1st 3 General Updates.docx
DOCX
Business Management - unit 1 and 2
PDF
Business model innovation report 2022.pdf
PDF
Traveri Digital Marketing Seminar 2025 by Corey and Jessica Perlman
DOC-20250806-WA0002._20250806_112011_0000.pdf
unit 1 COST ACCOUNTING AND COST SHEET
MSPs in 10 Words - Created by US MSP Network
Deliverable file - Regulatory guideline analysis.pdf
CkgxkgxydkydyldylydlydyldlyddolydyoyyU2.pptx
How to Get Funding for Your Trucking Business
Reconciliation AND MEMORANDUM RECONCILATION
Training And Development of Employee .pdf
ICG2025_ICG 6th steering committee 30-8-24.pptx
20250805_A. Stotz All Weather Strategy - Performance review July 2025.pdf
Dr. Enrique Segura Ense Group - A Self-Made Entrepreneur And Executive
kom-180-proposal-for-a-directive-amending-directive-2014-45-eu-and-directive-...
Probability Distribution, binomial distribution, poisson distribution
5 Stages of group development guide.pptx
Chapter 5_Foreign Exchange Market in .pdf
Roadmap Map-digital Banking feature MB,IB,AB
Euro SEO Services 1st 3 General Updates.docx
Business Management - unit 1 and 2
Business model innovation report 2022.pdf
Traveri Digital Marketing Seminar 2025 by Corey and Jessica Perlman

T Test For Two Independent Samples

  • 1. Week 9:Independent t -test t test for Two Independent Samples 1
  • 2. Independent Samples t - test  The reason for hypothesis testing is to gain knowledge about an unknown population.  Independent samples t-test is applied when we have two independent samples and want to make a comparison between two groups of individuals. The parameters are unknown.  How is this different than a Z-test and One Sample t- test? 2
  • 3. Independent t - test  We are interested in the difference between two independent groups. As such, we are comparing two populations by evaluating the mean difference.  In order to evaluate the mean difference between two populations, we sample from each population and compare the sample means on a given variable.  Must have two independent groups (i.e.samples) and one dependent variable that is continuous to compare them on. 3
  • 4. Examples:  Do males and females significantly differ on their level of math anxiety? IV: Gender (2 groups: males and females) DV: Level of math anxiety  Do older people exercise significantly less frequently than younger people? IV: Age (2 groups: older people and younger people) DV: Frequency of getting exercise 4
  • 5. Examples:  Do 8th graders have significantly more unexcused absences than 7th graders in Toledo junior highs? IV: Grade (2 groups: 8th grade and 7th grade) DV: Unexcused absences  Note that Independent t-test can be applied to answer each research question when the independent variable is dichotomous with only two groups and the dependent variable is continuous. 5
  • 6. Generate examples of research questions requiring an Independent Samples t-test:  What are some examples that you can come up with? Remember- you need two independent samples and one dependent variable that is continuous. 6
  • 7. Assumptions  The two groups are independent of one another.  The dependent variable is normally distributed.  Examine skewness and kurtosis (peak) of distribution  Leptokurtosis vs. platykurtosis vs. mesokurtosis  The two groups have approximately equal variance on the dependent variable. (When n1 = n2 [equal sample sizes] ,the violation of this assumption has been shown to be unimportant.) 7
  • 8. Steps in Independent Samples t-test 8
  • 9. Step 1: State the hypotheses Ho: The null hypothesis states that the two samples come from the same population. In other words, There is no statistically significant difference between the two groups on the dependent variable. Symbols: Non-directional: Ho: μ1 = μ2 Directional: H 0:µ ≥ µ1 2 or H 0:µ ≤ µ 1 2 • If the null hypothesis is tenable, the two group means differ only by sampling fluctuation – how much the statistic’s value varies from sample to sample or chance. 9
  • 10. Ha: The alternative hypothesis states that the two samples come from different populations. In other words, There is a statistically significant difference between the two groups on the dependent variable. Symbols: Non-directional: H 1:µ ≠ µ 1 2 Directional: H 1:µ > µ 1 2 H 1:µ < µ 1 2 10
  • 11. Step 2: Set a Criterion for Rejecting Ho  Compute degrees of freedom  Set alpha level  Identify critical value(s)  Table C. 3 (page 638 of text) 11
  • 12. Computing Degrees of Freedom Calculate degrees of freedom (df) to determine rejection region. n n df = 1 + 2 − 2 -2 sample size for sample1+ sample size for sample2 • df describe the number of scores in a sample that are free to vary. • We subtract 2 because in this case we have 2 samples. 12
  • 13. More on Degrees of Freedom • In an Independent samples t-test, each sample mean places a restriction on the value of one score in the sample, hence the sample lost one degree of freedom and there are n-1 degrees of freedom for the sample. 13
  • 14. Set alpha level  Set at .001, .01 , .05, or .10, etc. 14
  • 15. Identify critical value(s)  Directional or non-directional?  Look at page 638 Table C.3.  To determine your CV(s) you need to know:  df – if df are not in the table, use the next lowest number to be conservative  directionality of the test  alpha level 15
  • 16. Step 3: Collect data and Calculate t statistic t= x −x 1 2  ( − 1) + ( − 1)  1 2 2  variance s n 1 1 s n  + 1 2 2   n +n −2  n n   1 2  1 2 Whereby: n: Sample size s2 = variance df x :Sample mean subscript1 = sample 1 or group 1 subscript2 = sample 2 or group 2 16
  • 17. Step 4: Compare test statistic to criterion df = 18 α = .05 , two-tailed test in this example • critical values are ± 2.101 in this example 17
  • 18. Step 5: Make Decision Fail to reject the null hypothesis and conclude that there is no statistically significant difference between the two groups on the dependent variable, t = , p > α. OR Reject the null hypothesis and conclude that there is a statistically significant difference between the two groups on the dependent variable, t = , p < α. • If directional, indicate which group is higher or lower (greater, or less 18 than, etc.).
  • 19. Interpreting Output Table: Mean APGAR Sample size SCORE Levene’s tests the assumption of equal variances – if p < .05, then variances t-value Degrees of are not equal and use a different test freedom to modify this: Here, we have met the assumption so use first row. CI p - value Observed difference 19 Retrieved on July 12, 2007 from SPSSShortManual.html between the groups
  • 21. Variable Math anxiety t Gender Male 3.66 Female 3.98 3.35*** Age Under 40 years 3.32 Over 41 years 3.64 2.67** Note. **p < .01. ***p < .001. 21
  • 22. Examples and Practice  See attached document.  Create the following index cards from this lecture:  When to conduct a t-test (purpose, conditions, and assumptions)  t-test statistic formula for computation  t-test statistic formula  df formula 22