Skip to content

Main content

Correlation Sign Rescale Policy Tool

Correlation under nonzero linear rescaling; a collapsed variable returns an undefined flag and zero placeholder.

Loading tool…

Description

Correlation under nonzero linear rescaling; a collapsed variable returns an undefined flag and zero placeholder.

A statistical term depends on its data summaries, weighting convention, centering, denominator, and boundary rules. A contribution, derivative, domain check, or converted summary answers a narrower question than a complete estimator. Those conventions must match before terms are combined or compared.

Correlation under nonzero linear rescaling; a collapsed variable returns an undefined flag and zero placeholder.

When to use this tool

Use Correlation Sign Rescale Policy when you need this specific summary conversion, contribution, domain rule, or sensitivity term with matching statistical conventions.

How to use the tool and how it works

  1. Enter correlation, firstScale, secondScale. 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 defined, transformed. Inspect defined before interpreting the associated values.

Return transformed=correlation*sign(firstScale)*sign(secondScale) when both scales are nonzero, otherwise zero with defined false. Require a bounded correlation.1

Input fieldMeaning and unitsAccepted input
correlationCorrelationRequired. Finite number.
firstScaleFirst ScaleRequired. Finite number.
secondScaleSecond ScaleRequired. Finite number.
Output fieldInterpretationReturned shape
definedWhether the stated denominator or quantity is defined; inspect before interpreting a placeholder.Required. Boolean.
transformedTransformedRequired. Finite number.
json
{
  "input": {
    "correlation": 0.6,
    "firstScale": -2,
    "secondScale": 3
  },
  "output": {
    "defined": true,
    "transformed": -0.6
  }
}

Limitations and assumptions

  • Zero-scale output is a placeholder, not a meaningful correlation. This assumes affine rescaling of nonconstant variables and does not estimate correlation from data or resolve invalid original summaries.
  • The field tables state structural bounds; the mechanics also specify cross-field constraints. Malformed inputs and unsupported domains cause errors. A successful false flag, empty branch value, or zero placeholder has the meaning stated above and is distinct from an input error.
  • 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 complete estimator or model when a contribution, sensitivity, or domain check is insufficient. Verify the weight semantics, centering, denominator, and sampling assumptions before combining summaries.

References

  1. Calculation and input contract: statistics/correlation-sign-rescale-policy — tool.io

Similar or alternative tools