AP Statistics · Study guide

Write the question first.

AP® Statistics · Unit 1 · Exploring One-Variable Data and Collecting Data

The Investigative Question and Collecting Data

The three jobs a complete investigative question does, the difference between a census, an experiment and an observational study, the vocabulary of experiments, confounding variables, and who a study’s results can apply to.

The idea in one paragraph

How data are collected decides what you can conclude. In an experiment the researcher assigns treatments; in an observational study the researcher only records what is already happening. Only a well-run experiment can show cause and effect. And only a random sample lets you apply the results to the whole population. A good investigative question is written with all of this in mind.

1A complete investigative question

An investigative question does three jobs.

  1. It guides data collection. It is phrased in terms of the variable or variables of interest, and says who they will be measured on.
  2. It guides the analysis. If the study will test a claim, the question makes clear the parameter and the direction being tested: greater than, less than, not equal, or whether two variables are associated. If the study will estimate, the question makes clear the parameter and that the goal is a range of values for it.
  3. It shows what kind of conclusion is possible. It names the population the conclusion will apply to, and, for an experiment that uses random assignment, signals a cause-and-effect conclusion.
Figure 1. A complete investigative question tells you what to measure and on whom, which parameter to study and in what direction, and what kind of conclusion the study can support.
GoalExample questionParameter and direction
Test a claimIs the mean GPA higher for students who use a planner than for those who do not?Difference in mean GPA; “higher”
Test a claimIs the proportion of students who bike to school different from 10%?Proportion who bike; “different from”
Test for associationIs music preference associated with grade level for students at our school?Association between two categorical variables
EstimateWhat is the mean number of hours students in our district sleep on a school night?Mean hours of sleep; a range of values
Worked Example 1 Find the three parts

A sleep question

Read this investigative question: “For students in our district, what is the mean number of hours of sleep on a school night?” Identify what it says about data collection, analysis, and conclusions.

  1. 1Collect: the variable of interest is hours of sleep on a school night, measured on students in the district.
  2. 2Analyze: the parameter is the mean hours of sleep for all students in the district. The question asks for an estimate of that mean, so the analysis will produce a range of values for it, not a yes or no answer.
  3. 3Conclude: the conclusion applies to students in the district, if the students studied are chosen at random from the district. No treatment is involved, so there is no cause-and-effect claim.
Answer: Variable: hours of sleep; population: students in the district; goal: estimate the population mean; conclusion: a statement about all students in the district.

2Census or sample

A census records information from every item or individual in the population. A school that checks the attendance of all of its students is taking a census. When a census is possible and affordable, it gives the parameter itself. Most of the time it is not, so data come from a sample instead.

3Experiments

An experiment is a study in which the researcher assigns conditions, called treatments, to experimental units to explore an investigative question about the population. The researcher controls who gets what.

TermMeaningBackground-sound example
Experimental unitThe observational unit a treatment is assigned to. People in an experiment are called subjects (also called participants).each of the 60 students
Explanatory variable (factor)The variable whose levels are imposed on the unitstype of background sound
LevelsThe different categories or values of a factorsilence, instrumental, lyrics
TreatmentsThe levels of the factor; with more than one factor, the combinations of levelsthe 3 sound conditions
Response variableThe outcome measured on each unit after the treatmentquiz score
Figure 2. In an experiment the researcher decides which treatment each unit gets, then measures the response. Here the one factor has three levels, so there are three treatments.

One more idea starts here: in most good experiments, chance decides which unit gets which treatment. That is random assignment. It is what makes a cause-and-effect conclusion possible, because chance, not the researcher or the subjects, sets up the groups.

Worked Example 2 Name the parts of an experiment

Two factors

A science class tests paper airplanes. They fold planes from three kinds of paper (printer, construction, cardstock) and launch each one at one of two angles (level or tilted up). Each plane is flown once, and the distance it travels is measured. Name the experimental units, factors, levels, treatments, and response variable.

  1. 1Experimental units: the paper airplanes, since each receives a treatment.
  2. 2Factors: paper type and launch angle.
  3. 3Levels: paper type has 3 levels (printer, construction, cardstock); launch angle has 2 (level, tilted up).
  4. 4Treatments: with two factors, each treatment is a combination of one level of each: \(3 \times 2 = 6\) treatments, such as “cardstock, tilted up.”
  5. 5Response variable: distance flown.
Answer: Units: planes. Factors: paper type (3 levels) and angle (2 levels). Six treatments. Response: distance flown.
Common Mistake 1 · Counting levels instead of treatments

With two factors, a treatment is one level of each factor together. Three paper types and two angles give \(3 \times 2 = 6\) treatments, not 5. Write out the combinations if you are unsure.

4Observational studies

In an observational study, no treatments are imposed. The researcher records the values of the variables of interest as they already are.

  • A prospective study selects its observational units at one point in time and gathers data then and into the future.
  • A retrospective study selects its observational units at one point in time and gathers data from the past.
  • A survey is an observational study that collects data from people using a standard set of questions.
Figure 3. Both are observational studies, because no treatment is imposed. A prospective study gathers data now and into the future. A retrospective study gathers data from the past.
Worked Example 3 What kind of study is it?

Five quick cases

  1. A school records the attendance of every one of its 1,120 students for the year.
  2. A coach randomly assigns 30 runners to stretch before practice or not, then compares injuries over the season.
  3. Researchers choose 500 adults today and record their daily steps for the next five years.
  4. A hospital pulls the records of 300 patients and looks up how much they exercised over the past ten years.
  5. A city mails the same ten questions about parks to 2,000 residents.
  1. 11. Data from every member of the population: a census.
  2. 22. The coach imposes a treatment (stretching or not): an experiment.
  3. 33. No treatment; units chosen now and followed forward: a prospective observational study.
  4. 44. No treatment; units chosen now and past data gathered: a retrospective observational study.
  5. 55. A standard set of questions given to people: a survey, a kind of observational study.
Answer: Census, experiment, prospective study, retrospective study, survey.
Common Mistake 2 · Calling any comparison an experiment

Comparing two groups does not make a study an experiment. If students chose for themselves whether to eat breakfast and the researcher only recorded it, the study is observational, however careful the measurements are. Ask one question: did the researcher assign the treatment?

5Confounding variables

A confounding variable in an observational study offers another explanation for the link found between the explanatory and response variables. Because of it, the study cannot conclude that one causes the other. To be a confounding variable, a variable must be associated with both the explanatory variable and the response variable.

Figure 4. Students with regular sleep and a steady home routine are more likely to eat breakfast and more likely to do well in school. That routine offers another explanation for the link, so the study cannot show that breakfast itself raises grades.
Worked Example 4 Find a confounding variable

Music lessons and math

An observational study finds that students who take music lessons outside school have higher math grades than students who do not. Name a possible confounding variable and explain how it is linked to both variables.

  1. 1The explanatory variable is taking music lessons; the response is math grade.
  2. 2A possible confounding variable is family income.
  3. 3Link to the explanatory variable: families with more money can more easily pay for music lessons.
  4. 4Link to the response: families with more money can more easily pay for tutoring, quiet study space, and supplies, which can raise math grades.
Answer: Family income. It is associated with both taking music lessons and math grades, so it is another explanation for the link. The study cannot show that music lessons cause higher math grades.
Common Mistake 3 · A “confounder” linked to only one variable

“Some students are just smart” is not enough. Explain how the variable is connected to both sides: to who eats breakfast, and to grades. If you can only connect it to one, it does not explain away the link.

Common Mistake 4 · Claiming cause from an observational study

“Eating breakfast raises grades” is a cause-and-effect claim, and an observational study cannot support it. Write “students who ate breakfast tended to have higher grades,” which describes the link without claiming why.

6Who the results apply to

A sample is random when every unit in it was selected from the population by a random mechanism, such as a random number generator. A sample is not random when units are deliberately chosen by the researcher or volunteer themselves.

How the units were chosenThe results can be generalized to
Randomly selected from a populationthe entire population they were selected from
Chosen deliberately, or volunteeredonly individuals similar to those in the study
How treatments were givenCause-and-effect conclusion?
Randomly assigned in an experimentYes, for units like those in the study
Not assigned (observational study)No; describe the link only
Worked Example 5 Who do the results apply to?

Two samples

  1. A fitness app posts a link inviting users to report how often they work out. 4,000 users respond.
  2. A district uses a random number generator to pick 300 of its 9,000 students and asks how often they work out.
  1. 11. The users chose themselves: they volunteered. The sample was not randomly selected, so the results apply only to people like these 4,000, such as app users keen enough to answer a workout survey.
  2. 22. The 300 students were randomly selected from all 9,000. The results can be generalized to all students in the district.
Answer: Volunteer sample: generalize only to people similar to the volunteers. Random sample: generalize to the whole population it was drawn from.
Say it like this

“Because the 300 students were randomly selected from all students in the district, the results can be generalized to all students in the district.” And for volunteers: “Because the respondents volunteered, the results apply only to people similar to those who responded.”

Common Mistake 5 · Generalizing from volunteers

People who volunteer often differ from those who do not: they may care more, have stronger opinions, or have more free time. A volunteer sample of 4,000 is still not random, and a big number does not fix that.

Quick reference

TermOne-line meaning
CensusData from every member of the population
ExperimentResearcher assigns treatments to experimental units
Observational studyNo treatments imposed; values are recorded
Prospective / retrospectiveData gathered forward from now / from the past
SurveyObservational study using a standard set of questions
Confounding variableLinked to both explanatory and response variables; another explanation
Random sampleSelected by a random mechanism; generalize to the population
Random assignmentChance decides treatments; allows cause and effect