1Observational study or experiment?
| Observational study | Experiment | |
|---|---|---|
| What happens | We observe and measure; we do not change anything | We deliberately give treatments |
| Can show cause? | No: only association | Yes, if subjects are randomly assigned |
| Example | Compare grades of students who do or don't play sports | Randomly assign 40 students to two study methods |
2The vocabulary
Experimental units / subjects
Who or what receives the treatments (subjects when they are people).
Example40 volunteers with high blood pressure
Factor and levels
A factor is a variable the experimenter controls; its levels are the values used.
ExampleFactor: dose; levels: 0 mg, 10 mg, 20 mg
Treatments
ExampleDose (3 levels) × timing (morning or evening): treatments
Response variable
The outcome measured.
ExampleChange in blood pressure after 8 weeks
Control group
A group that gets no treatment, a placebo or the current standard, for comparison.
ExamplePatients taking the current drug
Placebo
A fake treatment that looks like the real one; the placebo effect is improvement from believing you are treated.
ExampleA sugar pill shaped like the new drug
Blinding
Single-blind: subjects don't know their treatment. Double-blind: neither subjects nor those measuring the response know.
ExampleNeither patients nor the nurse taking blood pressure know who got the drug
Confounding
Two variables whose effects on the response can't be told apart.
ExampleIf all morning-dose patients also exercise more, dose timing and exercise are confounded
3The four principles
- Comparison: use at least two treatment groups, one of which may be a control.
- Random assignment: use chance to decide who gets which treatment, so the groups are alike before treatment.
- Replication: give each treatment to enough subjects that chance variation can be told apart from a real effect.
- Control: keep other variables the same for all groups (same diet advice, same measuring device, same length of study).
4Three designs
5Choosing a design
Completely randomized
All subjects are randomly assigned to the treatments.
ExamplePut 40 names in a hat; the first 20 drawn get the drug, the rest the placebo
Randomized block
Split subjects into blocks that are alike in a way that affects the response, then randomize within each block.
ExampleBlock by sex: randomly assign 12 of 24 women and 8 of 16 men to the drug
Matched pairs
Pair up similar subjects (or use each subject twice, in random order) and compare within each pair.
ExampleEach runner tries both shoe types on different days, in an order set by a coin flip
Blocking vs stratifying
Blocking is for experiments; stratifying is for samples. Both group alike units to reduce variability.
ExampleBlock patients by age group; stratify a survey by grade
6Scope of inference
| Randomly assigned | Not randomly assigned | |
|---|---|---|
| Randomly sampled | Cause and effect; generalize to the population | Association only; generalize to the population |
| Not randomly sampled | Cause and effect; only for these subjects | Association only; only for these subjects |
Random sampling lets you generalize. Random assignment lets you conclude cause and effect.
7Results
Statistically significant
A difference too big to be explained by chance alone (usually a P-value below 0.05).
ExampleDrug group dropped 12 points vs 3 for placebo, P = 0.004: significant
Lurking variable
A variable not studied that affects the response and may explain an association.
ExampleStudents who sleep more may both play sports and get better grades
Related
Sampling methods and bias
Simple random, stratified, cluster, systematic and multistage sampling with examples, the methods to avoid, and the kinds of bias.
Intro stats · AP Stats
Hypothesis testing step by step
The four steps of a significance test, how to read a p-value, and how to word your conclusion.
AP Stats · College
Which test do I use?
Pick the right procedure from the type of data and the question: z, t, paired t, chi-square, regression or ANOVA.
AP Stats · College