Skip to content

Main content

PD Research Non Monotone Branch Tag Tool

Label supplied response segments under an explicit flatness tolerance.

Loading tool…

Description

Label supplied response segments under an explicit flatness tolerance.

A pharmacodynamic model relates an exposure or occupancy measure to a response under explicitly supplied parameters. Baseline, maximum increment, half-maximal concentration, effect direction, and observation windows have distinct meanings. Evaluating one model term does not fit the curve or establish its clinical validity.

Label supplied response segments under an explicit flatness tolerance.

When to use this tool

Use PD Research Non Monotone Branch Tag when you need this particular response-model term, scale conversion, panel duration, or support calculation.

How to use the tool and how it works

  1. Enter levels, responses, tolerance. Keep parallel arrays aligned. 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 risingSegments, fallingSegments, flatSegments, nonMonotone. Inspect nonMonotone before interpreting the associated values.

Require aligned levels and responses with at least two strictly increasing levels and nonnegative tolerance. Classify each adjacent response change as rising above tolerance, falling below negative tolerance, or flat otherwise; return zero-based segment indices and nonMonotone when rising and falling segments both occur.1

Input fieldMeaning and unitsAccepted input
levelsLevelsRequired. Array of finite number; maximum items 256.
responsesResponsesRequired. Array of finite number; maximum items 256.
toleranceAbsolute response-change allowance, not a slope-per-concentration tolerance.Required. Finite number.
Output fieldInterpretationReturned shape
risingSegmentsRising SegmentsRequired. Array of safe integer; maximum items 256.
fallingSegmentsFalling SegmentsRequired. Array of safe integer; maximum items 256.
flatSegmentsFlat SegmentsRequired. Array of safe integer; maximum items 256.
nonMonotoneNon MonotoneRequired. Boolean.
json
{
  "input": {
    "levels": [
      1,
      2,
      3,
      4
    ],
    "responses": [
      1,
      3,
      2,
      2
    ],
    "tolerance": 0
  },
  "output": {
    "risingSegments": [
      0
    ],
    "fallingSegments": [
      1
    ],
    "flatSegments": [
      2
    ],
    "nonMonotone": true
  }
}

Limitations and assumptions

  • Tolerance is in response units and classifies changes, not slopes per level unit. The labels do not fit a smooth curve, detect a mechanism, or establish statistically significant non-monotonicity.
  • 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. Signed zero is exported as zero.

Alternative or Complementary methods

Use a fitted and validated response model when a supplied local term is insufficient. Check exposure units, response direction, baseline, model assumptions, and observation support before comparing effects.

References

  1. Calculation and input contract: pharmacodynamics/pd-research-non-monotone-branch-tag — tool.io

Similar or alternative tools