Use the divisor- sample covariance matrix, since this is the normalization that enters the multivariate normal likelihood function:For a covariance matrix that is a positive-definite matrix , the product of the multivariate normal densities givesTo separate the sample mean from the sample covariance matrix, expand . The cross terms sum to zero because . Also by the trace identity. ThereforeThe printed expression suppresses the parameter-independent constant ; dropping this constant has no effect on maximum likelihood estimation or the likelihood-ratio test.
With the divisor- sample covariance matrix defined above, the maximum-likelihood estimators areTheir joint sampling distribution is specified byHere uses the Wishart distribution convention . Thus the covariance maximum-likelihood estimator has expected value ; the unbiased estimator of the covariance matrix is . These distributions follow from orthogonal projections of the jointly multivariate normal observations onto the constant-observation direction and its orthogonal complement, though no proof is required here. The covariance maximum in the positive-definite parameter space requires nonsingular, which holds almost surely when and is positive definite. Otherwise the rank of a centered sample covariance matrix shows why the usual unrestricted finite maximum does not exist.
Under the unrestricted model, insert the maximum-likelihood estimates . Under the diagonal-covariance restriction, the quadratic form is minimized over the mean at , and the remaining objective separates over the diagonal entries:Differentiating in gives ; the derivative changes from negative to positive there. Put . The fitted trace term is under either model, since . Consequently the likelihood-ratio test statistic is determined byThis is the Gaussian diagonal-covariance likelihood-ratio test. Reject for sufficiently small , equivalently for large . Under the regular large-sample calibration, Wilks theorem gives , since diagonality removes that many free covariance parameters. The exact critical constant can instead be obtained from the null distribution at the actual sample size.
For , write the sample correlation coefficient as . Then , so the likelihood-ratio test rejects for large , not merely for large positive . Under the null, the two variables have a bivariate normal distribution and are independent, and the exact test isIndeed, condition on the centered first-variable observation vector. Decompose the second centered Gaussian vector into its component along that direction and the -dimensional orthogonal complement. Their squared lengths give independent and variables. Their ratio shows that has Student's t-distribution with statistical degrees of freedom.
Articles by others on the same topic
There are currently no matching articles.