Browse files


  • Loading branch information...
1 parent 4335b36 commit b1843be3f29610ffd7a3f99962a1dc5353b39ea6 @echen committed Feb 9, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1
@@ -134,7 +134,7 @@ So let's go back to calculating the correlation between movie and movie2. We cou
But recall that we can also write correlation in the following form:
-$Corr(X, Y) = (n \sum xy - \sum x \sum y) / (sqrt[n \sum x^2 - (\sum x)^2] sqrt[n \sum y^2 - (\sum y)^2])$
+$$Corr(X, Y) = \frac{n \sum xy - \sum x \sum y}{\sqrt[n \sum x^2 - (\sum x)^2] \sqrt[n \sum y^2 - (\sum y)^2]}$$
(See the [Wikipedia page]( on correlation.)

0 comments on commit b1843be

Please sign in to comment.