13STATISTICS

So far, we've discussed how functions can model real-world behavior. To do so, we need data—information that comes from observations or measurements. In this chapter, we deal with statistics, the science of collecting and analyzing data. We use statistics to tell a story about a population, which is a group of individuals, items, or events that we're interested in. Since getting information from everyone in a population is usually unrealistic, we often get information from a sample, which is a part of the population.

13.1 Two-Way Tables

Let's say we wanted to know more about the people who live in a small town. We might be interested in their ages, ethnicities, political affiliations, or other traits. Each characteristic that ...

Get Practical Algebra, 3rd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.