Variables, Sampling, and Experimental Design
Trent University
When we ask questions about the relationship between two variables, we sometimes also want to determine if the change in one variable causes a change in the other. We label these as explanatory and response variables: the variable that affects the other is the explanatory, and the variable that is affected is the response.
Observational study: Researchers collect data in a way that does not directly interfere with how the data arise, i.e. they merely “observe”, and can only establish an association between the explanatory and response variables.
Experiment: Researchers randomly assign subjects to various treatments in order to establish causal connections between the explanatory and response variables.
One thing to walk away with is: “correlation does not imply causation”1.

New study sponsored by General Mills says that eating breakfast makes girls thinner
By ALEX DOMINGUEZ, Associated Press
“Girls who regularly ate breakfast, particularly one that includes cereal, were slimmer than those who skipped the morning meal, according to a study that tracked nearly 2,400 girls for 10 years. […] As part of the survey, the girls were asked once a year what they had eaten during the previous three days.”
This is an observational study since the researchers merely observed the behaviour of the girls (subjects) as opposed to imposing treatments on them.
There is an association between girls eating breakfast and being slimmer.
General Mills (cereal manufacturer)



A prospective study identifies individuals and collects information as events unfold.
Retrospective studies collect data after events have taken place.
Almost all statistical methods are based on the notion of implied randomness.
If observational data are not collected in a random framework from a population, these statistical methods – the estimates and errors associated with the estimates – are not reliable.
Most commonly used random sampling techniques are simple, stratified, and cluster sampling.
Randomly select cases from the population, where there is no implied connection between the points that are selected.

The only way to avoid the potential bias of samples is to select the sample randomly. As you deal with more complicated situations, there are a wide variety of sampling schema designed to help avoid potential biases. This can be complicated, but is very powerful.
Studies where researchers assign treatments to cases are called experiments. If the assignment of treatments to cases is random (e.g., using a coin flip to determine which treatment a patient receives), the study is called a randomized experiment.
Randomized experiments have a series of four principles.
Researchers assign treatments to cases, and do their best to control for other differences between groups.
Example: in a drug trial, patients may be asked to take a pill daily. Some may take the pill dry (ick!), some with just a sip of water, some with coffee, and others with juice. To control for the effect of accompanying liquid, a doctor may ask all patients to drink a 12 oz glass of water with the pill.
Researchers randomize patients into treatment groups to account for variables that cannot be controlled.
Example: some patients are more susceptible to disease than others due to dietary habits. Randomizing patients into treatment/control groups helps even out these differences, possibly preventing accidental bias.
The more cases researchers observe, the more accurately they can estimate the effects of explanatory variables on response variables. In a single study, we replicate by collecting a sufficiently large sample. Additionally, scientists often replicate an entire study over again to verify earlier findings.
Researchers sometimes know (or suspect) that variables other than the treatment influence the response. Under this situation, they may first group individuals by this variable, and then randomize cases within each block. This is known as blocking.
Example: If we were researching the effect of a drug on heart attacks, we might first split patients into high-risk and low-risk blocks (based on diet, physique, genetic screening, or some other approach), and then randomly assign half of each block to the control group, and the other half to the drug (treatment) group.

We would like to design an experiment to investigate if energy gels make you run faster:
It is suspected that energy gels might affect pro and amateur athletes differently, therefore we block for pro status.
Why is this important? Other variables to block for?
A study is designed to test the effect of light level and noise level on exam performance of students. The researcher also believes that light and noise levels might have different effects on students of different genders, so wants to make sure all genders are proportionally represented in each group. Which of the below is correct?
A study is designed to test the effect of light level and noise level on exam performance of students. The researcher also believes that light and noise levels might have different effects on students of different genders, so wants to make sure all genders are proportionally represented in each group. Which of the below is correct?
Factors are conditions we can impose on the experimental units.
Blocking variables are characteristics that the experimental units come with, that we would like to control for.
Placebo: fake treatment, often used as the control group for medical studies
Placebo effect: experimental units showing improvement simply because they believe they are receiving a special treatment
Blinding: when experimental units do not know whether they are in the control or treatment group
Double-blind: when both the experimental units and the researchers who interact with the patients do not know who is in the control and who is in the treatment group
What is the main difference between observational studies and experiments?
What is the main difference between observational studies and experiments?

