Consider ordinary least squares with an intercept, one nonconstant predictor, cases, a nonconstant response, and a positive residual sum of squares. With the usual common-variance standard error, put . ThenThe least-squares normal equations give zero residual sum and zero residual inner product with the centred predictor, proving the first identity and . The fitted centred sum of squares is . Dividing it by gives the one-predictor F statistic and the squared zero-slope t statistic. Dividing fitted and residual sums of squares by their total gives the last expression. If , the adjusted coefficient of determination is .
These are algebraic consistency identities for one specified fit; the mean identity needs no normal-error assumption. A normal linear model supplies the usual finite-sample t and F reference distributions. Heteroscedasticity-robust standard errors need not satisfy the displayed F=t-squared relationship to the classical sums-of-squares F statistic. Rounding can create small discrepancies, while different analysed records or a changed model can create larger ones; neither should be silently treated as the same fit.[ref]
Summarizing Linear Model Fits in the R documentation. Value: coefficient matrix, sigma, df, fstatistic and r.squared
Articles by others on the same topic
There are currently no matching articles.