Stock History Correlation

cor·re·la·tion
/ˌkôrəˈlāSH(ə)n/
noun
A mutual relationship or connection between two or more things

Expected Value
E[X] = μX
E[Y] = μY
Standard Deviation
σX = √( E[(X-μX)2] )
σY = √( E[(Y-μY)2] )
Covariance
σXY = E[(X-μX) • (Y-μY)]
Correlation Coefficient
ρXY = σXY/(σX•σY)