Introduction to Data Handling and Statistics

Welcome to one of the most important chapters in your Biology A-level! You might be wondering, "Why do I need to do math in a biology course?" The answer is simple: biological data is "messy." Whether you are measuring the heart rate of a Daphnia or the height of plants in a field, your results will naturally vary. Statistical tests allow us to decide if the patterns we see are real or if they just happened by "dumb luck" (chance).

In this chapter, we will learn how to describe data, how to choose the right test to analyze it, and how to tell if your results are truly significant. Don't worry if you find math a bit daunting—we will take it step-by-step!

1. Describing Data: Averages and Spread

Before we can test our data, we need to summarize it. We do this using measures of central tendency (averages) and dispersion (spread).

The "Big Three" Averages

  • Mean: The arithmetic average. Add all values and divide by the total number of values.
  • Median: The middle value when the data is put in order.
  • Mode: The value that appears most often.

Measuring the Spread

While the Range (the difference between the highest and lowest values) is easy to calculate, it is easily ruined by a single "weird" result (an outlier). This is why biologists prefer Standard Deviation (SD).

Standard Deviation is a more useful measure because it uses every single data point in the set. It tells us how much the data "spreads out" around the mean.
- Small SD: The data is closely clustered around the mean (reliable results).
- Large SD: The data is spread widely (less reliable/more variation).

Quick Review: If you see "error bars" on a graph, they usually represent the Standard Deviation. If the error bars for two means overlap, it is very likely that there is no significant difference between them!

2. The "Null Hypothesis" and Probability

Every statistical test starts with a Null Hypothesis (\(H_0\)). This is a bit like a "guilty until proven innocent" approach for your data. The Null Hypothesis always states: "There is no significant difference/correlation; any pattern is due to chance."

Our goal is to see if we can "reject" this hypothesis. We use a probability value (\(p\)-value) to decide:

  • In Biology, we use a critical level of \(0.05\) (or \(5\%\)).
  • If the probability that our results happened by chance is less than \(5\%\) (\(p < 0.05\)), we reject the Null Hypothesis. We say the results are statistically significant.
  • If the probability is greater than \(5\%\) (\(p > 0.05\)), we accept (or fail to reject) the Null Hypothesis. The results are not significant.

3. Choosing the Right Statistical Test

In the 9BN0 syllabus, you only need to know three main tests. Here is a simple trick to remember which one to use:

What are you looking for? The Test to Use
Comparing observed results to expected results (Categorical data). Chi-squared (\(\chi^2\)) Test
Comparing the means of two different groups. Student's t-test
Looking for a relationship/correlation between two variables. Correlation Coefficient

4. The Chi-Squared (\(\chi^2\)) Test

This test is used when you have "counts" in categories. A classic example is genetics (Topic 2). If you expect a \(3:1\) ratio of tall to short plants but you get slightly different numbers, the Chi-squared test tells you if your results still fit the theory.

The formula for Chi-squared is:
\( \chi^2 = \sum \frac{(O - E)^2}{E} \)

Where:
\( O \) = Observed value
\( E \) = Expected value
\( \sum \) = "Sum of" (add them all up)

Step-by-step:
1. Calculate the difference between Observed and Expected for each category.
2. Square that difference.
3. Divide by the Expected value.
4. Add them all together to get your \(\chi^2\) value.
5. Compare this value to a "critical value" table using degrees of freedom (\(df = \text{number of categories} - 1\)).

5. The Student's t-test

Use this when you have two sets of continuous data (like the mass of leaves from two different woods) and you want to know if their means are significantly different.

Did you know? The "Student" in t-test wasn't a college student! It was the pen name of William Gosset, who worked for the Guinness brewery and needed a way to monitor the quality of stout!

When you perform a t-test, you get a \(t\)-value. You compare this to a critical value table. If your calculated \(t\) is greater than the critical value at \(p = 0.05\), the difference between the means is significant.

6. Correlation Coefficients

A correlation shows if there is a relationship between two variables, like the concentration of vitamin C in fruit juice and the time it has been stored.

  • Positive Correlation: As \(x\) increases, \(y\) increases.
  • Negative Correlation: As \(x\) increases, \(y\) decreases.
  • No Correlation: No pattern.

The correlation coefficient is a number between \(+1\) and \(-1\).
- Value of \(+1\): A perfect positive correlation.
- Value of \(-1\): A perfect negative correlation.
- Value of \(0\): No correlation at all.

Important Note: Always remember the golden rule of Biology—Correlation does NOT equal causation! Just because two things change together doesn't mean one caused the other. There might be a third variable involved.

7. Sampling and Percentage Error

In Core Practical 10 (Ecology), you'll use sampling. To make sure your data is valid, sampling must be unbiased. We usually achieve this by using a random number generator to pick coordinates for a quadrat.

Percentage Error

No measurement is perfect. To calculate how much the equipment error might be affecting your results, use this formula:

\( \text{Percentage Error} = \frac{\text{Uncertainty (Error)}}{\text{Reading}} \times 100 \)

Example: If you measure \(20.0\text{cm}^3\) of liquid in a cylinder that has an uncertainty of \(0.5\text{cm}^3\):
\( \text{Percentage Error} = \frac{0.5}{20.0} \times 100 = 2.5\% \)

Key Takeaways Summary

  • Standard Deviation is better than range because it considers all data and ignores outliers.
  • The Null Hypothesis states there is no significant difference or relationship.
  • We use the \(5\%\) probability level (\(p = 0.05\)) as our cut-off for significance.
  • Chi-squared = Observed vs. Expected.
  • t-test = Comparing two Means.
  • Correlation = Relationship between two variables (but it doesn't prove cause!).
  • Random sampling is essential to avoid bias in biological studies.

Cross-reference: For more on how to apply these in practicals, see the "Core practicals and experimental design" chapter.