Algorithms For Calculating Variance - Parallel Algorithm

Parallel Algorithm

Chan et al. note that the above online algorithm III is a special case of an algorithm that works for any partition of the sample into sets, :

.

This may be useful when, for example, multiple processing units may be assigned to discrete parts of the input.

Chan's method for estimating the mean is numerically unstable when and both are large, because the numerical error in is not scaled down in the way that it is in the case. In such cases, prefer .

Read more about this topic:  Algorithms For Calculating Variance

Famous quotes containing the word parallel:

    The parallel between antifeminism and race prejudice is striking. The same underlying motives appear to be at work, namely fear, jealousy, feelings of insecurity, fear of economic competition, guilt feelings, and the like. Many of the leaders of the feminist movement in the nineteenth-century United States clearly understood the similarity of the motives at work in antifeminism and race discrimination and associated themselves with the anti slavery movement.
    Ashley Montagu (b. 1905)