prove that coefficient of correlation always lies between -1 to +1
coefficient of correlation = r =
cov(x,y) =
we have to prove
let us consider two terms and
take sum of the square of these two variables
since it is a square term then it is surely a positive number
that is
opening its square we get
on further simplifying it, we get
divide the entire expression by n
using the formula of variance of x, variance of y and covariance of x and y, we get
1+12r
cov(x,y) =
we have to prove
let us consider two terms and
take sum of the square of these two variables
since it is a square term then it is surely a positive number
that is
opening its square we get
on further simplifying it, we get
divide the entire expression by n
using the formula of variance of x, variance of y and covariance of x and y, we get
1+12r