Degrees of freedom
来源:互联网 发布:linux退出文本编辑 编辑:程序博客网 时间:2024/04/30 11:08
Degrees of freedom in linear models[edit]
The demonstration of the t and chi-squared distributions for one-sample problems above is the simplest example where degrees-of-freedom arise. However, similar geometry and vector decompositions underlie much of the theory of linear models, including linear regression and analysis of variance. An explicit example based on comparison of three means is presented here; the geometry of linear models is discussed in more complete detail by Christensen (2002).[4]
Suppose independent observations are made for three populations,
The observations can be decomposed as
where
=
+
+
The observation vector, on the left-hand side, has 3n degrees of freedom. On the right-hand side, the first vector has one degree of freedom (or dimension) for the overall mean. The second vector depends on three random variables,
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.
- Degrees of freedom
- OpenSource License completion : Degrees of freedom
- Randomize Motion for Six Degrees of Freedom
- Freedom of the Park
- URAL1517-Freedom of Choice
- Freedom of Choice URAL
- Six Degrees of Separation
- URAL1057_Amount Of Degrees
- ural1057. Amount of Degrees
- Amount of Degrees URAL
- Amount of Degrees
- URAL 1517 Freedom of Choice
- URAL 1517 Freedom of Choice
- what is Freedom of expression ?
- URAL 1517Freedom of Choice
- 自由度(degree of freedom)
- Six Degrees of Cowvin Bacon
- URAL 1057. Amount of Degrees
- 快速排序
- 85 XML解析示例
- 记录和恢复listView滚动位置的2种方法
- NYOJ 34 韩信点兵
- 在Windows Server 2008下直接安装SQL Server 2008时,会出现如下错误: 必须使用“角色管理工具”安装或配置Microsoft .NET Framework 3.5 SP1
- Degrees of freedom
- 鸿婶的万能适配器
- Android NDK开发学习(一)
- 鲁大师2015如何设置系统待机时间|鲁大师设置待机时间方法
- NYOJ 39 水仙花数
- Android中的Flux架构
- MathType中的四则运算符号该怎样进行输入
- 关于asp.net MVC4 无法检索“mvc4.Models.Movie”的元数据
- NYOJ 40 公约数和公倍数