Skip to content
← All questions

Why does standardized output contain negative values while min-max output does not?

Standardization centers data at the mean (μ\mu), so values below the mean become negative. Min-max normalization shifts and scales data so the minimum becomes 0 and the maximum becomes 1, keeping all values non-negative within [0, 1].

Conditions

  • Standardization uses z=x−μσz = \frac{x - \mu}{\sigma}.
  • Min-max uses Xnorm=X−Xmin⁡Xmax⁡−Xmin⁡X_{\text{norm}} = \frac{X - X_{\min}}{X_{\max} - X_{\min}}.

Reasoning, step by step

  1. For standardization, subtracting μ\mu from xx yields negative results if x<μx < \mu.
  2. For min-max, subtracting Xmin⁡X_{\min} ensures the numerator is non-negative, and dividing by the positive range keeps the result in [0, 1].
  3. Observe that Out[11] (standardization) has negatives like -0.56, while Out[8] (min-max) has values like 0.19 and 1.0.

Example

The video shows Out[11] with negative values like -0.5622498 for standardization, and Out[8] with values between 0 and 1 for min-max scaling.

Common misconceptions

  • Believing that standardization should also produce values between 0 and 1.
  • Thinking that negative standardized values indicate an error in calculation.

Watch the explanation

Connected concepts

Explore next

Related questions

Understand why

↗
Understand why

↗
Find a method

↗
Meet the concept

↗

Answers are generated from source material and independently checked. Consult the original video or creator if something is unclear.