Function Covariance

Part of:

package cl-mathstats
( covariance &rest < args > )

covariance (sample1 sample2 &key start1 end1 start2 end2)
Computes the covariance of two samples, which should be equal-length
sequences of numbers. Covariance is the inner product of differences between
sample elements and their sample means. For more information, see the manual.