Course contentsShow
← Data Science
Lesson 262 of 2,1457. Sampling and EstimationFree lesson

Standard Error of the Mean

Calculating and interpreting SEM using the formula σ/√n and understanding how sample size affects precision.

Standard Error of the Mean

You'll learn how to calculate the Standard Error of the Mean (SEM) and see how sample size dramatically improves precision.

What Is the Formula?

The Standard Error of the Mean is calculated using a beautifully simple formula:

SEM = σ / √n

Where:

  • σ (sigma) is the population standard deviation
  • n is your sample size
  • √n is the square root of the sample size

This formula tells you how much your sample mean typically varies from the true population mean.

Understanding the Formula

Think of the SEM as the "margin of wiggle" in your sample mean. When you take a sample and calculate its mean, that number won't be exactly the population mean—there's always some sampling error. The SEM quantifies that uncertainty.

The magic of sample size: Notice that n is in the denominator under a square root. This means:

  • Larger samples → smaller SEM (more precision!)
  • But the improvement follows a square root pattern, not a linear one

For example, to cut your SEM in half, you need to quadruple your sample size (not double it). Going from 100 to 400 samples halves the error. This is why massive improvements require exponentially more data.

The Square Root Reality

The √n term explains why diminishing returns kick in quickly. Your first 100 observations provide huge gains in precision. The jump from 100 to 200 helps, but not as dramatically. Going from 10,000 to 10,100? Barely noticeable.

Key Takeaway: The Standard Error of the Mean (σ/√n) measures how precisely your sample mean estimates the population mean, and increasing sample size improves precision—but with diminishing returns due to the square root relationship.