| {{ 'ml-lesson-number-slides' | message : article.intro.bblockCount }} |
| {{ 'ml-lesson-number-exercises' | message : article.intro.exerciseCount }} |
| {{ 'ml-lesson-time-estimation' | message }} |
controland
treatmentgroups. This is done to compare the significance of the experiment result versus taking a random sample. This process is called resampling. As an example, consider that a car company is testing a new production method.
Each observation is the number of cars produced at a random hour. The control group is the number of the cars produced using the old production method. The treatment group is the number of the cars produced using the new method. The observations are listed on the following table. The mean of each group is also provided.
Cars Produced | Mean | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Control Group | 35 | 38 | 26 | 41 | 58 | 35 | 20 | 55 | 41 | 50 | 39.9 |
Treatment Group | 41 | 26 | 44 | 53 | 47 | 53 | 70 | 55 | 55 | 50 | 49.4 |
The first thing to do is to combine the measurements by assigning a number to each observation. First, the data in the control group are numbered from 1 to 10.
Control Group | 35 | 38 | 26 | 41 | 58 | 35 | 20 | 55 | 41 | 50 |
---|---|---|---|---|---|---|---|---|---|---|
Assigned Number | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
Then, the numbers from 11 to 20 are assigned to the treatment group.
Treatment Group | 41 | 26 | 44 | 53 | 47 | 53 | 70 | 55 | 55 | 50 |
---|---|---|---|---|---|---|---|---|---|---|
Assigned Number | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 |
Now there is a combined list of observations numbered from 1 to 20.
To create new control and treatment groups, a random number generator is used to generate 20 numbers from 1 to 20 without repeating a number. In a graphing calculator, this is done by pressing MATH, going to section PRB, and selecting the function randIntNoRep(
with input (1,20).
The table below shows the numbers obtained.
20 | 5 | 19 | 6 | 12 | 3 | 7 | 14 | 17 | 1 |
9 | 10 | 8 | 13 | 2 | 11 | 15 | 4 | 16 | 18 |
The associated results of the first ten observations make the new control group, while the new treatment group is made of the others. For example, 50 is recorded in the new control group since the 20th observation is associated with 50 cars produced. The new groups and their respective means are shown in the following table.
Cars Produced | Mean | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
New Control Group | 50 | 58 | 55 | 35 | 26 | 26 | 20 | 53 | 70 | 35 | 42.8 |
New Treatment Group | 41 | 50 | 55 | 44 | 38 | 41 | 47 | 41 | 53 | 55 | 46.5 |