BIOLOGY FOR LIFE
  • IB Bio Syllabus
    • Unity and Diversity (A) >
      • A1 molecules >
        • A1.1: Water
        • A1.2: Nucleic Acids
      • A2 Cells >
        • A2.1: Origins of Cells
        • A2.2: Cell Structure
        • A2.3: Viruses
      • A3 Organisms >
        • A3.1: Diversity of Organisms
        • A3.2: Classification and Cladistics
      • A4 Ecosystems >
        • A4.1: Evolution and Speciation
        • A4.2: Conservation of Biodiversity
    • Form and Function (B) >
      • B1 Molecules >
        • B1.1: Carbohydrates and Lipids
        • B1.2: Proteins
      • B2 Cells >
        • B2.1 Membranes and Membrane Transport
        • B2.2 Organelles and Compartmentalization
        • B2.3 Cell Specialization
      • B3 Organisms >
        • B3.1 Gas Exchange
        • B3.2 Transport
        • B3.3 Muscle and Motility
      • B4 Ecosystems >
        • B4.1 Adaptation to Environment
        • B4.2 Ecological Niches
    • Interaction and Interdependence (C) >
      • C1 Molecules >
        • C1.1: Enzymes and Metabolism
        • C1.2: Cell Respiration
        • C1.3: Photosynthesis
      • C2 Cells >
        • C2.1: Chemical Signaling
        • C2.2: Neural Signaling
      • C3 Organisms >
        • C3.1: Integration of Body Systems
        • C3.2: Defense Against Disease
      • C4 Ecosystems >
        • C4.1 Populations and Communities
        • C4.2 Transfers of Energy and Matter
    • Continuity and Change (D) >
      • D1 Molecules >
        • D1.1: DNA Replication
        • D1.2: Protein Synthesis
        • D1.3: Mutation and Gene Editing
      • D2 Cells >
        • D2.1: Cell and Nuclear Division
        • D2.2: Gene Expression
        • D2.3: Water Potential
      • D3 Organisms >
        • D3.1: Reproduction
        • D3.2: Inheritance
        • D3.3: Homeostasis
      • D4 Ecosystems >
        • D4.1: Natural Selection
        • D4.2: Stability and Change
        • D4.3: Climate Change
  • IB Requirements
    • Internal Assessment >
      • Research Design
      • Analysis
      • Conclusion
      • Evaluation
    • External Assessment >
      • Exam Revision
    • Extended Essay
    • Reflective Project
    • Collaborative Sciences Project
    • Learner Profile
  • Skills for Biology
    • Tools >
      • Experimental Techniques >
        • Addressing Safety
        • Measuring Variables >
          • Measurement Uncertainties
          • Observations
          • Biological Drawings
        • Applying Techniques >
          • Microscopy
      • Technology >
        • Tech to Collect Data
        • Tech to Process Data
      • Mathematics >
        • General Math
        • Units and Symbols
        • Processing Uncertainties
        • Graphing >
          • Types of Graphs
          • How to Graph
          • Graph Error Bars
    • Inquiry Processes >
      • Exploring >
        • Research Questions
        • Hypotheses and Predictions
      • Designing >
        • Variables
        • Sampling
      • Control of Variables
      • Collecting Data >
        • Data Tables
      • Processing Data
      • Interpreting Results
      • Concluding
      • Evaluating >
        • Error Analysis
  • Statistics
    • Descriptive Statistics >
      • Skew and the Normal Distribution
      • Outliers
      • Measures of Central Tendancy
      • Measures of Dispersion
      • Correlation Coefficients
      • Coefficient of Determination
    • Inferential Statistics >
      • Standard Error
      • T-Test
      • ANOVA
      • Kruskal-Wallis
      • X2 Test of Independence
      • X2 Goodness of Fit
    • Glossary of Statistic Terms and Equations
  • SHS Course Info
    • Above & Beyond >
      • Biology Club
      • Pumpkin Carving
      • Scavenger Hunt
      • Science News
      • Wood Duck Project (legacy)
      • Invasive Crayfish Project (legacy)
    • Assessment >
      • Class Grading IB Bio I
      • Class Grading IB Bio II
      • Daily Quizzes (legacy)
      • Lab Practicals (legacy)
    • Class Photos
    • Recommendations
  • Contact
    • About >
      • Philosophy
      • Resume
      • Reflection
      • Favorite Quotes
      • AEF Blog
  • Expeditions
    • Bahamas (2009)
    • Trinidad (2010)
    • Trinidad (2011)
    • Ecuador (2012)
    • Trinidad (2013)
    • Peru (2014)
    • Bahamas (2015)
    • Peru (2016)
    • Costa Rica (2017)
    • Costa Rica (2018)
    • Arizona (2022)
    • Florida (2023)
    • Belize (2024)
    • Costa Rica (2025)
  • Summer Ecology Research
  • Teacher Resources

T-test

The Student’s t-test is an inferential statistical test that compares the mean and standard deviation of two samples to see if there is a significant difference between them or if a difference could have occurred by chance alone.

The T-test is appropriate when comparing means between two groups or conditions. There are three main scenarios when using a T-test:
1.   comparing a sample mean to a known population value (one-sample T-test)
2.  comparing means between two independent groups like control versus treatment (unpaired T-test)
3.  comparing measurements from the same subjects before and after treatment (paired T-test). 

Picture
The unpaired T-test would be used to determine if there is a significant difference between the control and treated enzyme activities.
Picture
The paired T-test would be used to determine if there is a significant difference between the pre- and post-treatment blood pressures.
The T-test is a test of a  statistical significant difference between two groups.  A "significant difference" means that the results that are seen are most likely not due to chance or sampling error.  In any experiment or observation that involves sampling from a population, there is always the possibility that an observed effect would have occurred due to sampling error alone.  But if result is "significant,"  then the investigator may conclude that the observed effect actually reflects the characteristics of the population rather than just sampling error or chance.  

In any significance test, there are two possible hypothesis:
Null Hypothesis:
"There is not a significant difference between the two groups; any observed differences may be due to chance and sampling error."

For example:  
  • There is no significant difference between the control and treatment group enzyme activity; the difference we see in the means of the two groups may be due to chance and sampling error.
  • There is no significant difference between the blood pressure before and after treatment; the difference we see in the means of the two groups may be due to chance and sampling error.
Alternative Hypothesis:
"There is a significant difference between the two groups; the observed differences are most likely not due to chance or sampling error."

For example:  
  • There is a significant difference between the control and treatment group enzyme activity; the difference seen in the means of the two groups is mostly likely not due to chance or sampling error.
  • There is a significant difference between the blood pressure before and after treatment; the difference we see in the means of the two groups is mostly likely not due to chance or sampling error.

Performing a T-test 

  • Use an online T-test calculator
  • The spreadsheet formular for a test is =TTEST(A1:A4, B1:B4, 2, 2).  Replace A1:A4 with your data from the first sample and B1:B4 with your data from the second sample.
  • Performing a T-test in Google Sheets (video)

Interpreting the T-test

The t-test calculator will provide a p-value result.  The p-value indicates the probability that the differences between the two samples are due to random chance alone.  If the P-value is 0.22, it means that there is a 22% likelihood that the difference in the means of your two data sets is due to random chance.  It is standard in biological sciences that a P value of .05 or less is considered significant in which case the null hypothesis is rejected (accept the alternative hypothesis).  If the P value is greater than 0.05, then accept the null hypothesis and conclude that there is no significant difference between the two groups.
I give many of my IB Biology resources away, for the benefit of students and teachers around the world. 
If you've found the materials helpful, please consider sending a gift from our classroom wish list.


​Did I forget something?  Know of a mistake? Have a suggestion?  Let me know by emailing me here.

Before using any of the files available on this site,
​please familiarize yourself with the 
Creative Commons Attribution License. 
​​​It prohibits the use of any material on this site for commercial  purposes of any kind.  ​
​
Picture
  • IB Bio Syllabus
    • Unity and Diversity (A) >
      • A1 molecules >
        • A1.1: Water
        • A1.2: Nucleic Acids
      • A2 Cells >
        • A2.1: Origins of Cells
        • A2.2: Cell Structure
        • A2.3: Viruses
      • A3 Organisms >
        • A3.1: Diversity of Organisms
        • A3.2: Classification and Cladistics
      • A4 Ecosystems >
        • A4.1: Evolution and Speciation
        • A4.2: Conservation of Biodiversity
    • Form and Function (B) >
      • B1 Molecules >
        • B1.1: Carbohydrates and Lipids
        • B1.2: Proteins
      • B2 Cells >
        • B2.1 Membranes and Membrane Transport
        • B2.2 Organelles and Compartmentalization
        • B2.3 Cell Specialization
      • B3 Organisms >
        • B3.1 Gas Exchange
        • B3.2 Transport
        • B3.3 Muscle and Motility
      • B4 Ecosystems >
        • B4.1 Adaptation to Environment
        • B4.2 Ecological Niches
    • Interaction and Interdependence (C) >
      • C1 Molecules >
        • C1.1: Enzymes and Metabolism
        • C1.2: Cell Respiration
        • C1.3: Photosynthesis
      • C2 Cells >
        • C2.1: Chemical Signaling
        • C2.2: Neural Signaling
      • C3 Organisms >
        • C3.1: Integration of Body Systems
        • C3.2: Defense Against Disease
      • C4 Ecosystems >
        • C4.1 Populations and Communities
        • C4.2 Transfers of Energy and Matter
    • Continuity and Change (D) >
      • D1 Molecules >
        • D1.1: DNA Replication
        • D1.2: Protein Synthesis
        • D1.3: Mutation and Gene Editing
      • D2 Cells >
        • D2.1: Cell and Nuclear Division
        • D2.2: Gene Expression
        • D2.3: Water Potential
      • D3 Organisms >
        • D3.1: Reproduction
        • D3.2: Inheritance
        • D3.3: Homeostasis
      • D4 Ecosystems >
        • D4.1: Natural Selection
        • D4.2: Stability and Change
        • D4.3: Climate Change
  • IB Requirements
    • Internal Assessment >
      • Research Design
      • Analysis
      • Conclusion
      • Evaluation
    • External Assessment >
      • Exam Revision
    • Extended Essay
    • Reflective Project
    • Collaborative Sciences Project
    • Learner Profile
  • Skills for Biology
    • Tools >
      • Experimental Techniques >
        • Addressing Safety
        • Measuring Variables >
          • Measurement Uncertainties
          • Observations
          • Biological Drawings
        • Applying Techniques >
          • Microscopy
      • Technology >
        • Tech to Collect Data
        • Tech to Process Data
      • Mathematics >
        • General Math
        • Units and Symbols
        • Processing Uncertainties
        • Graphing >
          • Types of Graphs
          • How to Graph
          • Graph Error Bars
    • Inquiry Processes >
      • Exploring >
        • Research Questions
        • Hypotheses and Predictions
      • Designing >
        • Variables
        • Sampling
      • Control of Variables
      • Collecting Data >
        • Data Tables
      • Processing Data
      • Interpreting Results
      • Concluding
      • Evaluating >
        • Error Analysis
  • Statistics
    • Descriptive Statistics >
      • Skew and the Normal Distribution
      • Outliers
      • Measures of Central Tendancy
      • Measures of Dispersion
      • Correlation Coefficients
      • Coefficient of Determination
    • Inferential Statistics >
      • Standard Error
      • T-Test
      • ANOVA
      • Kruskal-Wallis
      • X2 Test of Independence
      • X2 Goodness of Fit
    • Glossary of Statistic Terms and Equations
  • SHS Course Info
    • Above & Beyond >
      • Biology Club
      • Pumpkin Carving
      • Scavenger Hunt
      • Science News
      • Wood Duck Project (legacy)
      • Invasive Crayfish Project (legacy)
    • Assessment >
      • Class Grading IB Bio I
      • Class Grading IB Bio II
      • Daily Quizzes (legacy)
      • Lab Practicals (legacy)
    • Class Photos
    • Recommendations
  • Contact
    • About >
      • Philosophy
      • Resume
      • Reflection
      • Favorite Quotes
      • AEF Blog
  • Expeditions
    • Bahamas (2009)
    • Trinidad (2010)
    • Trinidad (2011)
    • Ecuador (2012)
    • Trinidad (2013)
    • Peru (2014)
    • Bahamas (2015)
    • Peru (2016)
    • Costa Rica (2017)
    • Costa Rica (2018)
    • Arizona (2022)
    • Florida (2023)
    • Belize (2024)
    • Costa Rica (2025)
  • Summer Ecology Research
  • Teacher Resources