AP® Biology exam preparation · Skim version

Graphs, Means and Error Bars

About 2 min to skim · 2 figures

Read the full lesson → Skim the whole course →

This idea at other levels

This lesson teaches error bars at high school level. Simpler: read a short high school version in the lesson.

The guiding idea

Charles Darwin measured 30 corn plants, half cross-fertilised and half self-fertilised, and got means of 20.19 and 17.58 inches. Did crossing make them taller?

Pick the graph by what sits on the horizontal axis (the x-axis), and build it so a reader can check every point: how far a mean can be trusted depends on how much the values vary and how many there are, and ±2 standard error bars show whether two means are likely different or whether the data cannot tell.

From the film: Pick the graph, then build it

  • What sits on the x-axis picks the graph: separate categories take a bar graph, continuous numbers or time take a line graph, and two continuous measurements take a scatter plot with a best-fit trend line.
  • Every measured axis needs a name and units, and a uniform scale where equal distances mean equal steps; height bars start at zero, and a line graph starts at zero only if zero was measured.
  • Plot the means accurately, add error bars and define them in a legend, and give the graph a title so a reader can check every point.
  • Stay inside the measured data: a line extended past the last point is extrapolation, so draw it dashed and label it a prediction.

From the film: What Error Bars Can Tell You

  • The sample standard deviation, s, measures how widely individual plants spread around their mean; the standard error, SE = s / √n, measures how precisely the sample mean estimates the true mean.
  • Growing four times as many independent plants leaves s about the same but halves SE, because n sits under a square root: Darwin's SE of 0.93 and 0.53 in would fall to 0.47 and 0.26 in.
  • For independent groups with 10 or more values each, ±2 SE bars approximate a 95% confidence interval: bars that do not overlap mean the means are likely different.
  • Darwin's ±2 SE bars (18.32 to 22.06 in and 16.52 to 18.63 in) overlap slightly, so these bars cannot tell whether the means differ; overlap never proves no difference.
  • Read the legend first: identical T-shaped bars can show ±1 SD, ±1 SE or ±2 SE, and box-plot whiskers show data spread, not error bars.
  1. Pick the graph from the x-axis

    AI-generated illustration: Naturalist line drawing of four terracotta pots on a bench, each holding corn plants in cross-fertilised and self-fertilised pairs marked by slate and sand plant tags, with a zoomed inset of one matched pair of a cross-fertilised and a self-fertilised plant and a gold vertical bracket marking measured final height.
    Darwin grew 15 pairs of corn plants in four pots, one cross-fertilised and one self-fertilised plant per pair; the two pollination treatments are discrete categories with nothing between them, so their mean final heights belong in a bar graph, not joined by a line. AI-generated illustration
  2. Build it so a reader can check it

  3. Mean, spread and precision

  4. What error bars can tell you

  5. Describe what the graph shows

  6. Log scales and the DNA standard curve

    AI-generated illustration: Top-down schematic of a rectangular gel slab with two loading wells at the top, a left known DNA ladder lane showing six horizontal bands separated from largest near the well to smallest farther down, and a right unknown DNA sample lane with one highlighted gold band and a vertical migration-distance bracket, paired with a zoomed inset aligning the unknown band horizontally between two flanking known ladder bands.
    Gel electrophoresis separates DNA by size and charge, with smaller fragments moving farther, so an unknown band's distance can be set beside a ladder of known sizes; the lesson's exercise is simulated. AI-generated illustration
  7. Before the exam

  8. Going deeper

Try the Predict questions again

Five Predict questions from this lesson, on their own. Answer each one first, then open its check.

  1. Look at Darwin’s 15 cross-fertilised and 15 self-fertilised corn plants. Which fits best: a line joining “cross-fertilised” to “self-fertilised”, or a bar graph of both means with error bars?

    From: Pick the graph from the x-axis

    Check your prediction

    A bar graph. Plot both means with error bars. The x-axis holds two discrete categories with nothing between them; a line would wrongly imply intermediate treatments.

  2. Two of Darwin’s 15 cross-fertilised plants stood only 12 in tall, while most sat near 21 to 23 in. Which is pulled down more: the mean or the median?

    From: Mean, spread and precision

    Check your prediction

    The mean. Including both 12-inch plants pulls the cross mean to 20.19 in, below its median of 21.5 in. Without them (n = 13), the mean rises to 21.45 in, nearly matching the median.

  3. Compare those ±2 SE ranges. A classmate writes: “Crossing made no difference to corn height.” Is that justified?

    From: What error bars can tell you

    Check your prediction

    No. Cross reaches down to 18.32 in and self reaches up to 18.63 in, overlapping by about 0.3 in. These bars alone cannot tell whether the means differ; overlap never proves no effect. Going deeper shows what a direct test of the difference finds.

  4. Suppose a hypothetical follow-up grows four times as many plants (n = 60 per group) from the same seed stocks. What happens to s and to SE, and do the ±2 SE bars still overlap?

    From: What error bars can tell you

    Check your prediction

    Spread s stays about the same, SE is multiplied by 1/2 (since √4 = 2), and the bars stop overlapping. With s still 3.62 and 2.05 in at n = 60, SE falls to 0.47 in (cross) and 0.26 in (self), narrowing ±2 SE to 19.26 to 21.13 in and 17.05 to 18.10 in. More data sharpen precision without shrinking individual spread.

  5. On this simulated curve, an unknown band runs 32.0 mm. Roughly what size is it, and why is a log-size axis easier to read than a linear axis?

    From: Log scales and the DNA standard curve

    Check your prediction

    About 2,500 bp. Distance 32.0 mm sits between 33.9 mm (2,000 bp) and 30.8 mm (3,000 bp), reading about 2,500 bp on the straight line. On a linear size axis, the 500 to 3,000 bp fragments crowd into a flat stretch near the bottom of a curve, making reading harder.

Read the full lesson → Skim the whole course →