Skip to content

Main content

Biological ODE Local Residual

Compare explicit observed and modeled derivatives of the same biological state in compatible units without fitting model parameters.

Loading tool…

Description

Subtract a supplied modeled derivative from an observed derivative.

Computational biology models distinguish counts, rates, reaction orders, stoichiometric signs and state constraints. A volume-scaling factor is only one component of a stochastic propensity, and a supplied flux bound is separate from a feasible network solution. Bookkeeping balances do not infer unobserved biological states or validate a model.

Subtract a supplied modeled derivative from an observed derivative.

When to use this tool

Use Biological ODE Local Residual when you already have observedDerivative, modeledDerivative and need to subtract a supplied modeled derivative from an observed derivative.

How to use the tool and how it works

  1. Enter observedDerivative, modeledDerivative. 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 residual. Use the output convention below.

Return observedDerivative-modeledDerivative.1

Input fieldMeaning and unitsAccepted input
observedDerivativeObserved DerivativeRequired. Finite number.
modeledDerivativeModeled DerivativeRequired. Finite number.
Output fieldInterpretationReturned shape
residualResidualRequired. Finite number.
json
{
  "input": {
    "observedDerivative": 0.8,
    "modeledDerivative": 0.6
  },
  "output": {
    "residual": 0.20000000000000007
  }
}

Limitations and assumptions

  • Time/unit bases must match. No derivative, ODE solution, model fit, error distribution or biological process is estimated.
  • 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

Check the full model definition, data provenance, reaction conventions and numerical implementation. Use complete network, stochastic or population analyses when needed; local count balances, priorities and bound checks cannot establish biological mechanisms or model adequacy.

References

  1. Calculation and input contract: computational-biology/biological-ode-local-residual — tool.io

Similar or alternative tools