What Is Statistical Inference? Using Samples to Learn About Populations
Statistical inference uses statistics calculated from a sample to draw bounded conclusions about a population without measuring every member of it. Point estimates and confidence intervals describe uncertainty, while hypothesis tests assess how compatible data are with a specified claim. What you can conclude depends on how the sample was selected and measured and on the statistical model you assumed.
How sample results provide evidence about a population
The complete group you want to understand is the population; the subset you actually observe is the sample. A quantity of interest, such as a population mean or defect rate, is a parameter. A mean or proportion calculated from the sample is a statistic. A parameter is fixed for a defined population and time period, but the statistic can change from sample to sample.
Suppose a factory wants the defect rate for everything it produced in a particular month, but inspecting every item is impractical. It inspects a sample and calculates the sample defect rate. Another sample might contain more or fewer defective items by chance, so the observed rate is not automatically the population rate. A sampling distribution describes how a statistic would vary across repeated samples. The standard deviation of that distribution is its standard error: under the same design, a smaller standard error means less sample-to-sample variation.
A larger sample often reduces standard error, but it does not remove bias caused by poor selection. Ten thousand items chosen only from one production line or shift may still fail to represent the whole factory. Sample size and sample selection are different issues. More observations do not automatically fix omitted groups, nonresponse, or inaccurate measurement.
What questions do estimation and testing answer?
Estimation asks how large a parameter is. A point estimate gives one representative value; an interval estimate gives a range constructed by a specified method and confidence level. Hypothesis testing starts with a claim about a parameter or effect and evaluates how compatible the observed data are with that claim. Both use sample evidence to reason about a population, but they answer different questions and report results differently.
A 95% confidence interval does not mean there is a 95% probability that the parameter lies in the particular interval already calculated. It means that if the same sampling design and method were used repeatedly, about 95% of the resulting intervals would include the fixed parameter in the long run. The realized interval either contains the parameter or it does not; the confidence level describes the procedure.
A p-value is not the probability that a hypothesis is true, nor simply the probability that a result occurred by chance. Given a specified statistical model and its assumptions, it measures how likely data at least as extreme as those observed would be. The American Statistical Association advises against basing scientific or business conclusions on p-values alone and emphasizes reporting the analysis and uncertainty transparently. Detailed testing and p-value interpretation belong to the related topics on hypothesis testing and p-values.
A hypothetical estimate from 8 defective items
This is a hypothetical example for explaining the calculation, not a real factory result. Assume 100 items are selected at random from a large population for a particular month, and each item's defect outcome is independent. Eight are defective, so the sample defect rate is 8/100 = 8%. That describes this sample; it does not establish that the population rate is exactly 8%.
Rather than automatically using a simple normal-approximation interval, this example uses a 95% Wilson confidence interval for a proportion. Let p̂ = 0.08, sample size n = 100, and the two-sided 95% critical value z = 1.96. Define D = 1 + z²/n, C = (p̂ + z²/(2n))/D, and H = z√[p̂(1−p̂)/n + z²/(4n²)]/D. The interval is C ± H. The result is 0.04109 to 0.14998, or about 4.1% to 15.0%.
| What the sample shows | Inference | How to read it |
|---|---|---|
| 8 defective items out of 100 inspected | Sample defect rate: 8% | This is the observed proportion in this sample. |
| 95% Wilson confidence interval | About 4.1%–15.0% | Under the stated sampling design and binomial model, the interval makes uncertainty more visible than a point estimate alone. |
| The interval includes 10% | The 10% threshold is unresolved | This interval alone cannot establish that the true rate is below or above 10%. A decision also needs an acceptable limit, the costs of errors, and possibly more data. |
These values do not describe a particular factory or inspection. If production line, shift, or product type affects defects, a simple random or stratified sample should represent those groups. If the sample is a large fraction of the population or observations are not independent, a binomial Wilson interval may not fit; a finite-population design or a method that accounts for clustering may be needed. The interval method cannot compensate for a flawed sampling design or an unclear measurement definition.
What to check before reporting a conclusion
Define the population and time period. State which people, orders, or products the conclusion concerns and when. If the sampled population differs from the group readers want to generalize to, limit that extrapolation.
Review selection and response. Determine whether the sample was probability-based, whether groups were omitted, and whether nonresponse or voluntary participation could change the result. Do not claim representativeness merely because the sample is large.
Check measurement and model assumptions. Review variable definitions, missing-data handling, independence, and assumptions about distributions or sample size. If assumptions fail, the interval or test may not be appropriate.
Report uncertainty with the estimate. Give the sample size, estimate, interval, method, important assumptions, and limitations. Statistical significance alone does not convey effect size or practical importance.
Separate inference from causation. Random sampling can help generalize to a population; it does not by itself prove cause and effect. Causal interpretation requires random assignment or a suitable causal design and additional assumptions. Random sampling and random assignment are different procedures.
A complete census avoids uncertainty from sampling variation, but measurement, missing records, and recording errors can still remain. When reading an inference, consider how the data were produced as well as the number.
References
Penn State STAT 200: Samples, populations, sampling bias, and study design — https://online.stat.psu.edu/stat200/Lesson01
Penn State STAT 200: Sampling distributions, standard error, and confidence intervals — https://online.stat.psu.edu/stat200/Lesson04
NIST Dataplot: Confidence limits for proportions and the Wilson method — https://www.itl.nist.gov/div898/software/dataplot/refman1/auxillar/propconf.htm
American Statistical Association: Statement on Statistical Significance and P-Values — https://www.amstat.org/asa/files/pdfs/P-ValueStatement.pdf