Course contentsShow
← Data Science
Lesson 229 of 2,1457. Sampling and EstimationFree lesson

Defining Samples and Statistics

What constitutes a sample, how samples relate to populations, and the role of sample statistics.

Defining Samples and Statistics

What you'll learn: You'll understand what a sample is, how it differs from a population, and what sample statistics tell us.

What Is a Sample?

In the previous lesson, you learned that a population is the entire group you want to study, and parameters describe that population. But here's the problem: populations are often too large, expensive, or time-consuming to measure completely.

That's where samples come in. A sample is a subset of the population—a smaller group selected to represent the whole. Think of it like tasting a spoonful of soup to judge the entire pot. You don't need to drink the whole batch to know if it needs more salt.

What Are Statistics?

When you measure characteristics of a sample, those measurements are called statistics (not to be confused with the field of statistics itself). Statistics are calculated values that describe your sample data.

Key difference:

  • Parameters describe populations (often unknown, what we want to learn about)
  • Statistics describe samples (what we can actually measure)

For example:

  • The population mean (μ) is a parameter
  • The sample mean (x̄) is a statistic

Why This Matters

We use sample statistics to estimate population parameters. If your sample is representative, the statistics you calculate give you insight into the population without needing to measure everyone or everything. This is the foundation of statistical inference—making educated guesses about the whole based on a part.

Key Takeaway: A sample is a subset of a population, and statistics are numerical summaries calculated from sample data that help us estimate unknown population parameters.