For the random vector , its covariance matrix isIts diagonal entries are variances, and its off-diagonal entries measure pairwise covariance. Finite second moments make every entry well defined.
Independence of the centered standard normal random variables gives for every . AlsoFor nonadjacent indices, the underlying sets of variables are disjoint, so the errors are independent and have zero covariance. For adjacent indices with ,The first adjacent pair separately gives . HenceThese adjacent products of independent Gaussian variables are uncorrelated random variables even though adjacent errors share a factor and are dependent.
The least-squares estimators depend only on the observed responses and design, so the formulas in i still hold. Their variances and covariance need only the error covariance matrix, now . ThereforeFor example the first formula follows from , and the second from . The formulas remain the same as before with ; this calculation does not establish independence or a normal distribution for the estimators.
Compute fitted responses and regression residuals . A conventional residual plot shows against or ; plotting against observation order additionally looks for runs. One checks for curvature, changing spread and other structure rather than random scatter around zero.
An ordinary residual plot need not reveal this failure of independence. The errors have constant mean zero, constant variance one and zero pairwise covariances, so the usual trend and changing-variance clues need not appear. A visually patternless residual plot cannot validate independence; fitted regression residuals themselves also share the fitted coefficients even when the true errors are independent.
There is detectable dependence in the magnitudes. The Gaussian fourth moment is , giving for every adjacent pairFor , the product is ; for , it is , with the same expected value 3. Large magnitudes tend to occur together. A lagged plot of squared regression residuals or a test directed at dependence in their squares is more informative. Thus recognition is possible with suitable diagnostics, but is not guaranteed by the standard residual plot requested here.
Articles by others on the same topic
There are currently no matching articles.