Pearson's correlation coefficient is the covariance of the two variables divided by the product of their standard deviations.
"\\rho (X, Y) = \\frac{cov(X, Y)} {\\sigma(X) \u00d7\\sigma(Y) } ,""\\sigma(X) = \\sqrt{E[(X - E[X])^2]} ,"
"\\sigma(Y) = \\sqrt{E[(Y - E[Y])^2]} ,""cov (X, Y) = E[XY] - E[X]\u00d7E[Y],"
where E is mean.
Comments
Leave a comment