What is statistics actually used for?

By Jude Wallis · Published

Statistics is the discipline of learning from data when the data is incomplete and noisy. It is used wherever a decision must be made from a sample rather than a census: clinical trials, public health, polling, sports, manufacturing, and machine learning all run on the same few ideas.

Broader than the AP exam itself, but every idea named here belongs to the Fall 2026 framework, from sampling and experimental design in Unit 1 through inference in Units 3 and 4 and regression in Unit 5.

Statistics is learning from data under uncertainty

Statistics is the discipline of drawing conclusions from data when the data is incomplete and noisy. You almost never get to measure everyone. You measure some, then say something responsible about everyone, with an honest account of how wrong you might be.

That is the whole subject in one move: go from a sample to a population, and carry an uncertainty estimate with you. A confidence interval is that move written down; a hypothesis test is that move turned into a decision. Everything in the rest of this page is a variation on it.

The vocabulary follows the same split. A number computed from your sample is a statistic, such as the sample proportion p^\hat{p} (read "p-hat"). The matching number for the whole population is a parameter, such as pp, and you almost never get to see it. See parameter vs statistic and descriptive vs inferential statistics.

Medicine and clinical trials

A clinical trial is a designed experiment. Subjects are randomly assigned to a treatment or a control, often with a placebo, and often with blinding so that neither the patients nor the people assessing outcomes know who got what. The random assignment is not a formality; it is the only reason the trial can end with a claim about cause rather than a claim about association.

The course idea doing the work is experimental design, followed by two-sample inference. When the trial ends you compare a recovery rate in one group against the other, which is a two-proportion procedure, or you compare mean outcomes, which is a two-sample tt procedure. See experimental design, Unit 3, and Unit 4.

The p-value in a trial report answers one narrow question: if the treatment did nothing, how surprising would a result like this be? That is why a trial can be statistically significant and still clinically unimportant, and why sample size and effect size get reported alongside it. See what a p-value means.

Public health

Public health usually cannot randomize. You cannot assign people to smoke or to live beside a busy highway, so most of the evidence is observational. That constraint is why epidemiologists are so careful about confounding: a third variable moving with both the exposure and the outcome can manufacture an association out of nothing.

The ideas here are observational study design, confounding, and conditional probability. A rate such as cases per 100,000 people is a conditional statement about a subgroup, and swapping which group you condition on changes the meaning completely. See correlation vs causation, confounding vs lurking variable, and conditional probability.

Screening tests are the sharpest case of that reversal. The probability a test is positive given that someone has the disease is not the probability someone has the disease given a positive test, and when the disease is rare those two numbers can differ enormously. See conditional probability and why order matters.

Polling and public opinion

A poll asks a thousand people and reports a claim about millions. That is only legitimate because of how the thousand were chosen. Random selection is what makes a sample a fair miniature of the population, and it is what makes a margin of error mean anything at all.

The ideas are sampling methods, bias, and the confidence interval for a proportion. A reported margin of error of 3 points is the half-width of a 95% confidence interval, and it covers random sampling variation only. It says nothing about people who refused to answer, or about a question worded to nudge them. See random sampling, how to identify the type of bias, and the margin of error calculator.

This is also where extra sample size stops helping. A larger sample shrinks random error but does nothing to a biased sampling method, which is why a huge voluntary-response web poll is worth less than a small random one. See does a bigger sample fix bias.

Sports

Sports analytics is mostly regression plus a hard-won respect for variability. You fit a model relating an input to an outcome, read the slope as a rate of change, and use r2r^2 (r-squared, the coefficient of determination) to say how much of the variation in the outcome the model explains. Then people argue about what the residuals, the gaps between actual and predicted values, are really telling them.

The other half of the job is knowing how much of a hot streak is noise. Short runs of data are wildly variable, so a player who goes 8 for 12 across three games has told you very little about their true ability. That is the sampling variability idea from Unit 2, and it is why analysts trust season-long numbers over weekly ones. See Unit 5, the least-squares regression line, and r vs r-squared.

Prediction also has a range limit. A model fitted on players aged 22 to 34 says nothing trustworthy about a 40-year-old, because you have left the data behind. See interpolation vs extrapolation.

Quality control and manufacturing

A factory cannot test every unit it makes, so it samples on a schedule and watches for the process drifting off target. The tools are the normal model, the standard deviation, and the sampling distribution of the sample mean. A control chart is a sampling distribution turned sideways, with limits drawn a fixed number of standard deviations from the target value.

The course ideas are the normal distribution, z-scores, and the central limit theorem. A z-score, z=xμσz = \frac{x - \mu}{\sigma}, reports how many standard deviations a value sits from the mean, with μ\mu (mu) the population mean and σ\sigma (sigma) the population standard deviation. Because sample means vary less than individual measurements do, a chart built on means catches a drift that single readings would hide.

That last point is the practical payoff of the central limit theorem, and the worked example below makes it concrete. See how to find a z-score, the empirical rule, and the central limit theorem.

Machine learning

Machine learning is statistics with far more parameters and far less patience for closed-form answers, but the underlying problem has not changed: you hold a sample and you want to generalize. Splitting data into training and test sets is a sampling argument. Overfitting is reading noise as signal, which is the same mistake as taking a three-game hot streak seriously.

Linear regression is the base case that nearly every supervised model generalizes, and y^=a+bx\hat{y} = a + bx, where y^\hat{y} (read "y-hat") is the predicted value, is where the family starts. Model evaluation borrows vocabulary straight from Unit 3: a false positive is a Type I error and a false negative is a Type II error, with the same trade-off between them. See Type I vs Type II errors and the least-squares regression line.

The limit is the same one too. A model trained on observational data predicts; it does not establish a cause, however accurate its predictions are. See correlation vs causation.

Randomization is what licenses the leap

Every field above turns on one question: what does the design let you say? The Course and Exam Description states the rule in two halves, and they do different jobs.

  • Random selection from a population lets you generalize a result to that population. Without it, bias may result and a sample statistic cannot be assumed to describe the population at all.
  • Random assignment to treatments lets you conclude that a statistically significant difference was caused by the treatment, because assignment tends to balance the effects of uncontrolled variables across the groups.

Mixing the two up is one of the most common errors students make, and the Course and Exam Description singles it out. A random sample with no assignment gives you an association that applies to the population. A randomized experiment on volunteers gives you a cause, but only for people like those volunteers. See experiments vs observational studies and experiment vs survey.

If you want to build these ideas from the start, work through learn statistics, try dropping a dataset into the data analyzer, or see how the same ideas are assessed in the AP Statistics course.

What a poll of 1,000 people can honestly claim

A polling firm takes a random sample of 1,000 registered voters in a large state, and 520 say they will vote for Candidate A. Build a 95% confidence interval for the true proportion who support A, and say what it does and does not establish.

  1. Sample proportion: p^=5201000=0.52\hat{p} = \frac{520}{1000} = 0.52, where p^\hat{p} is the sample proportion.

  2. Conditions: the sample is random; 1,000 voters is at most 10% of the registered voters in a large state; and np^=520n\hat{p} = 520 and n(1p^)=480n(1-\hat{p}) = 480 are each at least 10.

  3. Standard error: SE=0.52(0.48)1000=0.24961000=0.0002496=0.0158SE = \sqrt{\frac{0.52(0.48)}{1000}} = \sqrt{\frac{0.2496}{1000}} = \sqrt{0.0002496} = 0.0158.

  4. Critical value for 95% confidence: z=1.96z^* = 1.96.

  5. Margin of error: 1.96×0.0158=0.03101.96 \times 0.0158 = 0.0310, which is about 3.1 percentage points.

  6. Interval: 0.52±0.03100.52 \pm 0.0310, which is (0.489,0.551)(0.489, 0.551).

  7. Read it honestly: the interval contains 0.50, so this poll gives no basis for saying Candidate A is ahead. A headline of "A leads 52 to 48" ignores its own margin of error.

  8. Note the coverage limit: this interval accounts for random sampling variation only. Nonresponse, question wording, and voters changing their minds are all outside it.

The 95% interval is about (0.489,0.551)(0.489, 0.551), a margin of error of roughly 3.1 percentage points. Because it contains 0.50, the poll cannot support a claim that Candidate A is ahead.

A bottling line, and why quality control samples rather than spot-checks

A filling machine is set to 500 mL. A long production history gives a population standard deviation of σ=4\sigma = 4 mL, with fill volumes approximately normal. An inspector pulls one bottle and measures 509 mL. How unusual is that, and what should the inspector do next?

  1. Standardize the single bottle: z=5095004=94=2.25z = \frac{509 - 500}{4} = \frac{9}{4} = 2.25, so it sits 2.25 population standard deviations above target.

  2. Empirical rule check: about 95% of bottles fall within 2 standard deviations of target, which is 500±8500 \pm 8, or 492 mL to 508 mL. This bottle is outside that range.

  3. Exact upper tail: from the standard normal table, P(Z<2.25)=0.9878P(Z < 2.25) = 0.9878, so P(Z>2.25)=10.9878=0.0122P(Z > 2.25) = 1 - 0.9878 = 0.0122.

  4. Both directions: a bottle at least 2.25 standard deviations from target on either side has probability 2×0.0122=0.02442 \times 0.0122 = 0.0244, about 2.4%.

  5. Interpret that: roughly 1 bottle in 41 does this when nothing is wrong, since 10.0244=41.0\frac{1}{0.0244} = 41.0. One odd bottle is a flag, not evidence of drift.

  6. Sample instead. The sampling distribution of the sample mean xˉ\bar{x} (x-bar) has standard deviation σn\frac{\sigma}{\sqrt{n}}, so for n=9n = 9 bottles that is 49=43=1.333\frac{4}{\sqrt{9}} = \frac{4}{3} = 1.333 mL.

  7. If those 9 bottles average 509 mL, the standardized value is 5095001.333=6.75\frac{509 - 500}{1.333} = 6.75, which is far beyond anything chance produces.

One 509 mL bottle is 2.25 standard deviations high, with about a 2.4% chance of being that far off target in either direction, so it is a flag rather than a verdict. A sample of 9 bottles averaging 509 mL would be 6.75 standard errors out and would justify stopping the line.

Frequently asked questions

Is statistics the same thing as data science or machine learning?

They overlap heavily and differ in emphasis. Statistics centers on inference: what a sample licenses you to say about a population, and how uncertain that claim is. Machine learning centers on prediction: how accurately a model handles data it has not seen. The sampling, variability, and error ideas underneath are shared, which is why a statistics course transfers well into both.

Do you need calculus to do statistics?

Not for applied work. The AP course is described as equivalent to a one-semester, introductory, non-calculus-based college statistics course, and its stated prerequisite is a first-year algebra course. Theoretical statistics at university level does use calculus, mainly to work with probability distributions as functions, but that is a later and separate step.

What jobs actually use statistics?

Anything where a decision rests on incomplete data. Medicine and clinical research, public health, epidemiology, pharmacology, economics, market research, insurance and actuarial work, sports analytics, manufacturing quality control, polling, and every branch of data science and machine learning. In most of those roles the hard part is not computing a statistic; it is knowing what the study design permits you to conclude.

Why is randomization such a big deal?

It is what converts a description of your data into a claim about the world. Random selection from a population lets you generalize your result to that population; random assignment to treatments lets you attribute a difference to the treatment rather than to some uncontrolled variable. Without one or the other, you still have honest arithmetic, but no license to extend it beyond the people you actually measured.

Where should I start if I have never taken a statistics class?

Start with describing data before you touch inference, since every later idea rests on shape, center, and spread. Learn statistics sequences the topics from the beginning, descriptive vs inferential statistics sets out the two halves of the subject, and the practice sets give you problems once a topic makes sense.