Use the usual sample mean and the divisor- sample covariance matrix,The residual sum is zero, so expanding givesMultiplying the independent multivariate normal densities and taking logarithms yields the log-likelihoodHere is the determinant and denotes the trace. The maximum-likelihood estimators areIf instead denotes the divisor- sample covariance matrix, replace by and then . These formulas describe a nonsingular maximum-likelihood estimator when the empirical scatter is positive-definite; if it is singular, there is no maximizer over positive-definite covariance matrices.
Let , and . Define the within-group and between-group scatter matrices byThe within-group and between-group scatter decomposition gives total scatter : in each group the residuals about sum to zero, so all cross terms vanish. Under unrestricted group means, the maximum-likelihood estimators are and . Under the common-mean null hypothesis, they are and .
For either fitted scatter matrix , substitution into the log-likelihood givessince . Thus the maximized likelihood ratio isA generalized likelihood-ratio test rejects for small , equivalentlyThe cutoff is chosen for the desired significance level. The determinant ratio itself is the Wilks lambda statistic. The derivation assumes is positive-definite, which for continuous normal samples requires enough within-group degrees of freedom, ; singular does not support this ordinary determinant-based test without a modified model.
The within-group and between-group scatter decomposition separates noise from group separation: measures variation about each group sample mean, and measures separation of those means about the overall sample mean. In linear discriminant analysis, seek a projection maximizing between-group relative to within-group variation,Normalize by ; a Lagrange multiplier calculation gives the generalized eigenvalue problem . The leading canonical discriminant directions have the largest eigenvalues, and subsequent directions are orthogonal in the inner product. There are at most nonzero separating directions. Projecting observations onto these directions gives a low-dimensional display of group separation.
For classification, estimate the common covariance matrix by and use the linear discriminant analysis scoreswhere are class prior probabilities. Assign to the largest score. The same within-group scatter sets the noise scale, while between-group scatter selects the directions in which the group means separate most strongly.
Articles by others on the same topic
There are currently no matching articles.