Description
Return value as the clipped result and displacement=clipped-original.
Normalization depends on the supplied center, scale, norm, range, reference distribution, or denominator. A zero spread and a missing denominator need an explicit policy, and clipping differs from fitting a scaler. Evaluating one scalar or derivative term does not estimate every parameter or establish a distributional improvement.
Return value as the clipped result and displacement=clipped-original.
When to use this tool
Use Winsorized Value Clipping Displacement when you already have the required normalization parameters and need this local scalar, range, policy, or derivative term.
How to use the tool and how it works
- Enter value, lower, upper. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read value, displacement. Use the output convention below.
For lower<=upper clamp value into that closed interval. Return value as the clipped result and displacement=clipped-original.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| value | Supplied scalar or returned value under the stated operation. | Required. Finite number. |
| lower | Lower | Required. Finite number. |
| upper | Upper | Required. Finite number. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| value | Supplied scalar or returned value under the stated operation. | Required. Finite number. |
| displacement | Clipped minus original; opposite sign to original-minus-clipped distance. | Required. Finite number. |
{
"input": {
"value": 12,
"lower": 0,
"upper": 10
},
"output": {
"value": 10,
"displacement": -2
}
} Limitations and assumptions
- Bounds are supplied rather than estimated from percentiles. This is one scalar winsorization step, not a fitted robust estimator, trimmed sample, or automatic outlier decision.
- 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
Fit or verify the intended scaler parameters and statistical model separately. Check units, zero policies, missingness, clipping, inverse conventions, and whether supplied norms or denominators belong to the same data.
References
Similar or alternative tools
- Clipped Value Distance
For lower<=upper clamp value into the closed interval, return clipped, and signedDistance=original-clipped.
- Unit Interval Epsilon Clamp Distance
Return clamped and distance=abs(value-clamped).