Variance, Covariance and Correlation:的方差,协方差和相关性.ppt

Variance, Covariance and Correlation:的方差,协方差和相关性.ppt

  1. 1、本文档共26页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
* * * * * * * * * * * * * * * * * * * * * * * * * From variance and standard deviation to covariation and correlation * Variance or Dispersion Variance is the spread about the mean Why do we care about variance? Variance in rights protections Variance in election outcomes Variance in the presence of genocide across countries Variance in income inequality Variance in economic growth Variance in revolution * Questions In a variable that varies from 1 to 4, what is the range? A. This depends on how much it varies. B. zero C. three D. four * Variation The deviation about the mean Mean * Two sets of numbers 1 24 2 27 3 21 4 22 1 31 2 7 3 12 4 18 X1 = 31 X2 = 7… X = 17 X1 = 24 X2 = 27… X = 23.5 * Calculating variance of a population Square the deviations from the mean, then sum them, then divide by N 1 31 2 7 3 12 4 18 Mean of x = 17 (31-17)2 + (7-17)2 + (12-17)2 + (18-17)2 4 * Divide by n-1 Calculating a sample instead of a population? * The standard deviation the square root of the variance * Calculating the standard deviation Xi (Xi-Xmean)2 1 (1-3)2 = 4 2 (2-3)2 = 1 3 (3-3)2 = 0 4 (4-3)2 = 1 5 (5-3)2 = 4 Sum = 15 Mean = 15/5 = 3.0 Sum = 10 = (10/4) ?= 2.5 σ=1.58 Association Correlation, covariance Causation Time ordering Covariation Co-variation from variation? (xi - xmean)^2/n-1 average distance between the mean of x and each x value, squared aka (xi - xmean) (xi - xmean)/n-1 Note: this is not standard deviation. There is no square root Covariation? (xi - xmean) * (yi - ymean) / n-1 Covariation covariance can take any value negative infinity to positive infinity Intuitive explanation (xi - xmean) * (yi - ymean) / n-1 When x and y are high at the same time and x and y are low at the same time, then the covariance is positive They are both higher than their means and so the products being added together are positive Intuitive explanation (xi - xmean) * (yi - ymean) / n-1 When x is low when y is high and vice versa, then the covariance is negative

您可能关注的文档

文档评论(0)

pangzilva + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档