# 1: Collecting Data in Reasonable Ways

Source: https://cca.twango.dev/AP-Statistics/chapter-1

# 1: Collecting Data in Reasonable Ways

Begin with a question about a **population**, then collect data from that population or a sample.

## Types of studies

- **Experiment:** researchers deliberately impose treatments and observe responses.
- **Observational study:** researchers observe or survey without assigning treatments. A simulation models a chance process; it is not automatically an observational study of people.

## Population, sample, parameter, statistic

A **census** attempts to collect data from every member of the population. It can be costly and can still suffer from undercoverage, nonresponse, or inaccurate answers.

A **sample** is a subset of the population. Its selection method matters for representativeness.

| Term | Meaning |
| --- | --- |
| Parameter | Numerical characteristic of the population |
| Statistic | Numerical characteristic calculated from a sample |

> [!warning] Review correction
> The original tip said a parameter “requires census.” A parameter exists whether or not we know it; a sample statistic can estimate it.

## Sampling methods

| Method | Procedure and cautions |
| --- | --- |
| Simple random sample (SRS) | Every possible sample of the specified size has an equal chance of selection. Use a random generator or draw names. Sampling without replacement prevents repeats; a random sample can still be unrepresentative by chance. |
| Stratified random sample | Divide into strata that are similar within each stratum, then randomly sample from **every** stratum. |
| Cluster sample | Randomly select whole clusters, then census the members of those selected clusters. Useful clusters resemble small versions of the population; classrooms or communities may be clusters. |
| Convenience sample | Select whoever is easiest to reach; often systematically unrepresentative. |
| Systematic sample | Choose a random start, then every $k$th member. A repeating pattern aligned with $k$ can bias the result. |

## Biases

- **Voluntary response:** people decide whether to participate; those with strong opinions may dominate.
- **Nonresponse:** selected people do not respond, and respondents may differ from nonrespondents.
- **Undercoverage:** the sampling frame leaves out part of the population, whether intentionally or unintentionally.
- **Response bias:** answers are systematically inaccurate because of wording, interviewer effects, social pressure, or other measurement issues.

## Experimental design

| Term | Meaning |
| --- | --- |
| Treatment | An experimental condition, or combination of factor levels |
| Explanatory variable | Variable used to explain or predict the response; manipulated in an experiment |
| Response variable | Outcome measured |
| Experimental unit | Person or object receiving a treatment |
| Replication | Apply treatments to enough independent units to assess variation |
| Confounding | Effects of two variables cannot be separated in the study |

Use **direct control** to keep other conditions similar. Use **random assignment** to distribute uncontrolled differences across treatments.

- **Completely randomized design:** assign all units randomly to treatment groups.
- **Randomized block design:** group similar units into blocks, then randomly assign treatments within each block. Blocks resemble strata, but they serve treatment assignment rather than sample selection.
- **Placebo:** an inactive treatment designed to resemble the active treatment; may provide a control comparison and account for expectation effects.
- **Single blind:** usually participants do not know which treatment they received; specify who is blinded.
- **Double blind:** participants and the people interacting with or evaluating them do not know treatment assignments.

> [!tip]
> Not every experiment can be blinded.

## Study conclusions

Well-designed randomized experiments can support **cause and effect**. Observational studies establish **association**, with possible confounding.

Random **sampling** supports generalization to the sampled population; random **assignment** supports causal comparisons. They answer different questions.

Related: [[chapter-2|Displaying data]] · [[S1-Final-Project/s1-report|Typing project]] · [[S2-Final-Project/s2-report|Counting project]]
