Chapter 2 of 22 Statistics guide · Part 1: The basics

Descriptive vs Inferential Statistics: From a Sample to a Conclusion

Descriptive statistics summarize the data you collected. Inferential statistics take the leap from those data to the population behind them, and say how sure you can be. This chapter explains the difference, estimation, sampling distributions and the central limit theorem, the ideas every test in this guide rests on.

  • Plant and animal examples
  • Worked by hand and in R
  • Sources cited
  • Free tools to try it

Quick answers

What is the difference between descriptive and inferential statistics?
Descriptive statistics describe the sample in hand: mean, SD, graphs. Inferential statistics use the sample to draw conclusions about the population, with a measure of uncertainty such as a confidence interval or p value.
What are examples of inferential statistics?
Confidence intervals, t-tests, ANOVA, regression, chi-square tests and mixed models. All of them generalize from a sample to a population.
What is a sampling distribution?
The distribution a statistic, such as the mean, would have if you repeated the same experiment many times. Its standard deviation is the standard error.
What does the central limit theorem say?
Means of random samples follow an approximately normal distribution once the sample is moderately large, whatever the shape of the original data, with standard error σ/√n.
What is statistical inference?
Reasoning from a sample to a population. It has two main forms: estimation (point estimates and confidence intervals) and hypothesis testing.
On this page
  1. Quick answers
  2. Descriptive vs inferential statistics
  3. Estimation: point estimates and confidence intervals
  4. The sampling distribution and the standard error
  5. The central limit theorem
  6. What makes an inference valid
  7. What comes next
  8. Key takeaways
  9. Questions people ask
  10. Sources

Descriptive vs inferential statistics

Descriptive statisticsInferential statistics
QuestionWhat do my data look like?What can I conclude beyond my data?
ToolsMean, median, SD, CV, tables, graphsConfidence intervals, tests, models
Applies toThe sample you measuredThe population the sample came from
UncertaintyNone statedAlways stated (SE, CI, p value)

Both matter. Every analysis starts descriptive, to catch mistakes and see patterns, and then moves to inference to answer the research question.

Estimation: point estimates and confidence intervals

A point estimate is a single best guess at a parameter: the sample mean x̄ estimates the population mean μ. On its own it hides how far off it might be. An interval estimate, usually a 95% confidence interval, adds a range of plausible values:

95% CI = x̄ ± t(0.975, n − 1) × SE, where SE = s / √n

"95% confidence" describes the method: if you repeated the trial many times, about 95% of the intervals built this way would contain the true mean. Narrower intervals come from more replicates or less variable units.

The sampling distribution and the standard error

Imagine running the pig trial again with 24 new pigs. The mean ADG would come out slightly different, and again on a third run. If you could repeat it forever, the means would form a distribution of their own: the sampling distribution of the mean.

  • It is centered on the true population mean, so the sample mean is unbiased.
  • Its spread is the standard error, SE = σ / √n. More replicates make it narrower.
  • Its shape is close to normal, thanks to the central limit theorem (below).

You never see the sampling distribution, but every confidence interval and p value is calculated from it. The difference between SD and SE is so central that chapter 4 is devoted to it.

The central limit theorem

The central limit theorem (CLT) says that the mean of a random sample has an approximately normal sampling distribution when the sample is large enough, even if individual values are not normal. That is why t-tests and ANOVA work well for many kinds of data.

  • For symmetric data, means of 5 to 10 values are already close to normal.
  • For skewed data, such as counts or somatic cell counts, you may need 30 or more; the "n = 30" rule of thumb is a rough guide, not a law.
  • The CLT applies to means, not to individual values: a skewed trait stays skewed, however many animals you measure.

For strongly skewed responses, small samples, or yes/no and count data, models built for the right distribution are better than relying on the CLT. See chapter 6 and generalized linear models.

What makes an inference valid

  • Randomization: treatments assigned at random (or units sampled at random), so that differences cannot be blamed on how units were chosen.
  • Independent replicates: each replicate is a separate experimental unit. Ten pigs in one pen are not ten replicates of a pen-level treatment; see experimental design.
  • A model that matches the design: blocks, split-plots and repeated measures must appear in the analysis, or the standard errors are wrong.
  • A stated scope: conclusions reach only as far as the population sampled. One site-year of wheat is weak evidence for other environments.

What comes next

Inference has two pillars: estimation, which you have just met, and hypothesis testing, covered in chapter 7. Before that, chapter 3 builds the descriptive toolkit you need for both.

Key takeaways

  • Descriptive statistics describe your sample; inferential statistics generalize to the population, with stated uncertainty.
  • A confidence interval gives a range of plausible values for a parameter, not just a single estimate.
  • The standard error is the spread of the sampling distribution: SE = SD / √n.
  • The central limit theorem makes means close to normal in moderate samples, but it does not fix skewed individual values.
  • Valid inference needs randomization, true replicates, a model that matches the design, and a clear scope.

Questions people ask

Is a mean descriptive or inferential?

Both, depending on use. Reporting the mean of your pigs is descriptive. Using it to estimate the mean of all such pigs, with a confidence interval, is inferential.

Is regression descriptive or inferential?

A fitted line can just describe a pattern, but testing whether the slope differs from zero or predicting new values is inference.

What is the difference between a sampling distribution and a sample distribution?

A sample distribution is the spread of the individual values you measured. A sampling distribution is the spread of a statistic, such as the mean, over many hypothetical repeats of the study.

Why is n − 1 used in the sample standard deviation?

Because the deviations are measured from the sample mean, which is itself estimated from the data. Dividing by n − 1 corrects the resulting underestimate of the population variance.

Sources

  • Kaps, M., and Lamberson, W. R. (2017). Biostatistics for Animal Science (3rd ed.), chapters on population and sample, and estimation of parameters. CABI.
  • Ott, R. L., and Longnecker, M. (2015). An Introduction to Statistical Methods and Data Analysis (7th ed.). Cengage.
  • Cumming, G. (2014). The new statistics: why and how. Psychological Science, 25(1), 7–29.