Skip to content

Main content

QC Replicate Relative Difference

Compute absolute replicate difference divided by the mean absolute magnitude, expressed as percent; both-zero input is undefined.

Loading tool…

Description

Calculate replicate relative percent difference using absolute-value normalization.

Quality-control results depend on measurement basis, calibration reference, rounding, limit inclusion and decision rules. A raw result can lie on a different side of a boundary from its reported value. Guard bands and relative differences must retain their exact definitions; a local comparison does not select a valid specification or establish conformance.

Calculate replicate relative percent difference using absolute-value normalization.

When to use this tool

Use QC Replicate Relative Difference when you already have firstResult, secondResult and need to calculate replicate relative percent difference using absolute-value normalization.

How to use the tool and how it works

  1. Enter firstResult, secondResult. Use the units and conventions below.
  2. Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
  3. Read relativePercentDifference. Use the output convention below.

Require abs(first)+abs(second)>0; return 200*abs(first-second)/(abs(first)+abs(second)).1

Input fieldMeaning and unitsAccepted input
firstResultFirst ResultRequired. Finite number.
secondResultSecond ResultRequired. Finite number.
Output fieldInterpretationReturned shape
relativePercentDifference200*abs(first-second)/(abs(first)+abs(second)); undefined when both results are zero.Required. Finite number.
json
{
  "input": {
    "firstResult": 8,
    "secondResult": 12
  },
  "output": {
    "relativePercentDifference": 40
  }
}

Limitations and assumptions

  • Signed readings are allowed; the denominator differs from a signed mean convention, both zero is undefined, and no precision limit is selected.
  • Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
  • Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Numeric signed-zero results are exported as zero.

Alternative or Complementary methods

Apply the documented measurement method, calibration records and complete decision rule when judging a result. Keep raw values, reported values, uncertainty and endpoint inclusion visible; a supplied guard band or replicate term does not select that rule.

References

  1. Calculation and input contract: quality-control/qc-replicate-relative-difference — tool.io

Similar or alternative tools