stats_stat_correlation

(PECL stats >= 1.0.0)

stats_stat_correlationReturns the Pearson correlation coefficient of two data sets

说明

stats_stat_correlation ( array $arr1 , array $arr2 ) : float

Returns the Pearson correlation coefficient between arr1 and arr2.

参数

arr1

The first array

arr2

The second array

返回值

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

相关文章
php ibm db2 函数 returns or sets the autocommit state for a database connectionphp oci8 函数 returns the next child statement resource from a parent statement resource that has oracle database 12c implicit result setsphp statistic 函数 returns the absolute deviation of an array of valuesphp statistic 函数 computes the covariance of two data setsphp statistic 函数 generate two seeds for the rgn random number generatorphp statistic 函数 computes the skewness of the data in the arrayphp statistic 函数 returns the standard deviationphp statistic 函数 returns a binomial coefficientphp statistic 函数 returns the pearson correlation coefficient of two data setsphp statistic 函数 returns the factorial of an integerphp statistic 函数 returns the t value from the independent two sample t testphp statistic 函数 returns the inner product of two vectorsphp trader 函数 pearson s correlation coefficient r php com 函数 adds two variant values together and returns the resultphp com 函数 concatenates two variant values together and returns the resultphp com 函数 returns the result from dividing two variantsphp com 函数 divides two variants and returns only the remainderphp com 函数 returns the result of performing the power function with two variantsphp sdo das relational 函数 returns the special root object in an otherwise empty data graph. used when creating a data graph from scratchphp sdo das relational 函数 executes a given sql query against a relational database and returns the results as a normalised data graph
关注编程学问公众号