Measurement
A nearly perfect calibration line can still hide a pattern
A complete fictional aquarium measurement example shows why residuals deserve inspection even when a fitted calibration line has a high R-squared.
By FishyMag · Published
Worked arithmetic example · Not a clinical review or treatment recommendation.
Quick answer
Inspect the differences between observed and fitted values, not just the line or R-squared. In this fictional five-level example, the fitted line is y=x and R² is about 0.99944, yet the residuals form a clear curved pattern. That calls for model review; it does not identify a failed real kit or supply a replacement calibration procedure.


Figure data and explanation
Fictional y=x fit: the signed residuals are positive at the ends and negative in the middle.
- Signed difference
- Each point is indication minus fitted value.
- Same reporting basis
- Both axes retain their concentration units.
- Model question
- The pattern calls for review, not a guessed correction.
The residual plot adds information that the single R-squared value hides.
Define the supplied report before judging it
This is an invented measurement report for a fictional aquarium analysis method. Both reference and indicated concentration use mg/L on the same declared basis. No actual instrument, standard preparation or calibration experiment is represented. The exercise analyses numbers already supplied; it does not tell a keeper to prepare reference solutions or alter an instrument. NIST’s calibration guidance recommends examining data and residuals for structure that may undermine a proposed model.
Work the fitted line and residuals
The five reference values average 2 mg/L, and the five indications also average 2 mg/L. The fitted slope is 1 and intercept 0 for these particular numbers. Subtract each fitted value from its indication to obtain the residual. Keeping the signs exposes a pattern that a small overall error summary can hide.
| Reference x, mg/L | Indication y, mg/L | Fitted y=x, mg/L | Residual y−x, mg/L | Squared residual,(mg/L)² |
|---|---|---|---|---|
| 0 | 0.04 | 0 | 0.04 | 0.0016 |
| 1 | 0.98 | 1 | -0.02 | 0.0004 |
| 2 | 1.96 | 2 | -0.04 | 0.0016 |
| 3 | 2.98 | 3 | -0.02 | 0.0004 |
| 4 | 4.04 | 4 | 0.04 | 0.0016 |
A strong summary does not remove the curvature
The residual sum of squares is 0.0056(mg/L)². The total sum of squared deviations of y from its mean is 10.0056(mg/L)², giving R²=1−0.0056/10.0056, approximately 0.99944. Nevertheless, the residuals are positive at both ends and negative in the middle. The plot magnifies their stated unit and retains a marked zero line. It shows structure in this constructed dataset; it does not prove a physical mechanism or quantify an actual method’s usable range.
Finish with a model-review question
The completed finding is: “The fictional linear fit has high R-squared, but its residuals show curvature. A linear-model adequacy question remains open.” For a real report, retain replicate information, uncertainty in reference values, the applicable model and method-defined acceptance criteria. A different curve or weighting scheme must be justified and checked. Do not select a quadratic model or an automatic 1/x weight merely to make a plot look flatter. This example supplies no universal residual cutoff or calibration pass/fail decision.
Use your own details
A nearly perfect calibration line can still hide a pattern worksheet
Download the editable text file, fill it in on your device and keep it with the relevant record. This blank worksheet records your information; it does not verify entries or approve treatment.
- Method and report identity
- Reference values and their uncertainty basis
- Reported indications and units
- Fitted model and coefficients
- Observed-minus-fitted residuals
- Replicate and range information
- Pattern and method-defined review criteria
- Unresolved model question and supporting files
Put it into practice
Your checklist
- Inspect signed residuals alongside the fitted line.
- Keep the plotted unit and zero baseline explicit.
- Ask for justified model validation rather than inventing a pass threshold.
Sources and scope
This article distinguishes manufacturer statements from FishyMag’s own workflows and arithmetic examples. Linked formulation records retain their own evidence dates; publishing this article does not refresh those records.
- NIST/SEMATECH: calibration model validation; reviewed November 8, 2026 ↗
- Australian and New Zealand guidelines: water-quality data analysis; reviewed November 8, 2026 ↗
AI-assisted writing and development. Not hands-on product testing or veterinary review. How we publish →
FishyMag reports what manufacturers say, quoted and linked. It does not diagnose illness or recommend a treatment, and it never infers that a product is safe from the absence of a warning — where no statement exists, it says so.
Formulations change. Always read the label on the bottle in your hand, and contact the manufacturer if your tank contains anything valuable or unusual.