Quantifying uncertainty · page 2 of 4

How an Equation Is Born

The equation we use to estimate the weight of a tree: what each symbol means, where its two numbers come from, and the two ways it can be wrong.

The page uses the same random numbers every time you open it. Press the button to get new ones.

What this page is about

We cannot put a living tree on a weighing scale. So we measure three easy things, the thickness of the trunk, the height, and the type of wood, and put them into an equation that gives the weight. The equation used in this course is:

AGB = 0.0673 × (ρ × D² × H)0.976

This page has five panels. Panel A reads the equation one piece at a time, so that every symbol is clear. Panel B shows the equation as a picture. Panel C shows where the two numbers 0.0673 and 0.976 come from: nobody calculated them, they were measured. Panels D and E show the two different ways the equation can be wrong.

Words used on this page

The words, in the order you will meet them

Read this once now, and come back whenever a word is unclear. The words from the first page (mean, SD, SE, CV, 95 % range) are used again here without explanation.

1 · The symbols in the equation

AGB
Above-ground biomass. The dry weight of the trunk, branches and leaves of a tree, in kg. This is what the equation gives us.
D
The thickness of the trunk, in cm, measured 1.3 m above the ground. Its full name is DBH, diameter at breast height.
H
The height of the tree, in m.
ρ (rho)
Wood density: how heavy the wood is, in grams per cm³. Light wood about 0.3, heavy wood about 0.9. It depends on the species of tree.
Size value
Our short name for ρ × D² × H, the part inside the brackets. One number that says how big the tree is. For our example tree #406, introduced in Panel A, it is 230.4.
a
The first number of the equation, 0.0673. It is a multiplier: it turns the size value into kg.
b
The second number of the equation, 0.976. It is a power: the size value is raised to the power b before multiplying by a.

2 · Making the equation

Harvest
Cut down a tree, dry it in an oven, and weigh it. The only way to know the true weight of a tree.
Data point
One harvested tree: its size value and its measured weight. One dot on the chart.
Best-fit line
The straight line that passes as close as possible to all the dots. "Fitting" means finding it. The line gives a and b.
Log scale
A chart axis where each grid step means "10 times more": 1, 10, 100, 1,000. On log axes the equation is a straight line.
σ (sigma)
The SD of the dots around the line, measured on the log scale. It has no unit. σ = 0.357 means a typical tree is between 1 ÷ 1.43 = 0.7 and 1.43 times the weight on the line. The 1.43 is e0.357, with e = 2.718, the base of natural logarithms; the computer does this step for you.
Parameters
The numbers a and b. They are not laws of nature. They were found from measured trees, and another set of trees would give slightly different values.

3 · The two doubts

An equation can be wrong in two different ways. On this page, orange always means Doubt 1, which comes from the equation, and green always means Doubt 2, which comes from the trees.

Doubt 1 The line is a little off

a and b were found from a limited number of harvested trees, so the whole line may sit a little too high or a little too low. Whatever the error is, it is the same for every tree we calculate.

Potato shop: the weighing scale is set 20 g too high. Every bag is off by the same 20 g.

Doubt 2 The tree is not on the line

Even if the line were perfect, two trees of the same size do not weigh the same. One is hollow, another has heavy branches. Each tree lands a little above or below the line, in its own direction.

Potato shop: the scale is perfect, but each potato has its own weight. Some heavier, some lighter.

Doubt 1 · where is the line? Doubt 2 · where is the tree? dashed: true line · orange: one fitted line per harvest the line is right, but each tree lands above or below it bent sight: all arrows shifted the same way no bent sight: each arrow lands differently
Top: what each doubt looks like on the chart. Bottom: the same two doubts as arrows shot at a target. A shifted cluster can be fixed by fixing the sight. A wide cloud cannot be fixed, but its centre is easy to find when there are many arrows.
Doubt 1Doubt 2
Comes fromthe equation (a and b)the trees (data)
Nameparameter uncertaintyscatter
Type of errorsystematic: same direction for every treerandom: different direction for each tree
On the chartthe whole line is a little too high or too lowdots above and below the line
Smaller if the equation is built from more harvested trees? (n = the number of trees cut down and weighed to make the equation)Yes. Divide by √n. With 4 times more harvested trees the doubt is halved.No. It stays the same.
Smaller when we add up the weights of many trees in a plot? (m = the number of trees in the plot)No. It stays the same.Yes. Divide by √m. For 4 trees added up the doubt is halved; for 100 trees it is one tenth.
Size for our equationabout 1 % of the weight, for one tree and for a whole plotabout 40 % for one tree (CV 37 %, factor 1.43; we round to 40 %); about 4 % for the total of 100 trees
Shown inPanel DPanel E
Panel A

Reading the equation, one piece at a time

AGB = a × (ρ × D² × H)b   with   a = 0.0673   and   b = 0.976

We will read it from the inside out, using our example tree #406: trunk thickness D = 8.0 cm, height H = 6.0 m, wood density ρ = 0.60 g/cm³.

Piece 1 · Inside the brackets: ρ × D² × H, the size value

Think of the trunk as a cylinder. A cylinder holds more wood when it is thicker and when it is taller. Its volume is proportional to D² × H: D is squared because the cross-section of the trunk is a circle, and the area of a circle grows with the square of its diameter. To go from volume to weight we multiply by the density of the wood, ρ. So ρ × D² × H is a rough measure of how much wood the tree has. We call it the size value.

For #406: D² = 8 × 8 = 64. Then ρ × D² × H = 0.60 × 64 × 6.0 = 230.4.

The size value is not a weight in kg; the units are mixed on purpose. It is only a number that grows when the tree is thicker, taller, or made of heavier wood. The next two pieces turn it into kg.

Piece 2 · The power b = 0.976

"Raise to the power 0.976" is almost the same as "leave as it is", because any number to the power 1 is itself. The power 0.976 makes the number a little smaller: 230.40.976 = 202.2. (On a calculator: 230.4, then the xy key, then 0.976.)

Why is b not exactly 1? Because big trees are a little lighter than their size value suggests, perhaps because big trunks are more often hollow. The table shows what b = 0.976 does. Going down the table, each size value is 10 times the one above it. If b were exactly 1, each weight would also be 10 times the one above it. With b = 0.976 each weight is only 9.5 times the one above it, because 100.976 = 9.5.

Size valueCompared with the row aboveWeight from the equationCompared with the row above
10–0.64 kg–
10010 times bigger6.0 kgonly 9.5 times bigger (6.0 ÷ 0.64)
1,00010 times bigger57 kgonly 9.5 times bigger (57 ÷ 6.0)
10,00010 times bigger540 kgonly 9.5 times bigger (540 ÷ 57)

Piece 3 · The multiplier a = 0.0673

The last step multiplies by a. This turns the number into kg: 0.0673 × 202.2 = 13.6 kg. That is the weight the equation gives for tree #406.

Try it with any tree

Where do 0.0673 and 0.976 come from? Nobody can calculate them from physics. They were measured, from 4,004 real trees (Chave and others, 2014). Panel C shows how.

Panel B

The equation as a picture

Each dot below is one tree: its size value across, its weight up. The green line is the equation. There are 4,004 dots, as in the real study, but they are computer-made. Trees come in all sizes: a sapling with size value 10 weighs less than 1 kg, a forest giant with size value 10,000,000 weighs about 450 tonnes. On ordinary graph paper (left) this is a problem. If the axes stop at 2,000, as here, more than half of the trees do not fit. If the axes went up to the giants, all the small trees would be squashed into one corner.

So we change the grid. On a log scale (right) each grid step means "10 times more": 1, 10, 100, 1,000, instead of 1, 2, 3, 4. Now the sapling and the giant get the same amount of room, and the equation becomes a straight line. This is why everyone who works with this equation draws it on log paper.

Ordinary axes: 4,004 computer-made trees, the same number as in the real study. Most do not fit on the page, and the ones that do are crowded into the corner.
Log axes: the same 4,004 trees. Every one of them is on the page, and the equation is a straight line.

What a = 0.0673 and b = 0.976 mean on this picture

b = 0.976 is the slope of the line: how steep it is. With b = 1 the line would go up exactly one grid step for every grid step across (10 times the size, 10 times the weight). With b = 0.976 it is very slightly less steep: the "9.5 times" of the table in Panel A. By eye you cannot tell 0.976 from 1; it shows up only in the numbers.

a = 0.0673 sets how high the line sits. Read the line at size value 10: the weight there is 0.0673 × 100.976 = 0.64 kg. At size value 100 it is 6.0 kg, at 1,000 it is 57 kg. If a were twice as big, 0.1346, every one of these weights would double and the whole line would move up by one small step, without changing its slope. If a were half, 0.0337, the line would move down by the same step.

The next panel shows how this line is found from measured trees.

Panel C

Where a and b come from: cut, dry, weigh, fit

The only way to know the true weight of a tree is to cut it down, dry it in an oven, and weigh it. Researchers did this for 4,004 trees in 58 tropical forests. Each dot below is one such tree: its size value across, its measured weight up, both on log scales. When all n trees are in, the computer draws the straight line that passes closest to the dots. The slope of that line is b. Its height, the weight where the line crosses size value 1, gives a. That is all an equation is: the best line through measured dots.

trees weighed: 0
Computer-made trees from the true equation plus the real amount of scatter, so that the fitted a and b can be compared with the true ones. The dashed marker is the size value of tree #406.
a found from this data (fitted a)
–
b found from this data (fitted b)
–
True a (used to make the trees)
0.0673
True b (used to make the trees)
0.976
Scatter around the line, σ (log scale)
–
Prediction for #406 (size value 230.4)
–

How the computer finds the line. It measures, on the log chart, the vertical distance from every dot to a trial line, squares each distance (so that dots above and below do not cancel), and adds them up. Then it moves the line until this total is as small as possible. This is called least squares.

The fitted a and b are never exactly the true 0.0673 and 0.976, because the dots do not sit exactly on the line. With more trees they come closer.

Try it: set n = 20, press Fast-forward, and look at the fitted a and b. Then set n = 4,000 and do it again. With 20 trees the line can tilt a lot. With 4,000 trees it hardly moves.

Panel D

Doubt 1: a and b are not known exactly

In Panel C we found a and b from n trees. Now imagine a second team goes to the forest and harvests n different trees. Their dots are different, so their line is a little different, so their a and b are a little different. A third team gets a third line. Press the button to repeat the harvest again and again. The lines pile up into a fan. The width of the fan shows how unsure we are about a and b. This is parameter uncertainty. It gets smaller as n, the number of trees harvested, gets larger.

harvests: 0

This panel uses the same n as Panel C (500 trees per harvest). To change n, use the slider in Panel C. This panel then resets.

Each faint orange line is the best-fit line from one harvest of n trees. The dark dashed line is the true equation. The dots are the latest harvest. The vertical dashed marker shows the size of tree #406.
Harvests so far
0
Trees per harvest
500
a: mean ± SD over all harvests
–
b: mean ± SD over all harvests
–
Prediction for #406: CV (SD as % of mean)
–
95 % range of the predictions for #406
–
values of a from each harvest
values of b from each harvest

The orange box is the one that matters for our tree. It answers: by how many percent does the predicted weight of #406 change from one harvest to the next? Try it: set n = 50 in Panel C and press Fast-forward here; then set n = 4,000 and press Fast-forward again. The percentage falls from several percent to about 1 %. The fan gets narrower by √n: 100 times more trees, 10 times narrower. The real equation was built from 4,004 trees, so for the project we take this doubt as 1 % of the predicted weight.

Random to the builders, fixed to the users

Doubt 1 looks different depending on who you are. The builders of the equation (the researchers who harvested the 4,004 trees) could harvest again and again, and each time the line would land a little higher or lower, with no pattern. To them Doubt 1 behaves like a random error. That is what the fan above shows.

We are users. We take one finished equation and apply it to every standing tree in our plot. We never harvest a tree, so we can never check whether our line is a little too high or too low. The error is frozen into the numbers 0.0673 and 0.976, and it is the same for every tree we calculate. To us Doubt 1 is a systematic error.

How do we put a number on Doubt 1 if we never harvest a tree?

We cannot measure it ourselves, but we can borrow the builders' information. Three ways, from easy to hard:

1 · Use what the builders published. A well-made paper reports not only a and b but also how uncertain they are (their standard errors, or the harvest repeated many times on the computer, as this panel does, using the real 4,004 trees). From these one can work out how much the predicted weight at a given size value would move with a new harvest. For this equation the answer is about 1 % of the weight. That is the number we carry into the project.

2 · Compare with a different published equation. Other researchers built other equations from other trees. If two reasonable equations differ by 5 % for our tree, then our systematic doubt is at least of that order. This is a rough but honest check.

3 · Harvest a few local trees. If a few trees of our species and size can be cut and weighed, we compare their true weights with the equation. A small local harvest cannot replace 4,004 trees, but it can show whether the equation is badly off for our forest.

Then treat it as systematic. When we add up a plot, we apply the 1 % to the total, not to each tree separately, because it does not cancel between trees. In practice this means: draw one pair of a and b per run, and use that same pair for every tree in the plot.

Panel E

Doubt 2: a real tree is not on the line

Now suppose we knew the line perfectly. A single tree is still not on it. Two trees with the same size value can have quite different weights: one may be hollow inside, the other may have many heavy branches. The equation gives the typical weight. A real tree lands somewhere around it. How far? On the log scale the spread of the dots around the line is σ = 0.357. In plain numbers: a typical tree weighs between 0.7 and 1.4 times what the line says, and the extreme trees (the outer 5 %) weigh less than half, or more than double. This spread is the scatter. Press Play to harvest many trees that have exactly the size of #406 and see where their weights land.

trees cut down: 0
Dark band: ± 1 σ, about 68 % of trees. Light band: ± 1.96 σ, about 95 % of trees. Orange dots: computer-made trees of size 230.4. The strip on the right shows the same dots piled up sideways.
Prediction for #406 from the line
13.6 kg
σ on the log scale
0.357
Typical range (± 1 σ, about 68 % of trees)
9.5 – 19.4 kg
95 % range (± 1.96 σ)
6.8 – 27.4 kg
Trees that landed inside the 95 % band
–
CV of one tree's weight
37 %

This band does not get narrower when more trees are harvested. Cutting down 40,000 trees instead of 4,000 would fix the position of the line even better. But each new tree would still land between 0.7 and 1.4 times the line. The scatter belongs to the trees themselves, not to how many trees we measured.

What does make the band narrower? Averaging. Move the "average of m trees" slider. Here m is the number of trees you average. If you report the average weight of m trees of this size, the band becomes narrower by √m: 4 trees, half as wide; 100 trees, one tenth. The hollow trees and the heavy-branched trees partly cancel each other out.

What to notice

  1. The equation is a fitted line, not a law of nature. Its two numbers came from one particular set of 4,004 harvested trees.
  2. Doubt 1 (the line) shrinks with more harvested trees, by √n. With 4,004 trees it is about 1 %. It is the same for every tree, so it does not cancel when a plot is added up.
  3. Doubt 2 (the tree) never shrinks with more harvested trees. It is about 40 % for one tree, the largest single doubt we have. It is different for every tree, so it partly cancels when a plot is added up, by √m.