Week 05 · Calibration, identifiability, and sensitivity
Design a measurement that distinguishes parameters with equal fit.
← Week 4 · Subject contents · Week 6 →
Design a measurement that distinguishes parameters with equal fit.
Work through the problem
A model predicts completed jobs y = a x + b, where x is hours and b is an initial backlog already completed. One observation y = 12 at x = 2 constrains 2a+b = 12. Both (a,b) = (4,4) and (5,2) fit exactly. Even repeating the observation without noise would not identify both parameters.
At x = 5 the predictions are 24 and 27. An additional time point makes the design full rank because the two rows [2,1] and [5,1] are independent. Sensitivity of the output to a is x, so measurements farther from the first time can separate the two candidates more sharply.
Run the Python lab
import numpy as np
candidates = np.array([[4,4],[5,2]])
for x in [2,5]:
print(x, candidates @ [x,1])
fit = np.linalg.solve([[2,1],[5,1]],[12,27])
print("Identified rate and intercept:", fit)
assert np.allclose(fit,[5,2])
Output from the lab
2 [12 12]
5 [24 27]
Identified rate and intercept: [5. 2.]
Practice
- Can measuring y at x = 2 with a better instrument identify a and b?
Check your reasoning
- It can tighten the constraint on 2a+b but still leaves a line of possible pairs.