Try it on paper first. A hint, the key idea and the worked solution are here when you need them.
Six yearly values of a quantity, for , are 2.1, 2.9, 3.4, 4.6, 4.9 and 6.0. A straight line and a quadratic, , have both been fitted to the six values by least squares. (a) What is the slope of the straight line? (b) What is of the straight line? (c) What value does the straight line give at ? (d) What does the quadratic give at ? (e) What is the root mean square error of the straight line over the six points, ?
Growth by the fraction a year doubles in years. A recession is , with half-life . A one-box model, , has , the time constant and . An Euler step is .
Check an answer or open a hint to unlock the worked solution.
Have you tried it?
Work it out on paper first. It is fine to get stuck or make a mistake: that is how we learn. When you are ready, go through the solution one step at a time, and check each step against your own.
Step 1. The sums. , , , .
Step 2. The slope and the intercept. and .
Step 3. The fit. . For the quadratic, , only a little higher.
Step 4. The two predictions. At the line gives . The quadratic gives .
Step 5. The error of the line. , so .
Answer: ; ; ; ; .
Check. The two curves differ by at , which is of the line's value, but by only at , just beyond the data. Inside the record they cannot be told apart. The further we go, the more the choice of curve matters, and six points cannot make it.
Log in to join the discussion.
Loading…