SlideShare ist ein Scribd-Unternehmen logo
1 von 65
Student t-test
    Unit 8 strand
Student‟s t-test
                   “Student” was W. S. Gossett. He
                   published his test anonymously as
                   „Student‟ because he was working for
                   the brewer‟s Guinness and had to keep
                   the fact they were suing statistics a
                   secret
Student‟s t-test

                   The test is used to compare samples
                   from two different batches.

                   It is usually used with small (<30) samples
                   that are normally distributed.
There are two types of t-test:

 Matched pairs and independent pairs


     If there is some link between the data then use the
     matched pairs test (eg a „before‟ and „after‟)


     If there is no link between the data then use the
     independent pairs test
Question
In an investigation to determine the effectiveness of sequencing of fingerprints
10 prints are taken enhanced with DFO and then with ninhydrin.
 The points of detail at each stage are recorded.
Is there a difference at the 95% confidence level?


 DFO         8 12     11    6     9     11     7     8     10      9
 DFO+        10 15    12    6     13    14     9     9     15      12
 ninhydrin
t-test for matched pairs

 1. Set up the null and alternative hypothesis:
t-test for matched pairs

 1. Set up the null and alternative hypothesis:

 H0 there is no difference in the number of minutae when using ninhydrin

 HA there are more minutae observed after the enhancement of ninhydrin.
t-test for matched pairs

 1. Set up the null and alternative hypothesis:

 H0 there is no difference in the number of minutae when using ninhydrin

 HA there are more minutae observed after the enhancement of ninhydrin.


 This is a one-tail test.

 We are testing at the 95% or 5% (0.05) level
t-test for matched pairs

 1. Set up the null and alternative hypothesis
 2. Calculate the difference between the pairs in the sample
t-test for matched pairs

 1. Set up the null and alternative hypothesis
 2. Calculate the difference between the pairs in the sample


  DFO              8    12   11   6   9    11    7   8   10    9
  DFO+ninhydrin    10   15   12   6   13   14    9   9   15    12
  Difference (D)
t-test for matched pairs

 1. Set up the null and alternative hypothesis
 2. Calculate the difference between the pairs in the sample


  DFO              8    12   11   6   9    11    7   8   10    9    Total
  DFO+ninhydrin    10   15   12   6   13   14    9   9   15    12
  Difference (D)   2    3    1    0   4    3     2   1   5     3    24
t-test for matched pairs

 1. Set up the null and alternative hypothesis
 2. Calculate the difference between the pairs in the sample
 3. Calculate the mean of the differences
t-test for matched pairs

 1. Set up the null and alternative hypothesis
 2. Calculate the difference between the pairs in the sample
 3. Calculate the mean of the differences



                                            = 2.4
t-test for matched pairs

 1. Set up the null and alternative hypothesis
 2. Calculate the difference between the pairs in the sample
 3. Calculate the mean of the differences



                                            = 2.4
t-test for matched pairs

 1. Set up the null and alternative hypothesis
 2. Calculate the difference between the pairs in the sample
 3. Calculate the mean of the differences
 4. Calculate the standard deviation of the difference
t-test for matched pairs

 1. Set up the null and alternative hypothesis
 2. Calculate the difference between the pairs in the sample
 3. Calculate the mean of the differences
 4. Calculate the standard deviation of the difference
t-test for matched pairs

 1. Set up the null and alternative hypothesis
 2. Calculate the difference between the pairs in the sample
 3. Calculate the mean of the differences
 4. Calculate the standard deviation of the difference




                              = 1.51
t-test for matched pairs

 1. Set up the null and alternative hypothesis
 2. Calculate the difference between the pairs in the sample
 3. Calculate the mean of the differences
 4. Calculate the standard deviation of the difference
 5. Calculate the standard error
t-test for matched pairs

 1. Set up the null and alternative hypothesis
 2. Calculate the difference between the pairs in the sample
 3. Calculate the mean of the differences
 4. Calculate the standard deviation of the difference
 5. Calculate the standard error
t-test for matched pairs

 1. Set up the null and alternative hypothesis
 2. Calculate the difference between the pairs in the sample
 3. Calculate the mean of the differences
 4. Calculate the standard deviation of the difference
 5. Calculate the standard error




                      =                = 0.478
t-test for matched pairs

 1. Set up the null and alternative hypothesis
 2. Calculate the difference between the pairs in the sample
 3. Calculate the mean of the differences
 4. Calculate the standard deviation of the difference
 5. Calculate the standard error
 6. Calculate the value of t
t-test for matched pairs

 1. Set up the null and alternative hypothesis
 2. Calculate the difference between the pairs in the sample
 3. Calculate the mean of the differences
 4. Calculate the standard deviation of the difference
 5. Calculate the standard error
 6. Calculate the value of t
t-test for matched pairs

 1. Set up the null and alternative hypothesis
 2. Calculate the difference between the pairs in the sample
 3. Calculate the mean of the differences
 4. Calculate the standard deviation of the difference
 5. Calculate the standard error
 6. Calculate the value of t



                    =          = 5.0
t-test for matched pairs

 1. Set up the null and alternative hypothesis
 2. Calculate the difference between the pairs in the sample
 3. Calculate the mean of the differences
 4. Calculate the standard deviation of the difference
 5. Calculate the standard error
 6. Calculate the value of t
 7. Calculate the number of degrees of freedom (DoF) and find the critical value
t-test for matched pairs

 1. Set up the null and alternative hypothesis
 2. Calculate the difference between the pairs in the sample
 3. Calculate the mean of the differences
 4. Calculate the standard deviation of the difference
 5. Calculate the standard error
 6. Calculate the value of t
 7. Calculate the number of degrees of freedom (DoF) and find the critical value

   DoF = No of pairs of data – 1
t-test for matched pairs

 1. Set up the null and alternative hypothesis
 2. Calculate the difference between the pairs in the sample
 3. Calculate the mean of the differences
 4. Calculate the standard deviation of the difference
 5. Calculate the standard error
 6. Calculate the value of t
 7. Calculate the number of degrees of freedom (DoF) and find the critical value

   DoF = No of pairs of data – 1
        =n–1
         10-1 = 9
t-test for matched pairs

 1. Set up the null and alternative hypothesis
 2. Calculate the difference between the pairs in the sample
 3. Calculate the mean of the differences
 4. Calculate the standard deviation of the difference
 5. Calculate the standard error
 6. Calculate the value of t
 7. Calculate the number of degrees of freedom (DoF) and
 8. find the critical value
t-test for matched pairs

 1. Set up the null and alternative hypothesis
 2. Calculate the difference between the pairs in the sample
 3. Calculate the mean of the differences
 4. Calculate the standard deviation of the difference
 5. Calculate the standard error
 6. Calculate the value of t
 7. Calculate the number of degrees of freedom (DoF) and 8. find the critical value
t-test for matched pairs

 1. Set up the null and alternative hypothesis
 2. Calculate the difference between the pairs in the sample
 3. Calculate the mean of the differences
 4. Calculate the standard deviation of the difference
 5. Calculate the standard error
 6. Calculate the value of t
 7. Calculate the number of degrees of freedom (DoF) and 8. find the critical value
t-test for matched pairs

 1. Set up the null and alternative hypothesis
 2. Calculate the difference between the pairs in the sample
 3. Calculate the mean of the differences
 4. Calculate the standard deviation of the difference
 5. Calculate the standard error
 6. Calculate the value of t
 7. Calculate the number of degrees of freedom (DoF) and 8. find the critical value
t-test for matched pairs

 1. Set up the null and alternative hypothesis
 2. Calculate the difference between the pairs in the sample
 3. Calculate the mean of the differences
 4. Calculate the standard deviation of the difference
 5. Calculate the standard error
 6. Calculate the value of t
 7. Calculate the number of degrees of freedom (DoF) and 8. find the critical value
t-test for matched pairs

 1. Set up the null and alternative hypothesis
 2. Calculate the difference between the pairs in the sample
 3. Calculate the mean of the differences
 4. Calculate the standard deviation of the difference
 5. Calculate the standard error
 6. Calculate the value of t
 7. Calculate the number of degrees of freedom (DoF) and 8. find the critical value
 9. Determine if there is a difference or not
t-test for matched pairs

 1. Set up the null and alternative hypothesis
 2. Calculate the difference between the pairs in the sample
 3. Calculate the mean of the differences
 4. Calculate the standard deviation of the difference
 5. Calculate the standard error
 6. Calculate the value of t
 7. Calculate the number of degrees of freedom (DoF) and 8. find the critical value
 9. Determine if there is a difference or not
t-test for matched pairs

 1. Set up the null and alternative hypothesis
 2. Calculate the difference between the pairs in the sample
 3. Calculate the mean of the differences
 4. Calculate the standard deviation of the difference
 5. Calculate the standard error
 6. Calculate the value of t
 7. Calculate the number of degrees of freedom (DoF) and 8. find the critical value
 9. Determine if there is a difference or not

     t > tcritical (5.0 > 1.833)
t-test for matched pairs

 1. Set up the null and alternative hypothesis
 2. Calculate the difference between the pairs in the sample
 3. Calculate the mean of the differences
 4. Calculate the standard deviation of the difference
 5. Calculate the standard error
 6. Calculate the value of t
 7. Calculate the number of degrees of freedom (DoF) and 8. find the critical value
 9. Determine if there is a difference or not

     t > tcritical (5.0 > 1.833)

    So, the null hypothesis is rejected and the alternative
    hypothesis is accepted.
     The ninhydrin does make a positive difference
t-test independent samples
 If there is no before and after relationship between the samples then
 the independent samples test is used.
t-test independent samples
 If there is no before and after relationship between the samples then
 the independent samples test is used.
t-test independent samples
Example
Some brown dog hairs were found on the clothing of a victim at a crime scene
involving a dog.
The five of the hairs were measured: 46, 57, 54, 51, 38 μm.
A suspect is the owner of a dog with similar brown hairs. A sample of the hairs
has been taken and their widths measured: 31, 35, 50, 35, 36 μm.
Is it possible that the hairs found on the victim were left by the suspect‟s dog?
Test at the %5 level.
[From D. Lucy Introduction to Statistics for Forensic Scientists Chichester: Wiley, 2005 p. 44.]
t-test independent samples

1. Calculate the mean and standard deviation for the data sets
t-test independent samples

1. Calculate the mean and standard deviation for the data sets

                                Dog A          Dog B
                                 46              31
                                 57              35
                                 54              50
                                 51              35
                                 38              36
           Total
           Mean
           Standard
           deviation
t-test independent samples

1. Calculate the mean and standard deviation for the data sets

                                Dog A          Dog B
                                 46              31
                                 57              35
                                 54              50
                                 51              35
                                 38              36
           Total                 246            187
           Mean                 49.2            37.4
           Standard             7.463           7.301
           deviation
t-test independent samples

    1. Calculate the mean and standard deviation for the data sets
.   2. Calculate the magnitude of the difference between the two means

                                49.2 – 37.4 = 11.8
t-test independent samples

    1. Calculate the mean and standard deviation for the data sets
.   2. Calculate the magnitude of the difference between the two means
    3. Calculate the standard error in the difference
t-test independent samples

    1. Calculate the mean and standard deviation for the data sets
.   2. Calculate the magnitude of the difference between the two means.│
    3. Calculate the standard error in the difference
t-test independent samples

    1. Calculate the mean and standard deviation for the data sets
.   2. Calculate the magnitude of the difference between the two means
    3. Calculate the standard error in the difference




                          =

                          = 4.669 ≈ 4.67 (3 sf)
t-test independent samples

    1. Calculate the mean and standard deviation for the data sets
.   2. Calculate the magnitude of the difference between the two means
    3. Calculate the standard error in the difference
    4. Calculate the value of t
t-test independent samples

    1. Calculate the mean and standard deviation for the data sets
.   2. Calculate the magnitude of the difference between the two means
    3. Calculate the standard error in the difference
    4. Calculate the value of t:


          t = difference between the means ÷ standard error in the difference
t-test independent samples

    1. Calculate the mean and standard deviation for the data sets
.   2. Calculate the magnitude of the difference between the two means
    3. Calculate the standard error in the difference
    4. Calculate the value of t:


          t = difference between the means ÷ standard error in the difference

          11.8       4.669 = 2.527
                            ≈ 2.53 (3 sig fig)
t-test independent samples

    1. Calculate the mean and standard deviation for the data sets
.   2. Calculate the magnitude of the difference between the two means
    3. Calculate the standard error in the difference
    4. Calculate the value of t:
    5. Calculate the degrees of freedom
t-test independent samples

    1. Calculate the mean and standard deviation for the data sets
.   2. Calculate the magnitude of the difference between the two means
    3. Calculate the standard error in the difference
    4. Calculate the value of t:
    5. Calculate the degrees of freedom = n1 + n2 - 2
t-test independent samples

    1. Calculate the mean and standard deviation for the data sets
.   2. Calculate the magnitude of the difference between the two means
    3. Calculate the standard error in the difference
    4. Calculate the value of t:
    5. Calculate the degrees of freedom = n1 + n2 - 2

                                             5+5 -2=8
t-test independent samples

    1. Calculate the mean and standard deviation for the data sets
.   2. Calculate the magnitude of the difference between the two means
    3. Calculate the standard error in the difference
    4. Calculate the value of t:
    5. Calculate the degrees of freedom
    6. Find the critical value for the particular significance you are working to
    from the table
t-test independent samples

    1. Calculate the mean and standard deviation for the data sets
.   2. Calculate the magnitude of the difference between the two means
    3. Calculate the standard error in the difference
    4. Calculate the value of t:
    5. Calculate the degrees of freedom
    6. Find the critical value for the particular significance you are working to
    from the table
t-test independent samples

    1. Calculate the mean and standard deviation for the data sets
.   2. Calculate the magnitude of the difference between the two means
    3. Calculate the standard error in the difference
    4. Calculate the value of t:
    5. Calculate the degrees of freedom
    6. Find the critical value for the particular significance you are working to
    and find the critical value from the table
t-test independent samples

    1. Calculate the mean and standard deviation for the data sets
.   2. Calculate the magnitude of the difference between the two means
    3. Calculate the standard error in the difference
    4. Calculate the value of t:
    5. Calculate the degrees of freedom
    6. Find the critical value for the particular significance you are working to
    and find the critical value from the table
t-test independent samples

    1. Calculate the mean and standard deviation for the data sets
.   2. Calculate the magnitude of the difference between the two means
    3. Calculate the standard error in the difference
    4. Calculate the value of t:
    5. Calculate the degrees of freedom
    6. Find the critical value for the particular significance you are working to
    from the table




               At the 0.05 level tcrit = 2.306
t-test independent samples

    1. Calculate the mean and standard deviation for the data sets
.   2. Calculate the magnitude of the difference between the two means
    3. Calculate the standard error in the difference
    4. Calculate the value of t:
    5. Calculate the degrees of freedom
    6. Find the critical value for the particular significance you are working to
    and find the critical value from the table


    If t < critical value then there is no significant difference between the two sets of data
    If t > critical value then there is a significant difference between the two sets of data
t-test independent samples

    1. Calculate the mean and standard deviation for the data sets
.   2. Calculate the magnitude of the difference between the two means
    3. Calculate the standard error in the difference
    4. Calculate the value of t:
    5. Calculate the degrees of freedom
    6. Find the critical value for the particular significance you are working to
    and find the critical value from the table


    If t < critical value then there is no significant difference between the two sets of data
    If t > critical value then there is a significant difference between the two sets of data


               So, at 0.05 level there is a significant difference
               between the two data sets.
               So it could not come from the same dog.
t-test independent samples

    1. Calculate the mean and standard deviation for the data sets
.   2. Calculate the magnitude of the difference between the two means
    3. Calculate the standard error in the difference
    4. Calculate the value of t:
    5. Calculate the degrees of freedom
    6. Find the critical value for the particular significance you are working to
    and find the critical value from the table
t-test independent samples

           Group A               Group B
.
     (leading questions)         (control)
              2                      3
              3                      5
              4                      0
              4                      3
              2                      4
              4                      0
              3
t-test independent samples

           Group A                Group B
.
     (leading questions)          (control)
              2                       3
              3                       5
              4                       0
              4                       3
              2                       4
              4                       0
              3
        Mean = 3.143             Mean = 2.50
         SD= 0.8997               SD = 2.07
t-test independent samples

           Group A                Group B
.
     (leading questions)          (control)
              2                       3
              3                       5
              4                       0
              4                       3
              2                       4
                                             Diff of means
              4                       0                  = 0.64
              3                              SE of diff = 0.861
        Mean = 3.143             Mean = 2.50 DoF         = 11
         SD= 0.8997               SD = 2.07 t = 0.7433
t-test independent samples


.




                                 DoF        = 11
                                 t = 0.7433
t-test independent samples


.




                                 DoF        = 11
                                 t = 0.7433
t-test independent samples


.




                                                                DoF        = 11
                                                                t = 0.7433
     t < tcritical at 5% level, 2-tail
     There is no significant difference between the data test

Weitere ähnliche Inhalte

Was ist angesagt?

NULL AND ALTERNATIVE HYPOTHESIS.pptx
NULL AND ALTERNATIVE HYPOTHESIS.pptxNULL AND ALTERNATIVE HYPOTHESIS.pptx
NULL AND ALTERNATIVE HYPOTHESIS.pptx04ShainaSachdeva
 
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
 
Statistical tests of significance and Student`s T-Test
Statistical tests of significance and Student`s T-TestStatistical tests of significance and Student`s T-Test
Statistical tests of significance and Student`s T-TestVasundhraKakkar
 
Non parametric test
Non parametric testNon parametric test
Non parametric testNeetathakur3
 
Null hypothesis AND ALTERNAT HYPOTHESIS
Null hypothesis AND ALTERNAT HYPOTHESISNull hypothesis AND ALTERNAT HYPOTHESIS
Null hypothesis AND ALTERNAT HYPOTHESISADESH MEDICAL COLLEGE
 
NON-PARAMETRIC TESTS by Prajakta Sawant
NON-PARAMETRIC TESTS by Prajakta SawantNON-PARAMETRIC TESTS by Prajakta Sawant
NON-PARAMETRIC TESTS by Prajakta SawantPRAJAKTASAWANT33
 
t distribution, paired and unpaired t-test
t distribution, paired and unpaired t-testt distribution, paired and unpaired t-test
t distribution, paired and unpaired t-testBPKIHS
 
Test of hypothesis test of significance
Test of hypothesis test of significanceTest of hypothesis test of significance
Test of hypothesis test of significanceDr. Jayesh Vyas
 
Testing of hypotheses
Testing of hypothesesTesting of hypotheses
Testing of hypothesesRajThakuri
 
F test and ANOVA
F test and ANOVAF test and ANOVA
F test and ANOVAMEENURANJI
 
Wilcoxon signed rank test
Wilcoxon signed rank testWilcoxon signed rank test
Wilcoxon signed rank testBiswash Sapkota
 
non parametric statistics
non parametric statisticsnon parametric statistics
non parametric statisticsAnchal Garg
 

Was ist angesagt? (20)

NULL AND ALTERNATIVE HYPOTHESIS.pptx
NULL AND ALTERNATIVE HYPOTHESIS.pptxNULL AND ALTERNATIVE HYPOTHESIS.pptx
NULL AND ALTERNATIVE HYPOTHESIS.pptx
 
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
 
Statistical tests of significance and Student`s T-Test
Statistical tests of significance and Student`s T-TestStatistical tests of significance and Student`s T-Test
Statistical tests of significance and Student`s T-Test
 
Non parametric test
Non parametric testNon parametric test
Non parametric test
 
Anova ppt
Anova pptAnova ppt
Anova ppt
 
Non parametric tests
Non parametric testsNon parametric tests
Non parametric tests
 
Null hypothesis AND ALTERNAT HYPOTHESIS
Null hypothesis AND ALTERNAT HYPOTHESISNull hypothesis AND ALTERNAT HYPOTHESIS
Null hypothesis AND ALTERNAT HYPOTHESIS
 
P value
P valueP value
P value
 
Chi -square test
Chi -square testChi -square test
Chi -square test
 
NON-PARAMETRIC TESTS by Prajakta Sawant
NON-PARAMETRIC TESTS by Prajakta SawantNON-PARAMETRIC TESTS by Prajakta Sawant
NON-PARAMETRIC TESTS by Prajakta Sawant
 
Test of significance
Test of significanceTest of significance
Test of significance
 
The t test
The t testThe t test
The t test
 
t distribution, paired and unpaired t-test
t distribution, paired and unpaired t-testt distribution, paired and unpaired t-test
t distribution, paired and unpaired t-test
 
Test of hypothesis test of significance
Test of hypothesis test of significanceTest of hypothesis test of significance
Test of hypothesis test of significance
 
Testing of hypotheses
Testing of hypothesesTesting of hypotheses
Testing of hypotheses
 
Non-Parametric Tests
Non-Parametric TestsNon-Parametric Tests
Non-Parametric Tests
 
F test and ANOVA
F test and ANOVAF test and ANOVA
F test and ANOVA
 
Wilcoxon signed rank test
Wilcoxon signed rank testWilcoxon signed rank test
Wilcoxon signed rank test
 
non parametric statistics
non parametric statisticsnon parametric statistics
non parametric statistics
 

Andere mochten auch

Classroom actions
Classroom actionsClassroom actions
Classroom actionsSara
 
Introduction to t-tests (statistics)
Introduction to t-tests (statistics)Introduction to t-tests (statistics)
Introduction to t-tests (statistics)Dr Bryan Mills
 
Linear correlation
Linear correlationLinear correlation
Linear correlationTech_MX
 
correlation_and_covariance
correlation_and_covariancecorrelation_and_covariance
correlation_and_covarianceEkta Doger
 
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
 
Dissolution f1 and f2 Analysis and IVIVC
Dissolution f1 and f2 Analysis and IVIVCDissolution f1 and f2 Analysis and IVIVC
Dissolution f1 and f2 Analysis and IVIVCCipla Pharmaceuticals
 
Ab1 Avaliação Inglês 7 ano
Ab1 Avaliação Inglês 7 anoAb1 Avaliação Inglês 7 ano
Ab1 Avaliação Inglês 7 anoMuller Lima
 
Correlation
CorrelationCorrelation
CorrelationTech_MX
 
Sales budget ,forcasting and control
Sales budget ,forcasting and controlSales budget ,forcasting and control
Sales budget ,forcasting and controljack99
 
Correlation and regression
Correlation and regressionCorrelation and regression
Correlation and regressionKhalid Aziz
 
Hypothesis testing ppt final
Hypothesis testing ppt finalHypothesis testing ppt final
Hypothesis testing ppt finalpiyushdhaker
 

Andere mochten auch (20)

Chi square test
Chi square testChi square test
Chi square test
 
Chi square test
Chi square testChi square test
Chi square test
 
Classroom actions
Classroom actionsClassroom actions
Classroom actions
 
Introduction to t-tests (statistics)
Introduction to t-tests (statistics)Introduction to t-tests (statistics)
Introduction to t-tests (statistics)
 
Linear correlation
Linear correlationLinear correlation
Linear correlation
 
correlation_and_covariance
correlation_and_covariancecorrelation_and_covariance
correlation_and_covariance
 
Correlation continued
Correlation continuedCorrelation continued
Correlation continued
 
Chi squared test
Chi squared testChi squared test
Chi squared 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
 
Stat
StatStat
Stat
 
Pradip ppt
Pradip pptPradip ppt
Pradip ppt
 
Diffusion ppt ak
Diffusion ppt akDiffusion ppt ak
Diffusion ppt ak
 
Chi square test
Chi square test Chi square test
Chi square test
 
Dissolution f1 and f2 Analysis and IVIVC
Dissolution f1 and f2 Analysis and IVIVCDissolution f1 and f2 Analysis and IVIVC
Dissolution f1 and f2 Analysis and IVIVC
 
Ab1 Avaliação Inglês 7 ano
Ab1 Avaliação Inglês 7 anoAb1 Avaliação Inglês 7 ano
Ab1 Avaliação Inglês 7 ano
 
Correlation
CorrelationCorrelation
Correlation
 
Diffusion
DiffusionDiffusion
Diffusion
 
Sales budget ,forcasting and control
Sales budget ,forcasting and controlSales budget ,forcasting and control
Sales budget ,forcasting and control
 
Correlation and regression
Correlation and regressionCorrelation and regression
Correlation and regression
 
Hypothesis testing ppt final
Hypothesis testing ppt finalHypothesis testing ppt final
Hypothesis testing ppt final
 

Ähnlich wie Student t-test

Studentt test2-120315062933-phpapp02
Studentt test2-120315062933-phpapp02Studentt test2-120315062933-phpapp02
Studentt test2-120315062933-phpapp02Tamash Majumdar
 
Studentt test2-120315062933-phpapp02
Studentt test2-120315062933-phpapp02Studentt test2-120315062933-phpapp02
Studentt test2-120315062933-phpapp02Sutanu Kandar
 
Day 12 t test for dependent samples and single samples pdf
Day 12 t test for dependent samples and single samples pdfDay 12 t test for dependent samples and single samples pdf
Day 12 t test for dependent samples and single samples pdfElih Sutisna Yanto
 
Research methodology module 3
Research methodology module 3Research methodology module 3
Research methodology module 3Satyajit Behera
 
T Test For Two Independent Samples
T Test For Two Independent SamplesT Test For Two Independent Samples
T Test For Two Independent Samplesshoffma5
 
statiscs and probability math college to help student
statiscs and probability math college  to help studentstatiscs and probability math college  to help student
statiscs and probability math college to help studentcharlezeannprodonram
 
Ch6 Testing the Difference between Means, Variances
Ch6 Testing the Difference between Means, VariancesCh6 Testing the Difference between Means, Variances
Ch6 Testing the Difference between Means, VariancesFarhan Alfin
 
Testing a claim about a standard deviation or variance
Testing a claim about a standard deviation or variance  Testing a claim about a standard deviation or variance
Testing a claim about a standard deviation or variance Long Beach City College
 
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
 
Statistics practice for finalBe sure to review the following.docx
Statistics practice for finalBe sure to review the following.docxStatistics practice for finalBe sure to review the following.docx
Statistics practice for finalBe sure to review the following.docxdessiechisomjj4
 
Analyzing experimental research data
Analyzing experimental research dataAnalyzing experimental research data
Analyzing experimental research dataAtula Ahuja
 

Ähnlich wie Student t-test (20)

Studentt test2-120315062933-phpapp02
Studentt test2-120315062933-phpapp02Studentt test2-120315062933-phpapp02
Studentt test2-120315062933-phpapp02
 
Studentt test2-120315062933-phpapp02
Studentt test2-120315062933-phpapp02Studentt test2-120315062933-phpapp02
Studentt test2-120315062933-phpapp02
 
Standard deviation
Standard deviationStandard deviation
Standard deviation
 
Chapter 9
Chapter 9Chapter 9
Chapter 9
 
Two variances or standard deviations
Two variances or standard deviations  Two variances or standard deviations
Two variances or standard deviations
 
Two dependent samples (matched pairs)
Two dependent samples (matched pairs) Two dependent samples (matched pairs)
Two dependent samples (matched pairs)
 
Unit-5.-t-test.ppt
Unit-5.-t-test.pptUnit-5.-t-test.ppt
Unit-5.-t-test.ppt
 
Ttest
TtestTtest
Ttest
 
Day 12 t test for dependent samples and single samples pdf
Day 12 t test for dependent samples and single samples pdfDay 12 t test for dependent samples and single samples pdf
Day 12 t test for dependent samples and single samples pdf
 
Research methodology module 3
Research methodology module 3Research methodology module 3
Research methodology module 3
 
T Test For Two Independent Samples
T Test For Two Independent SamplesT Test For Two Independent Samples
T Test For Two 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
 
statiscs and probability math college to help student
statiscs and probability math college  to help studentstatiscs and probability math college  to help student
statiscs and probability math college to help student
 
Ch6 Testing the Difference between Means, Variances
Ch6 Testing the Difference between Means, VariancesCh6 Testing the Difference between Means, Variances
Ch6 Testing the Difference between Means, Variances
 
Testing a claim about a standard deviation or variance
Testing a claim about a standard deviation or variance  Testing a claim about a standard deviation or variance
Testing a claim about a standard deviation or variance
 
LECTURE 3.1.pdf
LECTURE 3.1.pdfLECTURE 3.1.pdf
LECTURE 3.1.pdf
 
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)
 
Statistics practice for finalBe sure to review the following.docx
Statistics practice for finalBe sure to review the following.docxStatistics practice for finalBe sure to review the following.docx
Statistics practice for finalBe sure to review the following.docx
 
Analyzing experimental research data
Analyzing experimental research dataAnalyzing experimental research data
Analyzing experimental research data
 

Mehr von Steve Bishop

Cognitive load theory
Cognitive load theoryCognitive load theory
Cognitive load theorySteve Bishop
 
Blockbusters #soccd
Blockbusters #soccdBlockbusters #soccd
Blockbusters #soccdSteve Bishop
 
Blockbusters template
Blockbusters templateBlockbusters template
Blockbusters templateSteve Bishop
 
Blockbusters #socfam
Blockbusters #socfamBlockbusters #socfam
Blockbusters #socfamSteve Bishop
 
2.6 acids bases and salts
2.6 acids bases and salts2.6 acids bases and salts
2.6 acids bases and saltsSteve Bishop
 
C2.5 exothermic and endothermic reactions
C2.5 exothermic and endothermic reactionsC2.5 exothermic and endothermic reactions
C2.5 exothermic and endothermic reactionsSteve Bishop
 
C2.3.3 quantitative chemistry
C2.3.3 quantitative chemistryC2.3.3 quantitative chemistry
C2.3.3 quantitative chemistrySteve Bishop
 
C2.2 how structure influences
C2.2 how structure influencesC2.2 how structure influences
C2.2 how structure influencesSteve Bishop
 
C2.1 structure and bonding
C2.1 structure and bondingC2.1 structure and bonding
C2.1 structure and bondingSteve Bishop
 
C2.1 structure and bonding
C2.1 structure and bondingC2.1 structure and bonding
C2.1 structure and bondingSteve Bishop
 
B2.7 meiosis and mitosis
B2.7 meiosis and mitosisB2.7 meiosis and mitosis
B2.7 meiosis and mitosisSteve Bishop
 
B2.7 genetic disorders
B2.7 genetic disordersB2.7 genetic disorders
B2.7 genetic disordersSteve Bishop
 
B2.7 cell division and inheritance
B2.7 cell division and inheritanceB2.7 cell division and inheritance
B2.7 cell division and inheritanceSteve Bishop
 
B2.5 proteins enzymes
B2.5 proteins enzymesB2.5 proteins enzymes
B2.5 proteins enzymesSteve Bishop
 
Aerobic & anaerobic respiration
Aerobic & anaerobic respirationAerobic & anaerobic respiration
Aerobic & anaerobic respirationSteve Bishop
 
B1.4 pollution detectors
B1.4 pollution detectorsB1.4 pollution detectors
B1.4 pollution detectorsSteve Bishop
 
B1.4 plants adaptation
B1.4 plants adaptationB1.4 plants adaptation
B1.4 plants adaptationSteve Bishop
 
B1.4 animals adaptations
B1.4 animals adaptationsB1.4 animals adaptations
B1.4 animals adaptationsSteve Bishop
 

Mehr von Steve Bishop (20)

Cognitive load theory
Cognitive load theoryCognitive load theory
Cognitive load theory
 
Blockbusters #soccd
Blockbusters #soccdBlockbusters #soccd
Blockbusters #soccd
 
Blockbusters template
Blockbusters templateBlockbusters template
Blockbusters template
 
Blockbusters #socfam
Blockbusters #socfamBlockbusters #socfam
Blockbusters #socfam
 
2.6 acids bases and salts
2.6 acids bases and salts2.6 acids bases and salts
2.6 acids bases and salts
 
C2.5 exothermic and endothermic reactions
C2.5 exothermic and endothermic reactionsC2.5 exothermic and endothermic reactions
C2.5 exothermic and endothermic reactions
 
C2.3.3 quantitative chemistry
C2.3.3 quantitative chemistryC2.3.3 quantitative chemistry
C2.3.3 quantitative chemistry
 
C2.2 how structure influences
C2.2 how structure influencesC2.2 how structure influences
C2.2 how structure influences
 
C2.1 structure and bonding
C2.1 structure and bondingC2.1 structure and bonding
C2.1 structure and bonding
 
C2.1 structure and bonding
C2.1 structure and bondingC2.1 structure and bonding
C2.1 structure and bonding
 
B2.8 speciation
B2.8 speciationB2.8 speciation
B2.8 speciation
 
B2.7 meiosis and mitosis
B2.7 meiosis and mitosisB2.7 meiosis and mitosis
B2.7 meiosis and mitosis
 
B2.7 genetic disorders
B2.7 genetic disordersB2.7 genetic disorders
B2.7 genetic disorders
 
B2.7 cell division and inheritance
B2.7 cell division and inheritanceB2.7 cell division and inheritance
B2.7 cell division and inheritance
 
B2.5 proteins enzymes
B2.5 proteins enzymesB2.5 proteins enzymes
B2.5 proteins enzymes
 
Aerobic & anaerobic respiration
Aerobic & anaerobic respirationAerobic & anaerobic respiration
Aerobic & anaerobic respiration
 
B1.4 red v grey
B1.4 red v greyB1.4 red v grey
B1.4 red v grey
 
B1.4 pollution detectors
B1.4 pollution detectorsB1.4 pollution detectors
B1.4 pollution detectors
 
B1.4 plants adaptation
B1.4 plants adaptationB1.4 plants adaptation
B1.4 plants adaptation
 
B1.4 animals adaptations
B1.4 animals adaptationsB1.4 animals adaptations
B1.4 animals adaptations
 

Kürzlich hochgeladen

Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxnegromaestrong
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701bronxfugly43
 
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-IIFood Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-IIShubhangi Sonawane
 
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
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
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
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...Poonam Aher Patil
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Shubhangi Sonawane
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 
Role Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptxRole Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptxNikitaBankoti2
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin ClassesCeline George
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 

Kürzlich hochgeladen (20)

Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-IIFood Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
 
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
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
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
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Role Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptxRole Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptx
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 

Student t-test

  • 1. Student t-test Unit 8 strand
  • 2. Student‟s t-test “Student” was W. S. Gossett. He published his test anonymously as „Student‟ because he was working for the brewer‟s Guinness and had to keep the fact they were suing statistics a secret
  • 3. Student‟s t-test The test is used to compare samples from two different batches. It is usually used with small (<30) samples that are normally distributed.
  • 4. There are two types of t-test: Matched pairs and independent pairs If there is some link between the data then use the matched pairs test (eg a „before‟ and „after‟) If there is no link between the data then use the independent pairs test
  • 5. Question In an investigation to determine the effectiveness of sequencing of fingerprints 10 prints are taken enhanced with DFO and then with ninhydrin. The points of detail at each stage are recorded. Is there a difference at the 95% confidence level? DFO 8 12 11 6 9 11 7 8 10 9 DFO+ 10 15 12 6 13 14 9 9 15 12 ninhydrin
  • 6. t-test for matched pairs 1. Set up the null and alternative hypothesis:
  • 7. t-test for matched pairs 1. Set up the null and alternative hypothesis: H0 there is no difference in the number of minutae when using ninhydrin HA there are more minutae observed after the enhancement of ninhydrin.
  • 8. t-test for matched pairs 1. Set up the null and alternative hypothesis: H0 there is no difference in the number of minutae when using ninhydrin HA there are more minutae observed after the enhancement of ninhydrin. This is a one-tail test. We are testing at the 95% or 5% (0.05) level
  • 9. t-test for matched pairs 1. Set up the null and alternative hypothesis 2. Calculate the difference between the pairs in the sample
  • 10. t-test for matched pairs 1. Set up the null and alternative hypothesis 2. Calculate the difference between the pairs in the sample DFO 8 12 11 6 9 11 7 8 10 9 DFO+ninhydrin 10 15 12 6 13 14 9 9 15 12 Difference (D)
  • 11. t-test for matched pairs 1. Set up the null and alternative hypothesis 2. Calculate the difference between the pairs in the sample DFO 8 12 11 6 9 11 7 8 10 9 Total DFO+ninhydrin 10 15 12 6 13 14 9 9 15 12 Difference (D) 2 3 1 0 4 3 2 1 5 3 24
  • 12. t-test for matched pairs 1. Set up the null and alternative hypothesis 2. Calculate the difference between the pairs in the sample 3. Calculate the mean of the differences
  • 13. t-test for matched pairs 1. Set up the null and alternative hypothesis 2. Calculate the difference between the pairs in the sample 3. Calculate the mean of the differences = 2.4
  • 14. t-test for matched pairs 1. Set up the null and alternative hypothesis 2. Calculate the difference between the pairs in the sample 3. Calculate the mean of the differences = 2.4
  • 15. t-test for matched pairs 1. Set up the null and alternative hypothesis 2. Calculate the difference between the pairs in the sample 3. Calculate the mean of the differences 4. Calculate the standard deviation of the difference
  • 16. t-test for matched pairs 1. Set up the null and alternative hypothesis 2. Calculate the difference between the pairs in the sample 3. Calculate the mean of the differences 4. Calculate the standard deviation of the difference
  • 17. t-test for matched pairs 1. Set up the null and alternative hypothesis 2. Calculate the difference between the pairs in the sample 3. Calculate the mean of the differences 4. Calculate the standard deviation of the difference = 1.51
  • 18. t-test for matched pairs 1. Set up the null and alternative hypothesis 2. Calculate the difference between the pairs in the sample 3. Calculate the mean of the differences 4. Calculate the standard deviation of the difference 5. Calculate the standard error
  • 19. t-test for matched pairs 1. Set up the null and alternative hypothesis 2. Calculate the difference between the pairs in the sample 3. Calculate the mean of the differences 4. Calculate the standard deviation of the difference 5. Calculate the standard error
  • 20. t-test for matched pairs 1. Set up the null and alternative hypothesis 2. Calculate the difference between the pairs in the sample 3. Calculate the mean of the differences 4. Calculate the standard deviation of the difference 5. Calculate the standard error = = 0.478
  • 21. t-test for matched pairs 1. Set up the null and alternative hypothesis 2. Calculate the difference between the pairs in the sample 3. Calculate the mean of the differences 4. Calculate the standard deviation of the difference 5. Calculate the standard error 6. Calculate the value of t
  • 22. t-test for matched pairs 1. Set up the null and alternative hypothesis 2. Calculate the difference between the pairs in the sample 3. Calculate the mean of the differences 4. Calculate the standard deviation of the difference 5. Calculate the standard error 6. Calculate the value of t
  • 23. t-test for matched pairs 1. Set up the null and alternative hypothesis 2. Calculate the difference between the pairs in the sample 3. Calculate the mean of the differences 4. Calculate the standard deviation of the difference 5. Calculate the standard error 6. Calculate the value of t = = 5.0
  • 24. t-test for matched pairs 1. Set up the null and alternative hypothesis 2. Calculate the difference between the pairs in the sample 3. Calculate the mean of the differences 4. Calculate the standard deviation of the difference 5. Calculate the standard error 6. Calculate the value of t 7. Calculate the number of degrees of freedom (DoF) and find the critical value
  • 25. t-test for matched pairs 1. Set up the null and alternative hypothesis 2. Calculate the difference between the pairs in the sample 3. Calculate the mean of the differences 4. Calculate the standard deviation of the difference 5. Calculate the standard error 6. Calculate the value of t 7. Calculate the number of degrees of freedom (DoF) and find the critical value DoF = No of pairs of data – 1
  • 26. t-test for matched pairs 1. Set up the null and alternative hypothesis 2. Calculate the difference between the pairs in the sample 3. Calculate the mean of the differences 4. Calculate the standard deviation of the difference 5. Calculate the standard error 6. Calculate the value of t 7. Calculate the number of degrees of freedom (DoF) and find the critical value DoF = No of pairs of data – 1 =n–1 10-1 = 9
  • 27. t-test for matched pairs 1. Set up the null and alternative hypothesis 2. Calculate the difference between the pairs in the sample 3. Calculate the mean of the differences 4. Calculate the standard deviation of the difference 5. Calculate the standard error 6. Calculate the value of t 7. Calculate the number of degrees of freedom (DoF) and 8. find the critical value
  • 28. t-test for matched pairs 1. Set up the null and alternative hypothesis 2. Calculate the difference between the pairs in the sample 3. Calculate the mean of the differences 4. Calculate the standard deviation of the difference 5. Calculate the standard error 6. Calculate the value of t 7. Calculate the number of degrees of freedom (DoF) and 8. find the critical value
  • 29. t-test for matched pairs 1. Set up the null and alternative hypothesis 2. Calculate the difference between the pairs in the sample 3. Calculate the mean of the differences 4. Calculate the standard deviation of the difference 5. Calculate the standard error 6. Calculate the value of t 7. Calculate the number of degrees of freedom (DoF) and 8. find the critical value
  • 30. t-test for matched pairs 1. Set up the null and alternative hypothesis 2. Calculate the difference between the pairs in the sample 3. Calculate the mean of the differences 4. Calculate the standard deviation of the difference 5. Calculate the standard error 6. Calculate the value of t 7. Calculate the number of degrees of freedom (DoF) and 8. find the critical value
  • 31. t-test for matched pairs 1. Set up the null and alternative hypothesis 2. Calculate the difference between the pairs in the sample 3. Calculate the mean of the differences 4. Calculate the standard deviation of the difference 5. Calculate the standard error 6. Calculate the value of t 7. Calculate the number of degrees of freedom (DoF) and 8. find the critical value
  • 32. t-test for matched pairs 1. Set up the null and alternative hypothesis 2. Calculate the difference between the pairs in the sample 3. Calculate the mean of the differences 4. Calculate the standard deviation of the difference 5. Calculate the standard error 6. Calculate the value of t 7. Calculate the number of degrees of freedom (DoF) and 8. find the critical value 9. Determine if there is a difference or not
  • 33. t-test for matched pairs 1. Set up the null and alternative hypothesis 2. Calculate the difference between the pairs in the sample 3. Calculate the mean of the differences 4. Calculate the standard deviation of the difference 5. Calculate the standard error 6. Calculate the value of t 7. Calculate the number of degrees of freedom (DoF) and 8. find the critical value 9. Determine if there is a difference or not
  • 34. t-test for matched pairs 1. Set up the null and alternative hypothesis 2. Calculate the difference between the pairs in the sample 3. Calculate the mean of the differences 4. Calculate the standard deviation of the difference 5. Calculate the standard error 6. Calculate the value of t 7. Calculate the number of degrees of freedom (DoF) and 8. find the critical value 9. Determine if there is a difference or not t > tcritical (5.0 > 1.833)
  • 35. t-test for matched pairs 1. Set up the null and alternative hypothesis 2. Calculate the difference between the pairs in the sample 3. Calculate the mean of the differences 4. Calculate the standard deviation of the difference 5. Calculate the standard error 6. Calculate the value of t 7. Calculate the number of degrees of freedom (DoF) and 8. find the critical value 9. Determine if there is a difference or not t > tcritical (5.0 > 1.833) So, the null hypothesis is rejected and the alternative hypothesis is accepted. The ninhydrin does make a positive difference
  • 36. t-test independent samples If there is no before and after relationship between the samples then the independent samples test is used.
  • 37. t-test independent samples If there is no before and after relationship between the samples then the independent samples test is used.
  • 38. t-test independent samples Example Some brown dog hairs were found on the clothing of a victim at a crime scene involving a dog. The five of the hairs were measured: 46, 57, 54, 51, 38 μm. A suspect is the owner of a dog with similar brown hairs. A sample of the hairs has been taken and their widths measured: 31, 35, 50, 35, 36 μm. Is it possible that the hairs found on the victim were left by the suspect‟s dog? Test at the %5 level. [From D. Lucy Introduction to Statistics for Forensic Scientists Chichester: Wiley, 2005 p. 44.]
  • 39. t-test independent samples 1. Calculate the mean and standard deviation for the data sets
  • 40. t-test independent samples 1. Calculate the mean and standard deviation for the data sets Dog A Dog B 46 31 57 35 54 50 51 35 38 36 Total Mean Standard deviation
  • 41. t-test independent samples 1. Calculate the mean and standard deviation for the data sets Dog A Dog B 46 31 57 35 54 50 51 35 38 36 Total 246 187 Mean 49.2 37.4 Standard 7.463 7.301 deviation
  • 42. t-test independent samples 1. Calculate the mean and standard deviation for the data sets . 2. Calculate the magnitude of the difference between the two means 49.2 – 37.4 = 11.8
  • 43. t-test independent samples 1. Calculate the mean and standard deviation for the data sets . 2. Calculate the magnitude of the difference between the two means 3. Calculate the standard error in the difference
  • 44. t-test independent samples 1. Calculate the mean and standard deviation for the data sets . 2. Calculate the magnitude of the difference between the two means.│ 3. Calculate the standard error in the difference
  • 45. t-test independent samples 1. Calculate the mean and standard deviation for the data sets . 2. Calculate the magnitude of the difference between the two means 3. Calculate the standard error in the difference = = 4.669 ≈ 4.67 (3 sf)
  • 46. t-test independent samples 1. Calculate the mean and standard deviation for the data sets . 2. Calculate the magnitude of the difference between the two means 3. Calculate the standard error in the difference 4. Calculate the value of t
  • 47. t-test independent samples 1. Calculate the mean and standard deviation for the data sets . 2. Calculate the magnitude of the difference between the two means 3. Calculate the standard error in the difference 4. Calculate the value of t: t = difference between the means ÷ standard error in the difference
  • 48. t-test independent samples 1. Calculate the mean and standard deviation for the data sets . 2. Calculate the magnitude of the difference between the two means 3. Calculate the standard error in the difference 4. Calculate the value of t: t = difference between the means ÷ standard error in the difference 11.8 4.669 = 2.527 ≈ 2.53 (3 sig fig)
  • 49. t-test independent samples 1. Calculate the mean and standard deviation for the data sets . 2. Calculate the magnitude of the difference between the two means 3. Calculate the standard error in the difference 4. Calculate the value of t: 5. Calculate the degrees of freedom
  • 50. t-test independent samples 1. Calculate the mean and standard deviation for the data sets . 2. Calculate the magnitude of the difference between the two means 3. Calculate the standard error in the difference 4. Calculate the value of t: 5. Calculate the degrees of freedom = n1 + n2 - 2
  • 51. t-test independent samples 1. Calculate the mean and standard deviation for the data sets . 2. Calculate the magnitude of the difference between the two means 3. Calculate the standard error in the difference 4. Calculate the value of t: 5. Calculate the degrees of freedom = n1 + n2 - 2 5+5 -2=8
  • 52. t-test independent samples 1. Calculate the mean and standard deviation for the data sets . 2. Calculate the magnitude of the difference between the two means 3. Calculate the standard error in the difference 4. Calculate the value of t: 5. Calculate the degrees of freedom 6. Find the critical value for the particular significance you are working to from the table
  • 53. t-test independent samples 1. Calculate the mean and standard deviation for the data sets . 2. Calculate the magnitude of the difference between the two means 3. Calculate the standard error in the difference 4. Calculate the value of t: 5. Calculate the degrees of freedom 6. Find the critical value for the particular significance you are working to from the table
  • 54. t-test independent samples 1. Calculate the mean and standard deviation for the data sets . 2. Calculate the magnitude of the difference between the two means 3. Calculate the standard error in the difference 4. Calculate the value of t: 5. Calculate the degrees of freedom 6. Find the critical value for the particular significance you are working to and find the critical value from the table
  • 55. t-test independent samples 1. Calculate the mean and standard deviation for the data sets . 2. Calculate the magnitude of the difference between the two means 3. Calculate the standard error in the difference 4. Calculate the value of t: 5. Calculate the degrees of freedom 6. Find the critical value for the particular significance you are working to and find the critical value from the table
  • 56. t-test independent samples 1. Calculate the mean and standard deviation for the data sets . 2. Calculate the magnitude of the difference between the two means 3. Calculate the standard error in the difference 4. Calculate the value of t: 5. Calculate the degrees of freedom 6. Find the critical value for the particular significance you are working to from the table At the 0.05 level tcrit = 2.306
  • 57. t-test independent samples 1. Calculate the mean and standard deviation for the data sets . 2. Calculate the magnitude of the difference between the two means 3. Calculate the standard error in the difference 4. Calculate the value of t: 5. Calculate the degrees of freedom 6. Find the critical value for the particular significance you are working to and find the critical value from the table If t < critical value then there is no significant difference between the two sets of data If t > critical value then there is a significant difference between the two sets of data
  • 58. t-test independent samples 1. Calculate the mean and standard deviation for the data sets . 2. Calculate the magnitude of the difference between the two means 3. Calculate the standard error in the difference 4. Calculate the value of t: 5. Calculate the degrees of freedom 6. Find the critical value for the particular significance you are working to and find the critical value from the table If t < critical value then there is no significant difference between the two sets of data If t > critical value then there is a significant difference between the two sets of data So, at 0.05 level there is a significant difference between the two data sets. So it could not come from the same dog.
  • 59. t-test independent samples 1. Calculate the mean and standard deviation for the data sets . 2. Calculate the magnitude of the difference between the two means 3. Calculate the standard error in the difference 4. Calculate the value of t: 5. Calculate the degrees of freedom 6. Find the critical value for the particular significance you are working to and find the critical value from the table
  • 60. t-test independent samples Group A Group B . (leading questions) (control) 2 3 3 5 4 0 4 3 2 4 4 0 3
  • 61. t-test independent samples Group A Group B . (leading questions) (control) 2 3 3 5 4 0 4 3 2 4 4 0 3 Mean = 3.143 Mean = 2.50 SD= 0.8997 SD = 2.07
  • 62. t-test independent samples Group A Group B . (leading questions) (control) 2 3 3 5 4 0 4 3 2 4 Diff of means 4 0 = 0.64 3 SE of diff = 0.861 Mean = 3.143 Mean = 2.50 DoF = 11 SD= 0.8997 SD = 2.07 t = 0.7433
  • 63. t-test independent samples . DoF = 11 t = 0.7433
  • 64. t-test independent samples . DoF = 11 t = 0.7433
  • 65. t-test independent samples . DoF = 11 t = 0.7433 t < tcritical at 5% level, 2-tail There is no significant difference between the data test