Calculating Mean and Standard Error of the Sampling Distribution

UPI Study › Courses › Marketing Research › Free lessons › Lesson 9.4 Free lesson

Calculating Mean and Standard Error of the Sampling Distribution

Marketing Research · Chapter 9: Statistical Measures and Data DistributionSection 9.4 · lesson 65 of 10111 min · free to watch

← Central Tendency Measures: Mean, Median, and ModeNext lesson: Measures of Variability: Range, Variance, and Standard Deviation →

Earn 3 college credits for Marketing ResearchRecommended for credit by NCCRS · Marketing 300 · self-paced · one payment, lifetime access

In this lesson

How sample means vary and how the standard error measures it.

  • Describe the sampling distribution of the mean and where it centers
  • Compute the standard error as s divided by the square root of n
  • Explain why quadrupling the sample size halves the standard error
  • Distinguish the standard error from the standard deviation

Free study notes

Get this lesson's notes by email

The key points and 4 practice questions with answers, in your inbox. One email, free.

One email. Unsubscribe in one click.

Transcript

Everything said in the video, section by section (1,594 words). Read along, or search it.

Opening Question

Would Another 400 Shoppers Say 6.2

Fernway interviews 400 shoppers. They buy a mean of 6.2 bars a month. Now, if Grace interviewed a different four hundred, would she get six point two again? Almost certainly not. She would get something a little different. And a third group would give a third answer. How different? That wobble, from sample to sample, has a size. And you can calculate it.

Fernway Snacks is a composite case built for teaching. And all of its numbers are invented. But the idea in this lesson is real, and it sits under almost every survey result you will ever read.

In this lesson, you will describe the sampling distribution of the mean, and its center. You will compute the standard error, by hand, in Excel, and in Python. And you will explain what happens to the standard error, as the sample grows.

Thought Experiment

Many Samples, Many Means, One Soup Pot

First: the idea, many samples, many means. Imagine, only as a thought experiment, that Nadia could draw sample after sample of shoppers, all from the same population. And imagine she writes down the mean of each one.

Here is the key picture. The pile of those means is called the sampling distribution of the mean. In real life, you draw one sample, never thousands. So the sampling distribution is a way of thinking. It is how statisticians picture what that one sample could have been.

Think of it like tasting soup. You dip in a spoon, and taste. Another spoon, from the same pot, tastes almost the same. But not exactly. The pot is the population. Each spoonful is a sample. And the small differences between spoonfuls are the wobble we want to measure.

Simulation

Two Thousand Samples From 5,000 Shoppers

A computer can play the thought experiment for us. Start with an invented population of 5,000 Fernway shoppers. Their monthly bar counts are lopsided. There are many light buyers, and a few heavy ones. The population mean is 5.97 bars.

Python draws 2,000 random samples of 25 shoppers each. Then it draws two thousand samples of 100. And each time, it records the mean.

Look at the first three samples. One gives a mean of 5.32. The next gives 6.48. The next gives 6.12. None of them is the true five point nine seven. But all of them are near it.

Now pile up all two thousand means, and three things stand out. First, the sample means are centered on the population mean. They are not systematically too high, or too low. Some miss above, and some miss below. And the misses balance out.

Three Findings

Narrow Piles and the Central Limit Theorem

Second, the means are much less spread out than the population itself. Single shoppers range from zero bars, to twenty or more. But the averages from groups of twenty five shoppers cluster in a narrow band. Third, the pile for one hundred is narrower than the pile for twenty five. Bigger samples wobble less.

And here is a surprise. The pile of means looks like a bell. Even though the population does not. That is the idea of the central limit theorem. It says the means of reasonably large random samples tend toward a bell shape. Shapes are covered in lesson 9.6.

What does it mean? You only ever get one sample. But you now know where it came from. It is one draw from a narrow pile, centered on the truth. The next step is to measure how wide that pile is.

Definition

Standard Error as the Size of the Wobble

Next: standard error, the size of the wobble. The standard error of the mean is the standard deviation of the sampling distribution. Put simply, it is the typical distance between a sample mean, and the population mean.

You rarely have thousands of samples. So we estimate the standard error from just one sample. Here is the formula, in words. The standard error equals the sample standard deviation, divided by the square root of the sample size.

In symbols, SE equals s, divided by the square root of n. Here, s is the sample standard deviation. It measures how spread out the values are. And n is the number of values. Lesson 9.5 covers the standard deviation fully. But here is a short version.

To find the sample standard deviation, take each value's distance from the mean. Square it. Add the squares. Divide by n minus one. And take the square root. Five steps. Each one is simple.

Worked Example

Nine Shoppers Give a Standard Error of 1.20

Here is a real sample of 9 shoppers, drawn from the invented population. They bought 11, 4, 13, 3, 6, 5, 8, three, and four bars.

The total is 57. So the mean is 6.33. Now, the first shopper bought eleven. That is 4.67 above the mean. Squared, it is 21.78. Do that for all nine shoppers, and the squares add to 104.00.

Divide by n minus one, which is 8. That gives 13.00. Take the square root, and s is 3.61 bars.

Now the standard error. Three point six one, divided by the square root of nine. The square root of nine is three. So the standard error is 1.20 bars. And Python confirms every step, with the same sample, giving the same answers.

What does it mean? This sample's mean, of six point three three, is probably within a couple of standard errors of the true population mean. Here, that is about 2.4 bars, either way. Nine shoppers give a rough picture. And the SE says exactly how rough.

Spreadsheet and Case

One-Cell Formula and Two Pilot Surveys

In a spreadsheet, the whole thing fits in one cell. The sample standard deviation function gives the sample spread. COUNT counts the numbers. And SQRT takes the square root. Put them together, and one cell gives the size of the wobble.

You can also build it in steps. Put the average in one cell. Put the sample standard deviation function in the next. Put the count in a third. Then divide. The steps take longer. But you can see each number, and check it. In the sheet, every cell shows two decimals.

Here is how it plays out at Fernway. Leo asks a puzzled question. Grace's two pilot surveys reported 5.8 bars a month, and 6.5. The shoppers came from the same population. So which one is wrong?

Reporting Habit

Report Each Mean With Its Standard Error

Grace explains that no mistake was made. Each survey is one draw from the sampling distribution. So she reports each mean with its standard error. Now Leo can see how much two samples are allowed to disagree, before there is a real change.

That is a powerful habit. A mean, on its own, invites people to over-read small changes. A mean with its standard error shows how much movement is just the wobble of sampling.

Simulation Check

Formula Predictions Match the Simulated Spread

Finally: checking against the simulation, and why n matters. Does the formula really describe the pile of means? Let us compare.

Python computes the true standard deviation of the whole invented population. Statisticians call it sigma. Here, sigma is 4.24 bars. Then Python measures the actual spread of the two thousand sample means, for each sample size. And it compares that spread with sigma, divided by the square root of n.

For samples of twenty five, the means center on 5.96. Their actual spread is 0.83. And the formula predicts 0.85. For samples of one hundred, the means center on 5.98. Their actual spread is 0.42. And the formula predicts zero point four two.

Square Root Rule

Why Half and Not a Quarter

What does it mean? The center of the sample means is very close to the population mean, of five point nine seven. And their spread matches the formula closely. The results come from random draws. So they match closely, but not digit for digit. And notice this. Making the sample four times bigger, from twenty five to one hundred, cut the spread in half.

Why half, and not a quarter? Because of the square root. The square root of twenty five is five. The square root of one hundred is ten. Ten is twice five. So the divisor doubles, and the standard error halves.

Follow the pattern further, with sigma at four point two four. With four shoppers, the standard error is 2.12. With 16, it is 1.06. With twenty five, zero point eight five. With one hundred, zero point four two. And with four hundred, it is 0.21.

Common Mistake

Standard Deviation Is Not Standard Error

What does it mean? The standard error shrinks with the square root of n. So each extra bit of precision costs more and more interviews. Going from four shoppers to sixteen buys a big gain. Going from one hundred to four hundred buys a much smaller one.

Here is a common mistake. People confuse the standard deviation with the standard error. The standard deviation describes how far individual shoppers are from the mean. The standard error describes how far a sample mean is likely to be from the population mean. They answer different questions. So never swap one for the other in a report.

Key Takeaways

Quadruple the Sample to Halve the Error

And a pro tip. Because of the square root, a bigger sample has diminishing returns. To cut the standard error in half, the sample must be four times as large. So before paying for a bigger survey, ask whether the extra precision is worth that cost. Lesson 3.6 shows how to plan it. And sampling error is in lesson 3.7.

Key takeaways. Repeated samples give different means. The pile of those means is the sampling distribution. It centers on the population mean. Its spread is the standard error, estimated by s, over the square root of n. And quadruple the sample size, and the standard error halves. Next, in lesson nine point five, you will study the standard deviation itself, along with the range and the variance. This lesson was made by UPI Study.

About Marketing Research at UPI Study

Marketing Research (Marketing 300) is a self-paced online course of 101 video lessons in 13 chapters, from consumer behavior, segmentation and the research process to qualitative methods, surveys and sampling, measurement, experiments, secondary and syndicated data, descriptive statistics, hypothesis tests, correlation and regression, research ethics and reports. It carries a NCCRS credit recommendation for 3 semester credits.

Every lesson transcript is free on pages like this one, and the videos are free with a free UPI Study account. Enrolling adds a practice quiz after each lesson, the graded work and final exam that earn the credit, lifetime access, and an official transcript on completion. UPI Study has helped over 130,000 students with college credits. ACE and NCCRS have over 2,100 cooperating colleges that will consider accepting credits; the final decision is with the universities.

Compare: Principles of Marketing vs Marketing Research

Why take it here

Why students take Marketing Research with UPI Study

Turn customer questions into evidenceMarketing Research teaches how companies find out what customers want: defining the problem, interviews and focus groups, survey design and sampling, measurement scales, experiments, secondary and syndicated data, and data analysis from descriptive statistics to hypothesis tests, cross-tabs and regression, ending with the research report. It suits marketing and business degrees.
Credit at a fraction of the priceThe same 3 credits can cost $750 or more at a US college. Here it is one payment, self-paced, with lifetime access.
Finish your degree soonerTransfer credits reduce the courses you still owe, so you can graduate earlier or lighten a heavy semester.
Strengthen an applicationA completed college-level course on an official transcript shows admissions and scholarship committees you can do the work.
Study on your own scheduleNo start dates, no deadlines. Watch the lessons, practice, and take the final when you are ready.
130,000+students helped with college creditsACE and NCCRS have over 2,100 cooperating colleges that will consider accepting credits; the final decision is with the universities.

Where the credit goes

Universities that work with NCCRS

Marketing Research carries a NCCRS credit recommendation. These universities work with NCCRS; some are UPI Study's signed partners. ACE and NCCRS have over 2,100 cooperating colleges that will consider accepting credits; the final decision is with the universities.

Find my college → Not listed? Ask Athena in the corner of this page, or book a 15-minute call.

FAQ

Questions students ask us

About Calculating Mean and Standard Error of the Sampling Distribution

What is a sampling distribution of the mean?
It is the distribution of means you would get by drawing many random samples of the same size from one population and recording each mean. In practice you draw only one sample, so it is a thought experiment. Its center is the population mean, and its spread, the standard error, shows how far a single sample mean is likely to land from the truth.
How do you calculate the standard error of the mean?
Divide the sample standard deviation by the square root of the sample size. For nine shoppers with a standard deviation of 3.61 bars, the square root of 9 is 3, so the standard error is 3.61 divided by 3, or 1.20 bars. In Excel, one cell can do it: STDEV.S of the range divided by SQRT of COUNT of the same range.
Why does a larger sample reduce the standard error?
Because averaging more values cancels out more random variation, means from larger samples cluster more tightly around the population mean. The standard error is s divided by the square root of n, so the gain has diminishing returns: to cut the standard error in half, the sample must be four times as large. With a population standard deviation of 4.24, going from 25 to 100 shoppers moves the standard error from about 0.85 to 0.42.
What is the difference between standard deviation and standard error?
Standard deviation describes how far individual values sit from their mean, while the standard error describes how far a sample mean is likely to sit from the population mean. The standard error equals the standard deviation divided by the square root of n, so it is smaller and shrinks as samples grow. Swapping one for the other in a report misstates the precision of a result.

About the Marketing Research course

How many college credits is Marketing Research?
Marketing Research (Marketing 300) carries a NCCRS credit recommendation for 3 semester credits. ACE and NCCRS have over 2,100 cooperating colleges that will consider accepting credits; the final decision is with the universities.
How much does Marketing Research cost and what is included?
$250, paid once, with lifetime access: all 101 video lessons, a practice quiz after each, the graded work and final exam, and an official transcript when you finish. Students who want several courses choose UPI Study PRO instead.
Which universities accept UPI Study credits?
UPI Study has signed partner agreements with universities such as Thomas Edison State University, University of the People and Charter Oak State College, and works with universities such as Penn State, SNHU and SUNY. ACE and NCCRS have over 2,100 cooperating colleges that will consider accepting credits; the final decision is with the universities. Use "Find my college" on this page to check yours.
How long does Marketing Research take?
It is self-paced with no deadlines. The 101 lessons total about 19 hours of video; most students add reading and practice time and finish in a few weeks to a few months, on their own schedule.
How are the exams done?
Quizzes and assignments are online in the course. The final exam is taken online with proctoring; a person on the UPI Study team checks assignments, usually within two days.
How do my credits reach my college?
When the course shows 100% complete, request the official transcript from your dashboard. It is sent to the college you name, and you can send it to more than one. Check your college first with "Find my college" on this page, or ask Athena.

Ready for the full course? Earn 3 credits in Marketing Research.

101 video lessons, a quiz after each one, and the graded work that earns the credit. Recommended for credit by NCCRS.

Updated

Marketing Research
3 credits · NCCRS
Enroll →