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
Lesson complete
Earn the 3 college credits for Marketing Research
Enrolling adds a quiz after each lesson, the graded work and the official transcript. Recommended for credit by NCCRS.
Next lesson: Measures of Variability: Range, Variance, and Standard Deviation →← Central Tendency Measures: Mean, Median, and ModeNext lesson: Measures of Variability: Range, Variance, and Standard Deviation →
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.
Enroll now → Course details Download the syllabus All Business courses Every credit course with PRO →
Why take it here
Why students take Marketing Research with UPI Study
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.
Thomas Edison State UniversitySigned partner
University of the PeopleSigned partner
Charter Oak State CollegeSigned partner
Strayer UniversitySigned partner
Columbia Southern UniversitySigned partner
Indiana TechSigned partner
Penn StateWorks with NCCRS
Southern New Hampshire UniversityWorks with NCCRS
SUNYWorks with NCCRS
+many more cooperating universitiesFind my college →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?
How do you calculate the standard error of the mean?
Why does a larger sample reduce the standard error?
What is the difference between standard deviation and standard error?
About the Marketing Research course
How many college credits is Marketing Research?
How much does Marketing Research cost and what is included?
Which universities accept UPI Study credits?
How long does Marketing Research take?
How are the exams done?
How do my credits reach my college?
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
3 credits · NCCRSEnroll →