Choosing & Using Statistical Tests (OCR A Level Biology): Revision Note

Exam code: H420

Ruth Brindle

Written by: Ruth Brindle

Reviewed by: Leander Oates

Updated on

Which statistical test should you use?

Matching the test to the data

  • The choice of test depends on what the question is asking and what kind of data has been collected:

  • Chi-squared compares observed counts in categories with expected counts

    • For example, do the offspring phenotypes fit a 9 : 3 : 3 : 1 ratio?

  • An unpaired t-test compares the means of two independent groups of continuous, roughly normally distributed data

    • For example, mean leaf area of plants in shade and in full sun

  • A paired t-test compares the means of two sets of measurements from the same individuals

    • For example, the heart rate of ten volunteers before and after a caffeinated drink

  • Spearman's rank tests for a correlation between two variables across a range of values

    • For example, light intensity and the number of daisies in a quadrat

  • A quick way to decide:

    • Counts in categories compared with an expected ratio → chi-squared

    • Two groups or conditions and a comparison of means → t-test

      • Same individuals measured twice → paired

      • Different individuals in each group → unpaired

    • A range of values of one variable and a search for a relationship → Spearman's rank

  • Standard deviation is not a statistical test

    • It shows the spread of data around a mean, but it cannot show whether a difference between two means is significant

    • A t-test is needed to decide that

  • A t-test only compares two means

    • If an investigation uses a range of values (e.g. five or more temperatures) to look for a trend, Spearman's rank is the appropriate test, not a t-test

    • A t-test is appropriate only if two conditions are compared

      • For example, two temperatures

    • Three or four values are too few for Spearman's rank to be useful

Flowchart for choosing a statistical test. Comparing observed counts in categories with an expected ratio leads to the chi-squared test. Comparing the means of two groups leads to a t-test: paired if the same individuals are measured twice, unpaired if not. Looking for a correlation between two variables across a range of values leads to Spearman's rank correlation coefficient.

Justifying the choice

  • Questions often give two marks: one for naming the test and one for the reason

  • The reason must link the test to the data:

    • "comparing two means" for a t-test, as "two sets of data" is too vague to gain credit

    • "comparing observed and expected results" for chi-squared

    • "testing for a correlation between two variables" for Spearman's rank

  • Where a question has independent groups, naming the paired t-test is marked wrong, so state unpaired when it applies

Worked Example

A student investigated leaf size in ivy plants. They measured the area of 15 leaves from ivy plants growing in deep shade and 15 leaves from different ivy plants growing in full sun.

(a) State the most appropriate statistical test to find out whether the difference in leaf area between the two groups is significant. Give a reason for your choice.

[2]

(b) The student then measured the area of leaves from ivy plants growing at 12 sites, each with a different light intensity. Name the most appropriate statistical test to analyse these data. Give a reason for your choice.

[2]

(a)

One-mark answer:

  • A t-test [1 mark]

  • Because there are two sets of data

Full-mark answer:

  • An unpaired t-test [1 mark]

  • Because the student is comparing the means of two independent groups: the leaves come from different plants in each group [1 mark]

(b)

Answer:

  • Spearman's rank correlation coefficient [1 mark]

  • Because the student is testing for a correlation between light intensity and leaf area [1 mark]

Examiner Tips and Tricks

The one-mark answer names a t-test, but "two sets of data" does not say what is being compared: chi-squared and Spearman's rank also use two sets of data.

The full-mark answer names the unpaired t-test and gives the reason that gains the mark, a comparison of two means.

To choose, look at what the question wants to know: a difference between two means points to a t-test, a relationship or correlation to Spearman's rank and an expected ratio to chi-squared. Then use those same words in your reason.

Using critical value tables across tests

  • In the exam, critical value tables (or the relevant parts of them) are provided where needed

  • You need to work out two things:

    • Which row to use

      • The degrees of freedom or the number of pairs (n)

    • Which column to use

      • The probability level

  • To find the row:

    • chi-squared: degrees of freedom = number of categories − 1

      • For example, four phenotypes → 4 − 1 = 3

    • unpaired t-test: degrees of freedom = (n1 + n2) − 2

      • For example, two groups of 8 → (8 + 8) − 2 = 14

    • paired t-test: degrees of freedom = number of pairs − 1

      • For example, ten volunteers measured before and after → 10 − 1 = 9

    • Spearman's rank: there are no degrees of freedom, so use n = number of pairs of measurements

      • For example, 12 sites → n = 12

  • A common error with the unpaired t-test is to use n − 1 for one group only

    • This gives the wrong row, the wrong critical value and can lead to the wrong conclusion

  • Biologists normally use the 0.05 (5 %) probability column

Accepting or rejecting the null hypothesis

  • For all three tests on H420, the decision works the same way:

    • Calculated value greater than or equal to the critical value → reject the null hypothesis

      • There is a significant difference (chi-squared, t-test) or a significant correlation (Spearman's rank)

    • Calculated value less than the critical value → accept the null hypothesis

      • The difference is not significant, or there is no significant correlation

  • For Spearman's rank, a negative value shows a negative correlation; compare the size of the value (ignoring the minus sign) with the critical value

Using the idea of probability

  • In a full answer, explain the conclusion in terms of probability and chance:

    • Significant at p = 0.05 means there is less than a 5 % probability that the difference is due to chance

    • Not significant at p = 0.05 means there is more than a 5 % probability that the difference is due to chance

  • Other columns in the table can narrow the probability further

    • For example, a value that is above the critical value at p = 0.05 but below it at p = 0.01 means the probability that the difference is due to chance is between 1 % and 5 %

  • A statistical test only gives a probability; it does not prove a hypothesis

  • It is the difference (or the correlation) that is significant, not "the results" or "the data"

Worked Example

A student carried out a dihybrid cross in a plant species. The offspring belonged to four phenotype classes. The student used the data to calculate a chi-squared value of 9.80.

Part of the table of critical values for chi-squared is shown in Table 1.

Table 1

Degrees of freedom

p = 0.10

p = 0.05

p = 0.01

p = 0.001

2

4.61

5.99

9.21

13.82

3

6.25

7.82

11.34

16.27

4

7.78

9.49

13.28

18.47

Use Table 1 to explain what the chi-squared value of 9.80 shows about the difference between the observed and expected numbers of offspring.

[3]

One-mark answer:

  • There are 4 degrees of freedom, so the critical value is 9.49

  • 9.80 is bigger than 9.49, so there is a significant difference between the observed and expected numbers [1 mark]

  • The results are significant

Full-mark answer:

  • Degrees of freedom = 4 − 1 = 3, so the critical value is 7.82 [1 mark]

  • 9.80 is greater than 7.82, so there is a significant difference between the observed and expected numbers and the null hypothesis is rejected [1 mark]

  • There is less than a 5 % probability that this difference is due to chance [1 mark]

Examiner Tips and Tricks

The one-mark answer uses the number of categories as the degrees of freedom, so it reads the wrong critical value. Its comparison and conclusion follow correctly from that value, so they gain a mark, but there is no reference to probability or chance.

The full-mark answer finds 3 degrees of freedom, uses the critical value of 7.82 and explains the result in terms of probability. You can also gain a mark by noting that 9.80 is less than 11.34, so the probability that the difference is due to chance is between 1 % and 5 %.

Interpreting error bars

  • Error bars on a graph often show the standard deviation (SD) above and below each mean

  • Error bars show the spread of data around the mean, not the full range of the data

    • Call them error bars or SD bars

    • A name that suggests they show the range is not accepted

What can and cannot be concluded

  • Error bars (or SDs) give a first look at whether a difference between two means might be real

    • They cannot, on their own, show whether a difference is significant

  • When you compare two means:

    • If the error bars or SDs overlap, the difference between the means is probably not significant

    • If they do not overlap, state this observation: there may be a real difference, but this does not show that the difference is significant

    • In either case, a statistical test (e.g. a t-test) is needed to decide whether the difference is significant

Two bar charts of mean stem length for control and treated groups with standard deviation error bars. In the first the error bars overlap, so the difference is probably not significant. In the second they do not overlap, so there may be a real difference and a statistical test such as a t-test is needed.
  • Phrases such as "low significance" or "not very significant" gain no credit

    • A difference either is or is not significant

  • Also refer to the means themselves, quoting values and naming the groups you are comparing

    • Comparing one named group directly with another is better than a general comment about "the results"

Worked Example

Gibberellin is a plant hormone involved in stem elongation. A student sprayed groups of dwarf pea plants with different concentrations of gibberellin. After three weeks, they measured the shoot length of each plant. Their results are shown in Table 1.

Table 1

Group

Gibberellin concentration / mg dm−3

Mean shoot length / mm

Standard deviation / mm

A (control)

0

62

6

B

10

68

7

C

50

89

5

The student concluded that "spraying with gibberellin increases shoot length".

Evaluate this conclusion using the data in Table 1.

[3]

One-mark answer:

  • The conclusion is correct

  • The SDs of group C and the control do not overlap [1 mark]

  • So group C is significantly taller, which proves that gibberellin increases shoot length

Full-mark answer:

  • Group C has a higher mean shoot length (89 mm) than the control (62 mm) [1 mark]

  • The SDs of group C (84–94 mm) and the control (56–68 mm) do not overlap [1 mark]

  • The SDs of group B (61–75 mm) and the control overlap, so this difference is probably not significant [1 mark]

Examiner Tips and Tricks

The one-mark answer gains a mark for noting that the SDs of group C and the control do not overlap, but non-overlapping error bars do not show a significant difference, and data cannot "prove" a conclusion. It also quotes no means and ignores group B.

The full-mark answer quotes the means and makes accurate statements about overlap for both comparisons. Finish an answer like this by saying that a statistical test, such as a t-test, is needed to decide whether either difference is significant.

Unlock more, it's free!

Join the 100,000+ Students that ❤️ Save My Exams

the (exam) results speak for themselves:

Ruth Brindle

Author: Ruth Brindle

Expertise: Curriculum Expert

Ruth graduated from Sheffield University with a degree in Biology and went on to teach Science in London whilst also completing an MA in innovation in Education. With 10 years of teaching experience across the 3 key science disciplines, Ruth decided to set up a tutoring business to support students in her local area. Ruth has worked with several exam boards and loves to use her experience to produce educational materials which make the mark schemes accessible to all students.

Leander Oates

Reviewer: Leander Oates

Expertise: Development Editor

Leander graduated with First-class honours in Science and Education from Sheffield Hallam University. She won the prestigious Lord Robert Winston Solomon Lipson Prize in recognition of her dedication to science and teaching excellence. After teaching and tutoring both science and maths students, Leander now brings this passion for helping young people reach their potential to her work at SME.