Skip to content

Unit 1: Exploring One-Variable Data and Collecting Data

Introducing Statistics: What Can We Learn from Data?

Name the population, sample, N and n in any study, explain why a sample is used, and judge whether an investigative question can actually be answered.

Topic 1.1 · 10 min read

A city library has 38,000 cardholders and wants to know whether opening on Sundays would be worth the staff cost. Nobody can ask all 38,000 people in time to decide, so the library asks 400 of them and uses their answers to say something about everyone. Learning about a large group from data on part of it, and knowing how far to trust what you learned, is what statistics is for.

The parts of a statistical study

A statistical study starts with a question about a large group and answers it with data from a smaller group drawn from it. Every study has the same parts.

  • The investigative question: what the study is trying to find out. For the library: "What proportion of the library's cardholders would visit on a Sunday at least once a month?"
  • The population: every individual or item the question is about. Here, all 38,000 cardholders. The number of individuals in the population is written NN, so N=38,000N = 38{,}000.
  • The sample: the part of the population selected for study, from which the data are obtained. Here, the 400 cardholders the library chose to ask. The sample size is written nn, so n=400n = 400.
  • The data: the information recorded. One piece of information about one individual is a datum (one cardholder's answer, "yes"). All the recorded values together form a data set (the list of 400 answers).

The sample is always a subset of the population. In practice, not everyone selected gives data. If the library picks 400 cardholders and only 300 reply, the sample is still the 400 selected (so n=400n = 400), the response rate is 300400=75%\frac{300}{400} = 75\%, and the data describe only the 300 who replied. Say both numbers when you describe such a study. The 100 who never answered may differ from those who did (people who never use the library are less likely to bother replying), which is nonresponse, a source of bias that topic 1.12 covers.

Why study a sample instead of everyone

Recording data on every member of a population is called a census (topic 1.10 returns to it). A census is often impossible or pointless, for a few concrete reasons:

  • Size and cost. Surveying 38,000 cardholders, or weighing every one of the roughly 3.6 million babies born in the United States in a year, takes money and time that a sample of a few hundred does not.
  • Reach. Some members can't be found or measured. A city can't survey "everyone who will ride the new bus line next year," because many of them haven't moved to the city yet.
  • Destruction. Measuring sometimes uses up the thing measured. To find how long a batch of batteries lasts, you run batteries until they die. Testing all of them leaves nothing to sell.

The price of sampling is that the sample's answer will usually differ somewhat from the population's. If 62% of the 400 sampled cardholders say yes, the true figure for all 38,000 might be 59% or 65%. A different 400 cardholders would give a slightly different percentage. Much of AP Statistics is about measuring that sample-to-sample variation so you can say how close the sample's answer is likely to be. Topic 1.2 names the two numbers involved: the population's value (a parameter) and the sample's value (a statistic).

Investigative questions

An investigative question is the question a study is built to answer. It has to come first, and it has to be answerable with data.

It is fixed before the data come in. Suppose the library asks its 400 cardholders about Sunday hours, sees that the result is unimpressive, then notices that cardholders over 65 answered yes more often and announces "the study shows seniors want Sunday hours." The problem is that a data set split enough ways will always contain some group that looks unusual by chance. If you search the results for the most striking pattern and then pretend that was the question, the pattern is likely to be a fluke that would not show up again in a new sample. A question chosen after seeing the data can't be tested fairly by the same data. A new pattern noticed this way is a reason to run a new study with that question set in advance.

It can be answered with data you can collect and analyze. Compare these:

QuestionProblem
"Are teenagers stressed?"Which teenagers? What counts as stressed? Nothing here tells you what to measure or whom to ask.
"How many books are in the Main Street branch?"One number, counted once. No variation, no sample, no statistics needed.
"What proportion of students at Ridgeview High School sleep fewer than 7 hours on a typical school night?"Names the population, the variable to record (hours of sleep), and the summary wanted (a proportion). This one works.

A good investigative question expects variation: different individuals give different answers, and the question asks about the pattern across the whole population. If the answer is a single fact you could look up or count directly, it isn't a statistical question. Topic 1.10 adds more structure: what an investigative question must say for a test or an interval, and what kind of conclusion it allows.

Answering in context

Every part of a study, and every number calculated from it, stands for something real: a group of people, a measurement with units, an answer to a survey question. Saying what it stands for is what "in context" means, and on the AP exam an answer without context often earns nothing.

Compare "the sample proportion is 0.62" with "62% of the 400 cardholders surveyed said they would visit on a Sunday at least once a month." The first is a number. The second says which individuals, which question, and which group the number describes. Use the study's own nouns: name the population ("the 38,000 cardholders of the city library"), not "the people."

Worked examples

Worked exampleExample 1: naming the parts

A coffee roaster filled 12,000 bags labeled "340 grams" this month. A quality inspector selects 60 of them, opens each one, and weighs the coffee inside. Identify the population, NN, the sample, nn, one datum, and the data set. Why does the roaster use a sample?

Show solution

The question is about every bag filled this month, so the population is the 12,000 bags of coffee filled this month, and N=12,000N = 12{,}000. The sample is the 60 bags the inspector opened and weighed, so n=60n = 60. A datum is the weight of the coffee in one bag, such as 338 grams. The data set is the list of 60 weights.

A sample is used because measuring destroys the product: an opened bag can't be sold. Weighing all 12,000 would leave nothing to ship.

Worked exampleExample 2: which question can be studied?

A city's parks department is deciding where to spend its budget. Three staff members propose investigative questions:

  1. "Do people like parks?"
  2. "What is the mean number of visits per month that adult residents of the city made to a city park last summer?"
  3. "How many swings are at Fairview Park?"

Which question could guide a statistical study? Explain what is wrong with the other two.

Show solution

Question 2 is the one. It names the population (adult residents of the city), the variable to record (number of park visits per month last summer), and the summary of interest (a mean). Residents differ in how often they visit, so there is variation to study, and a sample of residents can be asked.

Question 1 has no defined population ("people" where?) and no measurable variable: "like" could mean visiting, rating, or voting for funding, and you can't collect data until you decide which. Question 3 has a single answer that someone can count by walking through the park. There is no population of individuals that vary, so no statistics is needed.

Worked exampleExample 3: exam-style free response

A regional transit agency sells monthly passes to 84,000 riders. To decide whether to add weekend service, the agency selected 500 pass holders at random and reached every one of them by phone. Of those 500, 310 said they would pay $5 more per month for weekend service.

(a) Identify the population and the sample in this study.

(b) Explain why the agency surveyed a sample rather than all 84,000 pass holders.

(c) Calculate and interpret, in context, the proportion of surveyed pass holders who said they would pay more.

(d) After looking at the results, an analyst notices that riders who live downtown answered yes more often and proposes reporting the study as an answer to "Do downtown riders want weekend service?" Explain why that is not appropriate.

Show solution

(a) The population is all 84,000 monthly pass holders of the regional transit agency. The sample is the 500 randomly selected pass holders who were surveyed by phone.

(b) Contacting and getting answers from all 84,000 riders would cost far more time and money than surveying a sample, and the agency needs a decision before it plans the next schedule. A sample of a few hundred gives useful information about all pass holders at a small fraction of that cost.

(c) 310500=0.62\dfrac{310}{500} = 0.62. Of the 500 pass holders surveyed, 62% said they would pay $5 more per month for weekend service.

(d) The study was designed to answer a question about all pass holders, and that question was set before the data were collected. Choosing a new question because a pattern showed up in these results is a problem: in any data set divided into many groups, some group will look different by chance alone. The downtown pattern may not appear in another sample. To answer a question about downtown riders, the agency should state that question first and collect new data to answer it.

Why these moves: part (a) names the individuals with the study's own nouns, which is what earns the point. Part (c) reports the number with who and what it describes. Part (d) gives the reason (patterns found by searching the data can be chance) and the fix (a new study with the question set in advance).

Where students lose points

Check yourself

  1. Question 1

    A phone maker produces 8,000 screens a day. Each day an inspector drops 40 screens from a height of 1.5 meters and records whether each one cracks. Which is the best reason the inspector tests a sample instead of every screen?

    1. A

      A sample always gives the same result as testing every screen.

    2. B

      The test can damage the screens, so testing all of them would leave none to sell.

    3. C

      The population is too small for a census.

    4. D

      The inspector wants a number that is not affected by which screens are chosen.

    Show answer

    B

    Drop-testing can crack a screen, which makes a census self-defeating. Choice A is false: a sample's result usually differs a little from the population's, and different samples give different results, which is also why D is wrong.

  2. Question 2

    A university randomly selects 1,200 of its 26,000 students. Every selected student completes a questionnaire at registration, and 780 of them report working a paid job. In this study, what is nn?

    1. A

      26,00026{,}000

    2. B

      1,2001{,}200

    3. C

      780780

    4. D

      7801,200\dfrac{780}{1{,}200}

    Show answer

    B

    The sample is the 1,200 students selected for study, and all of them gave data, so n=1,200n = 1{,}200. The 780 is a count within the sample (the students with jobs), not the sample size; 780/1,200=0.65780/1{,}200 = 0.65 is the sample proportion who work. 26,000 is NN, the population size.

  3. Question 3

    Rewrite the investigative question "Is our cafeteria food good?" so that a school could answer it with a statistical study.

    Show answer

    One good version: "What proportion of students at our school rate the cafeteria's lunches 4 or 5 on a 1-to-5 scale?" Any answer that names a population, a variable that can be recorded, and the summary of interest works.

    The original has no population and no measurable variable ("good" by whose standard, measured how?). A usable question says who will be asked, what will be recorded for each of them, and what summary (a proportion, a mean) answers it.

  4. Question 4

    In a sample of 250 households in a county, 85 own a dog. A student writes, "The answer is 0.34." Write the interpretation in context.

    Show answer

    34% of the 250 sampled households in the county own a dog.

    85/250=0.3485/250 = 0.34. The sentence names the individuals (households in the county), the variable (owning a dog), and the group the number describes (the 250 in the sample). Saying 34% of all households in the county own a dog would describe the population, which the sample only estimates.

Go deeper