PHP.nl

stats_stat_correlation

stats_stat_correlation

Returns the Pearson correlation coefficient of two data sets

float **stats_stat_correlation** array $arr1 array $arr2

Returns the Pearson correlation coefficient between and . arr1``arr2

arr1The first array

arr2The second array

Returns the Pearson correlation coefficient between and , or false on failure. arr1``arr2