Downloads
Documentation
Get Involved
Help
Getting Started
Introduction
A simple tutorial
Language Reference
Basic syntax
Types
Variables
Constants
Expressions
Operators
Control Structures
Functions
Classes and Objects
Namespaces
Enumerations
Errors
Exceptions
Fibers
Generators
Attributes
References Explained
Predefined Variables
Predefined Exceptions
Predefined Interfaces and Classes
Predefined Attributes
Context options and parameters
Supported Protocols and Wrappers
Security
Introduction
General considerations
Installed as CGI binary
Installed as an Apache module
Session Security
Filesystem Security
Database Security
Error Reporting
User Submitted Data
Hiding PHP
Keeping Current
Features
HTTP authentication with PHP
Cookies
Sessions
Handling file uploads
Using remote files
Connection handling
Persistent Database Connections
Command line usage
Garbage Collection
DTrace Dynamic Tracing
Function Reference
Affecting PHP's Behaviour
Audio Formats Manipulation
Authentication Services
Command Line Specific Extensions
Compression and Archive Extensions
Cryptography Extensions
Database Extensions
Date and Time Related Extensions
File System Related Extensions
Human Language and Character Encoding Support
Image Processing and Generation
Mail Related Extensions
Mathematical Extensions
Non-Text MIME Output
Process Control Extensions
Other Basic Extensions
Other Services
Search Engine Extensions
Server Specific Extensions
Session Extensions
Text Processing
Variable and Type Related Extensions
Web Services
Windows Only Extensions
XML Manipulation
GUI Extensions
Keyboard Shortcuts
?
This help
j
Next menu item
k
Previous menu item
g p
Previous man page
g n
Next man page
G
Scroll to bottom
g g
Scroll to top
g h
Goto homepage
g s
Goto search
(current page)
/
Focus search box
Introduction »
« tanh
PHP Manual
Function Reference
Mathematical Extensions
Change language:
English
German
Spanish
French
Italian
Japanese
Brazilian Portuguese
Russian
Turkish
Ukrainian
Chinese (Simplified)
Other
Statistics
Introduction
Installing/Configuring
Requirements
Installation
Statistic Functions
stats_absolute_deviation
— Returns the absolute deviation of an array of values
stats_cdf_beta
— Calculates any one parameter of the beta distribution given values for the others
stats_cdf_binomial
— Calculates any one parameter of the binomial distribution given values for the others
stats_cdf_cauchy
— Calculates any one parameter of the Cauchy distribution given values for the others
stats_cdf_chisquare
— Calculates any one parameter of the chi-square distribution given values for the others
stats_cdf_exponential
— Calculates any one parameter of the exponential distribution given values for the others
stats_cdf_f
— Calculates any one parameter of the F distribution given values for the others
stats_cdf_gamma
— Calculates any one parameter of the gamma distribution given values for the others
stats_cdf_laplace
— Calculates any one parameter of the Laplace distribution given values for the others
stats_cdf_logistic
— Calculates any one parameter of the logistic distribution given values for the others
stats_cdf_negative_binomial
— Calculates any one parameter of the negative binomial distribution given values for the others
stats_cdf_noncentral_chisquare
— Calculates any one parameter of the non-central chi-square distribution given values for the others
stats_cdf_noncentral_f
— Calculates any one parameter of the non-central F distribution given values for the others
stats_cdf_noncentral_t
— Calculates any one parameter of the non-central t-distribution give values for the others
stats_cdf_normal
— Calculates any one parameter of the normal distribution given values for the others
stats_cdf_poisson
— Calculates any one parameter of the Poisson distribution given values for the others
stats_cdf_t
— Calculates any one parameter of the t-distribution given values for the others
stats_cdf_uniform
— Calculates any one parameter of the uniform distribution given values for the others
stats_cdf_weibull
— Calculates any one parameter of the Weibull distribution given values for the others
stats_covariance
— Computes the covariance of two data sets
stats_dens_beta
— Probability density function of the beta distribution
stats_dens_cauchy
— Probability density function of the Cauchy distribution
stats_dens_chisquare
— Probability density function of the chi-square distribution
stats_dens_exponential
— Probability density function of the exponential distribution
stats_dens_f
— Probability density function of the F distribution
stats_dens_gamma
— Probability density function of the gamma distribution
stats_dens_laplace
— Probability density function of the Laplace distribution
stats_dens_logistic
— Probability density function of the logistic distribution
stats_dens_normal
— Probability density function of the normal distribution
stats_dens_pmf_binomial
— Probability mass function of the binomial distribution
stats_dens_pmf_hypergeometric
— Probability mass function of the hypergeometric distribution
stats_dens_pmf_negative_binomial
— Probability mass function of the negative binomial distribution
stats_dens_pmf_poisson
— Probability mass function of the Poisson distribution
stats_dens_t
— Probability density function of the t-distribution
stats_dens_uniform
— Probability density function of the uniform distribution
stats_dens_weibull
— Probability density function of the Weibull distribution
stats_harmonic_mean
— Returns the harmonic mean of an array of values
stats_kurtosis
— Computes the kurtosis of the data in the array
stats_rand_gen_beta
— Generates a random deviate from the beta distribution
stats_rand_gen_chisquare
— Generates a random deviate from the chi-square distribution
stats_rand_gen_exponential
— Generates a random deviate from the exponential distribution
stats_rand_gen_f
— Generates a random deviate from the F distribution
stats_rand_gen_funiform
— Generates uniform float between low (exclusive) and high (exclusive)
stats_rand_gen_gamma
— Generates a random deviate from the gamma distribution
stats_rand_gen_ibinomial
— Generates a random deviate from the binomial distribution
stats_rand_gen_ibinomial_negative
— Generates a random deviate from the negative binomial distribution
stats_rand_gen_int
— Generates random integer between 1 and 2147483562
stats_rand_gen_ipoisson
— Generates a single random deviate from a Poisson distribution
stats_rand_gen_iuniform
— Generates integer uniformly distributed between LOW (inclusive) and HIGH (inclusive)
stats_rand_gen_noncentral_chisquare
— Generates a random deviate from the non-central chi-square distribution
stats_rand_gen_noncentral_f
— Generates a random deviate from the noncentral F distribution
stats_rand_gen_noncentral_t
— Generates a single random deviate from a non-central t-distribution
stats_rand_gen_normal
— Generates a single random deviate from a normal distribution
stats_rand_gen_t
— Generates a single random deviate from a t-distribution
stats_rand_get_seeds
— Get the seed values of the random number generator
stats_rand_phrase_to_seeds
— Generate two seeds for the RGN random number generator
stats_rand_ranf
— Generates a random floating point number between 0 and 1
stats_rand_setall
— Set seed values to the random generator
stats_skew
— Computes the skewness of the data in the array
stats_standard_deviation
— Returns the standard deviation
stats_stat_binomial_coef
— Returns a binomial coefficient
stats_stat_correlation
— Returns the Pearson correlation coefficient of two data sets
stats_stat_factorial
— Returns the factorial of an integer
stats_stat_independent_t
— Returns the t-value from the independent two-sample t-test
stats_stat_innerproduct
— Returns the inner product of two vectors
stats_stat_paired_t
— Returns the t-value of the dependent t-test for paired samples
stats_stat_percentile
— Returns the percentile value
stats_stat_powersum
— Returns the power sum of a vector
stats_variance
— Returns the variance
Improve This Page
Learn How To Improve This Page
•
Submit a Pull Request
•
Report a Bug
+
add a note
User Contributed Notes
There are no user contributed notes for this page.