options: Evaluate reports based on data.

Recognize the purposes of and differences among sample surveys, experiments, and observational studies; explain how randomization relates to each.

Use data from a sample survey to estimate a population mean or proportion; develop a margin of error through the use of simulation models for random sampling.

Use data from a randomized experiment to compare two treatments; use simulations to decide if differences between parameters are significant.
problem_activity: Problem 1
Flares are used to warn cars that there is an obstacle on the road. Flares are often part of cars’ emergency kits and burn for a long time.
Fred’s Flare Company used to make flares that burned for 100 minutes on average. Fred changed the chemical formula in his flares, and he thinks that his new formula will burn for slightly over 120 minutes. Fred wants to make the claim on his packaging that his flares “Now burn for over 2 hours on average!!”
To make this claim, Fred needs to back it up with data. He decides that performing some random sampling is the best way to do this. Since he runs a 24-hour production operation, he decides that taking a sample each hour is the easiest way to do this.
Fred has tried two different ways of sampling, as shown below.
| Sample size: 20 flares                      24 total samples (one per hour of production)            |https://d37su8u1z9ynie.cloudfront.net/uploads/2018/06/05/algiiu8_l12_at1.png|  |https://d37su8u1z9ynie.cloudfront.net/uploads/2018/06/05/algiiu8_l12_at1.png| image:: https://d37su8u1z9ynie.cloudfront.net/uploads/2018/06/05/algiiu8_l12_at1.png | Sample size: 100 flares                      24 total samples (one per hour of production)            |https://d37su8u1z9ynie.cloudfront.net/uploads/2018/06/05/algiiu8_l12_at1a.png|  |https://d37su8u1z9ynie.cloudfront.net/uploads/2018/06/05/algiiu8_l12_at1a.png| image:: https://d37su8u1z9ynie.cloudfront.net/uploads/2018/06/05/algiiu8_l12_at1a.png |
|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
If we further extrapolate that Fred continues to take samples for 30 days in the same manner as above, he charts his results in histograms shown below.
| .. image:: https://d37su8u1z9ynie.cloudfront.net/uploads/2018/06/05/algiiu8_l12_at1b.png | .. image:: https://d37su8u1z9ynie.cloudfront.net/uploads/2018/06/05/algiiu8_l12_at1c.png |
|------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------|
The margin of error is the largest expected difference between the estimate of a population parameter and the actual population parameter.
What would you guess is the mean and the margin of error of burn time of Fred’s flares (with the new and improved formula)?
Problem 2
The margin of error can also be calculated in by
$${ME=2\sqrt{{\hat{p}}(1-{\hat{p}})\over n}}$$
, where
$${\hat{p}}$$
is the proportion of a sample of an event occurring,
$$1-{\hat{p}}$$
is the proportion of a sample of an event not occurring,
$$n$$
is the sample size, and
$${\sigma}$$
is the sample standard deviation.
Suppose you draw a random sample of 36 chips from a mystery bag and find 20 red chips. Find:
The sample proportion of red chips
The standard error (standard deviation from the mean)
The margin of error


correct_option_index: 2