SlideShare una empresa de Scribd logo
1 de 22
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

Más contenido relacionado

La actualidad más candente

Parametric vs non parametric test
Parametric vs non parametric testParametric vs non parametric test
Parametric vs non parametric test
ar9530
 
Inferential statistics powerpoint
Inferential statistics powerpointInferential statistics powerpoint
Inferential statistics powerpoint
kellula
 
STATISTICS: Hypothesis Testing
STATISTICS: Hypothesis TestingSTATISTICS: Hypothesis Testing
STATISTICS: Hypothesis Testing
jundumaug1
 
One Sample T Test
One Sample T TestOne Sample T Test
One Sample T Test
shoffma5
 
Standard Deviation and Variance
Standard Deviation and VarianceStandard Deviation and Variance
Standard Deviation and Variance
Jufil Hombria
 

La actualidad más candente (20)

Non parametric presentation
Non parametric presentationNon parametric presentation
Non parametric presentation
 
Testing Hypothesis
Testing HypothesisTesting Hypothesis
Testing Hypothesis
 
Parametric vs non parametric test
Parametric vs non parametric testParametric vs non parametric test
Parametric vs non parametric test
 
Inferential statistics powerpoint
Inferential statistics powerpointInferential statistics powerpoint
Inferential statistics powerpoint
 
Mann Whitney U test
Mann Whitney U testMann Whitney U test
Mann Whitney U test
 
Wilcoxon signed rank test
Wilcoxon signed rank testWilcoxon signed rank test
Wilcoxon signed rank test
 
STATISTICS: Hypothesis Testing
STATISTICS: Hypothesis TestingSTATISTICS: Hypothesis Testing
STATISTICS: Hypothesis Testing
 
Measures of variability
Measures of variabilityMeasures of variability
Measures of variability
 
Sign test
Sign testSign test
Sign test
 
T test
T testT test
T test
 
The Chi Square Test
The Chi Square TestThe Chi Square Test
The Chi Square Test
 
One Sample T Test
One Sample T TestOne Sample T Test
One Sample T Test
 
Mann Whitney U Test | Statistics
Mann Whitney U Test | StatisticsMann Whitney U Test | Statistics
Mann Whitney U Test | Statistics
 
One way anova final ppt.
One way anova final ppt.One way anova final ppt.
One way anova final ppt.
 
Parametric tests
Parametric testsParametric tests
Parametric tests
 
What is a paired samples t test
What is a paired samples t testWhat is a paired samples t test
What is a paired samples t test
 
Measures of Variability
Measures of VariabilityMeasures of Variability
Measures of Variability
 
Normal Distribution
Normal DistributionNormal Distribution
Normal Distribution
 
Standard Deviation and Variance
Standard Deviation and VarianceStandard Deviation and Variance
Standard Deviation and Variance
 
Analysis of variance (ANOVA) everything you need to know
Analysis of variance (ANOVA) everything you need to knowAnalysis of variance (ANOVA) everything you need to know
Analysis of variance (ANOVA) everything you need to know
 

Destacado (6)

Null hypothesis for an independent-sample t-test
Null hypothesis for an independent-sample t-testNull hypothesis for an independent-sample t-test
Null hypothesis for an independent-sample t-test
 
Kajian Tindakan Dalam Pendidikan Upload
Kajian Tindakan Dalam Pendidikan UploadKajian Tindakan Dalam Pendidikan Upload
Kajian Tindakan Dalam Pendidikan Upload
 
Tutorial 1 kaedah penyelidikan
Tutorial 1 kaedah penyelidikanTutorial 1 kaedah penyelidikan
Tutorial 1 kaedah penyelidikan
 
Eksperimental
EksperimentalEksperimental
Eksperimental
 
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
 
Reka bentuk Kajian Dr. Kamarul
Reka bentuk Kajian Dr. KamarulReka bentuk Kajian Dr. Kamarul
Reka bentuk Kajian Dr. Kamarul
 

Similar a T Test For Two Independent Samples

Str t-test1
Str   t-test1Str   t-test1
Str t-test1
iamkim
 
Two Sample Tests
Two Sample TestsTwo Sample Tests
Two Sample Tests
sanketd1983
 
Lesson06_static11
Lesson06_static11Lesson06_static11
Lesson06_static11
thangv
 
Lesson06_new
Lesson06_newLesson06_new
Lesson06_new
shengvn
 
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
novabroom
 
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
hyacinthshackley2629
 

Similar a T Test For Two Independent Samples (20)

Two variances or standard deviations
Two variances or standard deviations  Two variances or standard deviations
Two variances or standard deviations
 
Correlation
Correlation  Correlation
Correlation
 
Hypothesis Test _Two-sample t-test, Z-test, Proportion Z-test
Hypothesis Test _Two-sample t-test, Z-test, Proportion Z-testHypothesis Test _Two-sample t-test, Z-test, Proportion Z-test
Hypothesis Test _Two-sample t-test, Z-test, Proportion Z-test
 
t Test- Thiyagu
t Test- Thiyagut Test- Thiyagu
t Test- Thiyagu
 
Str t-test1
Str   t-test1Str   t-test1
Str t-test1
 
Medical statistics2
Medical statistics2Medical statistics2
Medical statistics2
 
Two Sample Tests
Two Sample TestsTwo Sample Tests
Two Sample Tests
 
Lesson06_static11
Lesson06_static11Lesson06_static11
Lesson06_static11
 
Lesson06_new
Lesson06_newLesson06_new
Lesson06_new
 
Two Means Independent Samples
Two Means Independent Samples  Two Means Independent Samples
Two Means Independent Samples
 
Aron chpt 8 ed
Aron chpt 8 edAron chpt 8 ed
Aron chpt 8 ed
 
Aron chpt 8 ed
Aron chpt 8 edAron chpt 8 ed
Aron chpt 8 ed
 
Independent Samples t-test.pptx
Independent Samples t-test.pptxIndependent Samples t-test.pptx
Independent Samples t-test.pptx
 
tps5e_Ch10_2.ppt
tps5e_Ch10_2.ppttps5e_Ch10_2.ppt
tps5e_Ch10_2.ppt
 
Unit-5.-t-test.ppt
Unit-5.-t-test.pptUnit-5.-t-test.ppt
Unit-5.-t-test.ppt
 
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
 
Comparing means
Comparing meansComparing means
Comparing means
 
Data analysis
Data analysisData analysis
Data analysis
 
Two dependent samples (matched pairs)
Two dependent samples (matched pairs) Two dependent samples (matched pairs)
Two dependent samples (matched pairs)
 

Más de shoffma5

Dte Energy Grant
Dte Energy GrantDte Energy Grant
Dte Energy Grant
shoffma5
 
Strawberrybanks
StrawberrybanksStrawberrybanks
Strawberrybanks
shoffma5
 
vocational curriculum
vocational curriculumvocational curriculum
vocational curriculum
shoffma5
 
Dependent T Test
Dependent T TestDependent T Test
Dependent T Test
shoffma5
 
Review Z Test Ci 1
Review Z Test Ci 1Review Z Test Ci 1
Review Z Test Ci 1
shoffma5
 
Error And Power
Error And PowerError And Power
Error And Power
shoffma5
 
Variables
 Variables Variables
Variables
shoffma5
 
Standard Scores
Standard ScoresStandard Scores
Standard Scores
shoffma5
 
Calculating Standard Deviation (Sample)
Calculating Standard Deviation (Sample)Calculating Standard Deviation (Sample)
Calculating Standard Deviation (Sample)
shoffma5
 
Validity And Reliabilty
Validity And ReliabiltyValidity And Reliabilty
Validity And Reliabilty
shoffma5
 
Objective Items
Objective ItemsObjective Items
Objective Items
shoffma5
 
Multiple Choice Golden Rules
Multiple Choice Golden RulesMultiple Choice Golden Rules
Multiple Choice Golden Rules
shoffma5
 
Learning Objectives 1
Learning Objectives 1Learning Objectives 1
Learning Objectives 1
shoffma5
 
Learning Objectives (Taxonomy)
Learning Objectives (Taxonomy)Learning Objectives (Taxonomy)
Learning Objectives (Taxonomy)
shoffma5
 
Grading 101
Grading 101Grading 101
Grading 101
shoffma5
 
Authentic Assessment
Authentic AssessmentAuthentic Assessment
Authentic Assessment
shoffma5
 
Ss,Ch7review
Ss,Ch7reviewSs,Ch7review
Ss,Ch7review
shoffma5
 
Mysteryquest Usa
Mysteryquest UsaMysteryquest Usa
Mysteryquest Usa
shoffma5
 
Colonialwilliamsburg
ColonialwilliamsburgColonialwilliamsburg
Colonialwilliamsburg
shoffma5
 

Más de shoffma5 (20)

Dte Energy Grant
Dte Energy GrantDte Energy Grant
Dte Energy Grant
 
Strawberrybanks
StrawberrybanksStrawberrybanks
Strawberrybanks
 
vocational curriculum
vocational curriculumvocational curriculum
vocational curriculum
 
Dependent T Test
Dependent T TestDependent T Test
Dependent T Test
 
Review Z Test Ci 1
Review Z Test Ci 1Review Z Test Ci 1
Review Z Test Ci 1
 
Error And Power
Error And PowerError And Power
Error And Power
 
Variables
 Variables Variables
Variables
 
Standard Scores
Standard ScoresStandard Scores
Standard Scores
 
Calculating Standard Deviation (Sample)
Calculating Standard Deviation (Sample)Calculating Standard Deviation (Sample)
Calculating Standard Deviation (Sample)
 
Validity And Reliabilty
Validity And ReliabiltyValidity And Reliabilty
Validity And Reliabilty
 
Objective Items
Objective ItemsObjective Items
Objective Items
 
Multiple Choice Golden Rules
Multiple Choice Golden RulesMultiple Choice Golden Rules
Multiple Choice Golden Rules
 
Learning Objectives 1
Learning Objectives 1Learning Objectives 1
Learning Objectives 1
 
Learning Objectives (Taxonomy)
Learning Objectives (Taxonomy)Learning Objectives (Taxonomy)
Learning Objectives (Taxonomy)
 
Grading 101
Grading 101Grading 101
Grading 101
 
Essays
EssaysEssays
Essays
 
Authentic Assessment
Authentic AssessmentAuthentic Assessment
Authentic Assessment
 
Ss,Ch7review
Ss,Ch7reviewSs,Ch7review
Ss,Ch7review
 
Mysteryquest Usa
Mysteryquest UsaMysteryquest Usa
Mysteryquest Usa
 
Colonialwilliamsburg
ColonialwilliamsburgColonialwilliamsburg
Colonialwilliamsburg
 

Último

Mifty kit IN Salmiya (+918133066128) Abortion pills IN Salmiyah Cytotec pills
Mifty kit IN Salmiya (+918133066128) Abortion pills IN Salmiyah Cytotec pillsMifty kit IN Salmiya (+918133066128) Abortion pills IN Salmiyah Cytotec pills
Mifty kit IN Salmiya (+918133066128) Abortion pills IN Salmiyah Cytotec pills
Abortion pills in Kuwait Cytotec pills in Kuwait
 
Insurers' journeys to build a mastery in the IoT usage
Insurers' journeys to build a mastery in the IoT usageInsurers' journeys to build a mastery in the IoT usage
Insurers' journeys to build a mastery in the IoT usage
Matteo Carbone
 
unwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabi
unwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabiunwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabi
unwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabi
Abortion pills in Kuwait Cytotec pills in Kuwait
 
Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...
Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...
Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...
amitlee9823
 

Último (20)

Mifty kit IN Salmiya (+918133066128) Abortion pills IN Salmiyah Cytotec pills
Mifty kit IN Salmiya (+918133066128) Abortion pills IN Salmiyah Cytotec pillsMifty kit IN Salmiya (+918133066128) Abortion pills IN Salmiyah Cytotec pills
Mifty kit IN Salmiya (+918133066128) Abortion pills IN Salmiyah Cytotec pills
 
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
 
How to Get Started in Social Media for Art League City
How to Get Started in Social Media for Art League CityHow to Get Started in Social Media for Art League City
How to Get Started in Social Media for Art League City
 
Pharma Works Profile of Karan Communications
Pharma Works Profile of Karan CommunicationsPharma Works Profile of Karan Communications
Pharma Works Profile of Karan Communications
 
Call Girls Pune Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Pune Just Call 9907093804 Top Class Call Girl Service AvailableCall Girls Pune Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Pune Just Call 9907093804 Top Class Call Girl Service Available
 
Value Proposition canvas- Customer needs and pains
Value Proposition canvas- Customer needs and painsValue Proposition canvas- Customer needs and pains
Value Proposition canvas- Customer needs and pains
 
The Coffee Bean & Tea Leaf(CBTL), Business strategy case study
The Coffee Bean & Tea Leaf(CBTL), Business strategy case studyThe Coffee Bean & Tea Leaf(CBTL), Business strategy case study
The Coffee Bean & Tea Leaf(CBTL), Business strategy case study
 
VIP Call Girls In Saharaganj ( Lucknow ) 🔝 8923113531 🔝 Cash Payment (COD) 👒
VIP Call Girls In Saharaganj ( Lucknow  ) 🔝 8923113531 🔝  Cash Payment (COD) 👒VIP Call Girls In Saharaganj ( Lucknow  ) 🔝 8923113531 🔝  Cash Payment (COD) 👒
VIP Call Girls In Saharaganj ( Lucknow ) 🔝 8923113531 🔝 Cash Payment (COD) 👒
 
Ensure the security of your HCL environment by applying the Zero Trust princi...
Ensure the security of your HCL environment by applying the Zero Trust princi...Ensure the security of your HCL environment by applying the Zero Trust princi...
Ensure the security of your HCL environment by applying the Zero Trust princi...
 
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best ServicesMysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
 
Best VIP Call Girls Noida Sector 40 Call Me: 8448380779
Best VIP Call Girls Noida Sector 40 Call Me: 8448380779Best VIP Call Girls Noida Sector 40 Call Me: 8448380779
Best VIP Call Girls Noida Sector 40 Call Me: 8448380779
 
VVVIP Call Girls In Greater Kailash ➡️ Delhi ➡️ 9999965857 🚀 No Advance 24HRS...
VVVIP Call Girls In Greater Kailash ➡️ Delhi ➡️ 9999965857 🚀 No Advance 24HRS...VVVIP Call Girls In Greater Kailash ➡️ Delhi ➡️ 9999965857 🚀 No Advance 24HRS...
VVVIP Call Girls In Greater Kailash ➡️ Delhi ➡️ 9999965857 🚀 No Advance 24HRS...
 
Insurers' journeys to build a mastery in the IoT usage
Insurers' journeys to build a mastery in the IoT usageInsurers' journeys to build a mastery in the IoT usage
Insurers' journeys to build a mastery in the IoT usage
 
unwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabi
unwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabiunwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabi
unwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabi
 
Regression analysis: Simple Linear Regression Multiple Linear Regression
Regression analysis:  Simple Linear Regression Multiple Linear RegressionRegression analysis:  Simple Linear Regression Multiple Linear Regression
Regression analysis: Simple Linear Regression Multiple Linear Regression
 
Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...
Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...
Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...
 
Call Girls in Gomti Nagar - 7388211116 - With room Service
Call Girls in Gomti Nagar - 7388211116  - With room ServiceCall Girls in Gomti Nagar - 7388211116  - With room Service
Call Girls in Gomti Nagar - 7388211116 - With room Service
 
Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...
Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...
Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...
 
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...
 
A DAY IN THE LIFE OF A SALESMAN / WOMAN
A DAY IN THE LIFE OF A  SALESMAN / WOMANA DAY IN THE LIFE OF A  SALESMAN / WOMAN
A DAY IN THE LIFE OF A SALESMAN / WOMAN
 

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