Statistics feels impossible because it is taught as a pile of unrelated recipes. It is not a pile. It is one idea, followed six steps β and today you walk all six, end to end, with no formula you cannot see the reason for. Everything after this week is the same six steps done more carefully.
We do it by opening a pizzeria in Geneva and asking one ordinary question: what do we charge for a Margherita? By the end of the session that question has walked you through samples, distributions, the standard deviation, probability, confidence intervals, hypothesis tests, regression and chi-square.
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 six exercises worked together, given on the slides and as forms below; solutions open as your instructor reveals them.
Commit to a number now, before you know anything. It goes on the record and you will be shown it again at the end of the session.
So you do what everybody does: you visit some of them. That is the first move in all of statistics, and it has a name. The three hundred you care about are the population. The handful you actually measure are your sample. Any number you work out from your handful β the average, say β is a statistic. The true average across all three hundred, which you will never see, is a parameter.
Everything in this course is one move: use the statistic you have to say something honest about the parameter you don't. That is the entire job. Sixteen weeks of technique serve that one sentence.
Below is the real market β all three hundred prices, which in real life you never get to see. Draw a sample from it. Then press Draw again a few times at each size and watch how much the picture jumps.
At n = 5 the picture is a different picture every time you press the button. At n = 300 it is the same picture every time β because it is the market.
Two separate things improve as the sample grows, and they are worth separating in your head:
A small sample tells you about your sample. A large sample starts telling you about the market.
Notice what this does not promise. A bigger sample fixes noise β the random luck of who you happened to ask. It does nothing at all about bias β asking only the pizzerias next to the station, say. Ask ten thousand of the wrong pizzerias and you get a beautifully precise wrong answer. Size cures luck; only design cures bias.
You have the three hundred prices. Group them into bands of two francs and count how many fall in each: that is a frequency table, and drawing it is a histogram. So far, book-keeping.
Now the move that the rest of the course is built on. Take any band β say CHF 20 to 22. Fifty-six pizzerias sit there. Three things are true at once, and they are the same fact said three ways:
Nothing was added between the second line and the third. A proportion of a population is a probability, as soon as you pick at random. That sentence is free, and it is the bridge from describing data to predicting things.
Area is probability. The share of the picture you have shaded is the chance of landing in it.
Two consequences follow immediately, and they are not decoration either:
Two-franc bands are a choice. Use one-franc bands, then fifty-centime bands, and with three hundred thousand pizzerias instead of three hundred the steps shrink until the outline is a smooth curve. Nothing changed except the resolution β and the area still means exactly what it meant before.
That particular curve β one hump, symmetric, thinning away on both sides β is the normal distribution, and it turns up so often that half of statistics is built on it. It is not true that everything is normal. Incomes are not. Waiting times are not. But an astonishing number of things are close enough, and in Week 7 you will learn the reason why β it is the single most surprising result in the subject.
Both cities below average exactly CHF 18. If the average were the whole story, opening a pizzeria in one would be the same as in the other. It is not remotely the same.
In the tight market, CHF 22 makes you the most expensive place in town. In the wide one, CHF 22 is unremarkable. The same price means different things depending on how spread out the market is β so "how spread out is it?" needs a number of its own.
You want "the typical distance from the middle", so you take each pizzeria's distance from the mean and average them. Sensible. It also fails completely: the places below the mean give negative distances, the places above give positive ones, and they cancel exactly. Not approximately β exactly, for every dataset that has ever existed, because that is what "mean" means. The mean is the balance point, so the pull from each side is equal by construction.
So the average distance from the mean is 0, for the tight market and the wide market alike. Useless. This is the dead end your intuition walks into, and every statistics course walks you into it on purpose.
The problem is the minus signs. Kill them with geometry: on each distance, draw a literal square with that distance as its side. A square's area cannot be negative β a distance of β3 and a distance of +3 both give a square of area 9. Now average the areas, which is an honest arithmetic mean of nine, sixteen, fourβ¦ and then ask: what is the side of that average square?
That side is the standard deviation.
The standard deviation is the average distance from the mean β measured with squares, so the signs cannot cancel.
It really is almost the ordinary average you already trust. Same three moves: take the distances, average them, done. The only difference is a detour through squares and back:
The middle two steps have names you will need. The average of the squares is the variance. Its square root β back in francs, which is why we bother β is the standard deviation. Written out, and it is now a sentence rather than a hieroglyph:
Read it right to left and it is the recipe above: a distance (x β xΜ), squared, added up (Ξ£), averaged, square-rooted. The n β 1 instead of n is a small honesty correction for the fact that you are using a sample rather than the whole population; Week 2 explains it properly.
One last thing to notice as you drag the slider: the standard deviation always comes out a bit larger than a plain average of the absolute distances. Squaring gives extra weight to whoever is far out β so the standard deviation listens hardest to the extremes, which is usually exactly what a business needs it to do.
Section 1.2 said area is probability. Section 1.3 built a number for the width. Put them together and something remarkable falls out.
A normal curve is fixed by two numbers and nothing else: where it sits (the mean) and how wide it is (the standard deviation). There is no third dial. So if you know those two numbers, you know the entire curve β and therefore, by section 1.2, every area under it β and therefore every probability you could want.
You just moved the curve anywhere you wanted and made it any width you wanted, and 68%, 95% and 99.7% never budged. That is not a coincidence and it is not an approximation of convenience. It is the reason the standard deviation was worth the trouble of squares.
The standard deviation is the ruler the curve is drawn in. One SD is always 68% of the area β whether the data is francs, grams, minutes or millimetres.
This is called the empirical rule, or the 68β95β99.7 rule, and it is the most useful thing in the first half of this course:
Our Geneva market has a true mean of CHF 18.00 and a true standard deviation of CHF 4.00. So without computing anything at all: about 68% of Geneva pizzerias charge between 14 and 22; about 95% charge between 10 and 26; and a place charging over 30 is roughly a one-in-a-thousand animal.
"Expensive" is a feeling. Turn it into a number by asking the only question that matters: how many standard deviations from the middle is it?
That "how many standard deviations out" figure is called a z-score, and it is the most reused number in the subject. It strips the units off: a z of 1.5 means the same thing for a price in francs, a delivery time in minutes and a dough ball in grams β further out than about 93% of the population.
A rival at CHF 24 is 1.5 standard deviations above the middle, which puts roughly 7% of Geneva above them. One pizzeria in fifteen. Unusual, certainly. Alarming, no β and now you can say which, with a number, in front of your bank.
A mean and a standard deviation turn any value into a probability. That single sentence is the engine of the next fifteen weeks.
In section 1.4 we cheerfully used Β΅ = 18.00 and Ο = 4.00 β the true values across all three hundred pizzerias. In real life nobody hands you those. You have your sixteen, and from them:
So you say "about CHF 18.25" β and immediately the honest question arrives: how far off could that be? Someone else's sixteen would have given a different number. Yours is not special.
Here is the idea that unlocks it. Your sample average is itself a thing that varies from sample to sample β and it varies less than the data does, by a factor of the square root of your sample size. That is why n appears everywhere:
Now reuse section 1.4 on the averages instead of on the pizzerias. Two of those wobbles either side covers about 95% of the possibilities β so:
That is a 95% confidence interval. Not a new technique β the empirical rule, applied to the sample mean.
Each line below is one researcher going out, sampling n pizzerias, and drawing their interval. The vertical line is the truth β CHF 18.00 β which in real life nobody can see. Press the button and watch how many intervals miss.
The 95% is a property of the procedure, not of your one interval. Run the whole business a hundred times and about ninety-five of your intervals will contain the truth. Yours either does or it doesn't; you will never know which.
Wrong: "there is a 95% chance the true price is between 16.25 and 20.25." Right: "this interval came from a method that captures the truth 95% of the time."
And notice what the slider did: more pizzerias, narrower interval β but slowly. To halve the width you need four times the sample, because of that βn. Precision is expensive, and it gets more expensive the more you want.
A trade magazine prints: "the average Margherita in Geneva costs CHF 21." Your sixteen say 18.25. Is the magazine wrong, or did you just have an unlucky afternoon? Four steps, and no new mathematics:
There is a shortcut hiding here. Your interval was 16.25 to 20.25. The claim 21 sits outside it β rejected. A claim of 20 would sit inside β survives. The confidence interval and the hypothesis test are the same calculation, read in two directions.
A confidence interval asks "how much could we be off by?". A test asks "could chance alone have done this?". One curve, one area, two questions.
Everything up to here used a single column of numbers. Real decisions almost always compare two: price against location, revenue against seats, oven type against neighbourhood. And there is exactly one fork in the road, decided before you compute anything:
price (CHF) Β· distance (km) Β· seats Β· revenue
neighbourhood Β· wood oven? Β· delivers? Β· price band
Careful with the edge: a number you have banded β "cheap / mid / posh" instead of the franc value β has become a label, and the question becomes a chi-square. You threw away information to do it, which is sometimes a fair trade and sometimes a waste.
Each dot is one pizzeria. Is there a relationship? Your eye says yes. Regression's job is to say how much, with a number you can put in a business plan.
The line comes out at price β 23.9 β 2.29 Γ km. That slope is the answer to the actual business question: every kilometre further from Rive costs you about CHF 2.29 of menu price. Now you can compare it against the rent difference and decide something.
And look at what "best line" means β press Show the misses. The chosen line is the one that makes the total squared miss as small as possible. Squares again, for exactly the reason from section 1.3: misses above and below would otherwise cancel. Regression is the standard deviation's idea, applied to a line instead of a point.
No numbers here at all β just 120 pizzerias sorted into boxes. If neighbourhood and oven type had nothing to do with each other, each neighbourhood would show the same 50/50 split. Press the button to see what "nothing to do with each other" would have looked like.
Carouge has 30 wood ovens where independence predicts 20; PΓ’quis has 12 where it predicts 20. Add up the gaps β squared and scaled by how big each box was β and you get ΟΒ² = 16.8, far past the 5.99 that counts as surprising. So no: neighbourhood and oven are not independent. Carouge is wood-oven country, and that is worth knowing before you sign a lease there.
Both tools do one job: compare what you saw against what chance alone would have produced, and measure the gap with squares. Regression for numbers, chi-square for labels.
You have just walked the entire subject. Everything left is doing these six steps with more care.
Nothing in Weeks 2 to 16 is a new idea. Week 2 makes the picture precise. Weeks 3β4 make "area is probability" exact instead of approximate. Weeks 5β8 do the intervals and the tests properly, with the right curve for small samples. Weeks 9β12 do regression and chi-square with all their conditions attached.
When Week 9 feels hard, come back to this page. The question will not have changed β only the care taken answering it.
The second half of the session is the six exercises below, about seventy minutes, done as a class. They follow the six steps in order: one per step.
Each card shows a word and its everyday meaning β the trap. Tap to flip it to what it actually means in statistics. This is doubly hard if English isn't your first language: you're decoding the language and the jargon at once. Not scored β it is here to loosen you up before the quiz.
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 β the final exam tests exactly this style of thinking, on paper, with numbers.
In Week 2 you go back to step one and do it properly: picture the cloud, find its centre, measure its spread by hand, and locate any single price inside it. Do the Week 1 homework first: it makes you compute by hand what the widgets computed for you.
Every week ends here: a few questions that make you apply the week's ideas to your pizzeria, in your own words. Everything saves automatically and reaches your instructor's dashboard β no "submit" button, just type. By Week 16 these pages are the file you would take to a bank.
π This is the seed of the individual project (20%). Nothing here is graded on its own; it is the material the project grows out of.
We keep one running business and let its decisions pull in exactly the statistics each one needs. A handful of questions carry all the classical topics.
Unlike some subjects, the topics are tightly stacked. A shaky grasp of distributions silently breaks confidence intervals three weeks later, with no obvious symptom. This is the real reason students feel lost in Week 8 β the crack was in Week 3. It's hard for structural reasons β not because you're "not a maths person."
These standalone playgrounds already live in your toolkit β each one drills a step you just walked: