Main classes of good experiments
- Randomized controlled experiment
- Randomized block experiment
- Matched pairs as a special case
A group of researchers wanted to understand the effect of “screen time” before sleep. Classify the study design as either an observational study or experiment.
A group of researchers wanted to understand the effect of “screen time” before sleep. Classify the study design as either an observational study or experiment.
A well-designed experiment can give evidence that the treatment causes the response by controlling for lurking variables. Lurking variables are variables in your study that you have not controlled for but may affect the outcome.
Experiments try to control for as many lurking variables as possible.
Fill in the following for the Pfizer COVID vaccine study:
Fill in the following for the Pfizer COVID vaccine study:
Did the vaccine study include each of the following? If so, how?
Does requiring someone to sign up for an account with your company increase or decrease purchases?
Design a valid experiment to answer this question.
How did you include each of the following?
Note: this is a common type of experiment in data science called “A/B” testing
Randomly split all subjects into treatment groups.
Design Principles:
Comparison/control: multiple treatments
Randomization: used to split into groups
Replication: more than 1 rat per group
Double blind: maybe
Hypothetical experiment with rats and a 5 factor explanatory variables (A, B, C, D and E)
Randomization outcomes:
Solution: separate rats by size first then randomize within each size (block = group).
Do I still have all the principles of good experimental design?
Randomized Controlled Experiment (RCE):
Use when individuals are similar
Randomized Block Experiments (RBE):
Use when the individuals are similar within a block but very different from block to block
RBE removes confounding of lurking variables with response variable
RBE reduces chance variation by removing variation associated with the lurking (blocking) variable.
RBE yields more precise estimates of chance variation which makes detection of statistical significance easier
Example: A manufacturer of boots plans to conduct an experiment to compare a new method of waterproofing to the current method. The appearance of the boots is not changed by either waterproofing method. The company recruits 100 volunteers in Seattle (where it rains a lot) to wear the boots as they normally would for 6 months. At the end of the 6 months, the boots will be returned to the company to be evaluated for water damage.
240 subjects are available for an experiment testing the effects of different diets. Software randomly assigns 60 subjects to Diet 1, 60 subjects to Diet 2, 60 subjects to Diet 3, and 60 subjects to Diet 4. What type of study is this?
a randomized controlled experiment
a randomized block design, with four blocks
a matched pairs design
an observational study
none of the above
240 subjects are available for an experiment testing the effects of different diets. Software randomly assigns 60 subjects to Diet 1, 60 subjects to Diet 2, 60 subjects to Diet 3, and 60 subjects to Diet 4. What type of study is this?
a randomized controlled experiment
a randomized block design, with four blocks
a matched pairs design
an observational study
none of the above
Do cars get better gas mileage with clean air filters? Gas mileage for 10 cars with dirty air filters and clean air filters was studied. Each car was tested once with a clean air filter and once with a dirty air filter (with the order of the testing randomized). What type of study is this?
an observational study based on a simple random sample
an observational study based on a stratified random sample
an observational study based on a multistage random sample
a randomized controlled experiment
a matched pairs experiment
Do cars get better gas mileage with clean air filters? Gas mileage for 10 cars with dirty air filters and clean air filters was studied. Each car was tested once with a clean air filter and once with a dirty air filter (with the order of the testing randomized). What type of study is this?
an observational study based on a simple random sample
an observational study based on a stratified random sample
an observational study based on a multistage random sample
a randomized controlled experiment
a matched pairs experiment
Constructing a valid experiment is only half the battle. We need to be careful about a few things…
Problem: The placebo effect is response by human subjects due to the psychological effect of being treated.
Solution: Use a placebo
A study was done to determine if various changes in work conditions would have an effect on how productive workers were during their shifts. In the study, a manager told the employees that he would be studying this and proceeded to introduce more frequent breaks, altered lighting conditions, or reorganized the workspace. To collect data on productivity, new cameras were installed to monitor the employees. The researchers found that almost any change to the workplace led to increases in productivity. This is an example of:
A study was done to determine if various changes in work conditions would have an effect on how productive workers were during their shifts. In the study, a manager told the employees that he would be studying this and proceeded to introduce more frequent breaks, altered lighting conditions, or reorganized the workspace. To collect data on productivity, new cameras were installed to monitor the employees. The researchers found that almost any change to the workplace led to increases in productivity. This is an example of: