Sum of Squares and Degrees of Freedom
In statistical testing problems, one usually isn't interested in the component vectors themselves, but rather in their squared lengths, or Sum of Squares. The degrees of freedom associated with a sum-of-squares is the degrees-of-freedom of the corresponding component vectors.
The three-population example above is an example of one-way Analysis of Variance. The model, or treatment, sum-of-squares is the squared length of the second vector,
with 2 degrees of freedom. The residual, or error, sum-of-squares is
with 3(n-1) degrees of freedom. Of course, introductory books on ANOVA usually state formulae without showing the vectors, but it is this underlying geometry that gives rise to SS formulae, and shows how to unambiguously determine the degrees of freedom in any given situation.
Under the null hypothesis of no difference between population means (and assuming that standard ANOVA regularity assumptions are satisfied) the sums of squares have scaled chi-squared distributions, with the corresponding degrees of freedom. The F-test statistic is the ratio, after scaling by the degrees of freedom. If there is no difference between population means this ratio follows an F distribution with 2 and 3n − 3 degrees of freedom.
In some complicated settings, such as unbalanced split-plot designs, the sums-of-squares no longer have scaled chi-squared distributions. Comparison of sum-of-squares with degrees-of-freedom is no longer meaningful, and software may report certain fractional 'degrees of freedom' in these cases. Such numbers have no genuine degrees-of-freedom interpretation, but are simply providing an approximate chi-squared distribution for the corresponding sum-of-squares. The details of such approximations are beyond the scope of this page.
Read more about this topic: Degrees Of Freedom (statistics)
Famous quotes containing the words sum of, sum, squares, degrees and/or freedom:
“The ornament is a statuette, a black figure of a bird. I am prepared to pay on behalf of the figures rightful owner the sum of $5000 for its recovery. I am prepared to promise, to promise ... what is the phrase?No questions will be asked.”
—John Huston (19061987)
“We didnt come to dig in Egypt for medals. Much more is learned from studying bits of broken pottery than from all the sensational finds. Our job is to increase the sum of human knowledge of the past, not to satisfy our own curiosity.”
—John L. Balderston (18991954)
“And New York is the most beautiful city in the world? It is not far from it. No urban night is like the night there.... Squares after squares of flame, set up and cut into the aether. Here is our poetry, for we have pulled down the stars to our will.”
—Ezra Pound (18851972)
“So that the life of a writer, whatever he might fancy to the contrary, was not so much a state of composition, as a state of warfare; and his probation in it, precisely that of any other man militant upon earth,both depending alike, not half so much upon the degrees of his WITas his RESISTANCE.”
—Laurence Sterne (17131768)
“On the farm I had learned how to meet realities without suffering either mentally or physically. My initiative had never been blunted. I had freedom to succeedfreedom to fail. Life on the farm produces a kind of toughness.”
—Bertha Van Hoosen (18631952)