9.2 Normal Model Again - Inference about Means and Deviations
| Setosa | 1.4 | 1.4 | 1.3 | 1.5 | 1.4 |
|---|---|---|---|---|---|
| Virginica | 6.0 | 5.1 | 5.9 | 5.6 | 5.8 |
| Versicolor | 4.7 | 4.5 | 4.9 | 4.0 | 4.6 |
Example 2 Ball Bearing Sizes
Here's a data data set, measuring the size of ball bearings1 from two different production lines.
Try it in XYZ Crunch
Both production lines in one pass
The two lines load into L1 and L2. 2-Var Stats returns mean 1.194 with sample deviation 0.289 for the first line and mean 1.406 with 0.428 for the second - the four numbers the next two examples divide by sqrt(10) to get the uncertainties 0.092 and 0.135.
| First line [microns] | |||||||||
| 1.18 | 1.42 | 0.69 | 0.88 | 1.62 | 1.09 | 1.53 | 1.02 | 1.19 | 1.32 |
| Second line [microns] | |||||||||
| 1.72 | 1.62 | 1.69 | 0.79 | 1.79 | 0.77 | 1.44 | 1.29 | 1.96 | 0.99 |
We can ask questions such as:
- What is our best estimate of the size of a ball bearing, given one of the production lines?
- Is it reasonable to believe that there is a difference in the size produced between the two lines?
Example 3 What is the best estimate (and uncertainty) for each of the two production lines of ball bearings?
Show solution
Using the normal approximation to the Student-T distribution (Section 7.4), we have the best estimates of the two lines as
and their uncertainties calculated by first calculating the sample deviations
and then scaling the deviations by the number of data points
yielding the best estimates and uncertainties for the two production lines
- Production line 1: 1.194 [microns] 0.092[microns]
- Production line 2: 1.406 [microns] 0.135[microns]
or looking at the 95% CI for each line
Note
This is just the range
- Production line 1: 1.01[microns] - 1.378[microns]
- Production line 2: 1.136[microns] - 1.676[microns]
Roughly, given that these intervals overlap, there is not strong evidence that there is a difference between the two lines.
Example 4 Is it reasonable to believe that there is a difference in the size produced between the two lines?
Show solution
Using the best estimate of the difference, we get
with the uncertainty in the difference from the individual uncertainties,
So the uncertainty range for the difference,
includes the value zero, which we interpret as a statement that the difference is not statistically significant. In other words, it is not reasonable to believe that there is a difference in the size produced between the two lines.
Try it in XYZ Crunch
How close this one is to going the other way
The difference is Normal(0.212, 0.163). The book's plus-or-minus-two range is [-0.114, 0.538], and the panel's exact 95% interval is [-0.1075, 0.5315] - zero is inside, but only just. Ask for the probability below zero and it returns 0.0967: about one chance in ten that the second line is actually the smaller one. Not significant, and not the same thing as no difference.
- David J Hand, Fergus Daly, K McConway, D Lunn, and E Ostrowski. A handbook of small data sets, volume 1. CRC Press, 2011. ↩
Adapted from Statistical Inference for Everyone, by Brian Blais (Bryant University), licensed under CC BY-SA 4.0 (dual-licensed under the GNU FDL 1.2 or later; this adaptation uses the CC BY-SA grant). Changes were made; this adaptation is distributed under the same license. License: CC-BY-SA-4.0.