For a variable with finite second moment, total variance splits into the average variance within groups and the variance of group means. Both terms use group probabilities as weights. The decomposition separates how dispersed observations are inside each group from how far the groups' centers lie apart.对于二阶矩有限的随机变量,总方差可以分成两项:各组内部方差的平均,以及各组均值的方差。两项都按各组的概率加权。这样就能区分,总体差异有多少来自同一组内的分散,又有多少来自不同组中心的距离。
Each row contains five equally weighted values with fixed offsets around its gold mean. As the means move to and , within-group variance stays fixed while between-group variance changes. The lower strip adds the two. These are population variances of the ten displayed values, not unbiased sample estimates.每行有五个等权数值,与本组金色均值标记的偏移保持不变。两组均值移动到 与 时,组内方差 不变,组间方差 随之变化,下方长条将两项相加。这里计算的是图中十个数值的总体方差,不是无偏样本方差估计。