HEG Genève APPLIED STATISTICS · WEEK 5 ← Course
This week
0%
Course
0%
Week 5 · Applied Statistics · HEG Genève

If you sampled again tomorrow, how different would the mean be?

Your thirty Geneva prices from Week 2 averaged CHF 19.93. Another thirty would give another number. This week is about the distribution of the sample mean itself: where it is centred, how wide it is — σ/√n — and why it is bell-shaped even when the prices are not. It is the keystone of the course: every interval in Week 6 and every test in Week 7 stands on it. This is the textbook's chapter 6.

The session is three hours in two parts. Part 1 (~1 h) is the lesson: your instructor presents the deck and you follow the same numbered sections here — every slide names its section. Part 2 (~2 h) is ten exercises taken straight from the textbook, worked together; solutions open as your instructor reveals them.

🏫 In class: 3 h · lesson ~1 h, then exercises ~2 h · bring a calculator 📖 Textbook: Saylor, ch. 6 — Sampling Distributions ▶ The Lecture button (top-right) shows the deck we use in class

By the end of Week 5 you will be able to

  • Explain what a sampling distribution is: the distribution of a statistic over all the samples you could have drawn.
  • State the mean and standard deviation of the sample mean — µx̄ = µ and σx̄ = σ/√n — and say why it is √n, not n.
  • State the Central Limit Theorem and say when it lets you treat x̄ as normal.
  • Compute P(x̄ in a range), and tell it apart from P(X in a range) for a single value.
  • Do the same for a sample proportion: µp̂ = p, σp̂ = √(pq/n), and the book's check that p̂ is close enough to normal.
  • Use a sampling distribution to judge a claim: how surprising would our sample be if the claim were true?

Resources — tick them off as you go

✓Lecture deck — the ▶ Lecture button above; presented in class in Week 5.
✓Saylor ch. 6 — Sampling Distributions ↗ — §6.1 the mean and standard deviation of the sample mean · §6.2 its sampling distribution · §6.3 the sample proportion. About 35 minutes; read a section after doing its screen here.
✓The standard normal table (Saylor, Figure 12.2) ↗ — still the table for every probability this week.
✓Part 2 · the exercise set — ten exercises from chapter 6 of the textbook, word for word, ~110 min, worked with your instructor in the second half. Section 5.7 below. Bring a calculator.
✓Week 5 homework — thirteen more exercises from the same chapter: σ/√n, single value against mean, proportions, and two "is this surprising?" questions. With hints and worked solutions.
✓Where the sample mean lives — the simulator and the sampling machine — the same idea as section 5.2, with more dials.
← Course page
A reset link lives at the bottom of section 5.9.
Section 5.1 · The hook

Another thirty tomorrow

Your estimate

Your thirty prices averaged CHF 19.93. What would another thirty average?

In Week 2 you collected thirty Margherita prices: mean CHF 19.93, standard deviation about CHF 4.20. Tomorrow a friend walks into thirty different Geneva pizzerias and computes the same average. Within how many francs of 19.93 would you bet their mean lands — nineteen times out of twenty?

Your margin, ± CHF
3.0 CHF
The question behind the question

A sample mean is itself a random variable.

Every sample gives a different mean. So x̄ has a distribution of its own — over all the samples you could have drawn — and that distribution is called the sampling distribution of x̄. It is narrower than the prices themselves, because averaging cancels extremes; this week says exactly how much narrower, and section 5.4 answers the question above.

One pizzeria can be anywhere. The average of thirty cannot.

Section 5.2 · The sample mean

Watch the means pile up

The sampling machine

Three hundred Geneva pizzerias. Draw thirty, take the mean. Again. And again.

Below is a population of 300 Margherita prices, skewed to the right like the real market, with mean µ and standard deviation σ printed under it. Each click draws random samples of size n and adds their means to the pile. Watch two things: where the pile is centred, and how wide it is compared with σ/√n.

The population (top) and the pile of sample means (bottom)
0
samples drawn
—
mean of the means
—
SD of the means
—
σ ÷ √n
µx̄ = µ   ·   σx̄ = σ ÷ √n

The centre does not move: on average, a sample mean hits the population mean. The spread shrinks by √n, not by n — so four times as many pizzerias only halves the wobble. That √n is the single most expensive fact in statistics: precision costs the square of what you would hope.

Try it

Does it change when n grows?

Changes with n · Does not change
Section 5.3 · The Central Limit Theorem

Why the bell shows up

The theorem

For large n, x̄ is approximately normal — whatever the population looks like.

If the population is normal, x̄ is normal for any n. If it is not, the Central Limit Theorem says the distribution of x̄ still becomes approximately normal as n grows; the textbook's working rule is n ≥ 30. Pick an ugly population and watch.

Population shape and sample size

Averaging is a machine for making bells. That is why the normal table keeps working on data that is not normal.

Try it

May you treat x̄ as normal?

Yes · No
Section 5.4 · Probabilities for x̄

One pizzeria vs the average of thirty

Standardise with σ/√n

Same table as Week 4 — with the standard error in the denominator.

P(x̄ < a) = P(Z < (a − µ) ÷ (σ/√n))

Suppose Geneva prices have µ = CHF 20 and σ = CHF 4.20. How likely is a price over CHF 21? It depends on whether you mean one pizzeria or the average of several. Move n and watch the answer fall.

P(over CHF 21) — one pizzeria, or the mean of n
—
P(X > 21) · one
—
σ/√n
—
P(x̄ > 21) · mean of n
The hook closes

Nineteen times out of twenty, another thirty's mean lands within…

Section 5.5 · The sample proportion

The share above CHF 20, again

p̂ is a mean too

A proportion is the mean of zeros and ones — so it has a sampling distribution.

In Week 2, 11 of your 30 pizzerias charged over CHF 20: p̂ = 0.37. Another thirty would give another p̂. If the true share in Geneva is p:

µp̂ = p   ·   σp̂ = √(pq ÷ n), q = 1 − p

p̂ is approximately normal when n is large enough. The textbook's check: the interval p ± 3σp̂ must lie entirely inside [0, 1]. If it spills below 0 or above 1, a bell centred at p would put probability on impossible shares, so the normal approximation is not safe.

The check, for the share above CHF 20
Try it

Large enough for p̂ to be normal? (the book's check)

Yes · No
Section 5.6 · Surprise as evidence

Is the magazine wrong?

Back to Week 1

"The average Margherita in Geneva costs CHF 21." Your thirty say 19.93.

In Week 1 you met the idea of a test in one breath: assume the claim, ask how surprising your data would be, decide. Now you can do the middle step properly. If the magazine were right (µ = 21, and σ ≈ 4.20), the mean of thirty would be approximately normal with σx̄ = 4.20/√30 = 0.767. How often would it come out as low as 19.93?

The same move works for a proportion: the textbook's Exercise 25 in §6.3 (Part 2, Exercise 10) asks whether a smoking campaign worked, and there the answer is 7 in 10,000 — a very different verdict.

A sampling distribution tells you what "normal wobble" looks like. Evidence is whatever falls outside it — and Week 7 decides where "outside" begins.

Section 5.7 · Part 2 · Exercises

Ten exercises from the textbook, worked together

The second half of the session

Straight from Saylor, word for word

This week's exercises are not invented: each one is reproduced exactly as it appears at the end of a section of the textbook, labelled with its section and number, so you can find it in the book. Your instructor puts each exercise on the slide; you work it here, by hand, with a calculator and the normal table. Check marks your number immediately, Hint nudges without giving it away, and the Solution button opens when the room does that exercise together.

About 110 minutes for all ten. Keep σ/√n unrounded, round z to two decimals, give probabilities to four — the book's method. The book writes the sample mean as X̄ and the sample proportion as P̂. Parts that ask you to explain are answered in the worked solution. Your answers are saved and reach your instructor's dashboard. Nothing here is graded.

Section 5.8 · Checkpoint

Prove it to yourself

Self-check · not graded

Ten questions on this week

One attempt per question, every answer explained. Your score syncs to your instructor's dashboard as a self-check but does not count toward your grade. Have a calculator and the table to hand.

—

Where this goes next

In Week 6 the sampling distribution is turned around. This week: "if µ is 20, where will x̄ land?" Next week: "x̄ landed at 19.93 — where is µ?" The answer is a confidence interval, and it is built from exactly the ±1.96·σ/√n of section 5.4. Before that, the Week 5 homework: thirteen more exercises from the book, by hand.

Section 5.9 · Workshop

What does precision cost?

Probability → decision

Every extra pizzeria you visit costs a Margherita.

To pin down the Geneva average you pay for each visit — about CHF 20 a pizzeria. Choose the margin you want (95% of the time) and see how many visits it takes and what it costs. Watch what halving the margin does.

Margin → sample size → cost (σ = 4.20)
—
pizzerias needed
—
cost of the visits

Half the margin costs four times the visits. That is σ/√n, paid in Margheritas.

Week 5 · the pizzeria file

Three entries, in your own words

📎 Everything saves automatically and reaches your instructor's dashboard. This is the fifth instalment of the individual project.

1.The standard error of your sample mean price for your n — and what halving it would cost in extra visits.
2.In two sentences: why thirty pizzerias can speak for all of Geneva — and the one situation where they could not.
3.A claim about your market you could check this way: the claim, the sampling distribution it implies, and what result would surprise you.
Fill in all three fields to complete this section.