SlideShare uma empresa Scribd logo
1 de 15
STUDENT’S T TEST
USES
• Compare means of 2 samples
• Can be done with different numbers of
replicates
• Compares actual difference between 2 means
in relation to the variation in data
EXAMPLE
• Suppose that we measured the biomass
(milligrams) produced by bacterium A and
bacterium B, in shake flasks containing glucose
as substrate. We had 4 replicate flasks of each
bacterium.
EXAMPLE
Bacterium A Bacterium B
Replicate 1 520 230
Replicate 2 460 270
Replicate 3 500 250
Replicate 4 470 280
PROCEDURE
1. Construct null hypothesis
2. List data for sample 1
3. List data for sample 2
4. Record number of replicates for each sample
(n and n2)
5. Calculate mean of each sample (x1 and x2)
6. Calculate σ² for each sample (variance)
– σ²1 and σ²2
∑ x 1950 1030
Total (= sum of
the 4 replicate
values)
n 4 4
487.5 257.5
Mean (= total /
n)
∑ x2 952900 266700
Sum of the
squares of each
replicate value
(∑ x)2 3802500 1060900
Square of the
total (∑ x). It
is not the same
as ∑x2
950625 265225
7. Calculate variance of the difference between
2 means (σd²)
8. Calculate σd
∑d2 2275 1475
σ² 758.3 491.7 σ² = ∑d2 / (n-1)
= 189.6 + 122.9
= 312.5
sd
2 is the variance of the
difference between the means
σd
= 17.68 = √σd
2 (the standard deviation
of the difference between the
means)
9. Calculate t value (transpose x1 and x2 if x2 > x1
so you get positive values)
10. Use t-table at (n1 + n2 – 2) degrees of
freedom
11.Choose level of significance (p=0.05)
12.Read tabulated table
13. If > p=0.05 the means are significantly
different (null hypothesis (samples do not
differ) is correct)
• Enter table at 6 degrees of freedom (3 for n1 +
3 for n2)
• Tabulated t value of 2.45 (p=0.05)
• Calculated t value exceeds these
• Highly significant difference between means
= 230/17.68 = 13.0
Degrees of Freedom Probability, p
0.1 0.05 0.01 0.001
1 6.31 12.71 63.66 636.62
2 2.92 4.30 9.93 31.60
3 2.35 3.18 5.84 12.92
4 2.13 2.78 4.60 8.61
5 2.02 2.57 4.03 6.87
6 1.94 2.45 3.71 5.96
7 1.89 2.37 3.50 5.41
8 1.86 2.31 3.36 5.04
9 1.83 2.26 3.25 4.78
10 1.81 2.23 3.17 4.59
11 1.80 2.20 3.11 4.44
12 1.78 2.18 3.06 4.32
13 1.77 2.16 3.01 4.22
14 1.76 2.14 2.98 4.14
15 1.75 2.13 2.95 4.07
16 1.75 2.12 2.92 4.02
17 1.74 2.11 2.90 3.97
18 1.73 2.10 2.88 3.92
19 1.73 2.09 2.86 3.88
20 1.72 2.09 2.85 3.85
21 1.72 2.08 2.83 3.82
22 1.72 2.07 2.82 3.79
23 1.71 2.07 2.82 3.77
24 1.71 2.06 2.80 3.75
25 1.71 2.06 2.79 3.73
26 1.71 2.06 2.78 3.71
27 1.70 2.05 2.77 3.69
28 1.70 2.05 2.76 3.67
29 1.70 2.05 2.76 3.66
30 1.70 2.04 2.75 3.65
40 1.68 2.02 2.70 3.55
60 1.67 2.00 2.66 3.46
120 1.66 1.98 2.62 3.37
¥ 1.65 1.96 2.58 3.29
DEGREES OF FREEDOM
• Number of values in the final calculation of
a statistic that are free to vary
• Number of independent ways by which a
dynamical system can move without violating
any constraint imposed on it
IN EXCEL
Replicate Bacterium A Bacterium B
1 520 230
2 460 270
3 500 250
4 470 280
t-Test: Two-Sample Assuming Equal Variances
Bacterium A Bacterium B
Mean 487.5 257.5
Variance 758.3333 491.6667
Observations 4 4
Pooled Variance 625
Hypothesized
Mean
Difference
0 (The test will "ask" what is the probability
of obtaining our given results by chance if
there is no difference between the
population means?)
df 6
t Stat 13.01076 (This shows the t value calculated from
the data)
P(T<=t) one-
tail
6.35E-06
t Critical one-
tail
1.943181
P(T<=t) two-
tail
1.27E-05 (This shows the probability of getting our
calculated t value by chance alone. That
probability is extremely low, so the means
are significantly different)
t Critical two-
tail
2.446914 (This shows the t value that we would
need to exceed in order for the difference
between the means to be significant at
the 5% level)

Mais conteúdo relacionado

Mais procurados (20)

Student t test
Student t testStudent t test
Student t test
 
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
 
Parametric & non parametric
Parametric & non parametricParametric & non parametric
Parametric & non parametric
 
Confidence Intervals
Confidence IntervalsConfidence Intervals
Confidence Intervals
 
T test
T testT test
T test
 
Brm (one tailed and two tailed hypothesis)
Brm (one tailed and two tailed hypothesis)Brm (one tailed and two tailed hypothesis)
Brm (one tailed and two tailed hypothesis)
 
Student's T test distributions & its Applications
Student's T test distributions & its Applications Student's T test distributions & its Applications
Student's T test distributions & its Applications
 
Parametric vs Non-Parametric
Parametric vs Non-ParametricParametric vs Non-Parametric
Parametric vs Non-Parametric
 
non parametric statistics
non parametric statisticsnon parametric statistics
non parametric statistics
 
The Chi Square Test
The Chi Square TestThe Chi Square Test
The Chi Square Test
 
Student's t test
Student's t testStudent's t test
Student's t test
 
Hypothesis testing, error and bias
Hypothesis testing, error and biasHypothesis testing, error and bias
Hypothesis testing, error and bias
 
What is chi square test
What  is  chi square testWhat  is  chi square test
What is chi square test
 
Regression ppt
Regression pptRegression ppt
Regression ppt
 
Null hypothesis
Null hypothesisNull hypothesis
Null hypothesis
 
Parametric test
Parametric testParametric test
Parametric test
 
Optimization techniques
Optimization techniquesOptimization techniques
Optimization techniques
 
Non parametric tests
Non parametric testsNon parametric tests
Non parametric tests
 
Statistics - ONE WAY ANOVA
Statistics - ONE WAY ANOVAStatistics - ONE WAY ANOVA
Statistics - ONE WAY ANOVA
 
Goodness Of Fit Test
Goodness Of Fit TestGoodness Of Fit Test
Goodness Of Fit Test
 

Destaque

Destaque (20)

T test
T testT test
T test
 
Student t-test
Student t-testStudent t-test
Student t-test
 
Introduction to t-tests (statistics)
Introduction to t-tests (statistics)Introduction to t-tests (statistics)
Introduction to t-tests (statistics)
 
Z scores
Z scoresZ scores
Z scores
 
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
 
Hypothesis testing; z test, t-test. f-test
Hypothesis testing; z test, t-test. f-testHypothesis testing; z test, t-test. f-test
Hypothesis testing; z test, t-test. f-test
 
Student t t est
Student t t estStudent t t est
Student t t est
 
Urea cycle2
Urea cycle2Urea cycle2
Urea cycle2
 
Urea synthesis
Urea synthesisUrea synthesis
Urea synthesis
 
Nerve Impulse
Nerve ImpulseNerve Impulse
Nerve Impulse
 
Genomics and proteomics I
Genomics and proteomics IGenomics and proteomics I
Genomics and proteomics I
 
Comparative genomics and proteomics
Comparative genomics and proteomicsComparative genomics and proteomics
Comparative genomics and proteomics
 
Z And T Tests
Z And T TestsZ And T Tests
Z And T Tests
 
Urea cycle for Medical students Dr veerendra
Urea cycle for Medical students  Dr veerendraUrea cycle for Medical students  Dr veerendra
Urea cycle for Medical students Dr veerendra
 
Z scores
Z scoresZ scores
Z scores
 
Student's t-test
Student's t-testStudent's t-test
Student's t-test
 
Guidelines For Writing A Critique
Guidelines For Writing A CritiqueGuidelines For Writing A Critique
Guidelines For Writing A Critique
 
Guidelines for preparing powerpoint presentations
Guidelines for preparing powerpoint presentationsGuidelines for preparing powerpoint presentations
Guidelines for preparing powerpoint presentations
 
EXPERIMENTAL EPIDEMIOLOGY
EXPERIMENTAL EPIDEMIOLOGYEXPERIMENTAL EPIDEMIOLOGY
EXPERIMENTAL EPIDEMIOLOGY
 
Counter current mechanism
Counter current mechanismCounter current mechanism
Counter current mechanism
 

Semelhante a Student’s t test

Workshop 4
Workshop 4Workshop 4
Workshop 4eeetq
 
1 FACULTY OF SCIENCE AND ENGINEERING SCHOOL OF COMPUT.docx
1  FACULTY OF SCIENCE AND ENGINEERING SCHOOL OF COMPUT.docx1  FACULTY OF SCIENCE AND ENGINEERING SCHOOL OF COMPUT.docx
1 FACULTY OF SCIENCE AND ENGINEERING SCHOOL OF COMPUT.docxmercysuttle
 
Statistics-Measures of dispersions
Statistics-Measures of dispersionsStatistics-Measures of dispersions
Statistics-Measures of dispersionsCapricorn
 
Quantitative Analysis for Emperical Research
Quantitative Analysis for Emperical ResearchQuantitative Analysis for Emperical Research
Quantitative Analysis for Emperical ResearchAmit Kamble
 
eggs_project_interm
eggs_project_intermeggs_project_interm
eggs_project_intermRoopan Verma
 
Development of a test statistic for testing equality of two means under unequ...
Development of a test statistic for testing equality of two means under unequ...Development of a test statistic for testing equality of two means under unequ...
Development of a test statistic for testing equality of two means under unequ...Alexander Decker
 
3.3 Measures of Variation
3.3 Measures of Variation3.3 Measures of Variation
3.3 Measures of Variationmlong24
 
10 ch ken black solution
10 ch ken black solution10 ch ken black solution
10 ch ken black solutionKrunal Shah
 
general chemistry ch1
general  chemistry ch1general  chemistry ch1
general chemistry ch1muhannad amer
 
Chi-square, Yates, Fisher & McNemar
Chi-square, Yates, Fisher & McNemarChi-square, Yates, Fisher & McNemar
Chi-square, Yates, Fisher & McNemarAzmi Mohd Tamil
 
Regression vs Neural Net
Regression vs Neural NetRegression vs Neural Net
Regression vs Neural NetRatul Alahy
 

Semelhante a Student’s t test (20)

Chapter07.pdf
Chapter07.pdfChapter07.pdf
Chapter07.pdf
 
Workshop 4
Workshop 4Workshop 4
Workshop 4
 
Two Means, Independent Samples
Two Means, Independent SamplesTwo Means, Independent Samples
Two Means, Independent Samples
 
1 FACULTY OF SCIENCE AND ENGINEERING SCHOOL OF COMPUT.docx
1  FACULTY OF SCIENCE AND ENGINEERING SCHOOL OF COMPUT.docx1  FACULTY OF SCIENCE AND ENGINEERING SCHOOL OF COMPUT.docx
1 FACULTY OF SCIENCE AND ENGINEERING SCHOOL OF COMPUT.docx
 
Factorial Experiments
Factorial ExperimentsFactorial Experiments
Factorial Experiments
 
Statistics-Measures of dispersions
Statistics-Measures of dispersionsStatistics-Measures of dispersions
Statistics-Measures of dispersions
 
Sampling
SamplingSampling
Sampling
 
Quantitative Analysis for Emperical Research
Quantitative Analysis for Emperical ResearchQuantitative Analysis for Emperical Research
Quantitative Analysis for Emperical Research
 
Two Means Independent Samples
Two Means Independent Samples  Two Means Independent Samples
Two Means Independent Samples
 
Two dependent samples (matched pairs)
Two dependent samples (matched pairs) Two dependent samples (matched pairs)
Two dependent samples (matched pairs)
 
eggs_project_interm
eggs_project_intermeggs_project_interm
eggs_project_interm
 
Development of a test statistic for testing equality of two means under unequ...
Development of a test statistic for testing equality of two means under unequ...Development of a test statistic for testing equality of two means under unequ...
Development of a test statistic for testing equality of two means under unequ...
 
Non Parametric Statistics
Non Parametric StatisticsNon Parametric Statistics
Non Parametric Statistics
 
3.3 Measures of Variation
3.3 Measures of Variation3.3 Measures of Variation
3.3 Measures of Variation
 
10 ch ken black solution
10 ch ken black solution10 ch ken black solution
10 ch ken black solution
 
Linear regression
Linear regressionLinear regression
Linear regression
 
general chemistry ch1
general  chemistry ch1general  chemistry ch1
general chemistry ch1
 
Mech ma6452 snm_notes
Mech ma6452 snm_notesMech ma6452 snm_notes
Mech ma6452 snm_notes
 
Chi-square, Yates, Fisher & McNemar
Chi-square, Yates, Fisher & McNemarChi-square, Yates, Fisher & McNemar
Chi-square, Yates, Fisher & McNemar
 
Regression vs Neural Net
Regression vs Neural NetRegression vs Neural Net
Regression vs Neural Net
 

Último

Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024The Digital Insurer
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 

Último (20)

Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 

Student’s t test

  • 2. USES • Compare means of 2 samples • Can be done with different numbers of replicates • Compares actual difference between 2 means in relation to the variation in data
  • 3. EXAMPLE • Suppose that we measured the biomass (milligrams) produced by bacterium A and bacterium B, in shake flasks containing glucose as substrate. We had 4 replicate flasks of each bacterium.
  • 4. EXAMPLE Bacterium A Bacterium B Replicate 1 520 230 Replicate 2 460 270 Replicate 3 500 250 Replicate 4 470 280
  • 5. PROCEDURE 1. Construct null hypothesis 2. List data for sample 1 3. List data for sample 2 4. Record number of replicates for each sample (n and n2) 5. Calculate mean of each sample (x1 and x2) 6. Calculate σ² for each sample (variance) – σ²1 and σ²2
  • 6. ∑ x 1950 1030 Total (= sum of the 4 replicate values) n 4 4 487.5 257.5 Mean (= total / n) ∑ x2 952900 266700 Sum of the squares of each replicate value (∑ x)2 3802500 1060900 Square of the total (∑ x). It is not the same as ∑x2 950625 265225
  • 7. 7. Calculate variance of the difference between 2 means (σd²) 8. Calculate σd
  • 8. ∑d2 2275 1475 σ² 758.3 491.7 σ² = ∑d2 / (n-1) = 189.6 + 122.9 = 312.5 sd 2 is the variance of the difference between the means σd = 17.68 = √σd 2 (the standard deviation of the difference between the means)
  • 9. 9. Calculate t value (transpose x1 and x2 if x2 > x1 so you get positive values) 10. Use t-table at (n1 + n2 – 2) degrees of freedom 11.Choose level of significance (p=0.05) 12.Read tabulated table 13. If > p=0.05 the means are significantly different (null hypothesis (samples do not differ) is correct)
  • 10. • Enter table at 6 degrees of freedom (3 for n1 + 3 for n2) • Tabulated t value of 2.45 (p=0.05) • Calculated t value exceeds these • Highly significant difference between means = 230/17.68 = 13.0
  • 11. Degrees of Freedom Probability, p 0.1 0.05 0.01 0.001 1 6.31 12.71 63.66 636.62 2 2.92 4.30 9.93 31.60 3 2.35 3.18 5.84 12.92 4 2.13 2.78 4.60 8.61 5 2.02 2.57 4.03 6.87 6 1.94 2.45 3.71 5.96 7 1.89 2.37 3.50 5.41 8 1.86 2.31 3.36 5.04 9 1.83 2.26 3.25 4.78 10 1.81 2.23 3.17 4.59 11 1.80 2.20 3.11 4.44 12 1.78 2.18 3.06 4.32 13 1.77 2.16 3.01 4.22 14 1.76 2.14 2.98 4.14 15 1.75 2.13 2.95 4.07 16 1.75 2.12 2.92 4.02 17 1.74 2.11 2.90 3.97 18 1.73 2.10 2.88 3.92 19 1.73 2.09 2.86 3.88 20 1.72 2.09 2.85 3.85 21 1.72 2.08 2.83 3.82 22 1.72 2.07 2.82 3.79 23 1.71 2.07 2.82 3.77 24 1.71 2.06 2.80 3.75 25 1.71 2.06 2.79 3.73 26 1.71 2.06 2.78 3.71 27 1.70 2.05 2.77 3.69 28 1.70 2.05 2.76 3.67 29 1.70 2.05 2.76 3.66 30 1.70 2.04 2.75 3.65 40 1.68 2.02 2.70 3.55 60 1.67 2.00 2.66 3.46 120 1.66 1.98 2.62 3.37 ¥ 1.65 1.96 2.58 3.29
  • 12. DEGREES OF FREEDOM • Number of values in the final calculation of a statistic that are free to vary • Number of independent ways by which a dynamical system can move without violating any constraint imposed on it
  • 14. Replicate Bacterium A Bacterium B 1 520 230 2 460 270 3 500 250 4 470 280 t-Test: Two-Sample Assuming Equal Variances Bacterium A Bacterium B Mean 487.5 257.5 Variance 758.3333 491.6667 Observations 4 4 Pooled Variance 625 Hypothesized Mean Difference 0 (The test will "ask" what is the probability of obtaining our given results by chance if there is no difference between the population means?) df 6
  • 15. t Stat 13.01076 (This shows the t value calculated from the data) P(T<=t) one- tail 6.35E-06 t Critical one- tail 1.943181 P(T<=t) two- tail 1.27E-05 (This shows the probability of getting our calculated t value by chance alone. That probability is extremely low, so the means are significantly different) t Critical two- tail 2.446914 (This shows the t value that we would need to exceed in order for the difference between the means to be significant at the 5% level)