Skip to content

Main content

Pair Matched Discordance Budget Tool

Calculate pair matched discordance budget from explicit caller-supplied inputs.

Loading tool…

Description

Return matched binary-pair total and discordance balance.

Biostatistical terms depend on a declared observation unit, exposure denominator, event order and sampling design. A risk-set flag, paired discordance contribution or support-weight ratio can be computed locally without fitting a survival model, establishing a treatment effect or validating an inferential analysis.

Return matched binary-pair total and discordance balance.

When to use this tool

Use Pair Matched Discordance Budget when checking the stated exposure, event, matched-pair or cluster-support convention.

How to use the tool and how it works

  1. Enter bothPositive, bothNegative, firstOnly, secondOnly. 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 pairs, discordant, signedDiscordance. Use the output convention below.

Return matched binary-pair total and discordance balance. Require nonnegative whole four-cell counts; pairs sums all, discordant = firstOnly+secondOnly, signedDiscordance = firstOnly-secondOnly.1

Input fieldMeaning and unitsAccepted input
bothPositiveBoth PositiveRequired. Safe integer; minimum 0.
bothNegativeBoth NegativeRequired. Safe integer; minimum 0.
firstOnlyFirst OnlyRequired. Safe integer; minimum 0.
secondOnlySecond OnlyRequired. Safe integer; minimum 0.
Output fieldInterpretationReturned shape
pairsPairsRequired. Safe integer.
discordantDiscordantRequired. Safe integer.
signedDiscordanceSigned DiscordanceRequired. Safe integer.
json
{
  "input": {
    "bothPositive": 10,
    "bothNegative": 20,
    "firstOnly": 5,
    "secondOnly": 3
  },
  "output": {
    "pairs": 38,
    "discordant": 8,
    "signedDiscordance": 2
  }
}

Limitations and assumptions

  • No subject pairing, independence, hypothesis test or clinical interpretation is validated.
  • 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

Analyze complete verified data with a method appropriate to the design and censoring assumptions; assess uncertainty and consult qualified statistical and clinical professionals for health conclusions.

References

  1. Calculation and input contract: biostatistics/pair-matched-discordance-budget — tool.io

Similar or alternative tools