Systematic error modeling and nuisance marginalization
Represent calibration uncertainty in a joint model and distinguish profiling from integrating a probability distribution over nuisance parameters.
On this page
The question for today
What you’ll understand
- Construct a joint likelihood for a primary and calibration measurement.
- Derive a simple marginalized Gaussian model with explicit prior assumptions.
- Preserve common systematic correlations across repeated measurements.
A systematic uncertainty is not generally an extra independent random number attached to each data point. It often represents uncertain knowledge of a shared detector response or background component. A nuisance parameter makes that dependence explicit and connects it to calibration information. This lesson uses a common additive offset because profiling, marginalization and covariance propagation can all be derived exactly. Their numerical agreement in this special model will help reveal why their interpretations remain different and why more complicated models need separate checks.
Model the calibration measurement too
Let a primary reading y measure a physical value theta plus an unknown offset b, with independent Gaussian noise of known standard deviation sigma. An auxiliary calibration reading c measures that same b with known Gaussian standard deviation tau. In a frequentist analysis b is a fixed unknown parameter, while both y and c fluctuate in repetitions. Their likelihood factors only because the two noises are independent conditional on theta and b. If the calibration shares events with the primary data, that factorization needs revision.
Maximizing the joint likelihood gives the corrected estimate y minus c. Its repeated-sample variance is the sum of the two noise variances, because the correction contains the fluctuating calibration measurement with coefficient minus one. A profile likelihood holds theta fixed and maximizes over b. It retains nuisance dependence through its optimized value; it does not average b over a probability distribution. Calibration constraints are likelihood terms here, and should not automatically be called priors merely because their algebra is Gaussian.
Marginalization averages parameter uncertainty
For a Bayesian treatment, suppose an improper constant initial density for b on the real line is updated with the calibration alone. This gives a Gaussian distribution for b centered at c with variance tau squared. Use it once as the calibration-informed prior in the primary analysis. Integrating over b convolves two Gaussian distributions. With a flat prior for unrestricted theta, the resulting posterior is proper and Gaussian, centered at y minus c with variance sigma squared plus tau squared. The improper initial densities are acceptable here only because this posterior can be normalized.
Completing the square also shows that profiling yields the same theta-dependent quadratic as marginalization in this linear, constant-variance Gaussian case. The marginal integral contributes a theta-independent normalization. In nonlinear models, parameter-dependent widths, boundaries or non-Gaussian priors, that factor need not be constant and the two procedures can give different shapes. Neither integrating nor maximizing automatically provides frequentist coverage. Bayesian posterior content and a profile-based confidence construction require their respective interpretations and validation.
Shared effects remain shared after combination
For several readings with the same offset, reducing the independent noise by averaging does not reduce the calibration uncertainty in the same way. Marginalizing a common offset induces off-diagonal covariance. Assigning a fresh independent offset to each reading is a different physical model and can understate the uncertainty of a common mean. The same principle applies to shared luminosity, energy scale and detector alignment parameters, although their sensitivities may differ and can depend on the physical parameters being fitted.
Uncertain efficiencies are bounded, positive scale factors are not unrestricted additive offsets, and theoretical shape alternatives may not be well described by one Gaussian parameter. Choose nuisance models that match calibration evidence and physical constraints, then examine sensitivity to defensible alternatives. Extra nuisance flexibility cannot guarantee protection against misspecification outside that family. Document what each parameter represents, which data constrain it, which correlations it creates, and whether calibration information is treated as a likelihood or a probability distribution over the parameter.
Work it through
A corrected reading with finite calibration precision
A main reading is y = 12 V with known Gaussian standard deviation 2 V. An independent offset calibration is c = 2 V with standard deviation 3 V. Find the corrected estimate and variance; then state the posterior under the flat-prior assumptions above.
The primary measurement estimates theta plus b, while the calibration estimates b. Subtraction gives .
The independent primary and calibration variances are and . Their sum is , so the estimator standard deviation is .
The calibration-informed b prior is Gaussian with mean two V and variance nine V squared. Marginalization and a flat theta prior give a Gaussian theta posterior with mean ten V and variance thirteen V squared, without counting c again.
The corrected estimate is 10 V with variance 13 V²; the stated Bayesian posterior has the same mean and variance in this special Gaussian model.
The living notebook
Explore the model
Interactive lab · function
A shared quadratic penalty changes inference curvature
Reset and set BOTH Coefficient a = 1 and Position x = 1; predict y = 1 and slope 2. For a fresh comparison, Reset and set a = 0.5 and x = 1; predict y = 0.5 and slope 1.
- y at chosen x
- 0.608
- Tangent slope · 2ax
- 1.35
- Signed area · ax³/3
- 0.182
This lab uses only y = ax². Playback traces the curve within the fixed integration interval from 0 to x; it does not estimate numerical error or change the chosen point. Parameter changes pause playback and recompute the model at the current elapsed time. Reset restores both parameters and returns time to zero. Playback starts paused. Adjust either parameter, then choose Play or Step.
Look forThis fixed quadratic only illustrates changing a penalty curvature. It does not integrate or profile nuisance parameters, represent calibration data, or construct a posterior.
Pause & reason
Check your understanding
Your turn
Try it yourself
Two independent main readings are 10 and 14 V, each with standard deviation 2 V, and share the same offset. The independent calibration remains c = 2 V with standard deviation 3 V. Find the corrected average and its variance. Compare with incorrectly treating the calibration errors of the two readings as independent.
Take a moment to make a prediction or work it out on paper. Open a hint when you need one.
Give me a hint
Average only the independent main noises down; subtract the one shared calibration once.
Compare with the solution
The raw average is 12 V, so the corrected estimate is 10 V. The independent-noise variance of the average is . Add the one common calibration variance nine to obtain . Giving each reading an independent calibration error instead gives , which describes a different experiment and underestimates this uncertainty. Under the stated flat-prior Gaussian treatment the posterior variance is also eleven; this equality is model-specific.
Keep the idea
Take it with you
- Nuisance parameters connect primary data to calibration evidence.
- Profiling maximizes while marginalization integrates parameter uncertainty.
- Common calibration information must remain correlated and enter only once.
Read further
Original sources and deeper explanations to follow at your own pace.
Optional progress, saved in this browser when available. Revisit any lesson at any time.
Lesson not marked complete.