Special functions
Some PDFs and PMFs and many CDFs are expressed in terms of special functions. Here, for reference, are special functions featured in various distributions in the Distribution Explorer. In general, these functions are functions of complex variables, but for our purposes we will only consider real numbers.
Factorial
The factorial of a positive real number \(n\) is denoted as \(n!\) and is defined as
with the convention that \(0! = 1\).
Binomial coefficient
A Binomial coefficient of two nonnegative real numbers \(N\) and \(n\), with \(n \le N\), is denoted as \(\displaystyle \begin{pmatrix}N \\n\end{pmatrix}\), and is defined as
Gamma function
The gamma function, \(\Gamma(x)\), may be thought of as a continuous generalization of the factorial. For positive integer \(n\), \(\Gamma(n) = (n-1)!\). The Gamma function for positive real \(x\) is
Lower incomplete gamma function
Notice that the integral in the gamma function runs from zero to infinity. If we instead truncate the integration at \(y\), we get the lower incomplete gamma function,
Note that the function is denoted with a lowercase \(\gamma\).
Upper incomplete gamma function
Similarly, the upper incomplete gamma function results from beginning the integral in the gamma function at \(x\).
Note that am uppercase \(\Gamma\) is used, but the presence of two arguments distinguishes this function notationally from the gamma function.
Regularized lower incomplete gamma function
When we divide the lower incomplete gamma function by the corresponding complete gamma function, we get a regularized lower incomplete gamma function, often denoted \(P(x, y)\).
Regularized upper incomplete gamma function
Similarly, the upper incomplete gamma function may also be regularized, and is often denoted \(Q(x, y)\).
Beta function
The beta function is
The beta function may be expressed as an integral,
When \(x\) and \(y\) are integers, say \(m\) and \(n\), the beta function is related to the binomial coefficient as
Multivariate beta function
The beta function may be generalized to a multivariate case, called the multivariate Beta function.
Incomplete beta function
Looking at the integral form of the beta function, above, we can define an incomplete beta function by truncating the integral. The incomplete beta function is denoted \(B(x; a, b)\).
Note that \(x\) must be between zero and one.
Regularized incomplete beta function
The regularized incomplete beta function. \(I_x(a,b)\) is computed by dividing the incomplete beta function by the corresponding beta function.
Error function
The error function, \(\text{erf}(x)\) is defined by
Modified Bessel function of the first kind
Bessel functions are solutions to Bessel’s differential equation, which appears in solutions to diffusion problems in cylindrical coordinates. Modified Bessel functions of the first kind appear in the analysis of the Von Mises distribution. For integer \(\alpha\), these are given by
and can also be expressed as a series
where \(\Gamma(x)\) denotes the gamma function.