TExcelTAD
Home › Statistics › Standard Normal Distribution

Standard Normal Distribution

The standard normal distribution is the normal distribution with mean 0 and standard deviation 1. It is written N(0, 1) and its variable is usually called Z. Every normal distribution can be converted into it, which is why a single table (or function) of standard normal probabilities is enough for all normal problems.

Standardising: the z-score

To convert a value x from a normal distribution N(μ, σ) into a standard normal value, subtract the mean and divide by the standard deviation:

text
z = (x − μ) / σ

The z-score says how many standard deviations x is above (positive) or below (negative) the mean. The reverse conversion is x = μ + z × σ.

python · try it yourself
mu, sigma = 64.0, 2.5         # mean and SD of an apple-juice bottling line, in cl

for x in [64.0, 66.5, 60.25, 70.0]:
    z = (x - mu) / sigma
    print(f"x = {x:5.2f} cl  ->  z = {z:+.2f}")
x = 64.00 cl  ->  z = +0.00
x = 66.50 cl  ->  z = +1.00
x = 60.25 cl  ->  z = -1.50
x = 70.00 cl  ->  z = +2.40

Why standardising works

Standardising shifts and rescales the curve without changing its shape, so areas (probabilities) are preserved: P(X < x) = P(Z < z). We can verify that SciPy gives the same probability both ways:

python · try it yourself
from scipy import stats

mu, sigma = 64.0, 2.5
x = 60.25
z = (x - mu) / sigma

print(f"P(X < {x}) with N(64, 2.5): {stats.norm.cdf(x, loc=mu, scale=sigma):.5f}")
print(f"P(Z < {z}) with N(0, 1):     {stats.norm.cdf(z):.5f}")
P(X < 60.25) with N(64, 2.5): 0.06681
P(Z < -1.5) with N(0, 1):     0.06681

Using the standard normal

The standard normal CDF is often written Φ(z) (capital phi). Three patterns cover almost every question:

Question Formula SciPy
area to the left of z Φ(z) stats.norm.cdf(z)
area to the right of z 1 − Φ(z) stats.norm.sf(z)
area between a and b Φ(b) − Φ(a) stats.norm.cdf(b) - stats.norm.cdf(a)

Example: a university entrance test is normal with mean 500 and SD 100. What share of applicants scores between 450 and 650, and what score is needed to be in the top 5%?

python · try it yourself
from scipy import stats

mu, sigma = 500, 100
z_low, z_high = (450 - mu) / sigma, (650 - mu) / sigma
share = stats.norm.cdf(z_high) - stats.norm.cdf(z_low)
print(f"z from {z_low} to {z_high}: {share:.2%} of applicants")

z_top = stats.norm.ppf(0.95)              # z with 95% of the area to its left
print(f"top 5% starts at z = {z_top:.3f}, i.e. a score of {mu + z_top * sigma:.1f}")
z from -0.5 to 1.5: 62.47% of applicants
top 5% starts at z = 1.645, i.e. a score of 664.5

Critical values

Some z-values are used so often in confidence intervals and tests that they have a name: critical values z_(α/2). They cut off a total area of α split between the two tails:

python · try it yourself
from scipy import stats

print("confidence  two-tailed z   one-tailed z")
for conf in [0.80, 0.90, 0.95, 0.98, 0.99]:
    alpha = 1 - conf
    print(f"   {conf:.0%}        {stats.norm.ppf(1 - alpha / 2):.3f}         {stats.norm.ppf(1 - alpha):.3f}")
confidence  two-tailed z   one-tailed z
   80%        1.282         0.842
   90%        1.645         1.282
   95%        1.960         1.645
   98%        2.326         2.054
   99%        2.576         2.326

Remember at least 1.645, 1.96 and 2.576. They appear in the next lessons constantly.

Visualising an area

python · try it yourself
import numpy as np
import matplotlib.pyplot as plt
from scipy import stats

z = np.linspace(-4, 4, 400)
fig, ax = plt.subplots(figsize=(6.5, 3.2))
ax.plot(z, stats.norm.pdf(z), color="#2a78d6", linewidth=2)
band = (z >= -0.5) & (z <= 1.5)
ax.fill_between(z[band], stats.norm.pdf(z[band]), color="#86b6ef")
ax.set_xlabel("z")
ax.set_yticks([])
ax.set_title("P(-0.5 < Z < 1.5)")
plt.tight_layout()
plt.show()
print(f"shaded area = {stats.norm.cdf(1.5) - stats.norm.cdf(-0.5):.4f}")
shaded area = 0.6247

The shaded region is exactly the share of entrance-test applicants scoring between 450 and 650 from the earlier example, which is the whole point of standardising: one picture, one table, every normal distribution. The Z-Table Reference lesson prints the classic lookup table.

Test yourself

Exam scores are N(70, 8). What is the z-score of a score of 58?

  1. −1.5
  2. 1.5
  3. −12
  4. −0.75

What is P(Z > 0) for the standard normal distribution?

  1. 0
  2. 0.5
  3. 0.68
  4. 1

Which critical z-value leaves 2.5% in each tail (95% in the middle)?

  1. 1.645
  2. 1.96
  3. 2.326
  4. 2.576