Definition: ρ(X,Y)=Var(X)Var(Y)Cov(X,Y)=n∑xi2−(∑xi)2.n∑yi2−(∑yi)2n∑xiyi−∑xi∑yi −1≤ρ(X,Y)≤1 (xi,yi) are pairs of data for two variables X and Y ρ(X,Y)=1 implies m=σy/σx>0 for y=mx+c ρ(X,Y)=−1 implies m=−σy/σx<0 for y=mx+c