Skip to content
← All questions

How to standardize a dataset using the Z-score formula?

To standardize a dataset using the Z-score formula, first compute the mean (μ\mu) and standard deviation (σ\sigma) of the dataset. Then, for each original data value XX, apply the formula X′=X−μσX' = \frac{X - \mu}{\sigma} to convert it into a standardized score.

Conditions

  • Requires knowing the mean and standard deviation of the dataset

Reasoning, step by step

  1. Calculate the mean μ\mu by summing all data values and dividing by the total number of values.
  2. Calculate the standard deviation σ\sigma by finding the squared differences from the mean, averaging them, and taking the square root.
  3. Substitute each original value XX, the mean μ\mu, and the standard deviation σ\sigma into the Z-score formula X′=X−μσX' = \frac{X - \mu}{\sigma}.
  4. Compute the result to get the standardized value X′X'.

Example

For a student height of 64, with a mean of 70 and standard deviation of 4, the Z-score is calculated as 64−704=−64=−1.5\frac{64 - 70}{4} = \frac{-6}{4} = -1.5.

Common misconceptions

  • Assuming that standardization changes the shape of the data distribution; Z-score standardization only shifts and scales the data, preserving the original distribution shape.

Watch the explanation

Explore next

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