Skip to content

Main content

Joint Mass Independent Reference Residual

Compare an explicit feasible joint event mass with the product of its supplied marginals without claiming statistical independence.

Loading tool…

Description

Compare a consistent supplied joint event mass with its independent reference.

Information quantities depend on the logarithm base, event model and symbol accounting. Bits, nats and hartleys are logarithmic units, while source symbols, channel symbols and header bits describe different counting bases. A local mass residual or expansion factor does not estimate entropy, independence or channel capacity from data.

Compare a consistent supplied joint event mass with its independent reference.

When to use this tool

Use Joint Mass Independent Reference Residual when you already have jointMass, firstMarginalMass, secondMarginalMass and need to compare a consistent supplied joint event mass with its independent reference.

How to use the tool and how it works

  1. Enter jointMass, firstMarginalMass, secondMarginalMass. 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 independentReferenceMass, residual. Use the output convention below.

Require marginal masses in [0,1] and joint in [max(0,p+q-1),min(p,q)]; return p*q and joint-p*q.1

Input fieldMeaning and unitsAccepted input
jointMassJoint MassRequired. Finite number.
firstMarginalMassFirst Marginal MassRequired. Finite number; minimum 0; maximum 1.
secondMarginalMassSecond Marginal MassRequired. Finite number; minimum 0; maximum 1.
Output fieldInterpretationReturned shape
independentReferenceMassIndependent Reference MassRequired. Finite number.
residualjointMass-firstMarginalMass*secondMarginalMass; one joint-cell residual, not an independence significance test.Required. Finite number.
json
{
  "input": {
    "jointMass": 0.2,
    "firstMarginalMass": 0.5,
    "secondMarginalMass": 0.3
  },
  "output": {
    "independentReferenceMass": 0.15,
    "residual": 0.05000000000000002
  }
}

Limitations and assumptions

  • The masses are supplied rather than estimated. A scalar residual is not a statistical independence test or a complete multivariate distribution 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

Evaluate the full probability model, code and payload/header format when studying information or efficiency. Keep symbol and logarithm bases explicit; a unit conversion or one joint-mass reference term is only a local calculation.

References

  1. Calculation and input contract: information/joint-mass-independent-reference-residual — tool.io

Similar or alternative tools