CalcMe documentation Commands Statistics Covariance Covariance Computes the covariance between two data samples X and Y.cov(X,Y)=EX-E[X]Y-E[Y]=EXY-E[X]E[Y] Syntaxcovariance(Statistics_data, Statistics_data) Description Given two data samples XX and YY, computes the covariance cov(X,Y). Related functions Moment