English subtitles

← 40-18 Compute_Correlation

40-18 Compute_Correlation

Get Embed Code
3 Languages

Showing Revision 2 created 11/02/2015 by Udacity Robot.

  1. For last year's weight, or the x axis, your mean estimate was 81.2.
  2. I'm very flattered to report for this year on average after outlier removal
  3. you believe my weight went down.
  4. The standard deviation for x was 10.6, and the same for y is 9.34.
  5. Finally, I'll give you the mean of the following mixed product,
  6. the difference from the original axis and the x bar, the mean,
  7. times the same for y.
  8. This looks an awful lot like a variance, but it's between two different variables.
  9. We call this a covariance or "cov" between two variables x and y.
  10. In our example, the numerical value for the covariance is 75.36.
  11. Using the covariance it is amazingly easy now to calculate the correlation r.
  12. We just divide it by the two standard deviations for x and y.
  13. Please give me that number.