Correlation Coefficient
来源:互联网 发布:40本网络禁书txt下载 编辑:程序博客网 时间:2024/05/22 01:38
The correlation coefficient, sometimes also called the cross-correlation coefficient, is a quantity that gives the quality of a least squares fitting to the original data. To define the correlation coefficient, first consider the sum of squared values , , and of a set of data points about their respective means,
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
These quantities are simply unnormalized forms of the variances and covariance of and given by
(13)
(14)
(15)
For linear least squares fitting, the coefficient in
(16)
is given by
(17)
(18)
and the coefficient in
(19)
is given by
(20)
The correlation coefficient (sometimes also denoted ) is then defined by
(21)
(22)
The correlation coefficient is also known as the product-moment coefficient of correlation or Pearson's correlation. The correlation coefficients for linear fits to increasingly noisy data are shown above.
The correlation coefficient has an important physical interpretation. To see this, define
(23)
and denote the "expected" value for as . Sums of are then
(24)
(25)
(26)
(27)
(28)
(29)
(30)
(31)
(32)
(33)
The sum of squared errors is then
(34)
(35)
(36)
(37)
(38)
(39)
(40)
(41)
and the sum of squared residuals is
(42)
(43)
(44)
(45)
(46)
But
(47)
(48)
so
(49)
(50)
(51)
(52)
and
(53)
The square of the correlation coefficient is therefore given by
(54)
(55)
(56)
In other words, is the proportion of which is accounted for by the regression.
If there is complete correlation, then the lines obtained by solving for best-fit and coincide (since all data points lie on them), so solving (◇) for and equating to (◇) gives
(57)
Therefore, and , giving
(58)
The correlation coefficient is independent of both origin and scale, so
(59)
where
(60)
(61)
REFERENCES:
Acton, F. S. Analysis of Straight-Line Data. New York: Dover, 1966.
Edwards, A. L. "The Correlation Coefficient." Ch. 4 in An Introduction to Linear Regression and Correlation. San Francisco, CA: W. H. Freeman, pp. 33-46, 1976.
Gonick, L. and Smith, W. "Regression." Ch. 11 in The Cartoon Guide to Statistics. New York: Harper Perennial, pp. 187-210, 1993.
Kenney, J. F. and Keeping, E. S. "Linear Regression and Correlation." Ch. 15 in Mathematics of Statistics, Pt. 1, 3rd ed. Princeton, NJ: Van Nostrand, pp. 252-285, 1962.
Press, W. H.; Flannery, B. P.; Teukolsky, S. A.; and Vetterling, W. T. "Linear Correlation." §14.5 in Numerical Recipes in FORTRAN: The Art of Scientific Computing, 2nd ed. Cambridge, England: Cambridge University Press, pp. 630-633, 1992.
Snedecor, G. W. and Cochran, W. G. "The Sample Correlation Coefficient " and "Properties of ." §10.1-10.2 in Statistical Methods, 7th ed. Ames, IA: Iowa State Press, pp. 175-178, 1980.
Spiegel, M. R. "Correlation Theory." Ch. 14 in Theory and Problems of Probability and Statistics, 2nd ed. New York: McGraw-Hill, pp. 294-323, 1992.
Whittaker, E. T. and Robinson, G. "The Coefficient of Correlation for Frequency Distributions which are not Normal." §166 in The Calculus of Observations: A Treatise on Numerical Mathematics, 4th ed. New York: Dover, pp. 334-336, 1967.
CITE THIS AS:
Weisstein, Eric W. "Correlation Coefficient." From MathWorld--A Wolfram Web Resource. http://mathworld.wolfram.com/CorrelationCoefficient.html
- Correlation Coefficient
- Pearson's Correlation Coefficient
- Pearson's Correlation Coefficient
- 相关系数(Correlation coefficient)
- Pearson correlation coefficient
- 相关系数(Correlation coefficient)
- Spearman's rank correlation coefficient 和 Pearson correlation coefficient详细
- Kendall tau rank correlation coefficient
- 相关系数 Correlation Coefficient 的理解
- 皮尔森相关系数Pearson correlation coefficient
- 皮尔逊相关系数(Pearson Correlation Coefficient)理解
- 线性相关系数(Pearson product-moment correlation coefficient)-线性相关
- 统计学 决定系数(Coefficient of Determination) 和 相关系数 (Correlation of Coefficient )
- Pearson(皮尔逊)相关系数[ Pearson product-moment correlation coefficient; PPMCC或PCCs]
- Pearson product-moment correlation coefficient in java(java的简单相关系数算法)
- correlation
- Correlation
- Orchestration Correlation
- 编程之魂:与27位编程语言创始人对话
- 软件架构师应该知道的97件事
- .NET学习手记之:linq to SQL(二)
- 刚开通的,不知怎么玩
- 各个版权的英语缩写
- Correlation Coefficient
- SET XACT_ABORT用法(事务)
- iscsi 的添加格式化及加载
- 成段文字输出换行问题
- hibernate的三种状态
- bye
- linux下dataguard使用rman备份
- 在Excel中用函数实现数字“四舍六入五凑偶”
- 第十三章 使用打印机