Solved – Difference between within-group and between-group covariance matrices in linear discriminant analysis

covariance-matrixdefinitiondiscriminant analysis

Could someone explain to me the difference between within-group covariance matrix and between-group covariance matrix in the context of linear discriminant analysis?

Best Answer

Within-group covariance matrix is the average of covariance matrices of each group, weighted by the groups' weight. And between-group covariance matrix is the covariance matrix of the group means (centroids), weighted by the groups' weight.

What LDA aims to achieve, is minimal variance within groups and maximal variance between groups.