Within-group and between-group scatter decomposition

ID: within-group-and-between-group-scatter-decomposition

For groups with sizes , means , and overall mean , define and . Expanding gives total scatter because each within-group residual sum vanishes. Both matrices are positive semidefinite, and . They separate within-group noise from between-group mean separation.

New to topics? Read the docs here!