In plain English
There are two distributions in any analysis and confusing them causes most of the trouble. The first is the distribution of your data: how revenue is spread across users, which for revenue is skewed with a long right tail. The second is the sampling distribution: how the *average* of that revenue would vary if you drew a fresh sample of the same size, over and over. Everything inferential — the standard error, the p-value, the confidence interval — is computed from the second.
This is the rung that makes the rest of the vocabulary coherent. The standard error is simply the standard deviation of the sampling distribution. A confidence interval is a range read off it. A p-value is a tail area under it. None of those quantities is about your data directly; they are about how much the number you computed from your data would move if you did it again.
The reason it is usable at all is the central limit theorem, which says that for a mean the sampling distribution tends towards normal as the sample grows, regardless of the shape underneath. That is what allows a t-test on revenue data that looks nothing like a bell curve. The normality assumption people worry about attaches to this distribution, not to the raw values, and knowing which one is being assumed resolves most of the anxiety about it.
You never observe it, which is what makes it feel abstract. You have one sample, not a thousand, so the sampling distribution is inferred rather than seen — usually from theory, using the formula for the standard error. The bootstrap is the alternative: resample your own data thousands of times and watch the statistic move, which builds an empirical approximation of exactly this object. That is worth knowing because it makes the concept concrete rather than theoretical.
The practical payoff is knowing when the machinery breaks. The theory assumes independent observations, so correlated data — several sessions from one user — makes the real sampling distribution wider than the formula predicts, and every interval too narrow. And for a badly skewed metric at small sample sizes the convergence to normality has not happened yet, so the formula's answer is wrong in a way no amount of care about the raw data would reveal.
The formula
Three facts define it for a mean, and the third is the one that makes inference possible on non-normal data.
- Its centre
E[ x̄ ] = μThe sample mean is unbiased: across repeats it centres on the true value.
- Its spread
SD( x̄ ) = σ / √n = the standard errorThis is the definition of the standard error, and the reason precision improves with the square root of n.
- The empirical version
resample with replacement, recompute, repeatThe bootstrap builds the sampling distribution directly rather than assuming its form.
Worked example
A dataset of 40,000 users' monthly revenue is heavily right-skewed: median £4, mean £18.40, and a small number of users above £2,000. A simulation repeatedly draws samples of three different sizes and records the mean each time, to show what the sampling distribution looks like at each.
- Raw data shape
- heavily right-skewed, skewness 6.8
- Population mean
- £18.40
- n = 30: mean of sample means
- £18.39, visibly right-skewed
- n = 30: shape test
- clearly non-normal
- n = 1,000: shape
- close to normal, mild right skew
- n = 10,000: shape
- indistinguishable from normal
The data is never normal at any sample size. The sampling distribution of its mean becomes normal somewhere between n = 30 and n = 1,000.
The first and last rows together are the whole point. The underlying data stays skewed no matter how much of it you collect — that is a property of the population and does not change. What changes is the distribution of the average, which is normal enough for standard inference well before n = 1,000 and clearly is not at n = 30. So the familiar advice that a t-test needs normally distributed data is asking about the wrong distribution, and the equally familiar 'n = 30 is enough' is asking about the right one and giving a number that is far too small for a metric this skewed. The honest guidance is that the required sample depends on how skewed the data is, and that skewness of 6.8 needs hundreds rather than dozens. A bootstrap gives the answer directly for any specific dataset without needing the rule of thumb at all.
Common misconceptions
- דThe sampling distribution is the distribution of your data.”
- It is the distribution of a statistic computed from your data, across hypothetical repeats of the study. Your revenue figures can be violently skewed while the distribution of their mean is close to normal. Nearly every misunderstanding about normality assumptions comes from conflating these two objects.
- דYou need a large sample for the data to become normal.”
- The data never becomes normal — collecting more of a skewed distribution gives you more skewed data. What converges towards normality as n grows is the sampling distribution of the mean. The underlying population is whatever it is, and no sample size changes it.
- דSince you only have one sample, the sampling distribution is purely theoretical.”
- It is unobserved rather than untestable. The standard error estimates its spread from a single sample using theory, and the bootstrap constructs an empirical version by resampling. Both give you a usable handle on it, which is why confidence intervals are computable at all.