Chalk−1

Biology · Introductory biology · Concept

Designing a controlled experiment

An experiment tests a hypothesis by changing one factor on purpose and measuring what happens. The independent variable is the factor the experimenter changes, the dependent variable is what is measured, and controlled variables are held the same so they cannot explain the result. A control group, treated the same except for the independent variable, gives the baseline. Random assignment and replication guard against confounders and chance, so a difference between groups can be credited to the treatment.

A concrete case

Is it the compost?

A gardener grows twelve tomato plants. The six beside the compost heap reach an average of 120 cm by midsummer, and the six by the fence reach 90 cm. Is the compost behind the 30 cm difference?

Maybe. The plants by the compost also get more afternoon sun, and the gardener waters them more often because they are near the tap. Any of the three could explain the 30 cm, and the heights alone cannot say which. A difference with several possible causes is exactly what an experiment is built to untangle.

Here is a fair test. Take 20 seedlings of one variety, in identical pots of one soil, on one sunny bench. Draw lots so that 10 pots, chosen at random, get compost, and water every pot the same. Now compost is the only planned difference between the groups, and the lots keep the gardener from putting the sturdiest seedlings in one group. If the compost pots still come out taller, the compost is the likely cause.

120−90=30

The rule

Hypothesis and prediction

A hypothesis is a testable explanation, such as “compost adds nutrients that tomato plants can use”. A prediction says what you should observe if the hypothesis is right, and it is written down before the data. Here the prediction is that the compost pots will be taller on average after eight weeks. An explanation that no possible result could contradict is not testable, so it is not a scientific hypothesis.

Variables

Every experiment names its variables before it begins. The independent variable is the one factor the experimenter changes on purpose. The dependent variable is the outcome that is measured, with its unit. Controlled variables are everything else that could affect the outcome, held the same in every group.

The variables in the compost test
VariableMeaningIn the compost test
IndependentThe factor changed on purposeCompost, added or not
DependentThe outcome measuredPlant height after eight weeks (cm)
ControlledFactors held the same in every groupVariety, soil, pot size, water and light

Controls

A control group gets everything the treatment group gets except the treatment itself. For the tomatoes, the control pots get the same soil, water and light, and no compost. Without them there is nothing to compare 120 cm with.

A negative control is a case where no effect should appear. Pots whose soil is dug and mixed in the same way, with nothing added, show whether disturbing the soil is what matters. A positive control is a case where an effect should appear, such as pots given a fertilizer known to work. If the positive control shows nothing, the method could not have detected an effect, and a null result for compost means little.

Experimental units, replication and random assignment

The experimental unit is the thing assigned to a group independently of the others, here one pot with its plant. The sample size n of a group is its number of experimental units. Replication means several units per group, so the effect of the treatment can be told apart from one plant’s quirks.

Assign units to groups at random, with a coin, a die or a list of random numbers. Random assignment does not make the groups identical. It makes them differ only by chance, in every trait at once, including traits nobody thought to measure.

Measuring one plant three times is not replication. Those repeated measurements, called technical replicates, show how precise the ruler is. Independent units, here separate plants in separate pots, are biological replicates.

A controlled design for the fertilizer test
PartPlan
QuestionDoes fertilizer make bean seedlings grow taller?
Independent variableFertilizer: water only or fertilizer
Dependent variablePlant height after three weeks (cm)
Controlled variablesBean variety, light, water, soil and pot
Groups10 water only (control), 10 fertilizer
Confounder addressedBench position: assigned at random

Why it works

Why random assignment and replication work

Suppose some seedlings are sturdier than others. If the gardener chooses which ones get compost, the sturdy ones may end up there without anyone meaning it, and the compost gets credit for their sturdiness. A random draw cannot prefer sturdy plants, so on average they split evenly between the groups. The same holds for every hidden difference at once, which no list of controlled variables can match.

Chance still leaves some imbalance in any one experiment, and replication shrinks it. The standard deviation measures that spread. It is the typical distance of one value from the mean of all of them. If heights vary from plant to plant with a standard deviation of 2.0 cm, the height of one plant is typically 2.0 cm from the mean. Averaging n plants lets their chance highs and lows cancel, so the mean of n plants varies by the standard deviation divided by n, the square root of n. The mean of ten plants varies by 2.0⁢/10≈0.63 cm, about a third as much. A 3 cm difference between two such means is hard to explain as chance, and a statistical test puts a number on that.

Only random assignment earns the word “cause”. In an observational study the units choose their group or are found in it, so whatever put them there can also change the outcome.

2.010≈0.63

The method

Plan a fair test in six steps

Write the whole plan before collecting any data, so the data cannot choose the question afterward. The table runs the six steps for the compost test.

A plan for the compost test
StepWhat to doFor the tomatoes
1Ask a question, then state a hypothesis and a prediction.Does compost make tomato plants taller? The compost pots will be taller after eight weeks.
2Name the independent, dependent and controlled variables.Compost, added or not. Height in cm. Variety, soil, pot, water and light.
3Choose the experimental unit and the groups, including a control.One pot. A compost group and a no-compost group.
4Decide how many units each group gets.10 pots per group.
5Assign units at random, and measure without knowing the groups where you can.Lots drawn to pick the 10 compost pots. The person measuring does not know which pots got compost.
6Compare the groups and state the conclusion with its conditions.Group means and a test. “Under these conditions, compost made the plants taller.”

Where it breaks

Where it breaks

Some causes cannot be assigned. No one may assign people to smoke, so the evidence that smoking causes lung cancer comes from observational studies and animal experiments, not from randomized trials in people. Observational evidence can be strong, but each study must argue away its confounders.

Random assignment works only on the units it assigns. If a temperature is set for a whole tank, the tank is the experimental unit, even with 15 fish inside. Counting the fish as replicates is pseudoreplication, and it makes a difference look surer than it is.

Controlled variables are never all the variables. A design controls what its planner thought of, and random assignment covers the rest only on average. A surprising result deserves a second, independent experiment.

A result holds under the conditions tested. Compost that helps tomatoes in sandy soil may do nothing in rich soil, so state the conditions with the conclusion.

No difference is not proof of no effect. Ten plants per group can miss a small real effect, so report the size of the difference and its uncertainty, not only “no effect”.

Check your answer

Check your design

Ask three questions of the plan before a single seed goes in.

Name every difference between the groups. List what the control pots and the compost pots each experience. If anything besides compost differs, such as the bench or the person watering, it is a confounder, and it must be held the same or randomized.

Find the experimental unit and count it. Ask what the lots were drawn for. That thing is the unit, and the number of them in a group is n, however many measurements each one gives.

Match the claim to the design. Random assignment supports “compost made the plants taller”. Without it, the data support only “plants with compost were taller”.

Chalk does not judge a design, but the Experiment planner checks its parts. With a causal claim and no control group, it says “A causal experiment needs an appropriate comparison/control group or a documented design-specific alternative.”

With one unit measured many times, it says “Repeated measurements of one biological unit do not replace independent biological replicates.”

The planner cannot tell whether a control is the right one, or whether a variable nobody entered differs between the groups. Those questions stay with you.

Forty college athletes are randomly assigned to a supplement or a placebo, and the supplement group sprints faster. Does the study show the supplement helps people in general?

Not yet. Random assignment lets the difference be credited to the supplement, but only for people like these athletes. They were volunteers, not a random sample of the population, so older or untrained people may respond differently. Cause needs random assignment, and a general claim needs a sample that represents the people it is about.

Blinding, blocks and two factors at once

People tend to see what they expect. Whoever measures the plants should not know which ones got compost, which is called blinding. In a drug trial the control group gets a placebo, a pill with no drug, so that expecting to feel better is the same in both groups. When neither the patients nor the staff know the groups, the trial is double-blind.

When units differ in a known way, such as a bench with a sunny end and a shady end, group them into blocks first. Randomize within each block, so each end holds the same number of compost and plain pots. Blocking removes a known source of variation that random assignment would leave to chance.

The one-factor rule is a starting point. A factorial design changes two factors in one experiment, such as compost and watering, in all four combinations. It shows each factor’s effect and also whether one changes the effect of the other, an interaction that two separate one-factor experiments would miss.

How many units are enough is a question of power, the chance that the experiment detects an effect of the size that would matter. A power calculation answers it before the experiment, from the expected spread and the smallest difference worth finding.

Common mistakes

  • Changing two factors at once, such as compost and watering. If the compost pots also get more water, a taller result cannot be credited to either one. Change one factor, or use a factorial design that tests both in every combination.
  • Describing the control group as having no variables. The control group has every variable the treatment group has, except the treatment. It is treated the same in every other way, so it shows what happens without the treatment.
  • Counting repeated measurements as replicates. Measuring one plant five times shows how precise the measuring is, not how much plants differ. The replicates are the independent experimental units, here one pot each.
  • Counting the fish in a tank, or the students in a class, as the sample size when the treatment went to the whole tank or class. The tank or the class is the experimental unit, so each group has n=1.
  • Concluding cause from a correlation in observational data. A confounder may drive both variables, as staying up late can raise coffee drinking and lower grades. Only random assignment rules out confounders the study did not measure.
  • Writing that the experiment proved the hypothesis. One experiment gives evidence under its own conditions. A repeat with new units, or under new conditions, may not agree.

Key terms

Hypothesis
A testable explanation for an observation. It leads to predictions that an experiment can support or contradict. Support makes it more credible but never proves it for good.
Independent variable
The factor an experimenter changes on purpose to test its effect. In a test of light on photosynthesis, light intensity is the independent variable.
Dependent variable
The outcome measured to see whether it depends on the independent variable, such as the rate of oxygen release in a test of light on photosynthesis.
Controlled variable
A factor kept the same in every group so that it cannot explain a difference between them, such as temperature and species in a test of light on photosynthesis.
Experimental control
A group or condition used for comparison, treated the same as the others except for the factor being tested. A negative control should show no effect, and a positive control should show a known effect, which shows the method works.
Experimental unit
The thing a treatment is applied to independently, such as one plant or one dish. Measuring the same unit twice does not make two units.
Biological replicate
An independent biological sample, such as a separate plant or mouse, that captures the natural variation between individuals.
Technical replicate
A repeated measurement of the same sample. It shows measurement error, not variation between individuals, so it does not add to the sample size.
Random assignment
Using chance to decide which units get which treatment, so other differences spread evenly across the groups. Random sampling, choosing who is studied, is a different step.
Confounder
A variable linked to both the treatment and the outcome, which could explain a difference instead of the treatment.
Observational study
A study that records what happens without assigning treatments. It can show an association, but not on its own that one thing causes another.
Causal claim
A claim that changing one thing changes another. A controlled, randomized experiment can support it, but a correlation alone cannot.

Work through an example

A student tests whether a fertilizer makes bean plants grow taller. She gives fertilizer to one plant on a sunny windowsill and none to one plant in a shaded corner. After three weeks the fertilized plant is 4 cm taller. Name the independent and dependent variables, find two flaws, and redesign the experiment.

Fix a flawed experiment →

Count the experimental units in a design →

Sources and scope

Authored study material. Tool results depend on the stated inputs and model assumptions.

After reading

Try it, then study it

Open the example in its tool to check steps or change values, then review the key terms as flashcards.

Plan it in the Experiment planner Study the 12 key terms Open worked example on a board Experimental design in Biology Reference

Your existing work stays on this device. Examples open as editable copies.