stats_covariance
PHP function
Edit on GitHub ✎
(PECL stats >= 1.0.0)
Computes the covariance of two data sets
Description
stats_covariance(array $a, array $b): float
Returns the covariance of a and b.
Parameters
aThe first array
bThe second array
Return Values
Returns the covariance of a and b, or false on failure.