Skip to content
← All questions

What is the z-score standardization formula and what statistics does it target?

Standardization transforms a feature value xx into z=x−μσz = \frac{x - \mu}{\sigma}, targeting a mean of 0 and a standard deviation of 1 for the transformed feature.

Conditions

  • Applied per numerical feature.
  • Uses the feature mean μ\mu and standard deviation σ\sigma.
  • Assumes σ>0\sigma > 0.

Reasoning, step by step

  1. Calculate the mean μ\mu and standard deviation σ\sigma of the feature.
  2. Subtract the mean μ\mu from the original value xx to center the data.
  3. Divide by the standard deviation σ\sigma to scale the spread to 1.

Example

The video shows the formula z=x−μσz = \frac{x - \mu}{\sigma} and states that features are transformed to have the properties of a standard normal distribution with mean 0 and standard deviation 1.

Common misconceptions

  • Believing that standardization forces the data to follow an exact normal distribution, whereas it only guarantees mean 0 and standard deviation 1.
  • Confusing standardization with min-max normalization, which bounds values to [0, 1].

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.