Take the 2-minute tour ×


I now want to combine these variations into a single number. Therefore, I calculate the quadratic average of each machine variation, let's call it X. In the next step, I also would like to give an estimate for the spread around X. What is this number called and what's the best way to calculate it? I'm not sure it's related to the confidence interval of a standard deviation and I don't know whether the measurements are independent (a design fault would show up in all, a construction maybe only in some).

Example. I'll try to clarify with an example. Suppose I measure 3 machines and find that they produce lengths of
M1: 100 +/- 7
M2: 120 +/- 8
M3: 130 +/- 9


Questions Some answer to questions: they aren't identical; if some machine really misbehaves I could see it directly from the machine test (i.e. I would see it from a large X_i), but I wouldn't detect a small misbehavior. Furthermore, the sample amount for each machine could be different (I have more tests on my old machine wrt my new machines).

share|improve this question
Can we assume that all machines are identical? Or you suspect that some of them misbehave and you want to detect them? –  mpiktas Jan 20 '11 at 17:15
One important piece of information which is not included above is the number of bars you observed from each machine (i.e. the sample size for each group) –  probabilityislogic Jan 21 '11 at 9:09

1 Answer 1

If you want to test whether the variances of several machines deviates from the other variances combining them into average will not help you. The problem is that these differing variances will skew your average. To test whether there are different variances you can use Bartlet's test. It is sensitive to normality, but since you said that your data is normal this should not be a problem, though it would be a good idea to test that.

Now if you can assume that all the machines are similar in sense that they can have different means but similar variance, the problem is very simple. If you assume that machines are independent treat the variances from each machine as a random sample. Then estimate the mean and standard deviation of this sample. For large number of machines, the normal approximation will kick in, so it will not matter whether you use standard deviations or the variances. In both cases the sample mean will estimate average statistic of your choice, and standard deviation of the sample will estimate average spread of statistic of your choice. The 95% confidence interval will then be $\mu\pm 1.96\sigma$.

share|improve this answer
Just a slight tehcnical note: you say that "taking averages won't help", but this is precisely what the Bartlett test does, to a degree. It calculates logarithm of the ratio of the arithmetic average variance to the geometric average variance, with both averages weighted by the group sizes minus 1. The factor multiplying this logarithm is fixed by the "design of the experiment" as it only depends on the number of samples and the number of groups. So one is effectively rejecting the hypothesis of equal variance if the arithmetic average is "too much" bigger than the geometric average. –  probabilityislogic Jan 21 '11 at 9:01
@probabilityislogic, yes but in Bartlett test case this average is used to determine whether the variances are identical or not. If they are not identical there is no point in averaging them, since this average does not estimate any parameter. –  mpiktas Jan 21 '11 at 9:10

Your Answer


