BIOL2022 - L02a
The University of Sydney
“I know of scarcely anything so apt to impress the imagination as the wonderful form of cosmic order expressed by the law of frequency of error. The law would have been personified by the Greeks if they had known of it.
It reigns with serenity and complete self-effacement amidst the wildest confusion. The larger the mob, the greater the apparent anarchy, the more perfect is its sway. It is the supreme law of unreason.”
– Sir Francis Galton (1822 – 1911), inventor of regression and correlation techniques, on the Central Limit Theorem (1889)
TLDR: “I am amazed at how, with sampling, the normal distribution (law of frequency of error) can predict (express) phenomena that appear random and irrational”.
By the end of this lecture, you should be able to:
Consider the following questions:
How do we answer these questions?
Are there differences in answers… depending on how we sample?
For any population, there will be a sampling frame that defines the representativeness of the sample.
What does the representative sample look like?
How we sample and how many samples we take can affect the accuracy and precision of our estimates.
Suppose we observed Victoria Park’s Lake Norham, which has different algal growth depending on environmental conditions. We wonder if differences in phosphorus (a known nutrient) caused the differences. How do we even begin to come up with a sampling plan to test this model?


Many of these questions can alter the final model and conclusions - best to consider them before collecting data. Why?
Are we interested in:
Is the question about:
If we want to take 20 samples from this lake, how do we ensure that the data from each sample is independent of the others?
Independence is a core assumption of many statistical tests. If samples are not independent, the results may be misleading.
Collect 30 samples:
More samples give more precision, but also cost more time and money. Is there a minimum number of samples that we need to collect to answer the research question?
Will collecting more samples address:
Systematic error that leads to an incorrect estimate of the population parameter. This happens because the sample may not represent the population fairly.
The sure way to avoid bias is to use random sampling which ensures that every unit in the population has an equal chance of being selected. This is the basis of probability sampling.
Often, a variable that is associated with both the treatment and the outcome, which can lead to an incorrect conclusion about the relationship between the treatment and the outcome. This is an issue of independence.
Random sampling can help to reduce the impact of confounding variables. How?
When multiple measurements are taken from the same experimental unit, but treated as independent replicates. This can lead to an overestimation of the sample size and an underestimation of the variability in the data.
The issue of pseudoreplication is a debated topic up to this day. What’s so difficult about ensuring independence in ecological studies?
Sampling methods that rely on the knowledge of the probability of selection for each unit in the population that is being sampled. Importantly:
A common feature of all these sampling methods is that some units are chosen using random selection.
Choose individual units at random from a complete sampling frame.
Divide the population into known, non-overlapping groups, then sample randomly within each group.
How do we determine how many samples to take from each group? We can use proportional allocation: \[ n_i = \frac{N_i}{N} \times n \]
Here, \(n_i\) is the sample size for group \(i\), \(N_i/N\) is that group’s share of the population, and \(n\) is the total sample size. A sample of 30 from a population that is 60% A and 40% B includes 18 from A and 12 from B.
Choose groups (clusters) at random, then measure all units or sample within the selected groups.
Choose a random start, then sample every \(k\)th unit from a list or stream.
\[ k = \frac{N}{n} \]
Here, \(N\) is the population size and \(n\) is the sample size. For 100 units and 20 samples, \(k = 100/20 = 5\).
This presentation is based on the SOLES Quarto reveal.js template and is licensed under a Creative Commons Attribution 4.0 International License, except where otherwise noted.