PHP - Statistics Module
List of Functions
PHP − indicates the earliest version of PHP that supports the function.
| Sr.No | Function & Description |
|---|---|
| 1 | stats_absolute_deviation() function The function can return absolute deviation of an array of values. |
| 2 |
The function can calculate any one parameter of beta distribution given values for the others. |
| 3 |
The function can calculate any one parameter of binomial distribution given values for the others. |
| 4 |
The function can calculate any one parameter of Cauchy distribution given values for the others. |
| 5 | stats_cdf_chisquare() function The function can calculate any one parameter of chi-square distribution given values for the others. |
| 6 | stats_cdf_exponential() function The function can calculate any one parameter of exponential distribution given values for the others. |
| 7 |
The function can calculate any one parameter of F distribution given values for the others. |
| 8 |
The function can calculate any one parameter of gamma distribution given values for the others. |
| 9 |
The function can calculate any one parameter of Laplace distribution given values for the others. |
| 10 |
The function can calculate any one parameter of logistic distribution given values for the others. |
| 11 | stats_cdf_negative_binomial() function The function can calculate any one parameter of negative binomial distribution given values for the others. |
| 12 | stats_cdf_noncentral_chisquare() function The function can calculate any one parameter of non-central chi-square distribution given values for the others. |
| 13 | stats_cdf_noncentral_f() function The function can calculate any one parameter of non-central F distribution given values for the others. |
| 14 | stats_cdf_noncentral_t() function The function can calculate any one parameter of non-central t-distribution given values for the others. |
| 15 |
The function calculate any one parameter of normal distribution given values for the others. |
| 16 |
The function can calculate any one parameter of Poisson distribution given values for the others. |
| 17 |
The function can calculate any one parameter of t-distribution given values for the others. |
| 18 |
The function can calculate any one parameter of uniform distribution given values for the others. |
| 19 |
The function can calculate any one parameter of Weibull distribution given values for the others. |
| 20 |
The function can compute the covariance of two data sets. |
| 21 |
The function is probability density function of the beta distribution. |
| 22 |
The function is a probability density function of Cauchy distribution. |
| 23 | stats_dens_chisquare() function The function is a probability density function of the chi-square distribution. |
| 24 | stats_dens_exponential() function The function is a probability density function of the exponential distribution. |
| 25 |
The function is a probability density function of the F distribution. |
| 26 |
The function is a probability density function of the gamma distribution. |
| 27 |
The function is a probability density function of the Laplace distribution. |
| 28 | stats_dens_logistic() function The function is a probability density function of the logistic distribution. |
| 29 |
The function is a probability density function of the normal distribution. |
| 30 | stats_dens_pmf_binomial() function The function is a probability mass function of the binomial distribution. |
| 31 | stats_dens_pmf_hypergeometric() function The function is a probability mass function of the hypergeometric distribution. |
| 32 | stats_dens_pmf_negative_binomial() function The function is a probability density function of negative binomial distribution. |
| 33 | stats_dens_pmf_poisson() function The function is a probability mass function of the Poisson distribution. |
| 34 |
The function is a probability density function of the t-distribution. |
| 35 |
The function is a probability density function of the uniform distribution. |
| 36 |
The function is a probability density function of the Weibull distribution. |
| 37 | stats_harmonic_mean() function The function can return the harmonic mean of an array of values. |
| 38 |
The function can compute the kurtosis of the data in an array. |
| 39 | stats_rand_gen_beta() function The function can generate a random deviate from the beta distribution. |
| 40 | stats_rand_gen_chisquare() function The function can generate a random deviate from the chi-square distribution. |
| 41 | stats_rand_gen_exponential() function The function can generate a random deviate from the exponential distribution. |
| 42 |
The function can generate a random deviate from the F distribution. |
| 43 | stats_rand_gen_funiform() function The function can generate uniform float between low (exclusive) and high (exclusive). |
| 44 | stats_rand_gen_gamma() function The function can generate a random deviate from the gamma distribution. |
| 45 | stats_rand_gen_ibinomial() function The function can generate a random deviate from the binomial distribution. |
| 46 | stats_rand_gen_ibinomial_negative() function The function can generate random deviate from the negative binomial distribution. |
| 47 |
The function can generate a random integer between 1 and 2147483562. |
| 48 | stats_rand_gen_ipoisson() function The function can generate a single random deviate from a Poisson distribution. |
| 49 | stats_rand_gen_iuniform() function The function can generate an integer uniformly distributed between LOW (inclusive) and HIGH (inclusive). |
| 50 | stats_rand_gen_noncentral_chisquare() function The function can generate a random deviate from the non-central chi-square distribution. |
| 51 | stats_rand_gen_noncentral_f() function The function can generate a random deviate from the non-central F distribution. |
| 52 | stats_rand_gen_noncentral_t() function The function can generate a single random deviate from a non-central t-distribution. |
| 53 | stats_rand_gen_normal() function The function can generate a single random deviate from a normal distribution. |
| 54 |
The function can generate a single random deviate from a t-distribution. |
| 55 | stats_rand_get_seeds() function The function can get the seed values of random number generator. |
| 56 | stats_rand_phrase_to_seeds() function The function can generate two seeds for the RGN random number generator. |
| 57 |
The function can generate a random floating-point number between 0 and 1. |
| 58 |
The function can set seed values to the random generator. |
| 59 |
The function can compute the skewness of the data in an array. |
| 60 | stats_standard_deviation() function The function can return the standard deviation. |
| 61 | stats_stat_binomial_coef() function The function can return a binomial coefficient. |
| 62 | stats_stat_correlation() function The function can return the Pearson correlation coefficient of two data sets. |
| 63 | stats_stat_factorial() function The function can return the factorial of an integer. |
| 64 | stats_stat_independent_t() function The function can return the t-value from the independent two-sample t-test. |
| 65 | stats_stat_innerproduct() function The function can return an inner product of two vectors. |
| 66 | stats_stat_paired_t() function The function can return the t-value of the dependent t-test for paired samples. |
| 67 | stats_stat_percentile() function The function can return the percentile value. |
| 68 | stats_stat_powersum() function The function can return the power sum of a vector. |
| 69 |
The function can return the variance. |