Skip to content

Main content

Entropy Probability Perturbation Linear Term Tool

Calculate entropy probability perturbation linear term from explicit caller-supplied inputs.

Loading tool…

Description

Require probability in (0, 1] and multiply -(log2(probability) + 1/ln(2)) by delta for bitsChange.

Entropy summarizes uncertainty under a specified probability model and logarithm convention. Support indicators, one-symbol terms, and exponentiated entropies are components with different meanings.

Require probability in (0, 1] and multiply -(log2(probability) + 1/ln(2)) by delta for bitsChange.

When to use this tool

Use Entropy Probability Perturbation Linear Term when you need one explicitly scoped entropy or support calculation.

How to use the tool and how it works

  1. Enter probability, delta. 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 bitsChange. Use the output convention below.

Require probability in (0, 1] and multiply -(log2(probability) + 1/ln(2)) by delta for bitsChange.1

Input fieldMeaning and unitsAccepted input
probabilityProbability in the stated interval; zero handling follows the calculation above.Required. Finite number; minimum 0; maximum 1; strictly above 0.
deltaDeltaRequired. Finite number.
Output fieldInterpretationReturned shape
bitsChangeBits ChangeRequired. Finite number.
json
{
  "input": {
    "probability": 0.5,
    "delta": 0.1
  },
  "output": {
    "bitsChange": -0.04426950408889634
  }
}

Limitations and assumptions

  • This is a first-order change in one -p log2(p) term; delta need not preserve normalization and finite changes require higher-order analysis.
  • 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

Validate and align complete probability distributions before aggregating terms or interpreting an uncertainty estimate.

References

  1. Calculation and input contract: information/entropy-probability-perturbation-linear-term — tool.io

Similar or alternative tools