text:
Beta distribution
From Wikipedia, the free encyclopedia
Jump to: navigation, search
Not to be confused with Beta function.
Beta
Probability density function
Cumulative distribution function
Notation
Beta(α, β)
Parameters
α > 0 shape (real)
β > 0 shape (real)
Support
x ∈ [ 0 , 1 ] {\displaystyle x\in [0,1]\!} or x ∈ ( 0 , 1 ) {\displaystyle x\in (0,1)\!}
PDF
x α − 1 ( 1 − x ) β − 1 B ( α , β ) {\displaystyle {\frac {x^{\alpha -1}(1-x)^{\beta -1}}{\mathrm {B} (\alpha ,\beta )}}\!}
where B ( α , β ) = Γ ( α ) Γ ( β ) Γ ( α + β ) {\displaystyle \mathrm {B} (\alpha ,\beta )={\frac {\Gamma (\alpha )\Gamma (\beta )}{\Gamma (\alpha +\beta )}}}
CDF
I x ( α , β ) {\displaystyle I_{x}(\alpha ,\beta )\!}
(the regularised incomplete beta function)
Mean
E  [ X ] = α α + β {\displaystyle \operatorname {E} [X]={\frac {\alpha }{\alpha +\beta }}\!}
E  [ ln  X ] = ψ ( α ) − ψ ( α + β ) {\displaystyle \operatorname {E} [\ln X]=\psi (\alpha )-\psi (\alpha +\beta )\!}

E  [ X ln  X ] = α α + β [ ψ ( α + 1 ) − ψ ( α + β + 1 ) ] {\displaystyle \operatorname {E} [X\,\ln X]={\frac {\alpha }{\alpha +\beta }}\,\left[\psi (\alpha +1)-\psi (\alpha +\beta +1)\right]\!}
(see digamma function and see section: Geometric mean)
Median
I 1 2 [ − 1 ] ( α , β ) (in general) ≈ α − 1 3 α + β − 2 3 for α , β > 1 {\displaystyle {\begin{matrix}I_{\frac {1}{2}}^{[-1]}(\alpha ,\beta ){\text{ (in general) }}\\[0.5em]\approx {\frac {\alpha -{\tfrac {1}{3}}}{\alpha +\beta -{\tfrac {2}{3}}}}{\text{ for }}\alpha ,\beta >1\end{matrix}}}
Mode
α − 1 α + β − 2 {\displaystyle {\frac {\alpha -1}{\alpha +\beta -2}}\!} for α, β >1
any value in ( 0 , 1 ) {\displaystyle (0,1)} for α, β = 1
0 for α = 1, β > 1
1 for α > 1, β = 1
Variance
var  [ X ] = α β ( α + β ) 2 ( α + β + 1 ) {\displaystyle \operatorname {var} [X]={\frac {\alpha \beta }{(\alpha +\beta )^{2}(\alpha +\beta +1)}}\!}
var  [ ln  X ] = ψ 1 ( α ) − ψ 1 ( α + β ) {\displaystyle \operatorname {var} [\ln X]=\psi _{1}(\alpha )-\psi _{1}(\alpha +\beta )\!}
(see trigamma function and see section: Geometric variance)
Skewness
2 ( β − α ) α + β + 1 ( α + β + 2 ) α β {\displaystyle {\frac {2\,(\beta -\alpha ){\sqrt {\alpha +\beta +1}}}{(\alpha +\beta +2){\sqrt {\alpha \beta }}}}}
Ex. kurtosis
6 [ ( α − β ) 2 ( α + β + 1 ) − α β ( α + β + 2 ) ] α β ( α + β + 2 ) ( α + β + 3 ) {\displaystyle {\frac {6[(\alpha -\beta )^{2}(\alpha +\beta +1)-\alpha \beta (\alpha +\beta +2)]}{\alpha \beta (\alpha +\beta +2)(\alpha +\beta +3)}}}
Entropy
ln  B ( α , β ) − ( α − 1 ) ψ ( α ) − ( β − 1 ) ψ ( β ) + ( α + β − 2 ) ψ ( α + β ) {\displaystyle {\begin{matrix}\ln \mathrm {B} (\alpha ,\beta )-(\alpha -1)\psi (\alpha )-(\beta -1)\psi (\beta )\\[0.5em]+(\alpha +\beta -2)\psi (\alpha +\beta )\end{matrix}}}
MGF
1 + ∑ k = 1 ∞ ( ∏ r = 0 k − 1 α + r α + β + r ) t k k ! {\displaystyle 1+\sum _{k=1}^{\infty }\left(\prod _{r=0}^{k-1}{\frac {\alpha +r}{\alpha +\beta +r}}\right){\frac {t^{k}}{k!}}}
CF
1 F 1 ( α ; α + β ; i t ) {\displaystyle {}_{1}F_{1}(\alpha ;\alpha +\beta ;i\,t)\!} (see Confluent hypergeometric function)
Fisher information
var  [ ln  X ] cov  [ ln  X , ln  ( 1 − X ) ] cov  [ ln  X , ln  ( 1 − X ) ] var  [ ln  ( 1 − X ) ] {\displaystyle {\begin{matrix}\\\operatorname {var} [\ln X]&\operatorname {cov} [\ln X,\ln(1-X)]\\\operatorname {cov} [\ln X,\ln(1-X)]&\operatorname {var} [\ln(1-X)]\end{matrix}}}
see section: Fisher information matrix
In probability theory and statistics, the beta distribution is a family of continuous probability distributions defined on the interval [0, 1] parametrized by two positive shape parameters, denoted by α and β, that appear as exponents of the random variable and control the shape of the distribution.
The beta distribution has been applied to model the behavior of random variables limited to intervals of finite length in a wide variety of disciplines.
In Bayesian inference, the beta distribution is the conjugate prior probability distribution for the Bernoulli, binomial, negative binomial and geometric distributions. For example, the beta distribution can be used in Bayesian analysis to describe initial knowledge concerning probability of success such as the probability that a space vehicle will successfully complete a specified mission. The beta distribution is a suitable model for the random behavior of percentages and proportions.
The usual formulation of the beta distribution is also known as the beta distribution of the first kind, whereas beta distribution of the second kind is an alternative name for the beta prime distribution.
Contents
1 Characterization
1.1 Probability density function
1.2 Cumulative distribution function
2 Properties
2.1 Measures of central tendency
2.1.1 Mode
2.1.2 Median
2.1.3 Mean
2.1.4 Geometric mean
2.1.5 Harmonic mean
2.2 Measures of statistical dispersion
2.2.1 Variance
2.2.2 Geometric variance and covariance
2.2.3 Mean absolute deviation around the mean
2.2.4 Mean absolute difference
2.3 Skewness
2.4 Kurtosis
2.5 Characteristic function
2.6 Other moments
2.6.1 Moment generating function
2.6.2 Higher moments
2.6.3 Moments of transformed random variables
2.6.3.1 Moments of linearly transformed, product and inverted random variables
2.6.3.2 Moments of logarithmically transformed random variables
2.7 Quantities of information (entropy)
2.8 Relationships between statistical measures
2.8.1 Mean, mode and median relationship
2.8.2 Mean, geometric mean and harmonic mean relationship
2.8.3 Kurtosis bounded by the square of the skewness
2.9 Symmetry
2.10 Geometry of the probability density function
2.10.1 Inflection points
2.10.2 Shapes
2.10.2.1 Symmetric (α = β)
2.10.2.2 Skewed (α ≠ β)
3 Parameter estimation
3.1 Method of moments
3.1.1 Two unknown parameters
3.1.2 Four unknown parameters
3.2 Maximum likelihood
3.2.1 Two unknown parameters
3.2.2 Four unknown parameters
3.3 Fisher information matrix
3.3.1 Two parameters
3.3.2 Four parameters
4 Generating beta-distributed random variates
5 Related distributions
5.1 Transformations
5.2 Special and limiting cases
5.3 Derived from other distributions
5.4 Combination with other distributions
5.5 Compounding with other distributions
5.6 Generalisations
6 Applications
6.1 Order statistics
6.2 Rule of succession
6.3 Bayesian inference
6.3.1 Bayes' prior probability (Beta(1,1))
6.3.2 Haldane's prior probability (Beta(0,0))
6.3.3 Jeffreys' prior probability (Beta(1/2,1/2) for a Bernoulli or for a binomial distribution)
6.3.4 Effect of different prior probability choices on the posterior beta distribution
6.4 Subjective logic
6.5 Wavelet analysis
6.6 Project management: task cost and schedule modeling
7 Alternative parametrizations
7.1 Two parameters
7.1.1 Mean and sample size
7.1.2 Mode and concentration
7.1.3 Mean (allele frequency) and (Wright's) genetic distance between two populations
7.1.4 Mean and variance
7.2 Four parameters
8 History
9 References
10 External links
Characterization[edit]
Probability density function[edit]
The probability density function (pdf) of the beta distribution, for 0 ≤ x ≤ 1, and shape parameters α, β > 0, is a power function of the variable x and of its reflection (1 − x) as follows:
f ( x ; α , β ) = c o n s t a n t ⋅ x α − 1 ( 1 − x ) β − 1 = x α − 1 ( 1 − x ) β − 1 ∫ 0 1 u α − 1 ( 1 − u ) β − 1 d u = Γ ( α + β ) Γ ( α ) Γ ( β ) x α − 1 ( 1 − x ) β − 1 = 1 B ( α , β ) x α − 1 ( 1 − x ) β − 1 {\displaystyle {\begin{aligned}f(x;\alpha ,\beta )&=\mathrm {constant} \cdot x^{\alpha -1}(1-x)^{\beta -1}\\[3pt]&={\frac {x^{\alpha -1}(1-x)^{\beta -1}}{\displaystyle \int _{0}^{1}u^{\alpha -1}(1-u)^{\beta -1}\,du}}\\[6pt]&={\frac {\Gamma (\alpha +\beta )}{\Gamma (\alpha )\Gamma (\beta )}}\,x^{\alpha -1}(1-x)^{\beta -1}\\[6pt]&={\frac {1}{\mathrm {B} (\alpha ,\beta )}}x^{\alpha -1}(1-x)^{\beta -1}\end{aligned}}}
where Γ(z) is the gamma function. The beta function, B {\displaystyle \mathrm {B} } , is a normalization constant to ensure that the total probability integrates to 1. In the above equations x is a realization—an observed value that actually occurred—of a random process X.
This definition includes both ends x = 0 and x = 1, which is consistent with definitions for other continuous distributions supported on a bounded interval which are special cases of the beta distribution, for example the arcsine distribution, and consistent with several authors, like N. L. Johnson and S. Kotz.[1][2][3][4] However, the inclusion of x = 0 and x = 1 does not work for α, β < 1; accordingly, several other authors, including W. Feller,[5][6][7] choose to exclude the ends x = 0 and x = 1, (so that the two ends are not actually part of the domain of the density function) and consider instead 0 < x < 1.
Several authors, including N. L. Johnson and S. Kotz,[1] use the symbols p and q (instead of α and β) for the shape parameters of the beta distribution, reminiscent of the symbols traditionally used for the parameters of the Bernoulli distribution, because the beta distribution approaches the Bernoulli distribution in the limit when both shape parameters α and β approach the value of zero.
In the following, a random variable X beta-distributed with parameters α and β will be denoted by:[8][9]
X ∼ Beta  ( α , β ) {\displaystyle X\sim \operatorname {Beta} (\alpha ,\beta )}
Other notations for beta-distributed random variables used in the statistical literature are X ∼ B e ( α , β ) {\displaystyle X\sim {\mathcal {B}}e(\alpha ,\beta )} [10] and X ∼ β α , β {\displaystyle X\sim \beta _{\alpha ,\beta }} .[5]
Cumulative distribution function[edit]
CDF for symmetric beta distribution vs. x and α = β
CDF for skewed beta distribution vs. x and β = 5α
The cumulative distribution function is
F ( x ; α , β ) = B ( x ; α , β ) B ( α , β ) = I x ( α , β ) {\displaystyle F(x;\alpha ,\beta )={\frac {\mathrm {B} {}(x;\alpha ,\beta )}{\mathrm {B} {}(\alpha ,\beta )}}=I_{x}(\alpha ,\beta )}
where B ( x ; α , β ) {\displaystyle \mathrm {B} (x;\alpha ,\beta )} is the incomplete beta function and I x ( α , β ) {\displaystyle I_{x}(\alpha ,\beta )} is the regularized incomplete beta function.
Properties[edit]
Measures of central tendency[edit]
Mode[edit]
The mode of a Beta distributed random variable X with α, β > 1 is the most likely value of the distribution (corresponding to the peak in the PDF), and is given by the following expression:[1]
α − 1 α + β − 2 . {\displaystyle {\frac {\alpha -1}{\alpha +\beta -2}}.}
When both parameters are less than one (α, β < 1), this is the anti-mode: the lowest point of the probability density curve.[3]
Letting α = β, the expression for the mode simplifies to 1/2, showing that for α = β > 1 the mode (resp. anti-mode when α, β < 1), is at the center of the distribution: it is symmetric in those cases. See Shapes section in this article for a full list of mode cases, for arbitrary values of α and β. For several of these cases, the maximum value of the density function occurs at one or both ends. In some cases the (maximum) value of the density function occurring at the end is finite. For example, in the case of α = 2, β = 1 (or α = 1, β = 2), the density function becomes a right-triangle distribution which is finite at both ends. In several other cases there is a singularity at one end, where the value of the density function approaches infinity. For example, in the case α = β = 1/2, the Beta distribution simplifies to become the arcsine distribution. There is debate among mathematicians about some of these cases and whether the ends (x = 0, and x = 1) can be called modes or not.[6][8]
Mode for Beta distribution for 1 ≤ α ≤ 5 and 1 ≤ β ≤ 5
Whether the ends are part of the domain of the density function
Whether a singularity can ever be called a mode
Whether cases with two maxima should be called bimodal
Median[edit]
Median for Beta distribution for 0 ≤ α ≤ 5 and 0 ≤ β ≤ 5
(Mean–Median) for Beta distribution versus alpha and beta from 0 to 2
The median of the beta distribution is the unique real number x = I 1 2 [ − 1 ] ( α , β ) {\displaystyle x=I_{\frac {1}{2}}^{[-1]}(\alpha ,\beta )} for which the regularized incomplete beta function I x ( α , β ) = 1 2 {\displaystyle I_{x}(\alpha ,\beta )={\tfrac {1}{2}}} . There is no general closed-form expression for the median of the beta distribution for arbitrary values of α and β. Closed-form expressions for particular values of the parameters α and β follow:[citation needed]
For symmetric cases α = β, median = 1/2.
For α = 1 and β > 0, median = 1 − 2 − 1 β {\displaystyle =1-2^{-{\frac {1}{\beta }}}} (this case is the mirror-image of the power function [0,1] distribution)
For α > 0 and β = 1, median = 2 − 1 α {\displaystyle 2^{-{\frac {1}{\alpha }}}} (this case is the power function [0,1] distribution[6])
For α = 3 and β = 2, median = 0.6142724318676105..., the real solution to the quartic equation 1 − 8x3 + 6x4 = 0, which lies in [0,1].
For α = 2 and β = 3, median = 0.38572756813238945... = 1−median(Beta(3, 2))
The following are the limits with one parameter finite (non-zero) and the other approaching these limits:[citation needed]
lim β → 0 median = lim α → ∞ median = 1 , lim α → 0 median = lim β → ∞ median = 0. {\displaystyle {\begin{aligned}\lim _{\beta \to 0}{\text{median}}=\lim _{\alpha \to \infty }{\text{median}}=1,\\\lim _{\alpha \to 0}{\text{median}}=\lim _{\beta \to \infty }{\text{median}}=0.\end{aligned}}}
A reasonable approximation of the value of the median of the beta distribution, for both α and β greater or equal to one, is given by the formula[11]
median ≈ α − 1 3 α + β − 2 3 for α , β ≥ 1. {\displaystyle {\text{median}}\approx {\frac {\alpha -{\tfrac {1}{3}}}{\alpha +\beta -{\tfrac {2}{3}}}}{\text{ for }}\alpha ,\beta \geq 1.}
When α, β ≥ 1, the relative error (the absolute error divided by the median) in this approximation is less than 4% and for both α ≥ 2 and β ≥ 2 it is less than 1%. The absolute error divided by the difference between the mean and the mode is similarly small:
Mean[edit]
Mean for Beta distribution for 0 ≤ α ≤ 5 and 0 ≤ β ≤ 5
The expected value (mean) (μ) of a Beta distribution random variable X with two parameters α and β is a function of only the ratio β/α of these parameters:[1]
μ = E  [ X ] = ∫ 0 1 x f ( x ; α , β ) d x = ∫ 0 1 x x α − 1 ( 1 − x ) β − 1 B ( α , β ) d x = α α + β = 1 1 + β α {\displaystyle {\begin{aligned}\mu =\operatorname {E} [X]&=\int _{0}^{1}xf(x;\alpha ,\beta )\,dx\\&=\int _{0}^{1}x\,{\frac {x^{\alpha -1}(1-x)^{\beta -1}}{\mathrm {B} (\alpha ,\beta )}}\,dx\\&={\frac {\alpha }{\alpha +\beta }}\\&={\frac {1}{1+{\frac {\beta }{\alpha }}}}\end{aligned}}}
Letting α = β in the above expression one obtains μ = 1/2, showing that for α = β the mean is at the center of the distribution: it is symmetric. Also, the following limits can be obtained from the above expression:
lim β α → 0 μ = 1 lim β α → ∞ μ = 0 {\displaystyle {\begin{aligned}\lim _{{\frac {\beta }{\alpha }}\to 0}\mu =1\\\lim _{{\frac {\beta }{\alpha }}\to \infty }\mu =0\end{aligned}}}
Therefore, for β/α → 0, or for α/β → ∞, the mean is located at the right end, x = 1. For these limit ratios, the beta distribution becomes a one-point degenerate distribution with a Dirac delta function spike at the right end, x = 1, with probability 1, and zero probability everywhere else. There is 100% probability (absolute certainty) concentrated at the right end, x = 1.
Similarly, for β/α → ∞, or for α/β → 0, the mean is located at the left end, x = 0. The beta distribution becomes a 1-point Degenerate distribution with a Dirac delta function spike at the left end, x = 0, with probability 1, and zero probability everywhere else. There is 100% probability (absolute certainty) concentrated at the left end, x = 0. Following are the limits with one parameter finite (non-zero) and the other approaching these limits:
lim β → 0 μ = lim α → ∞ μ = 1 lim α → 0 μ = lim β → ∞ μ = 0 {\displaystyle {\begin{aligned}\lim _{\beta \to 0}\mu =\lim _{\alpha \to \infty }\mu =1\\\lim _{\alpha \to 0}\mu =\lim _{\beta \to \infty }\mu =0\end{aligned}}}
While for typical unimodal distributions (with centrally located modes, inflexion points at both sides of the mode, and longer tails) (with Beta(α, β) such that α, β > 2) it is known that the sample mean (as an estimate of location) is not as robust as the sample median, the opposite is the case for uniform or "U-shaped" bimodal distributions (with Beta(α, β) such that α, β ≤ 1), with the modes located at the ends of the distribution. As Mosteller and Tukey remark ([12] p. 207) "the average of the two extreme observations uses all the sample information. This illustrates how, for short-tailed distributions, the extreme observations should get more weight." By contrast, it follows that the median of "U-shaped" bimodal distributions with modes at the edge of the distribution (with Beta(α, β) such that α, β ≤ 1) is not robust, as the sample median drops the extreme sample observations from consideration. A practical application of this occurs for example for random walks, since the probability for the time of the last visit to the origin in a random walk is distributed as the arcsine distribution Beta(1/2, 1/2):[5][13] the mean of a number of realizations of a random walk is a much more robust estimator than the median (which is an inappropriate sample measure estimate in this case).
Geometric mean[edit]
(Mean − GeometricMean) for Beta distribution versus α and β from 0 to 2, showing the asymmetry between α and β for the geometric mean
Geometric means for Beta distribution Purple = G(x), Yellow = G(1 − x), smaller values α and β in front
Geometric means for Beta distribution. purple = G(x), yellow = G(1 − x), larger values α and β in front
The logarithm of the geometric mean GX of a distribution with random variable X is the arithmetic mean of ln(X), or, equivalently, its expected value:
ln  G X = E  [ ln  X ] {\displaystyle \ln G_{X}=\operatorname {E} [\ln X]}
For a beta distribution, the expected value integral gives:
E  [ ln  X ] = ∫ 0 1 ln  x f ( x ; α , β ) d x = ∫ 0 1 ln  x x α − 1 ( 1 − x ) β − 1 B ( α , β ) d x = 1 B ( α , β ) ∫ 0 1 ∂ x α − 1 ( 1 − x ) β − 1 ∂ α d x = 1 B ( α , β ) ∂ ∂ α ∫ 0 1 x α − 1 ( 1 − x ) β − 1 d x = 1 B ( α , β ) ∂ B ( α , β ) ∂ α = ∂ ln  B ( α , β ) ∂ α = ∂ ln  Γ ( α ) ∂ α − ∂ ln  Γ ( α + β ) ∂ α = ψ ( α ) − ψ ( α + β ) {\displaystyle {\begin{aligned}\operatorname {E} [\ln X]&=\int _{0}^{1}\ln x\,f(x;\alpha ,\beta )\,dx\\[4pt]&=\int _{0}^{1}\ln x\,{\frac {x^{\alpha -1}(1-x)^{\beta -1}}{\mathrm {B} (\alpha ,\beta )}}\,dx\\[4pt]&={\frac {1}{\mathrm {B} (\alpha ,\beta )}}\,\int _{0}^{1}{\frac {\partial x^{\alpha -1}(1-x)^{\beta -1}}{\partial \alpha }}\,dx\\[4pt]&={\frac {1}{\mathrm {B} (\alpha ,\beta )}}{\frac {\partial }{\partial \alpha }}\int _{0}^{1}x^{\alpha -1}(1-x)^{\beta -1}\,dx\\[4pt]&={\frac {1}{\mathrm {B} (\alpha ,\beta )}}{\frac {\partial \mathrm {B} (\alpha ,\beta )}{\partial \alpha }}\\[4pt]&={\frac {\partial \ln \mathrm {B} (\alpha ,\beta )}{\partial \alpha }}\\[4pt]&={\frac {\partial \ln \Gamma (\alpha )}{\partial \alpha }}-{\frac {\partial \ln \Gamma (\alpha +\beta )}{\partial \alpha }}\\[4pt]&=\psi (\alpha )-\psi (\alpha +\beta )\end{aligned}}}
where ψ is the digamma function.
Therefore, the geometric mean of a beta distribution with shape parameters α and β is the exponential of the digamma functions of α and β as follows:
G X = e E  [ ln  X ] = e ψ ( α ) − ψ ( α + β ) {\displaystyle G_{X}=e^{\operatorname {E} [\ln X]}=e^{\psi (\alpha )-\psi (\alpha +\beta )}}
While for a beta distribution with equal shape parameters α = β, it follows that skewness = 0 and mode = mean = median = 1/2, the geometric mean is less than 1/2: 0 < GX < 1/2. The reason for this is that the logarithmic transformation strongly weights the values of X close to zero, as ln(X) strongly tends towards negative infinity as X approaches zero, while ln(X) flattens towards zero as X → 1.
Along a line α = β, the following limits apply:
lim α = β → 0 G X = 0 lim α = β → ∞ G X = 1 2 {\displaystyle {\begin{aligned}&\lim _{\alpha =\beta \to 0}G_{X}=0\\&\lim _{\alpha =\beta \to \infty }G_{X}={\tfrac {1}{2}}\end{aligned}}}
Following are the limits with one parameter finite (non-zero) and the other approaching these limits:
lim β → 0 G X = lim α → ∞ G X = 1 lim α → 0 G X = lim β → ∞ G X = 0 {\displaystyle {\begin{aligned}\lim _{\beta \to 0}G_{X}=\lim _{\alpha \to \infty }G_{X}=1\\\lim _{\alpha \to 0}G_{X}=\lim _{\beta \to \infty }G_{X}=0\end{aligned}}}
The accompanying plot shows the difference between the mean and the geometric mean for shape parameters α and β from zero to 2. Besides the fact that the difference between them approaches zero as α and β approach infinity and that the difference becomes large for values of α and β approaching zero, one can observe an evident asymmetry of the geometric mean with respect to the shape parameters α and β. The difference between the geometric mean and the mean is larger for small values of α in relation to β than when exchanging the magnitudes of β and α.
N. L.Johnson and S. Kotz[1] suggest the logarithmic approximation to the digamma function ψ(α) ≈ ln(α − 1/2) which results in the following approximation to the geometric mean:
G X ≈ α − 1 2 α + β − 1 2 if α , β > 1. {\displaystyle G_{X}\approx {\frac {\alpha \,-{\frac {1}{2}}}{\alpha +\beta -{\frac {1}{2}}}}{\text{ if }}\alpha ,\beta >1.}
Numerical values for the relative error in this approximation follow: [(α = β = 1): 9.39%]; [(α = β = 2): 1.29%]; [(α = 2, β = 3): 1.51%]; [(α = 3, β = 2): 0.44%]; [(α = β = 3): 0.51%]; [(α = β = 4): 0.26%]; [(α = 3, β = 4): 0.55%]; [(α = 4, β = 3): 0.24%].
Similarly, one can calculate the value of shape parameters required for the geometric mean to equal 1/2. Given the value of the parameter β, what would be the value of the other parameter, α, required for the geometric mean to equal 1/2?. The answer is that (for β > 1), the value of α required tends towards β + 1/2 as β → ∞. For example, all these couples have the same geometric mean of 1/2: [β = 1, α = 1.4427], [β = 2, α = 2.46958], [β = 3, α = 3.47943], [β = 4, α = 4.48449], [β = 5, α = 5.48756], [β = 10, α = 10.4938], [β = 100, α = 100.499].
The fundamental property of the geometric mean, which can be proven to be false for any other mean, is
G ( X i Y i ) = G ( X i ) G ( Y i ) {\displaystyle G\left({\frac {X_{i}}{Y_{i}}}\right)={\frac {G(X_{i})}{G(Y_{i})}}}
This makes the geometric mean the only correct mean when averaging normalized results, that is results that are presented as ratios to reference values.[14] This is relevant because the beta distribution is a suitable model for the random behavior of percentages and it is particularly suitable to the statistical modelling of proportions. The geometric mean plays a central role in maximum likelihood estimation, see section "Parameter estimation, maximum likelihood." Actually, when performing maximum likelihood estimation, besides the geometric mean GX based on the random variable X, also another geometric mean appears naturally: the geometric mean based on the linear transformation ––(1 − X), the mirror-image of X, denoted by G(1−X):
G ( 1 − X ) = e E  [ ln  ( 1 − X ) ] = e ψ ( β ) − ψ ( α + β ) {\displaystyle G_{(1-X)}=e^{\operatorname {E} [\ln(1-X)]}=e^{\psi (\beta )-\psi (\alpha +\beta )}}
Along a line α = β, the following limits apply:
lim α = β → 0 G ( 1 − X ) = 0 lim α = β → ∞ G ( 1 − X ) = 1 2 {\displaystyle {\begin{aligned}&\lim _{\alpha =\beta \to 0}G_{(1-X)}=0\\&\lim _{\alpha =\beta \to \infty }G_{(1-X)}={\tfrac {1}{2}}\end{aligned}}}
Following are the limits with one parameter finite (non-zero) and the other approaching these limits:
lim β → 0 G ( 1 − X ) = lim α → ∞ G ( 1 − X ) = 0 lim α → 0 G ( 1 − X ) = lim β → ∞ G ( 1 − X ) = 1 {\displaystyle {\begin{aligned}\lim _{\beta \to 0}G_{(1-X)}=\lim _{\alpha \to \infty }G_{(1-X)}=0\\\lim _{\alpha \to 0}G_{(1-X)}=\lim _{\beta \to \infty }G_{(1-X)}=1\end{aligned}}}
It has the following approximate value:
G ( 1 − X ) ≈ β − 1 2 α + β − 1 2 if α , β > 1. {\displaystyle G_{(1-X)}\approx {\frac {\beta -{\frac {1}{2}}}{\alpha +\beta -{\frac {1}{2}}}}{\text{ if }}\alpha ,\beta >1.}
Although both GX and G(1−X) are asymmetric, in the case that both shape parameters are equal α = β, the geometric means are equal: GX = G(1−X). This equality follows from the following symmetry displayed between both geometric means:
G X ( B ( α , β ) ) = G ( 1 − X ) ( B ( β , α ) ) . {\displaystyle G_{X}(\mathrm {B} (\alpha ,\beta ))=G_{(1-X)}(\mathrm {B} (\beta ,\alpha )).}
Harmonic mean[edit]
Harmonic mean for beta distribution for 0 < α < 5 and 0 < β < 5
Harmonic mean for beta distribution versus α and β from 0 to 2
Harmonic means for beta distribution Purple = H(X), Yellow = H(1 − X), smaller values α and β in front
Harmonic Means for Beta distribution Purple = H(X), Yellow = H(1 − X), larger values α and β in front
The inverse of the harmonic mean (HX) of a distribution with random variable X is the arithmetic mean of 1/X, or, equivalently, its expected value. Therefore, the harmonic mean (HX) of a beta distribution with shape parameters α and β is:
H X = 1 E  [ 1 X ] = 1 ∫ 0 1 f ( x ; α , β ) x d x = 1 ∫ 0 1 x α − 1 ( 1 − x ) β − 1 x B ( α , β ) d x = α − 1 α + β − 1 if α > 1 and β > 0 {\displaystyle {\begin{aligned}H_{X}&={\frac {1}{\operatorname {E} \left[{\frac {1}{X}}\right]}}\\&={\frac {1}{\int _{0}^{1}{\frac {f(x;\alpha ,\beta )}{x}}\,dx}}\\&={\frac {1}{\int _{0}^{1}{\frac {x^{\alpha -1}(1-x)^{\beta -1}}{x\mathrm {B} (\alpha ,\beta )}}\,dx}}\\&={\frac {\alpha -1}{\alpha +\beta -1}}{\text{ if }}\alpha >1{\text{ and }}\beta >0\\\end{aligned}}}
The harmonic mean (HX) of a Beta distribution with α < 1 is undefined, because its defining expression is not bounded in [0, 1] for shape parameter α less than unity.
Letting α = β in the above expression one obtains
H X = α − 1 2 α − 1 , {\displaystyle H_{X}={\frac {\alpha -1}{2\alpha -1}},}
showing that for α = β the harmonic mean ranges from 0, for α = β = 1, to 1/2, for α = β → ∞.
Following are the limits with one parameter finite (non-zero) and the other approaching these limits:
lim α → 0 H X = undefined lim α → 1 H X = lim β → ∞ H X = 0 lim β → 0 H X = lim α → ∞ H X = 1 {\displaystyle {\begin{aligned}&\lim _{\alpha \to 0}H_{X}={\text{undefined}}\\&\lim _{\alpha \to 1}H_{X}=\lim _{\beta \to \infty }H_{X}=0\\&\lim _{\beta \to 0}H_{X}=\lim _{\alpha \to \infty }H_{X}=1\end{aligned}}}
The harmonic mean plays a role in maximum likelihood estimation for the four parameter case, in addition to the geometric mean. Actually, when performing maximum likelihood estimation for the four parameter case, besides the harmonic mean HX based on the random variable X, also another harmonic mean appears naturally: the harmonic mean based on the linear transformation (1 − X), the mirror-image of X, denoted by H(1 − X):
H ( 1 − X ) = 1 E  [ 1 ( 1 − X ) ] = β − 1 α + β − 1 if β > 1 , & α > 0. {\displaystyle H_{(1-X)}={\frac {1}{\operatorname {E} [{\frac {1}{(1-X)}}]}}={\frac {\beta -1}{\alpha +\beta -1}}{\text{ if }}\beta >1,\&\alpha >0.}
The harmonic mean (H(1 − X)) of a Beta distribution with β < 1 is undefined, because its defining expression is not bounded in [0, 1] for shape parameter β less than unity.
Letting α = β in the above expression one obtains
H ( 1 − X ) = β − 1 2 β − 1 , {\displaystyle H_{(1-X)}={\frac {\beta -1}{2\beta -1}},}
showing that for α = β the harmonic mean ranges from 0, for α = β = 1, to 1/2, for α = β → ∞.
Following are the limits with one parameter finite (non-zero) and the other approaching these limits:
lim β → 0 H ( 1 − X ) = undefined lim β → 1 H ( 1 − X ) = lim α → ∞ H ( 1 − X ) = 0 lim α → 0 H ( 1 − X ) = lim β → ∞ H ( 1 − X ) = 1 {\displaystyle {\begin{aligned}&\lim _{\beta \to 0}H_{(1-X)}={\text{undefined}}\\&\lim _{\beta \to 1}H_{(1-X)}=\lim _{\alpha \to \infty }H_{(1-X)}=0\\&\lim _{\alpha \to 0}H_{(1-X)}=\lim _{\beta \to \infty }H_{(1-X)}=1\end{aligned}}}
Although both HX and H(1−X) are asymmetric, in the case that both shape parameters are equal α = β, the harmonic means are equal: HX = H(1−X). This equality follows from the following symmetry displayed between both harmonic means:
H X ( B ( α , β ) ) = H ( 1 − X ) ( B ( β , α ) ) if α , β > 1. {\displaystyle H_{X}(\mathrm {B} (\alpha ,\beta ))=H_{(1-X)}(\mathrm {B} (\beta ,\alpha )){\text{ if }}\alpha ,\beta >1.}
Measures of statistical dispersion[edit]
Variance[edit]
The variance (the second moment centered on the mean) of a Beta distribution random variable X with parameters α and β is:[1][15]
var  ( X ) = E  [ ( X − μ ) 2 ] = α β ( α + β ) 2 ( α + β + 1 ) {\displaystyle \operatorname {var} (X)=\operatorname {E} [(X-\mu )^{2}]={\frac {\alpha \beta }{(\alpha +\beta )^{2}(\alpha +\beta +1)}}}
Letting α = β in the above expression one obtains
var  ( X ) = 1 4 ( 2 β + 1 ) , {\displaystyle \operatorname {var} (X)={\frac {1}{4(2\beta +1)}},}
showing that for α = β the variance decreases monotonically as α = β increases. Setting α = β = 0 in this expression, one finds the maximum variance var(X) = 1/4[1] which only occurs approaching the limit, at α = β = 0.
The beta distribution may also be parametrized in terms of its mean μ (0 < μ < 1) and sample size ν = α + β (ν > 0) (see section below titled "Mean and sample size"):
α = μ ν , where ν = ( α + β ) > 0 β = ( 1 − μ ) ν , where ν = ( α + β ) > 0. {\displaystyle {\begin{aligned}\alpha &=\mu \nu ,{\text{ where }}\nu =(\alpha +\beta )>0\\\beta &=(1-\mu )\nu ,{\text{ where }}\nu =(\alpha +\beta )>0.\end{aligned}}}
Using this parametrization, one can express the variance in terms of the mean μ and the sample size ν as follows:
var  ( X ) = μ ( 1 − μ ) 1 + ν {\displaystyle \operatorname {var} (X)={\frac {\mu (1-\mu )}{1+\nu }}}
Since ν = (α + β) > 0, it must follow that var(X) < μ(1 − μ)
For a symmetric distribution, the mean is at the middle of the distribution, μ = 1/2, and therefore:
var  ( X ) = 1 4 ( 1 + ν ) if μ = 1 2 {\displaystyle \operatorname {var} (X)={\frac {1}{4(1+\nu )}}{\text{ if }}\mu ={\tfrac {1}{2}}}
Also, the following limits (with only the noted variable approaching the limit) can be obtained from the above expressions:
lim β → 0 var  ( X ) = lim α → 0 var  ( X ) = lim β → ∞ var  ( X ) = lim α → ∞ var  ( X ) = lim ν → ∞ var  ( X ) = lim μ → 0 var  ( X ) = lim μ → 1 var  ( X ) = 0 lim ν → 0 var  ( X ) = μ ( 1 − μ ) {\displaystyle {\begin{aligned}&\lim _{\beta \to 0}\operatorname {var} (X)=\lim _{\alpha \to 0}\operatorname {var} (X)=\lim _{\beta \to \infty }\operatorname {var} (X)=\lim _{\alpha \to \infty }\operatorname {var} (X)=\lim _{\nu \to \infty }\operatorname {var} (X)=\lim _{\mu \to 0}\operatorname {var} (X)=\lim _{\mu \to 1}\operatorname {var} (X)=0\\&\lim _{\nu \to 0}\operatorname {var} (X)=\mu (1-\mu )\end{aligned}}}
Geometric variance and covariance[edit]
log geometric variances vs. α and β
log geometric variances vs. α and β
The logarithm of the geometric variance, ln(varGX), of a distribution with random variable X is the second moment of the logarithm of X centered on the geometric mean of X, (ln(GX):
ln var G X = E  [ ( ln  X − ln  G X ) 2 ] = E  [ ( ln  X − E  [ ln  X ] ) 2 ] = E  [ ( ln  X ) 2 ] − ( E  [ ln  X ] ) 2 = var  [ ln  X ] {\displaystyle {\begin{aligned}\ln \,\operatorname {var} _{GX}&=\operatorname {E} \left[(\ln X-\ln G_{X})^{2}\right]\\&=\operatorname {E} [(\ln X-\operatorname {E} \left[\ln X])^{2}\right]\\&=\operatorname {E} \left[(\ln X)^{2}\right]-(\operatorname {E} [\ln X])^{2}\\&=\operatorname {var} [\ln X]\end{aligned}}}
and therefore, the geometric variance is:
var G X = e var  [ ln  X ] {\displaystyle \operatorname {var} _{GX}=e^{\operatorname {var} [\ln X]}}
In the Fisher information matrix, and the curvature of the log likelihood function, the logarithm of the geometric variance of the reflected variable (1 − X) and the logarithm of the geometric covariance between X and (1 − X) appear:
ln v a r G ( 1 - X ) = E  [ ( ln  ( 1 − X ) − ln  G ( 1 − X ) ) 2 ] = E  [ ( ln  ( 1 − X ) − E  [ ln  ( 1 − X ) ] ) 2 ] = E  [ ( ln  ( 1 − X ) ) 2 ] − ( E  [ ln  ( 1 − X ) ] ) 2 = var  [ ln  ( 1 − X ) ] v a r G ( 1 - X ) = e var  [ ln  ( 1 − X ) ] ln c o v G X , ( 1 - X ) = E  [ ( ln  X − ln  G X ) ( ln  ( 1 − X ) − ln  G ( 1 − X ) ) ] = E  [ ( ln  X − E  [ ln  X ] ) ( ln  ( 1 − X ) − E  [ ln  ( 1 − X ) ] ) ] = E  [ ln  X ln  ( 1 − X ) ] − E  [ ln  X ] E  [ ln  ( 1 − X ) ] = cov  [ ln  X , ln  ( 1 − X ) ] cov G X , ( 1 − X ) = e cov  [ ln  X , ln  ( 1 − X ) ] {\displaystyle {\begin{aligned}\ln \,\operatorname {var_{G(1-X)}} &=\operatorname {E} [(\ln(1-X)-\ln G_{(1-X)})^{2}]\\&=\operatorname {E} [(\ln(1-X)-\operatorname {E} [\ln(1-X)])^{2}]\\&=\operatorname {E} [(\ln(1-X))^{2}]-(\operatorname {E} [\ln(1-X)])^{2}\\&=\operatorname {var} [\ln(1-X)]\\&\\\operatorname {var_{G(1-X)}} &=e^{\operatorname {var} [\ln(1-X)]}\\&\\\ln \,\operatorname {cov_{G{X,(1-X)}}} &=\operatorname {E} [(\ln X-\ln G_{X})(\ln(1-X)-\ln G_{(1-X)})]\\&=\operatorname {E} [(\ln X-\operatorname {E} [\ln X])(\ln(1-X)-\operatorname {E} [\ln(1-X)])]\\&=\operatorname {E} \left[\ln X\ln(1-X)\right]-\operatorname {E} [\ln X]\operatorname {E} [\ln(1-X)]\\&=\operatorname {cov} [\ln X,\ln(1-X)]\\&\\\operatorname {cov} _{G{X,(1-X)}}&=e^{\operatorname {cov} [\ln X,\ln(1-X)]}\end{aligned}}}
For a beta distribution, higher order logarithmic moments can be derived by using the representation of a beta distribution as a proportion of two Gamma distributions and differentiating through the integral. They can be expressed in terms of higher order poly-gamma functions. See the section titled "Other moments, Moments of transformed random variables, Moments of logarithmically transformed random variables". The variance of the logarithmic variables and covariance of lnX and ln(1−X) are:
var  [ ln  X ] = ψ 1 ( α ) − ψ 1 ( α + β ) {\displaystyle \operatorname {var} [\ln X]=\psi _{1}(\alpha )-\psi _{1}(\alpha +\beta )}
var  [ ln  ( 1 − X ) ] = ψ 1 ( β ) − ψ 1 ( α + β ) {\displaystyle \operatorname {var} [\ln(1-X)]=\psi _{1}(\beta )-\psi _{1}(\alpha +\beta )}
cov  [ ln  X , ln  ( 1 − X ) ] = − ψ 1 ( α + β ) {\displaystyle \operatorname {cov} [\ln X,\ln(1-X)]=-\psi _{1}(\alpha +\beta )}
where the trigamma function, denoted ψ1(α), is the second of the polygamma functions, and is defined as the derivative of the digamma function:
ψ 1 ( α ) = d 2 ln  Γ ( α ) d α 2 = d ψ ( α ) d α . {\displaystyle \psi _{1}(\alpha )={\frac {d^{2}\ln \Gamma (\alpha )}{d\alpha ^{2}}}={\frac {d\,\psi (\alpha )}{d\alpha }}.}
Therefore,
ln var G X = var  [ ln  X ] = ψ 1 ( α ) − ψ 1 ( α + β ) {\displaystyle \ln \,\operatorname {var} _{GX}=\operatorname {var} [\ln X]=\psi _{1}(\alpha )-\psi _{1}(\alpha +\beta )}
ln var G ( 1 − X ) = var  [ ln  ( 1 − X ) ] = ψ 1 ( β ) − ψ 1 ( α + β ) {\displaystyle \ln \,\operatorname {var} _{G(1-X)}=\operatorname {var} [\ln(1-X)]=\psi _{1}(\beta )-\psi _{1}(\alpha +\beta )}
ln cov G X , ( 1 − X ) = cov  [ ln  X , ln  ( 1 − X ) ] = − ψ 1 ( α + β ) {\displaystyle \ln \,\operatorname {cov} _{GX,(1-X)}=\operatorname {cov} [\ln X,\ln(1-X)]=-\psi _{1}(\alpha +\beta )}
The accompanying plots show the log geometric variances and log geometric covariance versus the shape parameters α and β. The plots show that the log geometric variances and log geometric covariance are close to zero for shape parameters α and β greater than 2, and that the log geometric variances rapidly rise in value for shape parameter values α and β less than unity. The log geometric variances are positive for all values of the shape parameters. The log geometric covariance is negative for all values of the shape parameters, and it reaches large negative values for α and β less than unity.
Following are the limits with one parameter finite (non-zero) and the other approaching these limits:
lim α → 0 ln var G X = lim β → 0 ln var G ( 1 − X ) = ∞ lim β → 0 ln  var G X = lim α → ∞ ln var G X = lim α → 0 ln var G ( 1 − X ) = lim β → ∞ ln var G ( 1 − X ) = lim α → ∞ ln cov G X , ( 1 − X ) = lim β → ∞ ln cov G X , ( 1 − X ) = 0 lim β → ∞ ln  var G X = ψ 1 ( α ) lim α → ∞ ln  var G ( 1 − X ) = ψ 1 ( β ) lim α → 0 ln  cov G X , ( 1 − X ) = − ψ 1 ( β ) lim β → 0 ln  cov G X , ( 1 − X ) = − ψ 1 ( α ) {\displaystyle {\begin{aligned}&\lim _{\alpha \to 0}\ln \,\operatorname {var} _{GX}=\lim _{\beta \to 0}\ln \,\operatorname {var} _{G(1-X)}=\infty \\&\lim _{\beta \to 0}\ln \operatorname {var} _{GX}=\lim _{\alpha \to \infty }\ln \,\operatorname {var} _{GX}=\lim _{\alpha \to 0}\ln \,\operatorname {var} _{G(1-X)}=\lim _{\beta \to \infty }\ln \,\operatorname {var} _{G(1-X)}=\lim _{\alpha \to \infty }\ln \,\operatorname {cov} _{GX,(1-X)}=\lim _{\beta \to \infty }\ln \,\operatorname {cov} _{GX,(1-X)}=0\\&\lim _{\beta \to \infty }\ln \operatorname {var} _{GX}=\psi _{1}(\alpha )\\&\lim _{\alpha \to \infty }\ln \operatorname {var} _{G(1-X)}=\psi _{1}(\beta )\\&\lim _{\alpha \to 0}\ln \operatorname {cov} _{GX,(1-X)}=-\psi _{1}(\beta )\\&\lim _{\beta \to 0}\ln \operatorname {cov} _{GX,(1-X)}=-\psi _{1}(\alpha )\end{aligned}}}
Limits with two parameters varying:
lim α → ∞ ( lim β → ∞ ln  var G X ) = lim β → ∞ ( lim α → ∞ ln  var G ( 1 − X ) ) = lim α → ∞ ( lim β → 0 ln  cov G X , ( 1 − X ) ) = lim β → ∞ ( lim α → 0 ln  cov G X , ( 1 − X ) ) = 0 lim α → ∞ ( lim β → 0 ln var G X ) = lim β → ∞ ( lim α → 0 ln var G ( 1 − X ) ) = ∞ lim α → 0 ( lim β → 0 ln  cov G X , ( 1 − X ) ) = lim β → 0 ( lim α → 0 ln cov G X , ( 1 − X ) ) = − ∞ {\displaystyle {\begin{aligned}&\lim _{\alpha \to \infty }(\lim _{\beta \to \infty }\ln \operatorname {var} _{GX})=\lim _{\beta \to \infty }(\lim _{\alpha \to \infty }\ln \operatorname {var} _{G(1-X)})=\lim _{\alpha \to \infty }(\lim _{\beta \to 0}\ln \operatorname {cov} _{GX,(1-X)})=\lim _{\beta \to \infty }(\lim _{\alpha \to 0}\ln \operatorname {cov} _{GX,(1-X)})=0\\&\lim _{\alpha \to \infty }(\lim _{\beta \to 0}\ln \,\operatorname {var} _{GX})=\lim _{\beta \to \infty }(\lim _{\alpha \to 0}\ln \,\operatorname {var} _{G(1-X)})=\infty \\&\lim _{\alpha \to 0}(\lim _{\beta \to 0}\ln \operatorname {cov} _{GX,(1-X)})=\lim _{\beta \to 0}(\lim _{\alpha \to 0}\ln \,\operatorname {cov} _{GX,(1-X)})=-\infty \end{aligned}}}
Although both ln(varGX) and ln(varG(1 − X)) are asymmetric, when the shape parameters are equal, α = β, one has: ln(varGX) = ln(varG(1−X)). This equality follows from the following symmetry displayed between both log geometric variances:
ln  var G X  ( B ( α , β ) ) = ln  var G ( 1 − X )  ( B ( β , α ) ) . {\displaystyle \ln \operatorname {var} _{GX}(\mathrm {B} (\alpha ,\beta ))=\ln \operatorname {var} _{G(1-X)}(\mathrm {B} (\beta ,\alpha )).}
The log geometric covariance is symmetric:
ln  cov G X , ( 1 − X )  ( B ( α , β ) ) = ln  cov G X , ( 1 − X )  ( B ( β , α ) ) {\displaystyle \ln \operatorname {cov} _{GX,(1-X)}(\mathrm {B} (\alpha ,\beta ))=\ln \operatorname {cov} _{GX,(1-X)}(\mathrm {B} (\beta ,\alpha ))}
Mean absolute deviation around the mean[edit]
Ratio of Mean Abs.Dev. to Std.Dev. for Beta distribution with α and β ranging from 0 to 5
Ratio of Mean Abs.Dev. to Std.Dev. for Beta distribution with mean 0 ≤ μ ≤ 1 and sample size 0 < ν ≤ 10
The mean absolute deviation around the mean for the beta distribution with shape parameters α and β is:[6]
E  [ | X − E [ X ] | ] = 2 α α β β B ( α , β ) ( α + β ) α + β + 1 {\displaystyle \operatorname {E} [|X-E[X]|]={\frac {2\alpha ^{\alpha }\beta ^{\beta }}{\mathrm {B} (\alpha ,\beta )(\alpha +\beta )^{\alpha +\beta +1}}}}
The mean absolute deviation around the mean is a more robust estimator of statistical dispersion than the standard deviation for beta distributions with tails and inflection points at each side of the mode, Beta(α, β) distributions with α,β > 2, as it depends on the linear (absolute) deviations rather than the square deviations from the mean. Therefore, the effect of very large deviations from the mean are not as overly weighted.
Using Stirling's approximation to the Gamma function, N.L.Johnson and S.Kotz[1] derived the following approximation for values of the shape parameters greater than unity (the relative error for this approximation is only −3.5% for α = β = 1, and it decreases to zero as α → ∞, β → ∞):
mean abs. dev. from mean standard deviation = E  [ | X − E [ X ] | ] var  ( X ) ≈ 2 π ( 1 + 7 12 ( α + β ) − 1 12 α − 1 12 β ) , if α , β > 1. {\displaystyle {\begin{aligned}{\frac {\text{mean abs. dev. from mean}}{\text{standard deviation}}}&={\frac {\operatorname {E} [|X-E[X]|]}{\sqrt {\operatorname {var} (X)}}}\\&\approx {\sqrt {\frac {2}{\pi }}}\left(1+{\frac {7}{12(\alpha +\beta )}}{}-{\frac {1}{12\alpha }}-{\frac {1}{12\beta }}\right),{\text{ if }}\alpha ,\beta >1.\end{aligned}}}
At the limit α → ∞, β → ∞, the ratio of the mean absolute deviation to the standard deviation (for the beta distribution) becomes equal to the ratio of the same measures for the normal distribution: 2 π {\displaystyle {\sqrt {\frac {2}{\pi }}}} . For α = β = 1 this ratio equals 3 2 {\displaystyle {\frac {\sqrt {3}}{2}}} , so that from α = β = 1 to α, β → ∞ the ratio decreases by 8.5%. For α = β = 0 the standard deviation is exactly equal to the mean absolute deviation around the mean. Therefore, this ratio decreases by 15% from α = β = 0 to α = β = 1, and by 25% from α = β = 0 to α, β → ∞ . However, for skewed beta distributions such that α → 0 or β → 0, the ratio of the standard deviation to the mean absolute deviation approaches infinity (although each of them, individually, approaches zero) because the mean absolute deviation approaches zero faster than the standard deviation.
Using the parametrization in terms of mean μ and sample size ν = α + β > 0:
α = μν, β = (1−μ)ν
one can express the mean absolute deviation around the mean in terms of the mean μ and the sample size ν as follows:
E  [ | X − E [ X ] | ] = 2 μ μ ν ( 1 − μ ) ( 1 − μ ) ν ν B ( μ ν , ( 1 − μ ) ν ) {\displaystyle \operatorname {E} [|X-E[X]|]={\frac {2\mu ^{\mu \nu }(1-\mu )^{(1-\mu )\nu }}{\nu \mathrm {B} (\mu \nu ,(1-\mu )\nu )}}}
For a symmetric distribution, the mean is at the middle of the distribution, μ = 1/2, and therefore:
E  [ | X − E [ X ] | ] = 2 1 − ν ν B ( ν 2 , ν 2 ) = 2 1 − ν Γ ( ν ) ν ( Γ ( ν 2 ) ) 2 lim ν → 0 ( lim μ → 1 2 E  [ | X − E [ X ] | ] ) = 1 2 lim ν → ∞ ( lim μ → 1 2 E  [ | X − E [ X ] | ] ) = 0 {\displaystyle {\begin{aligned}\operatorname {E} [|X-E[X]|]={\frac {2^{1-\nu }}{\nu \mathrm {B} ({\tfrac {\nu }{2}},{\tfrac {\nu }{2}})}}&={\frac {2^{1-\nu }\Gamma (\nu )}{\nu (\Gamma ({\tfrac {\nu }{2}}))^{2}}}\\\lim _{\nu \to 0}\left(\lim _{\mu \to {\frac {1}{2}}}\operatorname {E} [|X-E[X]|]\right)&={\tfrac {1}{2}}\\\lim _{\nu \to \infty }\left(\lim _{\mu \to {\frac {1}{2}}}\operatorname {E} [|X-E[X]|]\right)&=0\end{aligned}}}
Also, the following limits (with only the noted variable approaching the limit) can be obtained from the above expressions:
lim β → 0 E  [ | X − E [ X ] | ] = lim α → 0 E  [ | X − E [ X ] | ] = 0 lim β → ∞ E  [ | X − E [ X ] | ] = lim α → ∞ E  [ | X − E [ X ] | ] = 0 lim μ → 0 E  [ | X − E [ X ] | ] = lim μ → 1 E  [ | X − E [ X ] | ] = 0 lim ν → 0 E  [ | X − E [ X ] | ] = μ ( 1 − μ ) lim ν → ∞ E  [ | X − E [ X ] | ] = 0 {\displaystyle {\begin{aligned}\lim _{\beta \to 0}\operatorname {E} [|X-E[X]|]&=\lim _{\alpha \to 0}\operatorname {E} [|X-E[X]|]=0\\\lim _{\beta \to \infty }\operatorname {E} [|X-E[X]|]&=\lim _{\alpha \to \infty }\operatorname {E} [|X-E[X]|]=0\\\lim _{\mu \to 0}\operatorname {E} [|X-E[X]|]&=\lim _{\mu \to 1}\operatorname {E} [|X-E[X]|]=0\\\lim _{\nu \to 0}\operatorname {E} [|X-E[X]|]&={\sqrt {\mu (1-\mu )}}\\\lim _{\nu \to \infty }\operatorname {E} [|X-E[X]|]&=0\end{aligned}}}
Mean absolute difference[edit]
The mean absolute difference for the Beta distribution is:
M D = ∫ 0 1 ∫ 0 1 f ( x ; α , β ) f ( y ; α , β ) | x − y | d x d y = ( 4 α + β ) B ( α + β , α + β ) B ( α , α ) B ( β , β ) {\displaystyle \mathrm {MD} =\int _{0}^{1}\int _{0}^{1}f(x;\alpha ,\beta )\,f(y;\alpha ,\beta )\,|x-y|\,dx\,dy=\left({\frac {4}{\alpha +\beta }}\right){\frac {B(\alpha +\beta ,\alpha +\beta )}{B(\alpha ,\alpha )B(\beta ,\beta )}}}
The Gini coefficient for the Beta distribution is half of the relative mean absolute difference:
G = ( 2 α ) B ( α + β , α + β ) B ( α , α ) B ( β , β ) {\displaystyle \mathrm {G} =\left({\frac {2}{\alpha }}\right){\frac {B(\alpha +\beta ,\alpha +\beta )}{B(\alpha ,\alpha )B(\beta ,\beta )}}}
Skewness[edit]
Skewness for Beta Distribution as a function of variance and mean
The skewness (the third moment centered on the mean, normalized by the 3/2 power of the variance) of the beta distribution is[1]
γ 1 = E  [ ( X − μ ) 3 ] ( var  ( X ) ) 3 / 2 = 2 ( β − α ) α + β + 1 ( α + β + 2 ) α β . {\displaystyle \gamma _{1}={\frac {\operatorname {E} [(X-\mu )^{3}]}{(\operatorname {var} (X))^{3/2}}}={\frac {2(\beta -\alpha ){\sqrt {\alpha +\beta +1}}}{(\alpha +\beta +2){\sqrt {\alpha \beta }}}}.}
Letting α = β in the above expression one obtains γ1 = 0, showing once again that for α = β the distribution is symmetric and hence the skewness is zero. Positive skew (right-tailed) for α < β, negative skew (left-tailed) for α > β.
Using the parametrization in terms of mean μ and sample size ν = α + β:
α = μ ν , where ν = ( α + β ) > 0 β = ( 1 − μ ) ν , where ν = ( α + β ) > 0. {\displaystyle {\begin{aligned}\alpha &{}=\mu \nu ,{\text{ where }}\nu =(\alpha +\beta )>0\\\beta &{}=(1-\mu )\nu ,{\text{ where }}\nu =(\alpha +\beta )>0.\end{aligned}}}
one can express the skewness in terms of the mean μ and the sample size ν as follows:
γ 1 = E  [ ( X − μ ) 3 ] ( var  ( X ) ) 3 / 2 = 2 ( 1 − 2 μ ) 1 + ν ( 2 + ν ) μ ( 1 − μ ) . {\displaystyle \gamma _{1}={\frac {\operatorname {E} [(X-\mu )^{3}]}{(\operatorname {var} (X))^{3/2}}}={\frac {2(1-2\mu ){\sqrt {1+\nu }}}{(2+\nu ){\sqrt {\mu (1-\mu )}}}}.}
The skewness can also be expressed just in terms of the variance var and the mean μ as follows:
γ 1 = E  [ ( X − μ ) 3 ] ( var  ( X ) ) 3 / 2 = 2 ( 1 − 2 μ ) var μ ( 1 − μ ) + var if var < μ ( 1 − μ ) {\displaystyle \gamma _{1}={\frac {\operatorname {E} [(X-\mu )^{3}]}{(\operatorname {var} (X))^{3/2}}}={\frac {2(1-2\mu ){\sqrt {\text{ var }}}}{\mu (1-\mu )+\operatorname {var} }}{\text{ if }}\operatorname {var} <\mu (1-\mu )}
The accompanying plot of skewness as a function of variance and mean shows that maximum variance (1/4) is coupled with zero skewness and the symmetry condition (μ = 1/2), and that maximum skewness (positive or negative infinity) occurs when the mean is located at one end or the other, so that the "mass" of the probability distribution is concentrated at the ends (minimum variance).
The following expression for the square of the skewness, in terms of the sample size ν = α + β and the variance var, is useful for the method of moments estimation of four parameters:
( γ 1 ) 2 = ( E  [ ( X − μ ) 3 ] ) 2 ( var  ( X ) ) 3 = 4 ( 2 + ν ) 2 ( 1 var − 4 ( 1 + ν ) ) {\displaystyle (\gamma _{1})^{2}={\frac {(\operatorname {E} [(X-\mu )^{3}])^{2}}{(\operatorname {var} (X))^{3}}}={\frac {4}{(2+\nu )^{2}}}{\bigg (}{\frac {1}{\text{var}}}-4(1+\nu ){\bigg )}}
This expression correctly gives a skewness of zero for α = β, since in that case (see section titled "Variance"): var = 1 4 ( 1 + ν ) {\displaystyle \operatorname {var} ={\frac {1}{4(1+\nu )}}} .
For the symmetric case (α = β), skewness = 0 over the whole range, and the following limits apply:
lim α = β → 0 γ 1 = lim α = β → ∞ γ 1 = lim ν → 0 γ 1 = lim ν → ∞ γ 1 = lim μ → 1 2 γ 1 = 0 {\displaystyle \lim _{\alpha =\beta \to 0}\gamma _{1}=\lim _{\alpha =\beta \to \infty }\gamma _{1}=\lim _{\nu \to 0}\gamma _{1}=\lim _{\nu \to \infty }\gamma _{1}=\lim _{\mu \to {\frac {1}{2}}}\gamma _{1}=0}
For the asymmetric cases (α ≠ β) the following limits (with only the noted variable approaching the limit) can be obtained from the above expressions:
lim α → 0 γ 1 = lim μ → 0 γ 1 = ∞ lim β → 0 γ 1 = lim μ → 1 γ 1 = − ∞ lim α → ∞ γ 1 = − 2 β , lim β → 0 ( lim α → ∞ γ 1 ) = − ∞ , lim β → ∞ ( lim α → ∞ γ 1 ) = 0 lim β → ∞ γ 1 = 2 α , lim α → 0 ( lim β → ∞ γ 1 ) = ∞ , lim α → ∞ ( lim β → ∞ γ 1 ) = 0 lim ν → 0 γ 1 = 1 − 2 μ μ ( 1 − μ ) , lim μ → 0 ( lim ν → 0 γ 1 ) = ∞ , lim μ → 1 ( lim ν → 0 γ 1 ) = − ∞ {\displaystyle {\begin{aligned}&\lim _{\alpha \to 0}\gamma _{1}=\lim _{\mu \to 0}\gamma _{1}=\infty \\&\lim _{\beta \to 0}\gamma _{1}=\lim _{\mu \to 1}\gamma _{1}=-\infty \\&\lim _{\alpha \to \infty }\gamma _{1}=-{\frac {2}{\beta }},\quad \lim _{\beta \to 0}(\lim _{\alpha \to \infty }\gamma _{1})=-\infty ,\quad \lim _{\beta \to \infty }(\lim _{\alpha \to \infty }\gamma _{1})=0\\&\lim _{\beta \to \infty }\gamma _{1}={\frac {2}{\alpha }},\quad \lim _{\alpha \to 0}(\lim _{\beta \to \infty }\gamma _{1})=\infty ,\quad \lim _{\alpha \to \infty }(\lim _{\beta \to \infty }\gamma _{1})=0\\&\lim _{\nu \to 0}\gamma _{1}={\frac {1-2\mu }{\sqrt {\mu (1-\mu )}}},\quad \lim _{\mu \to 0}(\lim _{\nu \to 0}\gamma _{1})=\infty ,\quad \lim _{\mu \to 1}(\lim _{\nu \to 0}\gamma _{1})=-\infty \end{aligned}}}
Kurtosis[edit]
Excess Kurtosis for Beta Distribution as a function of variance and mean
The beta distribution has been applied in acoustic analysis to assess damage to gears, as the kurtosis of the beta distribution has been reported to be a good indicator of the condition of a gear.[16] Kurtosis has also been used to distinguish the seismic signal generated by a person's footsteps from other signals. As persons or other targets moving on the ground generate continuous signals in the form of seismic waves, one can separate different targets based on the seismic waves they generate. Kurtosis is sensitive to impulsive signals, so it's much more sensitive to the signal generated by human footsteps than other signals generated by vehicles, winds, noise, etc.[17] Unfortunately, the notation for kurtosis has not been standardized. Kenney and Keeping[18] use the symbol γ2 for the excess kurtosis, but Abramowitz and Stegun[19] use different terminology. To prevent confusion[20] between kurtosis (the fourth moment centered on the mean, normalized by the square of the variance) and excess kurtosis, when using symbols, they will be spelled out as follows:[6][7]
excess kurtosis = kurtosis − 3 = E  [ ( X − μ ) 4 ] ( var  ( X ) ) 2 − 3 = 6 [ α 3 − α 2 ( 2 β − 1 ) + β 2 ( β + 1 ) − 2 α β ( β + 2 ) ] α β ( α + β + 2 ) ( α + β + 3 ) = 6 [ ( α − β ) 2 ( α + β + 1 ) − α β ( α + β + 2 ) ] α β ( α + β + 2 ) ( α + β + 3 ) . {\displaystyle {\begin{aligned}{\text{excess kurtosis}}&={\text{kurtosis}}-3\\&={\frac {\operatorname {E} [(X-\mu )^{4}]}{(\operatorname {var} (X))^{2}}}-3\\&={\frac {6[\alpha ^{3}-\alpha ^{2}(2\beta -1)+\beta ^{2}(\beta +1)-2\alpha \beta (\beta +2)]}{\alpha \beta (\alpha +\beta +2)(\alpha +\beta +3)}}\\&={\frac {6[(\alpha -\beta )^{2}(\alpha +\beta +1)-\alpha \beta (\alpha +\beta +2)]}{\alpha \beta (\alpha +\beta +2)(\alpha +\beta +3)}}.\end{aligned}}}
Letting α = β in the above expression one obtains
excess kurtosis = − 6 3 + 2 α if α = β {\displaystyle {\text{excess kurtosis}}=-{\frac {6}{3+2\alpha }}{\text{ if }}\alpha =\beta } .
Therefore, for symmetric beta distributions, the excess kurtosis is negative, increasing from a minimum value of −2 at the limit as {α = β} → 0, and approaching a maximum value of zero as {α = β} → ∞. The value of −2 is the minimum value of excess kurtosis that any distribution (not just beta distributions, but any distribution of any possible kind) can ever achieve. This minimum value is reached when all the probability density is entirely concentrated at each end x = 0 and x = 1, with nothing in between: a 2-point Bernoulli distribution with equal probability 1/2 at each end (a coin toss: see section below "Kurtosis bounded by the square of the skewness" for further discussion). The description of kurtosis as a measure of the "potential outliers" (or "potential rare, extreme values") of the probability distribution, is correct for all distributions including the beta distribution. When rare, extreme values can occur in the beta distribution, the higher its kurtosis; otherwise, the kurtosis is lower. For α ≠ β, skewed beta distributions, the excess kurtosis can reach unlimited positive values (particularly for α → 0 for finite β, or for β → 0 for finite α) because the side away from the mode will produce occasional extreme values. Minimum kurtosis takes place when the mass density is concentrated equally at each end (and therefore the mean is at the center), and there is no probability mass density in between the ends.
Using the parametrization in terms of mean μ and sample size ν = α + β:
α = μ ν , where ν = ( α + β ) > 0 β = ( 1 − μ ) ν , where ν = ( α + β ) > 0. {\displaystyle {\begin{aligned}\alpha &{}=\mu \nu ,{\text{ where }}\nu =(\alpha +\beta )>0\\\beta &{}=(1-\mu )\nu ,{\text{ where }}\nu =(\alpha +\beta )>0.\end{aligned}}}
one can express the excess kurtosis in terms of the mean μ and the sample size ν as follows:
excess kurtosis = 6 3 + ν ( ( 1 − 2 μ ) 2 ( 1 + ν ) μ ( 1 − μ ) ( 2 + ν ) − 1 ) {\displaystyle {\text{excess kurtosis}}={\frac {6}{3+\nu }}{\bigg (}{\frac {(1-2\mu )^{2}(1+\nu )}{\mu (1-\mu )(2+\nu )}}-1{\bigg )}}
The excess kurtosis can also be expressed in terms of just the following two parameters: the variance var, and the sample size ν as follows:
excess kurtosis = 6 ( 3 + ν ) ( 2 + ν ) ( 1 var − 6 − 5 ν ) if var < μ ( 1 − μ ) {\displaystyle {\text{excess kurtosis}}={\frac {6}{(3+\nu )(2+\nu )}}\left({\frac {1}{\text{ var }}}-6-5\nu \right){\text{ if }}{\text{ var }}<\mu (1-\mu )}
and, in terms of the variance var and the mean μ as follows:
excess kurtosis = 6 var ( 1 − var − 5 μ ( 1 − μ ) ) ( var + μ ( 1 − μ ) ) ( 2 var + μ ( 1 − μ ) ) if var < μ ( 1 − μ ) {\displaystyle {\text{excess kurtosis}}={\frac {6{\text{ var }}(1-{\text{ var }}-5\mu (1-\mu ))}{({\text{var }}+\mu (1-\mu ))(2{\text{ var }}+\mu (1-\mu ))}}{\text{ if }}{\text{ var }}<\mu (1-\mu )}
The plot of excess kurtosis as a function of the variance and the mean shows that the minimum value of the excess kurtosis (−2, which is the minimum possible value for excess kurtosis for any distribution) is intimately coupled with the maximum value of variance (1/4) and the symmetry condition: the mean occurring at the midpoint (μ = 1/2). This occurs for the symmetric case of α = β = 0, with zero skewness. At the limit, this is the 2 point Bernoulli distribution with equal probability 1/2 at each Dirac delta function end x = 0 and x = 1 and zero probability everywhere else. (A coin toss: one face of the coin being x = 0 and the other face being x = 1.) Variance is maximum because the distribution is bimodal with nothing in between the two modes (spikes) at each end. Excess kurtosis is minimum: the probability density "mass" is zero at the mean and it is concentrated at the two peaks at each end. Excess kurtosis reaches the minimum possible value (for any distribution) when the probability density function has two spikes at each end: it is bi-"peaky" with nothing in between them.
On the other hand, the plot shows that for extreme skewed cases, where the mean is located near one or the other end (μ = 0 or μ = 1), the variance is close to zero, and the excess kurtosis rapidly approaches infinity when the mean of the distribution approaches either end.
Alternatively, the excess kurtosis can also be expressed in terms of just the following two parameters: the square of the skewness, and the sample size ν as follows:
excess kurtosis = 6 3 + ν ( ( 2 + ν ) 4 ( skewness ) 2 − 1 ) if (skewness) 2 − 2 < excess kurtosis < 3 2 ( skewness ) 2 {\displaystyle {\text{excess kurtosis}}={\frac {6}{3+\nu }}{\bigg (}{\frac {(2+\nu )}{4}}({\text{skewness}})^{2}-1{\bigg )}{\text{ if (skewness)}}^{2}-2<{\text{excess kurtosis}}<{\frac {3}{2}}({\text{skewness}})^{2}}
From this last expression, one can obtain the same limits published practically a century ago by Karl Pearson in his paper,[21] for the beta distribution (see section below titled "Kurtosis bounded by the square of the skewness"). Setting α + β= ν = 0 in the above expression, one obtains Pearson's lower boundary (values for the skewness and excess kurtosis below the boundary (excess kurtosis + 2 − skewness2 = 0) cannot occur for any distribution, and hence Karl Pearson appropriately called the region below this boundary the "impossible region"). The limit of α + β = ν → ∞ determines Pearson's upper boundary.
lim ν → 0 excess kurtosis = ( skewness ) 2 − 2 lim ν → ∞ excess kurtosis = 3 2 ( skewness ) 2 {\displaystyle {\begin{aligned}&\lim _{\nu \to 0}{\text{excess kurtosis}}=({\text{skewness}})^{2}-2\\&\lim _{\nu \to \infty }{\text{excess kurtosis}}={\tfrac {3}{2}}({\text{skewness}})^{2}\end{aligned}}}
therefore:
( skewness ) 2 − 2 < excess kurtosis < 3 2 ( skewness ) 2 {\displaystyle ({\text{skewness}})^{2}-2<{\text{excess kurtosis}}<{\tfrac {3}{2}}({\text{skewness}})^{2}}
Values of ν = α + β such that ν ranges from zero to infinity, 0 < ν < ∞, span the whole region of the beta distribution in the plane of excess kurtosis versus squared skewness.
For the symmetric case (α = β), the following limits apply:
lim α = β → 0 excess kurtosis = − 2 lim α = β → ∞ excess kurtosis = 0 lim μ → 1 2 excess kurtosis = − 6 3 + ν {\displaystyle {\begin{aligned}&\lim _{\alpha =\beta \to 0}{\text{excess kurtosis}}=-2\\&\lim _{\alpha =\beta \to \infty }{\text{excess kurtosis}}=0\\&\lim _{\mu \to {\frac {1}{2}}}{\text{excess kurtosis}}=-{\frac {6}{3+\nu }}\end{aligned}}}
For the unsymmetric cases (α ≠ β) the following limits (with only the noted variable approaching the limit) can be obtained from the above expressions:
lim α → 0 excess kurtosis = lim β → 0 excess kurtosis = lim μ → 0 excess kurtosis = lim μ → 1 excess kurtosis = ∞ lim α → ∞ excess kurtosis = 6 β , lim β → 0 ( lim α → ∞ excess kurtosis ) = ∞ , lim β → ∞ ( lim α → ∞ excess kurtosis ) = 0 lim β → ∞ excess kurtosis = 6 α , lim α → 0 ( lim β → ∞ excess kurtosis ) = ∞ , lim α → ∞ ( lim β → ∞ excess kurtosis ) = 0 lim ν → 0 excess kurtosis = − 6 + 1 μ ( 1 − μ ) , lim μ → 0 ( lim ν → 0 excess kurtosis ) = ∞ , lim μ → 1 ( lim ν → 0 excess kurtosis ) = ∞ {\displaystyle {\begin{aligned}&\lim _{\alpha \to 0}{\text{excess kurtosis}}=\lim _{\beta \to 0}{\text{excess kurtosis}}=\lim _{\mu \to 0}{\text{excess kurtosis}}=\lim _{\mu \to 1}{\text{excess kurtosis}}=\infty \\&\lim _{\alpha \to \infty }{\text{excess kurtosis}}={\frac {6}{\beta }},{\text{ }}\lim _{\beta \to 0}(\lim _{\alpha \to \infty }{\text{excess kurtosis}})=\infty ,{\text{ }}\lim _{\beta \to \infty }(\lim _{\alpha \to \infty }{\text{excess kurtosis}})=0\\&\lim _{\beta \to \infty }{\text{excess kurtosis}}={\frac {6}{\alpha }},{\text{ }}\lim _{\alpha \to 0}(\lim _{\beta \to \infty }{\text{excess kurtosis}})=\infty ,{\text{ }}\lim _{\alpha \to \infty }(\lim _{\beta \to \infty }{\text{excess kurtosis}})=0\\&\lim _{\nu \to 0}{\text{excess kurtosis}}=-6+{\frac {1}{\mu (1-\mu )}},{\text{ }}\lim _{\mu \to 0}(\lim _{\nu \to 0}{\text{excess kurtosis}})=\infty ,{\text{ }}\lim _{\mu \to 1}(\lim _{\nu \to 0}{\text{excess kurtosis}})=\infty \end{aligned}}}
Characteristic function[edit]
Re(characteristic function) symmetric case α = β ranging from 25 to 0
Re(characteristic function) symmetric case α = β ranging from 0 to 25
Re(characteristic function) β = α + 1/2; α ranging from 25 to 0
Re(characteristic function) α = β + 1/2; β ranging from 25 to 0
Re(characteristic function) α = β + 1/2; β ranging from 0 to 25
The characteristic function is the Fourier transform of the probability density function. The characteristic function of the beta distribution is Kummer's confluent hypergeometric function (of the first kind):[1][19][22]
φ X ( α ; β ; t ) = E  [ e i t X ] = ∫ 0 1 e i t x f ( x ; α , β ) d x = 1 F 1 ( α ; α + β ; i t ) = ∑ n = 0 ∞ α ( n ) ( i t ) n ( α + β ) ( n ) n ! = 1 + ∑ k = 1 ∞ ( ∏ r = 0 k − 1 α + r α + β + r ) ( i t ) k k ! {\displaystyle {\begin{aligned}\varphi _{X}(\alpha ;\beta ;t)&=\operatorname {E} \left[e^{itX}\right]\\&=\int _{0}^{1}e^{itx}f(x;\alpha ,\beta )dx\\&={}_{1}F_{1}(\alpha ;\alpha +\beta ;it)\!\\&=\sum _{n=0}^{\infty }{\frac {\alpha ^{(n)}(it)^{n}}{(\alpha +\beta )^{(n)}n!}}\\&=1+\sum _{k=1}^{\infty }\left(\prod _{r=0}^{k-1}{\frac {\alpha +r}{\alpha +\beta +r}}\right){\frac {(it)^{k}}{k!}}\end{aligned}}}
where
x ( n ) = x ( x + 1 ) ( x + 2 ) ⋯ ( x + n − 1 ) {\displaystyle x^{(n)}=x(x+1)(x+2)\cdots (x+n-1)}
is the rising factorial, also called the "Pochhammer symbol". The value of the characteristic function for t = 0, is one:
φ X ( α ; β ; 0 ) = 1 F 1 ( α ; α + β ; 0 ) = 1 {\displaystyle \varphi _{X}(\alpha ;\beta ;0)={}_{1}F_{1}(\alpha ;\alpha +\beta ;0)=1} .
Also, the real and imaginary parts of the characteristic function enjoy the following symmetries with respect to the origin of variable t:
Re [ 1 F 1 ( α ; α + β ; i t ) ] = Re [ 1 F 1 ( α ; α + β ; − i t ) ] {\displaystyle {\textrm {Re}}\left[{}_{1}F_{1}(\alpha ;\alpha +\beta ;it)\right]={\textrm {Re}}\left[{}_{1}F_{1}(\alpha ;\alpha +\beta ;-it)\right]}
Im [ 1 F 1 ( α ; α + β ; i t ) ] = − Im [ 1 F 1 ( α ; α + β ; − i t ) ] {\displaystyle {\textrm {Im}}\left[{}_{1}F_{1}(\alpha ;\alpha +\beta ;it)\right]=-{\textrm {Im}}\left[{}_{1}F_{1}(\alpha ;\alpha +\beta ;-it)\right]}
The symmetric case α = β simplifies the characteristic function of the beta distribution to a Bessel function, since in the special case α + β = 2α the confluent hypergeometric function (of the first kind) reduces to a Bessel function (the modified Bessel function of the first kind I α − 1 2 {\displaystyle I_{\alpha -{\frac {1}{2}}}} ) using Kummer's second transformation as follows:
1 F 1 ( α ; 2 α ; i t ) = e i t 2 0 F 1 ( ; α + 1 2 ; ( i t ) 2 16 ) = e i t 2 ( i t 4 ) 1 2 − α Γ ( α + 1 2 ) I α − 1 2 ( i t 2 ) . {\displaystyle {\begin{aligned}{}_{1}F_{1}(\alpha ;2\alpha ;it)&=e^{\frac {it}{2}}{}_{0}F_{1}\left(;\alpha +{\tfrac {1}{2}};{\frac {(it)^{2}}{16}}\right)\\&=e^{\frac {it}{2}}\left({\frac {it}{4}}\right)^{{\frac {1}{2}}-\alpha }\Gamma \left(\alpha +{\tfrac {1}{2}}\right)I_{\alpha -{\frac {1}{2}}}\left({\frac {it}{2}}\right).\end{aligned}}}
In the accompanying plots, the real part (Re) of the characteristic function of the beta distribution is displayed for symmetric (α = β) and skewed (α ≠ β) cases.
Other moments[edit]
Moment generating function[edit]
It also follows[1][6] that the moment generating function is
M X ( α ; β ; t ) = E  [ e t X ] = ∫ 0 1 e t x f ( x ; α , β ) d x = 1 F 1 ( α ; α + β ; t ) = ∑ n = 0 ∞ α ( n ) ( α + β ) ( n ) t n n ! = 1 + ∑ k = 1 ∞ ( ∏ r = 0 k − 1 α + r α + β + r ) t k k ! {\displaystyle {\begin{aligned}M_{X}(\alpha ;\beta ;t)&=\operatorname {E} \left[e^{tX}\right]\\&=\int _{0}^{1}e^{tx}f(x;\alpha ,\beta )\,dx\\&={}_{1}F_{1}(\alpha ;\alpha +\beta ;t)\\&=\sum _{n=0}^{\infty }{\frac {\alpha ^{(n)}}{(\alpha +\beta )^{(n)}}}{\frac {t^{n}}{n!}}\\&=1+\sum _{k=1}^{\infty }\left(\prod _{r=0}^{k-1}{\frac {\alpha +r}{\alpha +\beta +r}}\right){\frac {t^{k}}{k!}}\end{aligned}}}
In particular MX(α; β; 0) = 1.
Higher moments[edit]
Using the moment generating function, the k-th raw moment is given by[1] the factor
∏ r = 0 k − 1 α + r α + β + r {\displaystyle \prod _{r=0}^{k-1}{\frac {\alpha +r}{\alpha +\beta +r}}}
multiplying the (exponential series) term ( t k k ! ) {\displaystyle \left({\frac {t^{k}}{k!}}\right)} in the series of the moment generating function
E  [ X k ] = α ( k ) ( α + β ) ( k ) = ∏ r = 0 k − 1 α + r α + β + r {\displaystyle \operatorname {E} [X^{k}]={\frac {\alpha ^{(k)}}{(\alpha +\beta )^{(k)}}}=\prod _{r=0}^{k-1}{\frac {\alpha +r}{\alpha +\beta +r}}}
where (x)(k) is a Pochhammer symbol representing rising factorial. It can also be written in a recursive form as
E  [ X k ] = α + k − 1 α + β + k − 1 E  [ X k − 1 ] . {\displaystyle \operatorname {E} [X^{k}]={\frac {\alpha +k-1}{\alpha +\beta +k-1}}\operatorname {E} [X^{k-1}].}
Since the moment generating function M X ( α ; β ; ⋅ ) {\displaystyle M_{X}(\alpha ;\beta ;\cdot )} has a positive radius of convergence, the beta distribution is determined by its moments.[23]
Moments of transformed random variables[edit]
Moments of linearly transformed, product and inverted random variables[edit]
One can also show the following expectations for a transformed random variable,[1] where the random variable X is Beta-distributed with parameters α and β: X ~ Beta(α, β). The expected value of the variable (1−X) is the mirror-symmetry of the expected value based on X:
E  [ 1 − X ] = β α + β E  [ X ( 1 − X ) ] = E  [ ( 1 − X ) X ] = α β ( α + β ) ( α + β + 1 ) {\displaystyle {\begin{aligned}&\operatorname {E} [1-X]={\frac {\beta }{\alpha +\beta }}\\&\operatorname {E} [X(1-X)]=\operatorname {E} [(1-X)X]={\frac {\alpha \beta }{(\alpha +\beta )(\alpha +\beta +1)}}\end{aligned}}}
Due to the mirror-symmetry of the probability density function of the beta distribution, the variances based on variables X and (1−X) are identical, and the covariance on X(1-X) is the negative of the variance:
var  [ ( 1 − X ) ] = var  [ X ] = − cov  [ X , ( 1 − X ) ] = α β ( α + β ) 2 ( α + β + 1 ) {\displaystyle \operatorname {var} [(1-X)]=\operatorname {var} [X]=-\operatorname {cov} [X,(1-X)]={\frac {\alpha \beta }{(\alpha +\beta )^{2}(\alpha +\beta +1)}}}
These are the expected values for inverted variables, (these are related to the harmonic means, see section titled "Harmonic mean"):
E  [ 1 X ] = α + β − 1 α − 1 if α > 1 E  [ 1 1 − X ] = α + β − 1 β − 1 if β > 1 {\displaystyle {\begin{aligned}&\operatorname {E} \left[{\frac {1}{X}}\right]={\frac {\alpha +\beta -1}{\alpha -1}}{\text{ if }}\alpha >1\\&\operatorname {E} \left[{\frac {1}{1-X}}\right]={\frac {\alpha +\beta -1}{\beta -1}}{\text{ if }}\beta >1\end{aligned}}}
The following transformation by dividing the variable X by its mirror-image X/(1−X) results in the expected value of the "inverted beta distribution" or beta prime distribution (also known as beta distribution of the second kind or Pearson's Type VI):[1]
E  [ X 1 − X ] = α β − 1 if β > 1 E  [ 1 − X X ] = β α − 1 if α > 1 {\displaystyle {\begin{aligned}&\operatorname {E} \left[{\frac {X}{1-X}}\right]={\frac {\alpha }{\beta -1}}{\text{ if }}\beta >1\\&\operatorname {E} \left[{\frac {1-X}{X}}\right]={\frac {\beta }{\alpha -1}}{\text{ if }}\alpha >1\end{aligned}}}
Variances of these transformed variables can be obtained by integration, as the expected values of the second moments centered on the corresponding variables:
var  [ 1 X ] = E  [ ( 1 X − E  [ 1 X ] ) 2 ] = {\displaystyle \operatorname {var} \left[{\frac {1}{X}}\right]=\operatorname {E} \left[\left({\frac {1}{X}}-\operatorname {E} \left[{\frac {1}{X}}\right]\right)^{2}\right]=}
var  [ 1 − X X ] = E  [ ( 1 − X X − E  [ 1 − X X ] ) 2 ] = β ( α + β − 1 ) ( α − 2 ) ( α − 1 ) 2 if α > 2 {\displaystyle \operatorname {var} \left[{\frac {1-X}{X}}\right]=\operatorname {E} \left[\left({\frac {1-X}{X}}-\operatorname {E} \left[{\frac {1-X}{X}}\right]\right)^{2}\right]={\frac {\beta (\alpha +\beta -1)}{(\alpha -2)(\alpha -1)^{2}}}{\text{ if }}\alpha >2}
The following variance of the variable X divided by its mirror-image (X/(1−X) results in the variance of the "inverted beta distribution" or beta prime distribution (also known as beta distribution of the second kind or Pearson's Type VI):[1]
var  [ 1 1 − X ] = E  [ ( 1 1 − X − E  [ 1 1 − X ] ) 2 ] = var  [ X 1 − X ] = {\displaystyle \operatorname {var} \left[{\frac {1}{1-X}}\right]=\operatorname {E} \left[\left({\frac {1}{1-X}}-\operatorname {E} \left[{\frac {1}{1-X}}\right]\right)^{2}\right]=\operatorname {var} \left[{\frac {X}{1-X}}\right]=}
E  [ ( X 1 − X − E  [ X 1 − X ] ) 2 ] = α ( α + β − 1 ) ( β − 2 ) ( β − 1 ) 2 if β > 2 {\displaystyle \operatorname {E} \left[\left({\frac {X}{1-X}}-\operatorname {E} \left[{\frac {X}{1-X}}\right]\right)^{2}\right]={\frac {\alpha (\alpha +\beta -1)}{(\beta -2)(\beta -1)^{2}}}{\text{ if }}\beta >2}
The covariances are:
cov  [ 1 X , 1 1 − X ] = cov  [ 1 − X X , X 1 − X ] = cov  [ 1 X , X 1 − X ] = cov  [ 1 − X X , 1 1 − X ] = α + β − 1 ( α − 1 ) ( β − 1 ) if α , β > 1 {\displaystyle \operatorname {cov} \left[{\frac {1}{X}},{\frac {1}{1-X}}\right]=\operatorname {cov} \left[{\frac {1-X}{X}},{\frac {X}{1-X}}\right]=\operatorname {cov} \left[{\frac {1}{X}},{\frac {X}{1-X}}\right]=\operatorname {cov} \left[{\frac {1-X}{X}},{\frac {1}{1-X}}\right]={\frac {\alpha +\beta -1}{(\alpha -1)(\beta -1)}}{\text{ if }}\alpha ,\beta >1}
These expectations and variances appear in the four-parameter Fisher information matrix (section titled "Fisher information," "four parameters")
Moments of logarithmically transformed random variables[edit]
Plot of logit(X) = ln(X/(1−X)) (vertical axis) vs. X in the domain of 0 to 1 (horizontal axis). Logit transformations are interesting, as they usually transform various shapes (including J-shapes) into (usually skewed) bell-shaped densities over the logit variable, and they may remove the end singularities over the original variable
Expected values for logarithmic transformations (useful for maximum likelihood estimates, see section titled "Parameter estimation, Maximum likelihood" below) are discussed in this section. The following logarithmic linear transformations are related to the geometric means GX and G(1−X) (see section titled "Geometric mean"):
E  [ ln  ( X ) ] = ψ ( α ) − ψ ( α + β ) = − E  [ ln  ( 1 X ) ] , E  [ ln  ( 1 − X ) ] = ψ ( β ) − ψ ( α + β ) = − E  [ ln  ( 1 1 − X ) ] . {\displaystyle {\begin{aligned}\operatorname {E} [\ln(X)]&=\psi (\alpha )-\psi (\alpha +\beta )=-\operatorname {E} \left[\ln \left({\frac {1}{X}}\right)\right],\\\operatorname {E} [\ln(1-X)]&=\psi (\beta )-\psi (\alpha +\beta )=-\operatorname {E} \left[\ln \left({\frac {1}{1-X}}\right)\right].\end{aligned}}}
Where the digamma function ψ(α) is defined as the logarithmic derivative of the gamma function:[19]
ψ ( α ) = d ln  Γ ( α ) d α {\displaystyle \psi (\alpha )={\frac {d\ln \Gamma (\alpha )}{d\alpha }}}
Logit transformations are interesting,[24] as they usually transform various shapes (including J-shapes) into (usually skewed) bell-shaped densities over the logit variable, and they may remove the end singularities over the original variable:
E  [ ln  ( X 1 − X ) ] = ψ ( α ) − ψ ( β ) = E  [ ln  ( X ) ] + E  [ ln  ( 1 1 − X ) ] , E  [ ln  ( 1 − X X ) ] = ψ ( β ) − ψ ( α ) = − E  [ ln  ( X 1 − X ) ] . {\displaystyle {\begin{aligned}\operatorname {E} \left[\ln \left({\frac {X}{1-X}}\right)\right]&=\psi (\alpha )-\psi (\beta )=\operatorname {E} [\ln(X)]+\operatorname {E} \left[\ln \left({\frac {1}{1-X}}\right)\right],\\\operatorname {E} \left[\ln \left({\frac {1-X}{X}}\right)\right]&=\psi (\beta )-\psi (\alpha )=-\operatorname {E} \left[\ln \left({\frac {X}{1-X}}\right)\right].\end{aligned}}}
Johnson[25] considered the distribution of the logit - transformed variable ln(X/1−X), including its moment generating function and approximations for large values of the shape parameters. This transformation extends the finite support [0, 1] based on the original variable X to infinite support in both directions of the real line (−∞, +∞).
Higher order logarithmic moments can be derived by using the representation of a beta distribution as a proportion of two Gamma distributions and differentiating through the integral. They can be expressed in terms of higher order poly-gamma functions as follows:
E  [ ln 2  ( X ) ] = ( ψ ( α ) − ψ ( α + β ) ) 2 + ψ 1 ( α ) − ψ 1 ( α + β ) , E  [ ln 2  ( 1 − X ) ] = ( ψ ( β ) − ψ ( α + β ) ) 2 + ψ 1 ( β ) − ψ 1 ( α + β ) , E  [ ln  ( X ) ln  ( 1 − X ) ] = ( ψ ( α ) − ψ ( α + β ) ) ( ψ ( β ) − ψ ( α + β ) ) − ψ 1 ( α + β ) . {\displaystyle {\begin{aligned}\operatorname {E} \left[\ln ^{2}(X)\right]&=(\psi (\alpha )-\psi (\alpha +\beta ))^{2}+\psi _{1}(\alpha )-\psi _{1}(\alpha +\beta ),\\\operatorname {E} \left[\ln ^{2}(1-X)\right]&=(\psi (\beta )-\psi (\alpha +\beta ))^{2}+\psi _{1}(\beta )-\psi _{1}(\alpha +\beta ),\\\operatorname {E} \left[\ln(X)\ln(1-X)\right]&=(\psi (\alpha )-\psi (\alpha +\beta ))(\psi (\beta )-\psi (\alpha +\beta ))-\psi _{1}(\alpha +\beta ).\end{aligned}}}
therefore the variance of the logarithmic variables and covariance of ln(X) and ln(1−X) are:
cov  [ ln  ( X ) , ln  ( 1 − X ) ] = E  [ ln  ( X ) ln  ( 1 − X ) ] − E  [ ln  ( X ) ] E  [ ln  ( 1 − X ) ] = − ψ 1 ( α + β ) var  [ ln  X ] = E  [ ln 2  ( X ) ] − ( E  [ ln  ( X ) ] ) 2 = ψ 1 ( α ) − ψ 1 ( α + β ) = ψ 1 ( α ) + cov  [ ln  ( X ) , ln  ( 1 − X ) ] var  [ ln  ( 1 − X ) ] = E  [ ln 2  ( 1 − X ) ] − ( E  [ ln  ( 1 − X ) ] ) 2 = ψ 1 ( β ) − ψ 1 ( α + β ) = ψ 1 ( β ) + cov  [ ln  ( X ) , ln  ( 1 − X ) ] {\displaystyle {\begin{aligned}\operatorname {cov} [\ln(X),\ln(1-X)]&=\operatorname {E} \left[\ln(X)\ln(1-X)\right]-\operatorname {E} [\ln(X)]\operatorname {E} [\ln(1-X)]=-\psi _{1}(\alpha +\beta )\\&\\\operatorname {var} [\ln X]&=\operatorname {E} [\ln ^{2}(X)]-(\operatorname {E} [\ln(X)])^{2}\\&=\psi _{1}(\alpha )-\psi _{1}(\alpha +\beta )\\&=\psi _{1}(\alpha )+\operatorname {cov} [\ln(X),\ln(1-X)]\\&\\\operatorname {var} [\ln(1-X)]&=\operatorname {E} [\ln ^{2}(1-X)]-(\operatorname {E} [\ln(1-X)])^{2}\\&=\psi _{1}(\beta )-\psi _{1}(\alpha +\beta )\\&=\psi _{1}(\beta )+\operatorname {cov} [\ln(X),\ln(1-X)]\end{aligned}}}
where the trigamma function, denoted ψ1(α), is the second of the polygamma functions, and is defined as the derivative of the digamma function:
ψ 1 ( α ) = d 2 ln  Γ ( α ) d α 2 = d ψ ( α ) d α {\displaystyle \psi _{1}(\alpha )={\frac {d^{2}\ln \Gamma (\alpha )}{d\alpha ^{2}}}={\frac {d\psi (\alpha )}{d\alpha }}} .
The variances and covariance of the logarithmically transformed variables X and (1−X) are different, in general, because the logarithmic transformation destroys the mirror-symmetry of the original variables X and (1−X), as the logarithm approaches negative infinity for the variable approaching zero.
These logarithmic variances and covariance are the elements of the Fisher information matrix for the beta distribution. They are also a measure of the curvature of the log likelihood function (see section on Maximum likelihood estimation).
The variances of the log inverse variables are identical to the variances of the log variables:
var  [ ln  ( 1 X ) ] = var  [ ln  ( X ) ] = ψ 1 ( α ) − ψ 1 ( α + β ) , var  [ ln  ( 1 1 − X ) ] = var  [ ln  ( 1 − X ) ] = ψ 1 ( β ) − ψ 1 ( α + β ) , cov  [ ln  ( 1 X ) , ln  ( 1 1 − X ) ] = cov  [ ln  ( X ) , ln  ( 1 − X ) ] = − ψ 1 ( α + β ) . {\displaystyle {\begin{aligned}\operatorname {var} \left[\ln \left({\frac {1}{X}}\right)\right]&=\operatorname {var} [\ln(X)]=\psi _{1}(\alpha )-\psi _{1}(\alpha +\beta ),\\\operatorname {var} \left[\ln \left({\frac {1}{1-X}}\right)\right]&=\operatorname {var} [\ln(1-X)]=\psi _{1}(\beta )-\psi _{1}(\alpha +\beta ),\\\operatorname {cov} \left[\ln \left({\frac {1}{X}}\right),\ln \left({\frac {1}{1-X}}\right)\right]&=\operatorname {cov} [\ln(X),\ln(1-X)]=-\psi _{1}(\alpha +\beta ).\end{aligned}}}
It also follows that the variances of the logit transformed variables are:
var  [ ln  ( X 1 − X ) ] = var  [ ln  ( 1 − X X ) ] = − cov  [ ln  ( X 1 − X ) , ln  ( 1 − X X ) ] = ψ 1 ( α ) + ψ 1 ( β ) {\displaystyle \operatorname {var} \left[\ln \left({\frac {X}{1-X}}\right)\right]=\operatorname {var} \left[\ln \left({\frac {1-X}{X}}\right)\right]=-\operatorname {cov} \left[\ln \left({\frac {X}{1-X}}\right),\ln \left({\frac {1-X}{X}}\right)\right]=\psi _{1}(\alpha )+\psi _{1}(\beta )}
Quantities of information (entropy)[edit]
Given a beta distributed random variable, X ~ Beta(α, β), the differential entropy of X is[26](measured in nats), the expected value of the negative of the logarithm of the probability density function:
h ( X ) = E  [ − ln  ( f ( x ; α , β ) ) ] = ∫ 0 1 − f ( x ; α , β ) ln  ( f ( x ; α , β ) ) d x = ln  ( B ( α , β ) ) − ( α − 1 ) ψ ( α ) − ( β − 1 ) ψ ( β ) + ( α + β − 2 ) ψ ( α + β ) {\displaystyle {\begin{aligned}h(X)&=\operatorname {E} [-\ln(f(x;\alpha ,\beta ))]\\&=\int _{0}^{1}-f(x;\alpha ,\beta )\ln(f(x;\alpha ,\beta ))dx\\&=\ln(\mathrm {B} (\alpha ,\beta ))-(\alpha -1)\psi (\alpha )-(\beta -1)\psi (\beta )+(\alpha +\beta -2)\psi (\alpha +\beta )\end{aligned}}}
where f(x; α, β) is the probability density function of the beta distribution:
f ( x ; α , β ) = 1 B ( α , β ) x α − 1 ( 1 − x ) β − 1 {\displaystyle f(x;\alpha ,\beta )={\frac {1}{\mathrm {B} (\alpha ,\beta )}}x^{\alpha -1}(1-x)^{\beta -1}}
The digamma function ψ appears in the formula for the differential entropy as a consequence of Euler's integral formula for the harmonic numbers which follows from the integral:
∫ 0 1 1 − x α − 1 1 − x d x = ψ ( α ) − ψ ( 1 ) {\displaystyle \int _{0}^{1}{\frac {1-x^{\alpha -1}}{1-x}}dx=\psi (\alpha )-\psi (1)}
The differential entropy of the beta distribution is negative for all values of α and β greater than zero, except at α = β = 1 (for which values the beta distribution is the same as the uniform distribution), where the differential entropy reaches its maximum value of zero. It is to be expected that the maximum entropy should take place when the beta distribution becomes equal to the uniform distribution, since uncertainty is maximal when all possible events are equiprobable.
For α or β approaching zero, the differential entropy approaches its minimum value of negative infinity. For (either or both) α or β approaching zero, there is a maximum amount of order: all the probability density is concentrated at the ends, and there is zero probability density at points located between the ends. Similarly for (either or both) α or β approaching infinity, the differential entropy approaches its minimum value of negative infinity, and a maximum amount of order. If either α or β approaches infinity (and the other is finite) all the probability density is concentrated at an end, and the probability density is zero everywhere else. If both shape parameters are equal (the symmetric case), α = β, and they approach infinity simultaneously, the probability density becomes a spike (Dirac delta function) concentrated at the middle x = 1/2, and hence there is 100% probability at the middle x = 1/2 and zero probability everywhere else.
The (continuous case) differential entropy was introduced by Shannon in his original paper (where he named it the "entropy of a continuous distribution"), as the concluding part[27] of the same paper where he defined the discrete entropy. It is known since then that the differential entropy may differ from the infinitesimal limit of the discrete entropy by an infinite offset, therefore the differential entropy can be negative (as it is for the beta distribution). What really matters is the relative value of entropy.
Given two beta distributed random variables, X1 ~ Beta(α, β) and X2 ~ Beta(α', β'), the cross entropy is (measured in nats)[28]
H ( X 1 , X 2 ) = ∫ 0 1 − f ( x ; α , β ) ln  ( f ( x ; α ′ , β ′ ) ) d x = ln  ( B ( α ′ , β ′ ) ) − ( α ′ − 1 ) ψ ( α ) − ( β ′ − 1 ) ψ ( β ) + ( α ′ + β ′ − 2 ) ψ ( α + β ) . {\displaystyle {\begin{aligned}H(X_{1},X_{2})&=\int _{0}^{1}-f(x;\alpha ,\beta )\ln(f(x;\alpha ',\beta '))dx\\&=\ln \left(\mathrm {B} (\alpha ',\beta ')\right)-(\alpha '-1)\psi (\alpha )-(\beta '-1)\psi (\beta )+(\alpha '+\beta '-2)\psi (\alpha +\beta ).\end{aligned}}}
The cross entropy has been used as an error metric to measure the distance between two hypotheses.[29][30] Its absolute value is minimum when the two distributions are identical. It is the information measure most closely related to the log maximum likelihood [28](see section on "Parameter estimation. Maximum likelihood estimation")).
The relative entropy, or Kullback–Leibler divergence DKL(X1, X2), is a measure of the inefficiency of assuming that the distribution is X2 ~ Beta(α', β') when the distribution is really X1 ~ Beta(α, β). It is defined as follows (measured in nats).
D K L ( X 1 , X 2 ) = ∫ 0 1 f ( x ; α , β ) ln  ( f ( x ; α , β ) f ( x ; α ′ , β ′ ) ) d x = ( ∫ 0 1 f ( x ; α , β ) ln  ( f ( x ; α , β ) ) d x ) − ( ∫ 0 1 f ( x ; α , β ) ln  ( f ( x ; α ′ , β ′ ) ) d x ) = − h ( X 1 ) + H ( X 1 , X 2 ) = ln  ( B ( α ′ , β ′ ) B ( α , β ) ) + ( α − α ′ ) ψ ( α ) + ( β − β ′ ) ψ ( β ) + ( α ′ − α + β ′ − β ) ψ ( α + β ) . {\displaystyle {\begin{aligned}D_{\mathrm {KL} }(X_{1},X_{2})&=\int _{0}^{1}f(x;\alpha ,\beta )\ln \left({\frac {f(x;\alpha ,\beta )}{f(x;\alpha ',\beta ')}}\right)dx\\&=\left(\int _{0}^{1}f(x;\alpha ,\beta )\ln(f(x;\alpha ,\beta ))dx\right)-\left(\int _{0}^{1}f(x;\alpha ,\beta )\ln(f(x;\alpha ',\beta '))dx\right)\\&=-h(X_{1})+H(X_{1},X_{2})\\&=\ln \left({\frac {\mathrm {B} (\alpha ',\beta ')}{\mathrm {B} (\alpha ,\beta )}}\right)+(\alpha -\alpha ')\psi (\alpha )+(\beta -\beta ')\psi (\beta )+(\alpha '-\alpha +\beta '-\beta )\psi (\alpha +\beta ).\end{aligned}}}
The relative entropy, or Kullback–Leibler divergence, is always non-negative. A few numerical examples follow:
X1 ~ Beta(1, 1) and X2 ~ Beta(3, 3); DKL(X1, X2) = 0.598803; DKL(X2, X1) = 0.267864; h(X1) = 0; h(X2) = −0.267864
X1 ~ Beta(3, 0.5) and X2 ~ Beta(0.5, 3); DKL(X1, X2) = 7.21574; DKL(X2, X1) = 7.21574; h(X1) = −1.10805; h(X2) = −1.10805.
The Kullback–Leibler divergence is not symmetric DKL(X1, X2) ≠ DKL(X2, X1) for the case in which the individual beta distributions Beta(1, 1) and Beta(3, 3) are symmetric, but have different entropies h(X1) ≠ h(X2). The value of the Kullback divergence depends on the direction traveled: whether going from a higher (differential) entropy to a lower (differential) entropy or the other way around. In the numerical example above, the Kullback divergence measures the inefficiency of assuming that the distribution is (bell-shaped) Beta(3, 3), rather than (uniform) Beta(1, 1). The "h" entropy of Beta(1, 1) is higher than the "h" entropy of Beta(3, 3) because the uniform distribution Beta(1, 1) has a maximum amount of disorder. The Kullback divergence is more than two times higher (0.598803 instead of 0.267864) when measured in the direction of decreasing entropy: the direction that assumes that the (uniform) Beta(1, 1) distribution is (bell-shaped) Beta(3, 3) rather than the other way around. In this restricted sense, the Kullback divergence is consistent with the second law of thermodynamics.
The Kullback–Leibler divergence is symmetric DKL(X1, X2) = DKL(X2, X1) for the skewed cases Beta(3, 0.5) and Beta(0.5, 3) that have equal differential entropy h(X1) = h(X2).
The symmetry condition:
D K L ( X 1 , X 2 ) = D K L ( X 2 , X 1 ) , if h ( X 1 ) = h ( X 2 ) , for (skewed) α ≠ β {\displaystyle D_{\mathrm {KL} }(X_{1},X_{2})=D_{\mathrm {KL} }(X_{2},X_{1}),{\text{ if }}h(X_{1})=h(X_{2}),{\text{ for (skewed) }}\alpha \neq \beta }
follows from the above definitions and the mirror-symmetry f(x; α, β) = f(1−x; α, β) enjoyed by the beta distribution.
Relationships between statistical measures[edit]
Mean, mode and median relationship[edit]
If 1 < α < β then mode ≤ median ≤ mean.[11] Expressing the mode (only for α, β > 1), and the mean in terms of α and β:
α − 1 α + β − 2 ≤ median ≤ α α + β , {\displaystyle {\frac {\alpha -1}{\alpha +\beta -2}}\leq {\text{median}}\leq {\frac {\alpha }{\alpha +\beta }},}
If 1 < β < α then the order of the inequalities are reversed. For α, β > 1 the absolute distance between the mean and the median is less than 5% of the distance between the maximum and minimum values of x. On the other hand, the absolute distance between the mean and the mode can reach 50% of the distance between the maximum and minimum values of x, for the (pathological) case of α = 1 and β = 1 (for which values the beta distribution approaches the uniform distribution and the differential entropy approaches its maximum value, and hence maximum "disorder").
For example, for α = 1.0001 and β = 1.00000001:
mode = 0.9999; PDF(mode) = 1.00010
mean = 0.500025; PDF(mean) = 1.00003
median = 0.500035; PDF(median) = 1.00003
mean − mode = −0.499875
mean − median = −9.65538 × 10−6
(where PDF stands for the value of the probability density function)
Mean, geometric mean and harmonic mean relationship[edit]
:Mean, Median, Geometric Mean and Harmonic Mean for Beta distribution with 0 < α = β < 5
It is known from the inequality of arithmetic and geometric means that the geometric mean is lower than the mean. Similarly, the harmonic mean is lower than the geometric mean. The accompanying plot shows that for α = β, both the mean and the median are exactly equal to 1/2, regardless of the value of α = β, and the mode is also equal to 1/2 for α = β > 1, however the geometric and harmonic means are lower than 1/2 and they only approach this value asymptotically as α = β → ∞.
Kurtosis bounded by the square of the skewness[edit]
Beta distribution α and β parameters vs. excess Kurtosis and squared Skewness
As remarked by Feller,[5] in the Pearson system the beta probability density appears as type I (any difference between the beta distribution and Pearson's type I distribution is only superficial and it makes no difference for the following discussion regarding the relationship between kurtosis and skewness). Karl Pearson showed, in Plate 1 of his paper [21] published in 1916, a graph with the kurtosis as the vertical axis (ordinate) and the square of the skewness as the horizontal axis (abscissa), in which a number of distributions were displayed.[31] The region occupied by the beta distribution is bounded by the following two lines in the (skewness2,kurtosis) plane, or the (skewness2,excess kurtosis) plane:
( skewness ) 2 + 1 < kurtosis < 3 2 ( skewness ) 2 + 3 {\displaystyle ({\text{skewness}})^{2}+1<{\text{kurtosis}}<{\frac {3}{2}}({\text{skewness}})^{2}+3}
or, equivalently,
( skewness ) 2 − 2 < excess kurtosis < 3 2 ( skewness ) 2 {\displaystyle ({\text{skewness}})^{2}-2<{\text{excess kurtosis}}<{\frac {3}{2}}({\text{skewness}})^{2}}
(At a time when there were no powerful digital computers), Karl Pearson accurately computed further boundaries,[4][21] for example, separating the "U-shaped" from the "J-shaped" distributions. The lower boundary line (excess kurtosis + 2 − skewness2 = 0) is produced by skewed "U-shaped" beta distributions with both values of shape parameters α and β close to zero. The upper boundary line (excess kurtosis − (3/2) skewness2 = 0) is produced by extremely skewed distributions with very large values of one of the parameters and very small values of the other parameter. Karl Pearson showed [21] that this upper boundary line (excess kurtosis − (3/2) skewness2 = 0) is also the intersection with Pearson's distribution III, which has unlimited support in one direction (towards positive infinity), and can be bell-shaped or J-shaped. His son, Egon Pearson, showed [31] that the region (in the kurtosis/squared-skewness plane) occupied by the beta distribution (equivalently, Pearson's distribution I) as it approaches this boundary (excess kurtosis − (3/2) skewness2 = 0) is shared with the noncentral chi-squared distribution. Karl Pearson[32] (Pearson 1895, pp. 357, 360, 373–376) also showed that the gamma distribution is a Pearson type III distribution. Hence this boundary line for Pearson's type III distribution is known as the gamma line. (This can be shown from the fact that the excess kurtosis of the gamma distribution is 6/k and the square of the skewness is 4/k, hence (excess kurtosis − (3/2) skewness2 = 0) is identically satisfied by the gamma distribution regardless of the value of the parameter "k"). Pearson later noted that the chi-squared distribution is a special case of Pearson's type III and also shares this boundary line (as it is apparent from the fact that for the chi-squared distribution the excess kurtosis is 12/k and the square of the skewness is 8/k, hence (excess kurtosis − (3/2) skewness2 = 0) is identically satisfied regardless of the value of the parameter "k"). This is to be expected, since the chi-squared distribution X ~ χ2(k) is a special case of the gamma distribution, with parametrization X ~ Γ(k/2, 1/2) where k is a positive integer that specifies the "number of degrees of freedom" of the chi-squared distribution.
An example of a beta distribution near the upper boundary (excess kurtosis − (3/2) skewness2 = 0) is given by α = 0.1, β = 1000, for which the ratio (excess kurtosis)/(skewness2) = 1.49835 approaches the upper limit of 1.5 from below. An example of a beta distribution near the lower boundary (excess kurtosis + 2 − skewness2 = 0) is given by α= 0.0001, β = 0.1, for which values the expression (excess kurtosis + 2)/(skewness2) = 1.01621 approaches the lower limit of 1 from above. In the infinitesimal limit for both α and β approaching zero symmetrically, the excess kurtosis reaches its minimum value at −2. This minimum value occurs at the point at which the lower boundary line intersects the vertical axis (ordinate). (However, in Pearson's original chart, the ordinate is kurtosis, instead of excess kurtosis, and it increases downwards rather than upwards).
Values for the skewness and excess kurtosis below the lower boundary (excess kurtosis + 2 − skewness2 = 0) cannot occur for any distribution, and hence Karl Pearson appropriately called the region below this boundary the "impossible region." The boundary for this "impossible region" is determined by (symmetric or skewed) bimodal "U"-shaped distributions for which parameters α and β approach zero and hence all the probability density is concentrated at the ends: x = 0, 1 with practically nothing in between them. Since for α ≈ β ≈ 0 the probability density is concentrated at the two ends x = 0 and x = 1, this "impossible boundary" is determined by a 2-point distribution: the probability can only take 2 values (Bernoulli distribution), one value with probability p and the other with probability q = 1−p. For cases approaching this limit boundary with symmetry α = β, skewness ≈ 0, excess kurtosis ≈ −2 (this is the lowest excess kurtosis possible for any distribution), and the probabilities are p ≈ q ≈ 1/2. For cases approaching this limit boundary with skewness, excess kurtosis ≈ −2 + skewness2, and the probability density is concentrated more at one end than the other end (with practically nothing in between), with probabilities p = β α + β {\displaystyle p={\tfrac {\beta }{\alpha +\beta }}} at the left end x = 0 and q = 1 − p = α α + β {\displaystyle q=1-p={\tfrac {\alpha }{\alpha +\beta }}} at the right end x = 1.
Symmetry[edit]
All statements are conditional on α, β > 0
Probability density function reflection symmetry
f ( x ; α , β ) = f ( 1 − x ; β , α ) {\displaystyle f(x;\alpha ,\beta )=f(1-x;\beta ,\alpha )}
Cumulative distribution function reflection symmetry plus unitary translation
F ( x ; α , β ) = I x ( α , β ) = 1 − F ( 1 − x ; β , α ) = 1 − I 1 − x ( β , α ) {\displaystyle F(x;\alpha ,\beta )=I_{x}(\alpha ,\beta )=1-F(1-x;\beta ,\alpha )=1-I_{1-x}(\beta ,\alpha )}
Mode reflection symmetry plus unitary translation
mode  ( B ( α , β ) ) = 1 − mode  ( B ( β , α ) ) , if B ( β , α ) ≠ B ( 1 , 1 ) {\displaystyle \operatorname {mode} (\mathrm {B} (\alpha ,\beta ))=1-\operatorname {mode} (\mathrm {B} (\beta ,\alpha )),{\text{ if }}\mathrm {B} (\beta ,\alpha )\neq \mathrm {B} (1,1)}
Median reflection symmetry plus unitary translation
median  ( B ( α , β ) ) = 1 − median  ( B ( β , α ) ) {\displaystyle \operatorname {median} (\mathrm {B} (\alpha ,\beta ))=1-\operatorname {median} (\mathrm {B} (\beta ,\alpha ))}
Mean reflection symmetry plus unitary translation
μ ( B ( α , β ) ) = 1 − μ ( B ( β , α ) ) {\displaystyle \mu (\mathrm {B} (\alpha ,\beta ))=1-\mu (\mathrm {B} (\beta ,\alpha ))}
Geometric Means each is individually asymmetric, the following symmetry applies between the geometric mean based on X and the geometric mean based on its reflection (1-X)
G X ( B ( α , β ) ) = G ( 1 − X ) ( B ( β , α ) ) {\displaystyle G_{X}(\mathrm {B} (\alpha ,\beta ))=G_{(1-X)}(\mathrm {B} (\beta ,\alpha ))}
Harmonic means each is individually asymmetric, the following symmetry applies between the harmonic mean based on X and the harmonic mean based on its reflection (1-X)
H X ( B ( α , β ) ) = H ( 1 − X ) ( B ( β , α ) ) if α , β > 1 {\displaystyle H_{X}(\mathrm {B} (\alpha ,\beta ))=H_{(1-X)}(\mathrm {B} (\beta ,\alpha )){\text{ if }}\alpha ,\beta >1} .
Variance symmetry
var  ( B ( α , β ) ) = var  ( B ( β , α ) ) {\displaystyle \operatorname {var} (\mathrm {B} (\alpha ,\beta ))=\operatorname {var} (\mathrm {B} (\beta ,\alpha ))}
Geometric variances each is individually asymmetric, the following symmetry applies between the log geometric variance based on X and the log geometric variance based on its reflection (1-X)
ln  ( v a r G X  ( B ( α , β ) ) ) = ln  ( v a r G ( 1 - X )  ( B ( β , α ) ) ) {\displaystyle \ln(\operatorname {var_{GX}} (\mathrm {B} (\alpha ,\beta )))=\ln(\operatorname {var_{G(1-X)}} (\mathrm {B} (\beta ,\alpha )))}
Geometric covariance symmetry
ln c o v G X , ( 1 - X )  ( B ( α , β ) ) = ln  c o v G X , ( 1 - X )  ( B ( β , α ) ) {\displaystyle \ln \,\operatorname {cov_{G{X,(1-X)}}} (\mathrm {B} (\alpha ,\beta ))=\ln \operatorname {cov_{G{X,(1-X)}}} (\mathrm {B} (\beta ,\alpha ))}
Mean absolute deviation around the mean symmetry
E  [ | X − E [ X ] | ] ( B ( α , β ) ) = E  [ | X − E [ X ] | ] ( B ( β , α ) ) {\displaystyle \operatorname {E} [|X-E[X]|](\mathrm {B} (\alpha ,\beta ))=\operatorname {E} [|X-E[X]|](\mathrm {B} (\beta ,\alpha ))}
Skewness skew-symmetry
skewness  ( B ( α , β ) ) = − skewness  ( B ( β , α ) ) {\displaystyle \operatorname {skewness} (\mathrm {B} (\alpha ,\beta ))=-\operatorname {skewness} (\mathrm {B} (\beta ,\alpha ))}
Excess kurtosis symmetry
excess kurtosis ( B ( α , β ) ) = excess kurtosis ( B ( β , α ) ) {\displaystyle {\text{excess kurtosis}}(\mathrm {B} (\alpha ,\beta ))={\text{excess kurtosis}}(\mathrm {B} (\beta ,\alpha ))}
Characteristic function symmetry of Real part (with respect to the origin of variable "t")
Re [ 1 F 1 ( α ; α + β ; i t ) ] = Re [ 1 F 1 ( α ; α + β ; − i t ) ] {\displaystyle {\text{Re}}[{}_{1}F_{1}(\alpha ;\alpha +\beta ;it)]={\text{Re}}[{}_{1}F_{1}(\alpha ;\alpha +\beta ;-it)]}
Characteristic function skew-symmetry of Imaginary part (with respect to the origin of variable "t")
Im [ 1 F 1 ( α ; α + β ; i t ) ] = − Im [ 1 F 1 ( α ; α + β ; − i t ) ] {\displaystyle {\text{Im}}[{}_{1}F_{1}(\alpha ;\alpha +\beta ;it)]=-{\text{Im}}[{}_{1}F_{1}(\alpha ;\alpha +\beta ;-it)]}
Characteristic function symmetry of Absolute value (with respect to the origin of variable "t")
Abs [ 1 F 1 ( α ; α + β ; i t ) ] = Abs [ 1 F 1 ( α ; α + β ; − i t ) ] {\displaystyle {\text{Abs}}[{}_{1}F_{1}(\alpha ;\alpha +\beta ;it)]={\text{Abs}}[{}_{1}F_{1}(\alpha ;\alpha +\beta ;-it)]}
Differential entropy symmetry
h ( B ( α , β ) ) = h ( B ( β , α ) ) {\displaystyle h(\mathrm {B} (\alpha ,\beta ))=h(\mathrm {B} (\beta ,\alpha ))}
Relative Entropy (also called Kullback–Leibler divergence) symmetry
D K L ( X 1 , X 2 ) = D K L ( X 2 , X 1 ) , if h ( X 1 ) = h ( X 2 ) , for (skewed) α ≠ β {\displaystyle D_{\mathrm {KL} }(X_{1},X_{2})=D_{\mathrm {KL} }(X_{2},X_{1}),{\text{ if }}h(X_{1})=h(X_{2}){\text{, for (skewed) }}\alpha \neq \beta }
Fisher information matrix symmetry
I i , j = I j , i {\displaystyle {\mathcal {I}}_{i,j}={\mathcal {I}}_{j,i}}
Geometry of the probability density function[edit]
Inflection points[edit]
Inflection point location versus α and β showing regions with one inflection point
Inflection point location versus α and β showing region with two inflection points
For certain values of the shape parameters α and β, the probability density function has inflection points, at which the curvature changes sign. The position of these inflection points can be useful as a measure of the dispersion or spread of the distribution.
Defining the following quantity:
κ = ( α − 1 ) ( β − 1 ) α + β − 3 α + β − 2 {\displaystyle \kappa ={\frac {\sqrt {\frac {(\alpha -1)(\beta -1)}{\alpha +\beta -3}}}{\alpha +\beta -2}}}
Points of inflection occur,[1][3][6][7] depending on the value of the shape parameters α and β, as follows:
(α > 2, β > 2) The distribution is bell-shaped (symmetric for α = β and skewed otherwise), with two inflection points, equidistant from the mode:
x = mode ± κ = α − 1 ± ( α − 1 ) ( β − 1 ) α + β − 3 α + β − 2 {\displaystyle x={\text{mode}}\pm \kappa ={\frac {\alpha -1\pm {\sqrt {\frac {(\alpha -1)(\beta -1)}{\alpha +\beta -3}}}}{\alpha +\beta -2}}}
(α = 2, β > 2) The distribution is unimodal, positively skewed, right-tailed, with one inflection point, located to the right of the mode:
x = mode + κ = 2 β {\displaystyle x={\text{mode}}+\kappa ={\frac {2}{\beta }}}
(α > 2, β = 2) The distribution is unimodal, negatively skewed, left-tailed, with one inflection point, located to the left of the mode:
x = mode − κ = 1 − 2 α {\displaystyle x={\text{mode}}-\kappa =1-{\frac {2}{\alpha }}}
(1 < α < 2, β > 2, α+β>2) The distribution is unimodal, positively skewed, right-tailed, with one inflection point, located to the right of the mode:
x = mode + κ = α − 1 + ( α − 1 ) ( β − 1 ) α + β − 3 α + β − 2 {\displaystyle x={\text{mode}}+\kappa ={\frac {\alpha -1+{\sqrt {\frac {(\alpha -1)(\beta -1)}{\alpha +\beta -3}}}}{\alpha +\beta -2}}}
(0 < α < 1, 1 < β < 2) The distribution has a mode at the left end x = 0 and it is positively skewed, right-tailed. There is one inflection point, located to the right of the mode:
x = α − 1 + ( α − 1 ) ( β − 1 ) α + β − 3 α + β − 2 {\displaystyle x={\frac {\alpha -1+{\sqrt {\frac {(\alpha -1)(\beta -1)}{\alpha +\beta -3}}}}{\alpha +\beta -2}}}
(α > 2, 1 < β < 2) The distribution is unimodal negatively skewed, left-tailed, with one inflection point, located to the left of the mode:
x = mode − κ = α − 1 − ( α − 1 ) ( β − 1 ) α + β − 3 α + β − 2 {\displaystyle x={\text{mode}}-\kappa ={\frac {\alpha -1-{\sqrt {\frac {(\alpha -1)(\beta -1)}{\alpha +\beta -3}}}}{\alpha +\beta -2}}}
(1 < α < 2, 0 < β < 1) The distribution has a mode at the right end x=1 and it is negatively skewed, left-tailed. There is one inflection point, located to the left of the mode:
x = α − 1 − ( α − 1 ) ( β − 1 ) α + β − 3 α + β − 2 {\displaystyle x={\frac {\alpha -1-{\sqrt {\frac {(\alpha -1)(\beta -1)}{\alpha +\beta -3}}}}{\alpha +\beta -2}}}
There are no inflection points in the remaining (symmetric and skewed) regions: U-shaped: (α, β < 1) upside-down-U-shaped: (1 < α < 2, 1 < β < 2), reverse-J-shaped (α < 1, β > 2) or J-shaped: (α > 2, β < 1)
The accompanying plots show the inflection point locations (shown vertically, ranging from 0 to 1) versus α and β (the horizontal axes ranging from 0 to 5). There are large cuts at surfaces intersecting the lines α = 1, β = 1, α = 2, and β = 2 because at these values the beta distribution change from 2 modes, to 1 mode to no mode.
Shapes[edit]
PDF for symmetric beta distribution vs. x and α = β from 0 to 30
PDF for symmetric beta distribution vs. x and α = β from 0 to 2
PDF for skewed beta distribution vs. x and β = 2.5α from 0 to 9
PDF for skewed beta distribution vs. x and β = 5.5α from 0 to 9
PDF for skewed beta distribution vs. x and β = 8α from 0 to 10
The beta density function can take a wide variety of different shapes depending on the values of the two parameters α and β. The ability of the beta distribution to take this great diversity of shapes (using only two parameters) is partly responsible for finding wide application for modeling actual measurements:
Symmetric (α = β)[edit]
the density function is symmetric about 1/2 (blue & teal plots).
median = mean = 1/2.
skewness = 0.
α = β < 1
U-shaped (blue plot).
bimodal: left mode = 0, right mode =1, anti-mode = 1/2
1/12 < var(X) < 1/4[1]
−2 < excess kurtosis(X) < −6/5
α = β = 1/2 is the arcsine distribution
var(X) = 1/8
excess kurtosis(X) = −3/2
CF = Rinc (t) [33]
α = β → 0 is a 2-point Bernoulli distribution with equal probability 1/2 at each Dirac delta function end x = 0 and x = 1 and zero probability everywhere else. A coin toss: one face of the coin being x = 0 and the other face being x = 1.
lim α = β → 0 var  ( X ) = 1 4 {\displaystyle \lim _{\alpha =\beta \to 0}\operatorname {var} (X)={\tfrac {1}{4}}}
lim α = β → 0 e x c e s s k u r t o s i s  ( X ) = − 2 {\displaystyle \lim _{\alpha =\beta \to 0}\operatorname {excess\ kurtosis} (X)=-2} a lower value than this is impossible for any distribution to reach.
The differential entropy approaches a minimum value of −∞
α = β = 1
the uniform [0, 1] distribution
no mode
var(X) = 1/12
excess kurtosis(X) = −6/5
The (negative anywhere else) differential entropy reaches its maximum value of zero
CF = Sinc (t)
α = β > 1
symmetric unimodal
mode = 1/2.
0 < var(X) < 1/12[1]
−6/5 < excess kurtosis(X) < 0
α = β = 3/2 is a semi-elliptic [0, 1] distribution, see: Wigner semicircle distribution [34]
var(X) = 1/16.
excess kurtosis(X) = −1
CF = 2 Jinc (t)
α = β = 2 is the parabolic [0, 1] distribution
var(X) = 1/20
excess kurtosis(X) = −6/7
CF = 3 Tinc (t) [35]
α = β > 2 is bell-shaped, with inflection points located to either side of the mode
0 < var(X) < 1/20
−6/7 < excess kurtosis(X) < 0
α = β → ∞ is a 1-point Degenerate distribution with a Dirac delta function spike at the midpoint x = 1/2 with probability 1, and zero probability everywhere else. There is 100% probability (absolute certainty) concentrated at the single point x = 1/2.
lim α = β → ∞ var  ( X ) = 0 {\displaystyle \lim _{\alpha =\beta \to \infty }\operatorname {var} (X)=0}
lim α = β → ∞ e x c e s s k u r t o s i s  ( X ) = 0 {\displaystyle \lim _{\alpha =\beta \to \infty }\operatorname {excess\ kurtosis} (X)=0}
The differential entropy approaches a minimum value of −∞
Skewed (α ≠ β)[edit]
The density function is skewed. An interchange of parameter values yields the mirror image (the reverse) of the initial curve, some more specific cases:
α < 1, β < 1
U-shaped
Positive skew for α < β, negative skew for α > β.
bimodal: left mode = 0, right mode = 1, anti-mode = α − 1 α + β − 2 {\displaystyle {\tfrac {\alpha -1}{\alpha +\beta -2}}}
0 < median < 1.
0 < var(X) < 1/4
α > 1, β > 1
unimodal (magenta & cyan plots),
Positive skew for α < β, negative skew for α > β.
mode = α − 1 α + β − 2 {\displaystyle {\text{mode }}={\tfrac {\alpha -1}{\alpha +\beta -2}}}
0 < median < 1
0 < var(X) < 1/12
α < 1, β ≥ 1
reverse J-shaped with a right tail,
positively skewed,
strictly decreasing, convex
mode = 0
0 < median < 1/2.
0 < var  ( X ) < − 11 + 5 5 2 , {\displaystyle 0<\operatorname {var} (X)<{\tfrac {-11+5{\sqrt {5}}}{2}},} (maximum variance occurs for α = − 1 + 5 2 , β = 1 {\displaystyle \alpha ={\tfrac {-1+{\sqrt {5}}}{2}},\beta =1} , or α = Φ the golden ratio conjugate)
α ≥ 1, β < 1
J-shaped with a left tail,
negatively skewed,
strictly increasing, convex
mode = 1
1/2 < median < 1
0 < var  ( X ) < − 11 + 5 5 2 , {\displaystyle 0<\operatorname {var} (X)<{\tfrac {-11+5{\sqrt {5}}}{2}},} (maximum variance occurs for α = 1 , β = − 1 + 5 2 {\displaystyle \alpha =1,\beta ={\tfrac {-1+{\sqrt {5}}}{2}}} , or β = Φ the golden ratio conjugate)
α = 1, β > 1
positively skewed,
strictly decreasing (red plot),
a reversed (mirror-image) power function [0,1] distribution
mode = 0
α = 1, 1 < β < 2
concave
1 − 1 2 < median < 1 2 {\displaystyle 1-{\tfrac {1}{\sqrt {2}}}<{\text{median}}<{\tfrac {1}{2}}}
1/18 < var(X) < 1/12.
α = 1, β = 2
a straight line with slope −2, the right-triangular distribution with right angle at the left end, at x = 0
median = 1 − 1 2 {\displaystyle {\text{median}}=1-{\tfrac {1}{\sqrt {2}}}}
var(X) = 1/18
α = 1, β > 2
reverse J-shaped with a right tail,
convex
0 < median < 1 − 1 2 {\displaystyle 0<{\text{median}}<1-{\tfrac {1}{\sqrt {2}}}}
0 < var(X) < 1/18
α > 1, β = 1
negatively skewed,
strictly increasing (green plot),
the power function [0, 1] distribution[6]
mode =1
2 > α > 1, β = 1
concave
1 2 < median < 1 2 {\displaystyle {\tfrac {1}{2}}<{\text{median}}<{\tfrac {1}{\sqrt {2}}}}
1/18 < var(X) < 1/12
α = 2, β = 1
a straight line with slope +2, the right-triangular distribution with right angle at the right end, at x = 1
median = 1 2 {\displaystyle {\text{median}}={\tfrac {1}{\sqrt {2}}}}
var(X) = 1/18
α > 2, β = 1
J-shaped with a left tail, convex
1 2 < median < 1 {\displaystyle {\tfrac {1}{\sqrt {2}}}<{\text{median}}<1}
0 < var(X) < 1/18
Parameter estimation[edit]
Method of moments[edit]
Two unknown parameters[edit]
Two unknown parameters ( ( α ^ , β ^ ) {\displaystyle ({\hat {\alpha }},{\hat {\beta }})} of a beta distribution supported in the [0,1] interval) can be estimated, using the method of moments, with the first two moments (sample mean and sample variance) as follows. Let:
sample mean(X) = x ¯ = 1 N ∑ i = 1 N X i {\displaystyle {\text{sample mean(X)}}={\bar {x}}={\frac {1}{N}}\sum _{i=1}^{N}X_{i}}
be the sample mean estimate and
sample variance(X) = v ¯ = 1 N − 1 ∑ i = 1 N ( X i − x ¯ ) 2 {\displaystyle {\text{sample variance(X)}}={\bar {v}}={\frac {1}{N-1}}\sum _{i=1}^{N}(X_{i}-{\bar {x}})^{2}}
be the sample variance estimate. The method-of-moments estimates of the parameters are
α ^ = x ¯ ( x ¯ ( 1 − x ¯ ) v ¯ − 1 ) , {\displaystyle {\hat {\alpha }}={\bar {x}}\left({\frac {{\bar {x}}(1-{\bar {x}})}{\bar {v}}}-1\right),} if v ¯ < x ¯ ( 1 − x ¯ ) , {\displaystyle {\bar {v}}<{\bar {x}}(1-{\bar {x}}),}
β ^ = ( 1 − x ¯ ) ( x ¯ ( 1 − x ¯ ) v ¯ − 1 ) , {\displaystyle {\hat {\beta }}=(1-{\bar {x}})\left({\frac {{\bar {x}}(1-{\bar {x}})}{\bar {v}}}-1\right),} if v ¯ < x ¯ ( 1 − x ¯ ) . {\displaystyle {\bar {v}}<{\bar {x}}(1-{\bar {x}}).}
When the distribution is required over known interval other than [0, 1] with random variable X, say [a, c] with random variable Y, then replace x ¯ {\displaystyle {\bar {x}}} with y ¯ − a c − a , {\displaystyle {\frac {{\bar {y}}-a}{c-a}},} and v ¯ {\displaystyle {\bar {v}}} with v Y ¯ ( c − a ) 2 {\displaystyle {\frac {\bar {v_{Y}}}{(c-a)^{2}}}} in the above couple of equations for the shape parameters (see "Alternative parametrizations, four parameters" section below).,[36] where:
sample mean(Y) = y ¯ = 1 N ∑ i = 1 N Y i {\displaystyle {\text{sample mean(Y)}}={\bar {y}}={\frac {1}{N}}\sum _{i=1}^{N}Y_{i}}
sample variance(Y) = v Y ¯ = 1 N − 1 ∑ i = 1 N ( Y i − y ¯ ) 2 {\displaystyle {\text{sample variance(Y)}}={\bar {v_{Y}}}={\frac {1}{N-1}}\sum _{i=1}^{N}(Y_{i}-{\bar {y}})^{2}}
Four unknown parameters[edit]
Solutions for parameter estimates vs. (sample) excess Kurtosis and (sample) squared Skewness Beta distribution
All four parameters ( α ^ , β ^ , a ^ , c ^ {\displaystyle {\hat {\alpha }},{\hat {\beta }},{\hat {a}},{\hat {c}}} of a beta distribution supported in the [a, c] interval -see section "Alternative parametrizations, Four parameters"-) can be estimated, using the method of moments developed by Karl Pearson, by equating sample and population values of the first four central moments (mean, variance, skewness and excess kurtosis).[1][37][38] The excess kurtosis was expressed in terms of the square of the skewness, and the sample size ν = α + β, (see previous section "Kurtosis") as follows:
excess kurtosis = 6 3 + ν ( ( 2 + ν ) 4 ( skewness ) 2 − 1 ) if (skewness) 2 − 2 < excess kurtosis < 3 2 ( skewness ) 2 {\displaystyle {\text{excess kurtosis}}={\frac {6}{3+\nu }}\left({\frac {(2+\nu )}{4}}({\text{skewness}})^{2}-1\right){\text{ if (skewness)}}^{2}-2<{\text{excess kurtosis}}<{\tfrac {3}{2}}({\text{skewness}})^{2}}
One can use this equation to solve for the sample size ν= α + β in terms of the square of the skewness and the excess kurtosis as follows:[37]
ν ^ = α ^ + β ^ = 3 ( sample excess kurtosis ) − ( sample skewness ) 2 + 2 3 2 ( sample skewness ) 2 − (sample excess kurtosis) {\displaystyle {\hat {\nu }}={\hat {\alpha }}+{\hat {\beta }}=3{\frac {({\text{sample excess kurtosis}})-({\text{sample skewness}})^{2}+2}{{\frac {3}{2}}({\text{sample skewness}})^{2}-{\text{(sample excess kurtosis)}}}}}
if (sample skewness) 2 − 2 < sample excess kurtosis < 3 2 ( sample skewness ) 2 {\displaystyle {\text{ if (sample skewness)}}^{2}-2<{\text{sample excess kurtosis}}<{\tfrac {3}{2}}({\text{sample skewness}})^{2}}
This is the ratio (multiplied by a factor of 3) between the previously derived limit boundaries for the beta distribution in a space (as originally done by Karl Pearson[21]) defined with coordinates of the square of the skewness in one axis and the excess kurtosis in the other axis (see previous section titled "Kurtosis bounded by the square of the skewness"):
The case of zero skewness, can be immediately solved because for zero skewness, α = β and hence ν = 2α = 2β, therefore α = β = ν/2
α ^ = β ^ = ν ^ 2 = 3 2 ( sample excess kurtosis ) + 3 − (sample excess kurtosis) {\displaystyle {\hat {\alpha }}={\hat {\beta }}={\frac {\hat {\nu }}{2}}={\frac {{\frac {3}{2}}({\text{sample excess kurtosis}})+3}{-{\text{(sample excess kurtosis)}}}}}
if sample skewness = 0 and − 2 < sample excess kurtosis < 0 {\displaystyle {\text{ if sample skewness}}=0{\text{ and }}-2<{\text{sample excess kurtosis}}<0}
(Excess kurtosis is negative for the beta distribution with zero skewness, ranging from -2 to 0, so that ν ^ {\displaystyle {\hat {\nu }}} -and therefore the sample shape parameters- is positive, ranging from zero when the shape parameters approach zero and the excess kurtosis approaches -2, to infinity when the shape parameters approach infinity and the excess kurtosis approaches zero).
For non-zero sample skewness one needs to solve a system of two coupled equations. Since the skewness and the excess kurtosis are independent of the parameters a ^ , c ^ {\displaystyle {\hat {a}},{\hat {c}}} , the parameters α ^ , β ^ {\displaystyle {\hat {\alpha }},{\hat {\beta }}} can be uniquely determined from the sample skewness and the sample excess kurtosis, by solving the coupled equations with two known variables (sample skewness and sample excess kurtosis) and two unknowns (the shape parameters):
( sample skewness ) 2 = 4 ( β ^ − α ^ ) 2 ( 1 + α ^ + β ^ ) α ^ β ^ ( 2 + α ^ + β ^ ) 2 {\displaystyle ({\text{sample skewness}})^{2}={\frac {4({\hat {\beta }}-{\hat {\alpha }})^{2}(1+{\hat {\alpha }}+{\hat {\beta }})}{{\hat {\alpha }}{\hat {\beta }}(2+{\hat {\alpha }}+{\hat {\beta }})^{2}}}}
sample excess kurtosis = 6 3 + α ^ + β ^ ( ( 2 + α ^ + β ^ ) 4 ( sample skewness ) 2 − 1 ) {\displaystyle {\text{sample excess kurtosis}}={\frac {6}{3+{\hat {\alpha }}+{\hat {\beta }}}}\left({\frac {(2+{\hat {\alpha }}+{\hat {\beta }})}{4}}({\text{sample skewness}})^{2}-1\right)}
if (sample skewness) 2 − 2 < sample excess kurtosis < 3 2 ( sample skewness ) 2 {\displaystyle {\text{ if (sample skewness)}}^{2}-2<{\text{sample excess kurtosis}}<{\tfrac {3}{2}}({\text{sample skewness}})^{2}}
resulting in the following solution:[37]
α ^ , β ^ = ν ^ 2 ( 1 ± 1 1 + 16 ( ν ^ + 1 ) ( ν ^ + 2 ) 2 ( sample skewness ) 2 ) {\displaystyle {\hat {\alpha }},{\hat {\beta }}={\frac {\hat {\nu }}{2}}\left(1\pm {\frac {1}{\sqrt {1+{\frac {16({\hat {\nu }}+1)}{({\hat {\nu }}+2)^{2}({\text{sample skewness}})^{2}}}}}}\right)}
if sample skewness ≠ 0 and ( sample skewness ) 2 − 2 < sample excess kurtosis < 3 2 ( sample skewness ) 2 {\displaystyle {\text{ if sample skewness}}\neq 0{\text{ and }}({\text{sample skewness}})^{2}-2<{\text{sample excess kurtosis}}<{\tfrac {3}{2}}({\text{sample skewness}})^{2}}
Where one should take the solutions as follows: α ^ > β ^ {\displaystyle {\hat {\alpha }}>{\hat {\beta }}} for (negative) sample skewness < 0, and α ^ < β ^ {\displaystyle {\hat {\alpha }}<{\hat {\beta }}} for (positive) sample skewness > 0.
The accompanying plot shows these two solutions as surfaces in a space with horizontal axes of (sample excess kurtosis) and (sample squared skewness) and the shape parameters as the vertical axis. The surfaces are constrained by the condition that the sample excess kurtosis must be bounded by the sample squared skewness as stipulated in the above equation. The two surfaces meet at the right edge defined by zero skewness. Along this right edge, both parameters are equal and the distribution is symmetric U-shaped for α = β < 1, uniform for α = β = 1, upside-down-U-shaped for 1 < α = β < 2 and bell-shaped for α = β > 2. The surfaces also meet at the front (lower) edge defined by "the impossible boundary" line (excess kurtosis + 2 - skewness2 = 0). Along this front (lower) boundary both shape parameters approach zero, and the probability density is concentrated more at one end than the other end (with practically nothing in between), with probabilities p = β α + β {\displaystyle p={\tfrac {\beta }{\alpha +\beta }}} at the left end x = 0 and q = 1 − p = α α + β {\displaystyle q=1-p={\tfrac {\alpha }{\alpha +\beta }}} at the right end x = 1. The two surfaces become further apart towards the rear edge. At this rear edge the surface parameters are quite different from each other. As remarked, for example, by Bowman and Shenton,[39] sampling in the neighborhood of the line (sample excess kurtosis - (3/2)(sample skewness)2 = 0) (the just-J-shaped portion of the rear edge where blue meets beige), "is dangerously near to chaos", because at that line the denominator of the expression above for the estimate ν = α + β becomes zero and hence ν approaches infinity as that line is approached. Bowman and Shenton [39] write that "the higher moment parameters (kurtosis and skewness) are extremely fragile (near that line). However the mean and standard deviation are fairly reliable." Therefore, the problem is for the case of four parameter estimation for very skewed distributions such that the excess kurtosis approaches (3/2) times the square of the skewness. This boundary line is produced by extremely skewed distributions with very large values of one of the parameters and very small values of the other parameter. See section titled "Kurtosis bounded by the square of the skewness" for a numerical example and further comments about this rear edge boundary line (sample excess kurtosis - (3/2)(sample skewness)2 = 0). As remarked by Karl Pearson himself [40] this issue may not be of much practical importance as this trouble arises only for very skewed J-shaped (or mirror-image J-shaped) distributions with very different values of shape parameters that are unlikely to occur much in practice). The usual skewed-bell-shape distributions that occur in practice do not have this parameter estimation problem.
The remaining two parameters a ^ , c ^ {\displaystyle {\hat {a}},{\hat {c}}} can be determined using the sample mean and the sample variance using a variety of equations.[1][37] One alternative is to calculate the support interval range ( c ^ − a ^ ) {\displaystyle ({\hat {c}}-{\hat {a}})} based on the sample variance and the sample kurtosis. For this purpose one can solve, in terms of the range ( c ^ − a ^ ) {\displaystyle ({\hat {c}}-{\hat {a}})} , the equation expressing the excess kurtosis in terms of the sample variance, and the sample size ν (see section titled "Kurtosis" and "Alternative parametrizations, four parameters"):
sample excess kurtosis = 6 ( 3 + ν ^ ) ( 2 + ν ^ ) ( ( c ^ − a ^ ) 2 (sample variance) − 6 − 5 ν ^ ) {\displaystyle {\text{sample excess kurtosis}}={\frac {6}{(3+{\hat {\nu }})(2+{\hat {\nu }})}}{\bigg (}{\frac {({\hat {c}}-{\hat {a}})^{2}}{\text{(sample variance)}}}-6-5{\hat {\nu }}{\bigg )}}
to obtain:
( c ^ − a ^ ) = (sample variance) 6 + 5 ν ^ + ( 2 + ν ^ ) ( 3 + ν ^ ) 6 (sample excess kurtosis) {\displaystyle ({\hat {c}}-{\hat {a}})={\sqrt {\text{(sample variance)}}}{\sqrt {6+5{\hat {\nu }}+{\frac {(2+{\hat {\nu }})(3+{\hat {\nu }})}{6}}{\text{(sample excess kurtosis)}}}}}
Another alternative is to calculate the support interval range ( c ^ − a ^ ) {\displaystyle ({\hat {c}}-{\hat {a}})} based on the sample variance and the sample skewness.[37] For this purpose one can solve, in terms of the range ( c ^ − a ^ ) {\displaystyle ({\hat {c}}-{\hat {a}})} , the equation expressing the squared skewness in terms of the sample variance, and the sample size ν (see section titled "Skewness" and "Alternative parametrizations, four parameters"):
( sample skewness ) 2 = 4 ( 2 + ν ^ ) 2 ( ( c ^ − a ^ ) 2 (sample variance) − 4 ( 1 + ν ^ ) ) {\displaystyle ({\text{sample skewness}})^{2}={\frac {4}{(2+{\hat {\nu }})^{2}}}{\bigg (}{\frac {({\hat {c}}-{\hat {a}})^{2}}{\text{(sample variance)}}}-4(1+{\hat {\nu }}){\bigg )}}
to obtain:[37]
( c ^ − a ^ ) = (sample variance) 2 ( 2 + ν ^ ) 2 ( sample skewness ) 2 + 16 ( 1 + ν ^ ) {\displaystyle ({\hat {c}}-{\hat {a}})={\frac {\sqrt {\text{(sample variance)}}}{2}}{\sqrt {(2+{\hat {\nu }})^{2}({\text{sample skewness}})^{2}+16(1+{\hat {\nu }})}}}
The remaining parameter can be determined from the sample mean and the previously obtained parameters: ( c ^ − a ^ ) , α ^ , ν ^ = α ^ + β ^ {\displaystyle ({\hat {c}}-{\hat {a}}),{\hat {\alpha }},{\hat {\nu }}={\hat {\alpha }}+{\hat {\beta }}} :
a ^ = ( sample mean ) − ( α ^ ν ^ ) ( c ^ − a ^ ) {\displaystyle {\hat {a}}=({\text{sample mean}})-\left({\frac {\hat {\alpha }}{\hat {\nu }}}\right)({\hat {c}}-{\hat {a}})}
and finally, of course, c ^ = ( c ^ − a ^ ) + a ^ {\displaystyle {\hat {c}}=({\hat {c}}-{\hat {a}})+{\hat {a}}} .
In the above formulas one may take, for example, as estimates of the sample moments:
sample mean = y ¯ = 1 N ∑ i = 1 N Y i sample variance = v ¯ Y = 1 N − 1 ∑ i = 1 N ( Y i − y ¯ ) 2 sample skewness = G 1 = N ( N − 1 ) ( N − 2 ) ∑ i = 1 N ( Y i − y ¯ ) 3 v ¯ Y 3 2 sample excess kurtosis = G 2 = N ( N + 1 ) ( N − 1 ) ( N − 2 ) ( N − 3 ) ∑ i = 1 N ( Y i − y ¯ ) 4 v ¯ Y 2 − 3 ( N − 1 ) 2 ( N − 2 ) ( N − 3 ) {\displaystyle {\begin{aligned}{\text{sample mean}}&={\overline {y}}={\frac {1}{N}}\sum _{i=1}^{N}Y_{i}\\{\text{sample variance}}&={\overline {v}}_{Y}={\frac {1}{N-1}}\sum _{i=1}^{N}(Y_{i}-{\overline {y}})^{2}\\{\text{sample skewness}}&=G_{1}={\frac {N}{(N-1)(N-2)}}{\frac {\sum _{i=1}^{N}(Y_{i}-{\overline {y}})^{3}}{{\overline {v}}_{Y}^{\frac {3}{2}}}}\\{\text{sample excess kurtosis}}&=G_{2}={\frac {N(N+1)}{(N-1)(N-2)(N-3)}}{\frac {\sum _{i=1}^{N}(Y_{i}-{\overline {y}})^{4}}{{\overline {v}}_{Y}^{2}}}-{\frac {3(N-1)^{2}}{(N-2)(N-3)}}\end{aligned}}}
The estimators G1 for sample skewness and G2 for sample kurtosis are used by DAP/SAS, PSPP/SPSS, and Excel. However, they are not used by BMDP and (according to [41]) they were not used by MINITAB in 1998. Actually, Joanes and Gill in their 1998 study[41] concluded that the skewness and kurtosis estimators used in BMDP and in MINITAB (at that time) had smaller variance and mean-squared error in normal samples, but the skewness and kurtosis estimators used in DAP/SAS, PSPP/SPSS, namely G1 and G2, had smaller mean-squared error in samples from a very skewed distribution. It is for this reason that we have spelled out "sample skewness", etc., in the above formulas, to make it explicit that the user should choose the best estimator according to the problem at hand, as the best estimator for skewness and kurtosis depends on the amount of skewness (as shown by Joanes and Gill[41]).
Maximum likelihood[edit]
Two unknown parameters[edit]
Max (joint log likelihood/N) for beta distribution maxima at α = β = 2
Max (joint log likelihood/N) for Beta distribution maxima at α = β ∈ {0.25,0.5,1,2,4,6,8}
As is also the case for maximum likelihood estimates for the gamma distribution, the maximum likelihood estimates for the beta distribution do not have a general closed form solution for arbitrary values of the shape parameters. If X1, ..., XN are independent random variables each having a beta distribution, the joint log likelihood function for N iid observations is:
ln L ( α , β ∣ X ) = ∑ i = 1 N ln  ( L i ( α , β ∣ X i ) ) = ∑ i = 1 N ln  ( f ( X i ; α , β ) ) = ∑ i = 1 N ln  ( X i α − 1 ( 1 − X i ) β − 1 B ( α , β ) ) = ( α − 1 ) ∑ i = 1 N ln  ( X i ) + ( β − 1 ) ∑ i = 1 N ln  ( 1 − X i ) − N ln  B ( α , β ) {\displaystyle {\begin{aligned}\ln \,{\mathcal {L}}(\alpha ,\beta \mid X)&=\sum _{i=1}^{N}\ln \left({\mathcal {L}}_{i}(\alpha ,\beta \mid X_{i})\right)\\&=\sum _{i=1}^{N}\ln \left(f(X_{i};\alpha ,\beta )\right)\\&=\sum _{i=1}^{N}\ln \left({\frac {X_{i}^{\alpha -1}(1-X_{i})^{\beta -1}}{\mathrm {B} (\alpha ,\beta )}}\right)\\&=(\alpha -1)\sum _{i=1}^{N}\ln(X_{i})+(\beta -1)\sum _{i=1}^{N}\ln(1-X_{i})-N\ln \mathrm {B} (\alpha ,\beta )\end{aligned}}}
Finding the maximum with respect to a shape parameter involves taking the partial derivative with respect to the shape parameter and setting the expression equal to zero yielding the maximum likelihood estimator of the shape parameters:
∂ ln  L ( α , β ∣ X ) ∂ α = ∑ i = 1 N ln  X i − N ∂ ln  B ( α , β ) ∂ α = 0 {\displaystyle {\frac {\partial \ln {\mathcal {L}}(\alpha ,\beta \mid X)}{\partial \alpha }}=\sum _{i=1}^{N}\ln X_{i}-N{\frac {\partial \ln \mathrm {B} (\alpha ,\beta )}{\partial \alpha }}=0}
∂ ln  L ( α , β ∣ X ) ∂ β = ∑ i = 1 N ln  ( 1 − X i ) − N ∂ ln  B ( α , β ) ∂ β = 0 {\displaystyle {\frac {\partial \ln {\mathcal {L}}(\alpha ,\beta \mid X)}{\partial \beta }}=\sum _{i=1}^{N}\ln(1-X_{i})-N{\frac {\partial \ln \mathrm {B} (\alpha ,\beta )}{\partial \beta }}=0}
where:
∂ ln  B ( α , β ) ∂ α = − ∂ ln  Γ ( α + β ) ∂ α + ∂ ln  Γ ( α ) ∂ α + ∂ ln  Γ ( β ) ∂ α = − ψ ( α + β ) + ψ ( α ) + 0 {\displaystyle {\frac {\partial \ln \mathrm {B} (\alpha ,\beta )}{\partial \alpha }}=-{\frac {\partial \ln \Gamma (\alpha +\beta )}{\partial \alpha }}+{\frac {\partial \ln \Gamma (\alpha )}{\partial \alpha }}+{\frac {\partial \ln \Gamma (\beta )}{\partial \alpha }}=-\psi (\alpha +\beta )+\psi (\alpha )+0}
∂ ln  B ( α , β ) ∂ β = − ∂ ln  Γ ( α + β ) ∂ β + ∂ ln  Γ ( α ) ∂ β + ∂ ln  Γ ( β ) ∂ β = − ψ ( α + β ) + 0 + ψ ( β ) {\displaystyle {\frac {\partial \ln \mathrm {B} (\alpha ,\beta )}{\partial \beta }}=-{\frac {\partial \ln \Gamma (\alpha +\beta )}{\partial \beta }}+{\frac {\partial \ln \Gamma (\alpha )}{\partial \beta }}+{\frac {\partial \ln \Gamma (\beta )}{\partial \beta }}=-\psi (\alpha +\beta )+0+\psi (\beta )}
since the digamma function denoted ψ(α) is defined as the logarithmic derivative of the gamma function:[19]
ψ ( α ) = ∂ ln  Γ ( α ) ∂ α {\displaystyle \psi (\alpha )={\frac {\partial \ln \Gamma (\alpha )}{\partial \alpha }}}
To ensure that the values with zero tangent slope are indeed a maximum (instead of a saddle-point or a minimum) one has to also satisfy the condition that the curvature is negative. This amounts to satisfying that the second partial derivative with respect to the shape parameters is negative
∂ 2 ln  L ( α , β ∣ X ) ∂ α 2 = − N ∂ 2 ln  B ( α , β ) ∂ α 2 < 0 {\displaystyle {\frac {\partial ^{2}\ln {\mathcal {L}}(\alpha ,\beta \mid X)}{\partial \alpha ^{2}}}=-N{\frac {\partial ^{2}\ln \mathrm {B} (\alpha ,\beta )}{\partial \alpha ^{2}}}<0}
∂ 2 ln  L ( α , β ∣ X ) ∂ β 2 = − N ∂ 2 ln  B ( α , β ) ∂ β 2 < 0 {\displaystyle {\frac {\partial ^{2}\ln {\mathcal {L}}(\alpha ,\beta \mid X)}{\partial \beta ^{2}}}=-N{\frac {\partial ^{2}\ln \mathrm {B} (\alpha ,\beta )}{\partial \beta ^{2}}}<0}
using the previous equations, this is equivalent to:
∂ 2 ln  B ( α , β ) ∂ α 2 = ψ 1 ( α ) − ψ 1 ( α + β ) > 0 {\displaystyle {\frac {\partial ^{2}\ln \mathrm {B} (\alpha ,\beta )}{\partial \alpha ^{2}}}=\psi _{1}(\alpha )-\psi _{1}(\alpha +\beta )>0}
∂ 2 ln  B ( α , β ) ∂ β 2 = ψ 1 ( β ) − ψ 1 ( α + β ) > 0 {\displaystyle {\frac {\partial ^{2}\ln \mathrm {B} (\alpha ,\beta )}{\partial \beta ^{2}}}=\psi _{1}(\beta )-\psi _{1}(\alpha +\beta )>0}
where the trigamma function, denoted ψ1(α), is the second of the polygamma functions, and is defined as the derivative of the digamma function:
ψ 1 ( α ) = ∂ 2 ln  Γ ( α ) ∂ α 2 = ∂ ψ ( α ) ∂ α . {\displaystyle \psi _{1}(\alpha )={\frac {\partial ^{2}\ln \Gamma (\alpha )}{\partial \alpha ^{2}}}=\,{\frac {\partial \,\psi (\alpha )}{\partial \alpha }}.}
These conditions are equivalent to stating that the variances of the logarithmically transformed variables are positive, since:
var  [ ln  ( X ) ] = E  [ ln 2  ( X ) ] − ( E  [ ln  ( X ) ] ) 2 = ψ 1 ( α ) − ψ 1 ( α + β ) {\displaystyle \operatorname {var} [\ln(X)]=\operatorname {E} [\ln ^{2}(X)]-(\operatorname {E} [\ln(X)])^{2}=\psi _{1}(\alpha )-\psi _{1}(\alpha +\beta )}
var  [ ln  ( 1 − X ) ] = E  [ ln 2  ( 1 − X ) ] − ( E  [ ln  ( 1 − X ) ] ) 2 = ψ 1 ( β ) − ψ 1 ( α + β ) {\displaystyle \operatorname {var} [\ln(1-X)]=\operatorname {E} [\ln ^{2}(1-X)]-(\operatorname {E} [\ln(1-X)])^{2}=\psi _{1}(\beta )-\psi _{1}(\alpha +\beta )}
Therefore, the condition of negative curvature at a maximum is equivalent to the statements:
var  [ ln  ( X ) ] > 0 {\displaystyle \operatorname {var} [\ln(X)]>0}
var  [ ln  ( 1 − X ) ] > 0 {\displaystyle \operatorname {var} [\ln(1-X)]>0}
Alternatively, the condition of negative curvature at a maximum is also equivalent to stating that the following logarithmic derivatives of the geometric means GX and G(1−X) are positive, since:
ψ 1 ( α ) − ψ 1 ( α + β ) = ∂ ln  G X ∂ α > 0 {\displaystyle \psi _{1}(\alpha )-\psi _{1}(\alpha +\beta )={\frac {\partial \ln G_{X}}{\partial \alpha }}>0}
ψ 1 ( β ) − ψ 1 ( α + β ) = ∂ ln  G ( 1 − X ) ∂ β > 0 {\displaystyle \psi _{1}(\beta )-\psi _{1}(\alpha +\beta )={\frac {\partial \ln G_{(1-X)}}{\partial \beta }}>0}
While these slopes are indeed positive, the other slopes are negative:
∂ ln  G X ∂ β , ∂ ln  G ( 1 − X ) ∂ α < 0. {\displaystyle {\frac {\partial \,\ln G_{X}}{\partial \beta }},{\frac {\partial \ln G_{(1-X)}}{\partial \alpha }}<0.}
The slopes of the mean and the median with respect to α and β display similar sign behavior.
From the condition that at a maximum, the partial derivative with respect to the shape parameter equals zero, we obtain the following system of coupled maximum likelihood estimate equations (for the average log-likelihoods) that needs to be inverted to obtain the (unknown) shape parameter estimates α ^ , β ^ {\displaystyle {\hat {\alpha }},{\hat {\beta }}} in terms of the (known) average of logarithms of the samples X1, ..., XN:[1]
E ^ [ ln  ( X ) ] = ψ ( α ^ ) − ψ ( α ^ + β ^ ) = 1 N ∑ i = 1 N ln  X i = ln  G ^ X E ^ [ ln  ( 1 − X ) ] = ψ ( β ^ ) − ψ ( α ^ + β ^ ) = 1 N ∑ i = 1 N ln  ( 1 − X i ) = ln  G ^ ( 1 − X ) {\displaystyle {\begin{aligned}{\hat {\operatorname {E} }}[\ln(X)]&=\psi ({\hat {\alpha }})-\psi ({\hat {\alpha }}+{\hat {\beta }})={\frac {1}{N}}\sum _{i=1}^{N}\ln X_{i}=\ln {\hat {G}}_{X}\\{\hat {\operatorname {E} }}[\ln(1-X)]&=\psi ({\hat {\beta }})-\psi ({\hat {\alpha }}+{\hat {\beta }})={\frac {1}{N}}\sum _{i=1}^{N}\ln(1-X_{i})=\ln {\hat {G}}_{(1-X)}\end{aligned}}}
where we recognize log  G ^ X {\displaystyle \log {\hat {G}}_{X}} as the logarithm of the sample geometric mean and log  G ^ ( 1 − X ) {\displaystyle \log {\hat {G}}_{(1-X)}} as the logarithm of the sample geometric mean based on (1 − X), the mirror-image of X. For α ^ = β ^ {\displaystyle {\hat {\alpha }}={\hat {\beta }}} , it follows that G ^ X = G ^ ( 1 − X ) {\displaystyle {\hat {G}}_{X}={\hat {G}}_{(1-X)}} .
G ^ X = ∏ i = 1 N ( X i ) 1 / N G ^ ( 1 − X ) = ∏ i = 1 N ( 1 − X i ) 1 / N {\displaystyle {\begin{aligned}{\hat {G}}_{X}&=\prod _{i=1}^{N}(X_{i})^{1/N}\\{\hat {G}}_{(1-X)}&=\prod _{i=1}^{N}(1-X_{i})^{1/N}\end{aligned}}}
These coupled equations containing digamma functions of the shape parameter estimates α ^ , β ^ {\displaystyle {\hat {\alpha }},{\hat {\beta }}} must be solved by numerical methods as done, for example, by Beckman et al.[42] Gnanadesikan et al. give numerical solutions for a few cases.[43] N.L.Johnson and S.Kotz[1] suggest that for "not too small" shape parameter estimates α ^ , β ^ {\displaystyle {\hat {\alpha }},{\hat {\beta }}} , the logarithmic approximation to the digamma function ψ ( α ^ ) ≈ ln  ( α ^ − 1 2 ) {\displaystyle \psi ({\hat {\alpha }})\approx \ln({\hat {\alpha }}-{\tfrac {1}{2}})} may be used to obtain initial values for an iterative solution, since the equations resulting from this approximation can be solved exactly:
ln  α ^ − 1 2 α ^ + β ^ − 1 2 ≈ ln  G ^ X {\displaystyle \ln {\frac {{\hat {\alpha }}-{\frac {1}{2}}}{{\hat {\alpha }}+{\hat {\beta }}-{\frac {1}{2}}}}\approx \ln {\hat {G}}_{X}}
ln  β ^ − 1 2 α ^ + β ^ − 1 2 ≈ ln  G ^ ( 1 − X ) {\displaystyle \ln {\frac {{\hat {\beta }}-{\frac {1}{2}}}{{\hat {\alpha }}+{\hat {\beta }}-{\frac {1}{2}}}}\approx \ln {\hat {G}}_{(1-X)}}
which leads to the following solution for the initial values (of the estimate shape parameters in terms of the sample geometric means) for an iterative solution:
α ^ ≈ 1 2 + G ^ X 2 ( 1 − G ^ X − G ^ ( 1 − X ) ) if α ^ > 1 {\displaystyle {\hat {\alpha }}\approx {\tfrac {1}{2}}+{\frac {{\hat {G}}_{X}}{2(1-{\hat {G}}_{X}-{\hat {G}}_{(1-X)})}}{\text{ if }}{\hat {\alpha }}>1}
β ^ ≈ 1 2 + G ^ ( 1 − X ) 2 ( 1 − G ^ X − G ^ ( 1 − X ) ) if β ^ > 1 {\displaystyle {\hat {\beta }}\approx {\tfrac {1}{2}}+{\frac {{\hat {G}}_{(1-X)}}{2(1-{\hat {G}}_{X}-{\hat {G}}_{(1-X)})}}{\text{ if }}{\hat {\beta }}>1}
Alternatively, the estimates provided by the method of moments can instead be used as initial values for an iterative solution of the maximum likelihood coupled equations in terms of the digamma functions.
When the distribution is required over a known interval other than [0, 1] with random variable X, say [a, c] with random variable Y, then replace ln(Xi) in the first equation with
ln  Y i − a c − a , {\displaystyle \ln {\frac {Y_{i}-a}{c-a}},}
and replace ln(1−Xi) in the second equation with
ln  c − Y i c − a {\displaystyle \ln {\frac {c-Y_{i}}{c-a}}}
(see "Alternative parametrizations, four parameters" section below).
If one of the shape parameters is known, the problem is considerably simplified. The following logit transformation can be used to solve for the unknown shape parameter (for skewed cases such that α ^ ≠ β ^ {\displaystyle {\hat {\alpha }}\neq {\hat {\beta }}} , otherwise, if symmetric, both -equal- parameters are known when one is known):
E ^ [ ln  ( X 1 − X ) ] = ψ ( α ^ ) − ψ ( β ^ ) = 1 N ∑ i = 1 N ln  X i 1 − X i = ln  G ^ X − ln  ( G ^ ( 1 − X ) ) {\displaystyle {\hat {\operatorname {E} }}\left[\ln \left({\frac {X}{1-X}}\right)\right]=\psi ({\hat {\alpha }})-\psi ({\hat {\beta }})={\frac {1}{N}}\sum _{i=1}^{N}\ln {\frac {X_{i}}{1-X_{i}}}=\ln {\hat {G}}_{X}-\ln \left({\hat {G}}_{(1-X)}\right)}
This logit transformation is the logarithm of the transformation that divides the variable X by its mirror-image (X/(1 - X) resulting in the "inverted beta distribution" or beta prime distribution (also known as beta distribution of the second kind or Pearson's Type VI) with support [0, +∞). As previously discussed in the section "Moments of logarithmically transformed random variables," the logit transformation ln  X 1 − X {\displaystyle \ln {\frac {X}{1-X}}} , studied by Johnson,[25] extends the finite support [0, 1] based on the original variable X to infinite support in both directions of the real line (−∞, +∞).
If, for example, β ^ {\displaystyle {\hat {\beta }}} is known, the unknown parameter α ^ {\displaystyle {\hat {\alpha }}} can be obtained in terms of the inverse[44] digamma function of the right hand side of this equation:
ψ ( α ^ ) = 1 N ∑ i = 1 N ln  X i 1 − X i + ψ ( β ^ ) {\displaystyle \psi ({\hat {\alpha }})={\frac {1}{N}}\sum _{i=1}^{N}\ln {\frac {X_{i}}{1-X_{i}}}+\psi ({\hat {\beta }})}
α ^ = ( Inverse digamma ) [ ln  G ^ X − ln  G ^ ( 1 − X ) + ψ ( β ^ ) ] {\displaystyle {\hat {\alpha }}=({\text{Inverse digamma }})[\ln {\hat {G}}_{X}-\ln {\hat {G}}_{(1-X)}+\psi ({\hat {\beta }})]}
In particular, if one of the shape parameters has a value of unity, for example for β ^ = 1 {\displaystyle {\hat {\beta }}=1} (the power function distribution with bounded support [0,1]), using the identity ψ(x + 1) = ψ(x) + 1/x in the equation ψ ( α ^ ) − ψ ( α ^ + β ^ ) = ln  G ^ X {\displaystyle \psi ({\hat {\alpha }})-\psi ({\hat {\alpha }}+{\hat {\beta }})=\ln {\hat {G}}_{X}} , the maximum likelihood estimator for the unknown parameter α ^ {\displaystyle {\hat {\alpha }}} is,[1] exactly:
α ^ = − 1 1 N ∑ i = 1 N ln  X i = − 1 ln  G ^ X {\displaystyle {\hat {\alpha }}=-{\frac {1}{{\frac {1}{N}}\sum _{i=1}^{N}\ln X_{i}}}=-{\frac {1}{\ln {\hat {G}}_{X}}}}
The beta has support [0, 1], therefore G ^ X < 1 {\displaystyle {\hat {G}}_{X}<1} , and hence ( − ln  G ^ X ) > 0 {\displaystyle (-\ln {\hat {G}}_{X})>0} , and therefore α ^ > 0 {\displaystyle {\hat {\alpha }}>0} .
In conclusion, the maximum likelihood estimates of the shape parameters of a beta distribution are (in general) a complicated function of the sample geometric mean, and of the sample geometric mean based on (1−X), the mirror-image of X. One may ask, if the variance (in addition to the mean) is necessary to estimate two shape parameters with the method of moments, why is the (logarithmic or geometric) variance not necessary to estimate two shape parameters with the maximum likelihood method, for which only the geometric means suffice? The answer is because the mean does not provide as much information as the geometric mean. For a beta distribution with equal shape parameters α = β, the mean is exactly 1/2, regardless of the value of the shape parameters, and therefore regardless of the value of the statistical dispersion (the variance). On the other hand, the geometric mean of a beta distribution with equal shape parameters α = β, depends on the value of the shape parameters, and therefore it contains more information. Also, the geometric mean of a beta distribution does not satisfy the symmetry conditions satisfied by the mean, therefore, by employing both the geometric mean based on X and geometric mean based on (1−X), the maximum likelihood method is able to provide best estimates for both parameters α = β, without need of employing the variance.
One can express the joint log likelihood per N iid observations in terms of the sufficient statistics (the sample geometric means) as follows:
ln L ( α , β | X ) N = ( α − 1 ) ln  G ^ X + ( β − 1 ) ln  G ^ ( 1 − X ) − ln  B ( α , β ) {\displaystyle {\frac {\ln \,{\mathcal {L}}(\alpha ,\beta |X)}{N}}=(\alpha -1)\ln {\hat {G}}_{X}+(\beta -1)\ln {\hat {G}}_{(1-X)}-\ln \mathrm {B} (\alpha ,\beta )}
We can plot the joint log likelihood per N observations for fixed values of the sample geometric means to see the behavior of the likelihood function as a function of the shape parameters α and β. In such a plot, the shape parameter estimators α ^ , β ^ {\displaystyle {\hat {\alpha }},{\hat {\beta }}} correspond to the maxima of the likelihood function. See the accompanying graph that shows that all the likelihood functions intersect at α = β = 1, which corresponds to the values of the shape parameters that give the maximum entropy (the maximum entropy occurs for shape parameters equal to unity: the uniform distribution). It is evident from the plot that the likelihood function gives sharp peaks for values of the shape parameter estimators close to zero, but that for values of the shape parameters estimators greater than one, the likelihood function becomes quite flat, with less defined peaks. Obviously, the maximum likelihood parameter estimation method for the beta distribution becomes less acceptable for larger values of the shape parameter estimators, as the uncertainty in the peak definition increases with the value of the shape parameter estimators. One can arrive at the same conclusion by noticing that the expression for the curvature of the likelihood function is in terms of the geometric variances
∂ 2 ln  L ( α , β ∣ X ) ∂ α 2 = − var  [ ln  X ] {\displaystyle {\frac {\partial ^{2}\ln {\mathcal {L}}(\alpha ,\beta \mid X)}{\partial \alpha ^{2}}}=-\operatorname {var} [\ln X]}
∂ 2 ln  L ( α , β ∣ X ) ∂ β 2 = − var  [ ln  ( 1 − X ) ] {\displaystyle {\frac {\partial ^{2}\ln {\mathcal {L}}(\alpha ,\beta \mid X)}{\partial \beta ^{2}}}=-\operatorname {var} [\ln(1-X)]}
These variances (and therefore the curvatures) are much larger for small values of the shape parameter α and β. However, for shape parameter values α, β > 1, the variances (and therefore the curvatures) flatten out. Equivalently, this result follows from the Cramér–Rao bound, since the Fisher information matrix components for the beta distribution are these logarithmic variances. The Cramér–Rao bound states that the variance of any unbiased estimator α ^ {\displaystyle {\hat {\alpha }}} of α is bounded by the reciprocal of the Fisher information:
v a r ( α ^ ) ≥ 1 var  [ ln  X ] ≥ 1 ψ 1 ( α ^ ) − ψ 1 ( α ^ + β ^ ) {\displaystyle \mathrm {var} ({\hat {\alpha }})\geq {\frac {1}{\operatorname {var} [\ln X]}}\geq {\frac {1}{\psi _{1}({\hat {\alpha }})-\psi _{1}({\hat {\alpha }}+{\hat {\beta }})}}}
v a r ( β ^ ) ≥ 1 var  [ ln  ( 1 − X ) ] ≥ 1 ψ 1 ( β ^ ) − ψ 1 ( α ^ + β ^ ) {\displaystyle \mathrm {var} ({\hat {\beta }})\geq {\frac {1}{\operatorname {var} [\ln(1-X)]}}\geq {\frac {1}{\psi _{1}({\hat {\beta }})-\psi _{1}({\hat {\alpha }}+{\hat {\beta }})}}}
so the variance of the estimators increases with increasing α and β, as the logarithmic variances decrease.
Also one can express the joint log likelihood per N iid observations in terms of the digamma function expressions for the logarithms of the sample geometric means as follows:
ln L ( α , β ∣ X ) N = ( α − 1 ) ( ψ ( α ^ ) − ψ ( α ^ + β ^ ) ) + ( β − 1 ) ( ψ ( β ^ ) − ψ ( α ^ + β ^ ) ) − ln  B ( α , β ) {\displaystyle {\frac {\ln \,{\mathcal {L}}(\alpha ,\beta \mid X)}{N}}=(\alpha -1)(\psi ({\hat {\alpha }})-\psi ({\hat {\alpha }}+{\hat {\beta }}))+(\beta -1)(\psi ({\hat {\beta }})-\psi ({\hat {\alpha }}+{\hat {\beta }}))-\ln \mathrm {B} (\alpha ,\beta )}
this expression is identical to the negative of the cross-entropy (see section on "Quantities of information (entropy)"). Therefore, finding the maximum of the joint log likelihood of the shape parameters, per N iid observations, is identical to finding the minimum of the cross-entropy for the beta distribution, as a function of the shape parameters.
ln L ( α , β ∣ X ) N = − H = − h − D K L = − ln  B ( α , β ) + ( α − 1 ) ψ ( α ^ ) + ( β − 1 ) ψ ( β ^ ) − ( α + β − 2 ) ψ ( α ^ + β ^ ) {\displaystyle {\frac {\ln \,{\mathcal {L}}(\alpha ,\beta \mid X)}{N}}=-H=-h-D_{\mathrm {KL} }=-\ln \mathrm {B} (\alpha ,\beta )+(\alpha -1)\psi ({\hat {\alpha }})+(\beta -1)\psi ({\hat {\beta }})-(\alpha +\beta -2)\psi ({\hat {\alpha }}+{\hat {\beta }})}
with the cross-entropy defined as follows:
H = ∫ 0 1 − f ( X ; α ^ , β ^ ) ln  ( f ( X ; α , β ) ) d X {\displaystyle H=\int _{0}^{1}-f(X;{\hat {\alpha }},{\hat {\beta }})\ln(f(X;\alpha ,\beta ))\,{\rm {d}}X}
Four unknown parameters[edit]
The procedure is similar to the one followed in the two unknown parameter case. If Y1, ..., YN are independent random variables each having a beta distribution with four parameters, the joint log likelihood function for N iid observations is:
ln L ( α , β , a , c ∣ Y ) = ∑ i = 1 N ln L i ( α , β , a , c ∣ Y i ) = ∑ i = 1 N ln f ( Y i ; α , β , a , c ) = ∑ i = 1 N ln ( Y i − a ) α − 1 ( c − Y i ) β − 1 ( c − a ) α + β − 1 B ( α , β ) = ( α − 1 ) ∑ i = 1 N ln  ( Y i − a ) + ( β − 1 ) ∑ i = 1 N ln  ( c − Y i ) − N ln  B ( α , β ) − N ( α + β − 1 ) ln  ( c − a ) {\displaystyle {\begin{aligned}\ln \,{\mathcal {L}}(\alpha ,\beta ,a,c\mid Y)&=\sum _{i=1}^{N}\ln \,{\mathcal {L}}_{i}(\alpha ,\beta ,a,c\mid Y_{i})\\&=\sum _{i=1}^{N}\ln \,f(Y_{i};\alpha ,\beta ,a,c)\\&=\sum _{i=1}^{N}\ln \,{\frac {(Y_{i}-a)^{\alpha -1}(c-Y_{i})^{\beta -1}}{(c-a)^{\alpha +\beta -1}\mathrm {B} (\alpha ,\beta )}}\\&=(\alpha -1)\sum _{i=1}^{N}\ln(Y_{i}-a)+(\beta -1)\sum _{i=1}^{N}\ln(c-Y_{i})-N\ln \mathrm {B} (\alpha ,\beta )-N(\alpha +\beta -1)\ln(c-a)\end{aligned}}}
Finding the maximum with respect to a shape parameter involves taking the partial derivative with respect to the shape parameter and setting the expression equal to zero yielding the maximum likelihood estimator of the shape parameters:
∂ ln  L ( α , β , a , c ∣ Y ) ∂ α = ∑ i = 1 N ln  ( Y i − a ) − N ( − ψ ( α + β ) + ψ ( α ) ) − N ln  ( c − a ) = 0 {\displaystyle {\frac {\partial \ln {\mathcal {L}}(\alpha ,\beta ,a,c\mid Y)}{\partial \alpha }}=\sum _{i=1}^{N}\ln(Y_{i}-a)-N(-\psi (\alpha +\beta )+\psi (\alpha ))-N\ln(c-a)=0}
∂ ln  L ( α , β , a , c ∣ Y ) ∂ β = ∑ i = 1 N ln  ( c − Y i ) − N ( − ψ ( α + β ) + ψ ( β ) ) − N ln  ( c − a ) = 0 {\displaystyle {\frac {\partial \ln {\mathcal {L}}(\alpha ,\beta ,a,c\mid Y)}{\partial \beta }}=\sum _{i=1}^{N}\ln(c-Y_{i})-N(-\psi (\alpha +\beta )+\psi (\beta ))-N\ln(c-a)=0}
∂ ln  L ( α , β , a , c ∣ Y ) ∂ a = − ( α − 1 ) ∑ i = 1 N 1 Y i − a + N ( α + β − 1 ) 1 c − a = 0 {\displaystyle {\frac {\partial \ln {\mathcal {L}}(\alpha ,\beta ,a,c\mid Y)}{\partial a}}=-(\alpha -1)\sum _{i=1}^{N}{\frac {1}{Y_{i}-a}}\,+N(\alpha +\beta -1){\frac {1}{c-a}}=0}
∂ ln  L ( α , β , a , c ∣ Y ) ∂ c = ( β − 1 ) ∑ i = 1 N 1 c − Y i − N ( α + β − 1 ) 1 c − a = 0 {\displaystyle {\frac {\partial \ln {\mathcal {L}}(\alpha ,\beta ,a,c\mid Y)}{\partial c}}=(\beta -1)\sum _{i=1}^{N}{\frac {1}{c-Y_{i}}}\,-N(\alpha +\beta -1){\frac {1}{c-a}}=0}
these equations can be re-arranged as the following system of four coupled equations (the first two equations are geometric means and the second two equations are the harmonic means) in terms of the maximum likelihood estimates for the four parameters α ^ , β ^ , a ^ , c ^ {\displaystyle {\hat {\alpha }},{\hat {\beta }},{\hat {a}},{\hat {c}}} :
1 N ∑ i = 1 N ln  Y i − a ^ c ^ − a ^ = ψ ( α ^ ) − ψ ( α ^ + β ^ ) = ln  G ^ X {\displaystyle {\frac {1}{N}}\sum _{i=1}^{N}\ln {\frac {Y_{i}-{\hat {a}}}{{\hat {c}}-{\hat {a}}}}=\psi ({\hat {\alpha }})-\psi ({\hat {\alpha }}+{\hat {\beta }})=\ln {\hat {G}}_{X}}
1 N ∑ i = 1 N ln  c ^ − Y i c ^ − a ^ = ψ ( β ^ ) − ψ ( α ^ + β ^ ) = ln  G ^ 1 − X {\displaystyle {\frac {1}{N}}\sum _{i=1}^{N}\ln {\frac {{\hat {c}}-Y_{i}}{{\hat {c}}-{\hat {a}}}}=\psi ({\hat {\beta }})-\psi ({\hat {\alpha }}+{\hat {\beta }})=\ln {\hat {G}}_{1-X}}
1 1 N ∑ i = 1 N c ^ − a ^ Y i − a ^ = α ^ − 1 α ^ + β ^ − 1 = H ^ X {\displaystyle {\frac {1}{{\frac {1}{N}}\sum _{i=1}^{N}{\frac {{\hat {c}}-{\hat {a}}}{Y_{i}-{\hat {a}}}}}}={\frac {{\hat {\alpha }}-1}{{\hat {\alpha }}+{\hat {\beta }}-1}}={\hat {H}}_{X}}
1 1 N ∑ i = 1 N c ^ − a ^ c ^ − Y i = β ^ − 1 α ^ + β ^ − 1 = H ^ 1 − X {\displaystyle {\frac {1}{{\frac {1}{N}}\sum _{i=1}^{N}{\frac {{\hat {c}}-{\hat {a}}}{{\hat {c}}-Y_{i}}}}}={\frac {{\hat {\beta }}-1}{{\hat {\alpha }}+{\hat {\beta }}-1}}={\hat {H}}_{1-X}}
with sample geometric means:
G ^ X = ∏ i = 1 N ( Y i − a ^ c ^ − a ^ ) 1 N {\displaystyle {\hat {G}}_{X}=\prod _{i=1}^{N}\left({\frac {Y_{i}-{\hat {a}}}{{\hat {c}}-{\hat {a}}}}\right)^{\frac {1}{N}}}
G ^ ( 1 − X ) = ∏ i = 1 N ( c ^ − Y i c ^ − a ^ ) 1 N {\displaystyle {\hat {G}}_{(1-X)}=\prod _{i=1}^{N}\left({\frac {{\hat {c}}-Y_{i}}{{\hat {c}}-{\hat {a}}}}\right)^{\frac {1}{N}}}
The parameters a ^ , c ^ {\displaystyle {\hat {a}},{\hat {c}}} are embedded inside the geometric mean expressions in a nonlinear way (to the power 1/N). This precludes, in general, a closed form solution, even for an initial value approximation for iteration purposes. One alternative is to use as initial values for iteration the values obtained from the method of moments solution for the four parameter case. Furthermore, the expressions for the harmonic means are well-defined only for α ^ , β ^ > 1 {\displaystyle {\hat {\alpha }},{\hat {\beta }}>1} , which precludes a maximum likelihood solution for shape parameters less than unity in the four-parameter case. Fisher's information matrix for the four parameter case is positive-definite only for α, β > 2 (for further discussion, see section on Fisher information matrix, four parameter case), for bell-shaped (symmetric or unsymmetric) beta distributions, with inflection points located to either side of the mode. The following Fisher information components (that represent the expectations of the curvature of the log likelihood function) have singularities at the following values:
α = 2 : E  [ − 1 N ∂ 2 ln  L ( α , β , a , c ∣ Y ) ∂ a 2 ] = I a , a {\displaystyle \alpha =2:\quad \operatorname {E} \left[-{\frac {1}{N}}{\frac {\partial ^{2}\ln {\mathcal {L}}(\alpha ,\beta ,a,c\mid Y)}{\partial a^{2}}}\right]={\mathcal {I}}_{a,a}}
β = 2 : E  [ − 1 N ∂ 2 ln  L ( α , β , a , c ∣ Y ) ∂ c 2 ] = I c , c {\displaystyle \beta =2:\quad \operatorname {E} \left[-{\frac {1}{N}}{\frac {\partial ^{2}\ln {\mathcal {L}}(\alpha ,\beta ,a,c\mid Y)}{\partial c^{2}}}\right]={\mathcal {I}}_{c,c}}
α = 2 : E  [ − 1 N ∂ 2 ln  L ( α , β , a , c ∣ Y ) ∂ α ∂ a ] = I α , a {\displaystyle \alpha =2:\quad \operatorname {E} \left[-{\frac {1}{N}}{\frac {\partial ^{2}\ln {\mathcal {L}}(\alpha ,\beta ,a,c\mid Y)}{\partial \alpha \partial a}}\right]={\mathcal {I}}_{\alpha ,a}}
β = 1 : E  [ − 1 N ∂ 2 ln  L ( α , β , a , c ∣ Y ) ∂ β ∂ c ] = I β , c {\displaystyle \beta =1:\quad \operatorname {E} \left[-{\frac {1}{N}}{\frac {\partial ^{2}\ln {\mathcal {L}}(\alpha ,\beta ,a,c\mid Y)}{\partial \beta \partial c}}\right]={\mathcal {I}}_{\beta ,c}}
(for further discussion see section on Fisher information matrix). Thus, it is not possible to strictly carry on the maximum likelihood estimation for some well known distributions belonging to the four-parameter beta distribution family, like the uniform distribution (Beta(1, 1, a, c)), and the arcsine distribution (Beta(1/2, 1/2, a, c)). N.L.Johnson and S.Kotz[1] ignore the equations for the harmonic means and instead suggest "If a and c are unknown, and maximum likelihood estimators of a, c, α and β are required, the above procedure (for the two unknown parameter case, with X transformed as X = (Y − a)/(c − a)) can be repeated using a succession of trial values of a and c, until the pair (a, c) for which maximum likelihood (given a and c) is as great as possible, is attained" (where, for the purpose of clarity, their notation for the parameters has been translated into the present notation).
Fisher information matrix[edit]
Let a random variable X have a probability density f(x;α). The partial derivative with respect to the (unknown, and to be estimated) parameter α of the log likelihood function is called the score. The second moment of the score is called the Fisher information:
I ( α ) = E  [ ( ∂ ∂ α ln  L ( α ∣ X ) ) 2 ] , {\displaystyle {\mathcal {I}}(\alpha )=\operatorname {E} \left[\left({\frac {\partial }{\partial \alpha }}\ln {\mathcal {L}}(\alpha \mid X)\right)^{2}\right],}
The expectation of the score is zero, therefore the Fisher information is also the second moment centered on the mean of the score: the variance of the score.
If the log likelihood function is twice differentiable with respect to the parameter α, and under certain regularity conditions,[45] then the Fisher information may also be written as follows (which is often a more convenient form for calculation purposes):
I ( α ) = − E  [ ∂ 2 ∂ α 2 ln  ( L ( α ∣ X ) ) ] . {\displaystyle {\mathcal {I}}(\alpha )=-\operatorname {E} \left[{\frac {\partial ^{2}}{\partial \alpha ^{2}}}\ln({\mathcal {L}}(\alpha \mid X))\right].}
Thus, the Fisher information is the negative of the expectation of the second derivative with respect to the parameter α of the log likelihood function. Therefore, Fisher information is a measure of the curvature of the log likelihood function of α. A low curvature (and therefore high radius of curvature), flatter log likelihood function curve has low Fisher information; while a log likelihood function curve with large curvature (and therefore low radius of curvature) has high Fisher information. When the Fisher information matrix is computed at the evaluates of the parameters ("the observed Fisher information matrix") it is equivalent to the replacement of the true log likelihood surface by a Taylor's series approximation, taken as far as the quadratic terms.[46] The word information, in the context of Fisher information, refers to information about the parameters. Information such as: estimation, sufficiency and properties of variances of estimators. The Cramér–Rao bound states that the inverse of the Fisher information is a lower bound on the variance of any estimator of a parameter α:
var  [ α ^ ] ≥ 1 I ( α ) . {\displaystyle \operatorname {var} [{\hat {\alpha }}]\geq {\frac {1}{{\mathcal {I}}(\alpha )}}.}
The precision to which one can estimate the estimator of a parameter α is limited by the Fisher Information of the log likelihood function. The Fisher information is a measure of the minimum error involved in estimating a parameter of a distribution and it can be viewed as a measure of the resolving power of an experiment needed to discriminate between two alternative hypothesis of a parameter.[47]
When there are N parameters
[ θ 1 θ 2 … θ N ] , {\displaystyle {\begin{bmatrix}\theta _{1}\\\theta _{2}\\\dots \\\theta _{N}\end{bmatrix}},}
then the Fisher information takes the form of an N×N positive semidefinite symmetric matrix, the Fisher Information Matrix, with typical element:
( I ( θ ) ) i , j = E  [ ( ∂ ∂ θ i ln  L ) ( ∂ ∂ θ j ln  L ) ] . {\displaystyle {({\mathcal {I}}(\theta ))}_{i,j}=\operatorname {E} \left[\left({\frac {\partial }{\partial \theta _{i}}}\ln {\mathcal {L}}\right)\left({\frac {\partial }{\partial \theta _{j}}}\ln {\mathcal {L}}\right)\right].}
Under certain regularity conditions,[45] the Fisher Information Matrix may also be written in the following form, which is often more convenient for computation:
( I ( θ ) ) i , j = − E  [ ∂ 2 ∂ θ i ∂ θ j ln  ( L ) ] . {\displaystyle {({\mathcal {I}}(\theta ))}_{i,j}=-\operatorname {E} \left[{\frac {\partial ^{2}}{\partial \theta _{i}\,\partial \theta _{j}}}\ln({\mathcal {L}})\right]\,.}
With X1, ..., XN iid random variables, an N-dimensional "box" can be constructed with sides X1, ..., XN. Costa and Cover[48] show that the (Shannon) differential entropy h(X) is related to the volume of the typical set (having the sample entropy close to the true entropy), while the Fisher information is related to the surface of this typical set.
Two parameters[edit]
For X1, ..., XN independent random variables each having a beta distribution parametrized with shape parameters α and β, the joint log likelihood function for N iid observations is:
ln  ( L ( α , β ∣ X ) ) = ( α − 1 ) ∑ i = 1 N ln  X i + ( β − 1 ) ∑ i = 1 N ln  ( 1 − X i ) − N ln  B ( α , β ) {\displaystyle \ln({\mathcal {L}}(\alpha ,\beta \mid X))=(\alpha -1)\sum _{i=1}^{N}\ln X_{i}+(\beta -1)\sum _{i=1}^{N}\ln(1-X_{i})-N\ln \mathrm {B} (\alpha ,\beta )}
therefore the joint log likelihood function per N iid observations is:
1 N ln  ( L ( α , β ∣ X ) ) = ( α − 1 ) 1 N ∑ i = 1 N ln  X i + ( β − 1 ) 1 N ∑ i = 1 N ln  ( 1 − X i ) − ln  B ( α , β ) {\displaystyle {\frac {1}{N}}\ln({\mathcal {L}}(\alpha ,\beta \mid X))=(\alpha -1){\frac {1}{N}}\sum _{i=1}^{N}\ln X_{i}+(\beta -1){\frac {1}{N}}\sum _{i=1}^{N}\ln(1-X_{i})-\,\ln \mathrm {B} (\alpha ,\beta )}
For the two parameter case, the Fisher information has 4 components: 2 diagonal and 2 off-diagonal. Since the Fisher information matrix is symmetric, one of these off diagonal components is independent. Therefore, the Fisher information matrix has 3 independent components (2 diagonal and 1 off diagonal).
Aryal and Nadarajah[49] calculated Fisher's information matrix for the four-parameter case, from which the two parameter case can be obtained as follows:
− ∂ 2 ln  L ( α , β ∣ X ) N ∂ α 2 = var  [ ln  ( X ) ] = ψ 1 ( α ) − ψ 1 ( α + β ) = I α , α = E  [ − ∂ 2 ln  L ( α , β ∣ X ) N ∂ α 2 ] = ln v a r G X {\displaystyle -{\frac {\partial ^{2}\ln {\mathcal {L}}(\alpha ,\beta \mid X)}{N\partial \alpha ^{2}}}=\operatorname {var} [\ln(X)]=\psi _{1}(\alpha )-\psi _{1}(\alpha +\beta )={\mathcal {I}}_{\alpha ,\alpha }=\operatorname {E} \left[-{\frac {\partial ^{2}\ln {\mathcal {L}}(\alpha ,\beta \mid X)}{N\partial \alpha ^{2}}}\right]=\ln \,\operatorname {var_{GX}} }
− ∂ 2 ln  L ( α , β ∣ X ) N ∂ β 2 = var  [ ln  ( 1 − X ) ] = ψ 1 ( β ) − ψ 1 ( α + β ) = I β , β = E  [ − ∂ 2 ln  L ( α , β ∣ X ) N ∂ β 2 ] = ln v a r G ( 1 - X ) {\displaystyle -{\frac {\partial ^{2}\ln {\mathcal {L}}(\alpha ,\beta \mid X)}{N\partial \beta ^{2}}}=\operatorname {var} [\ln(1-X)]=\psi _{1}(\beta )-\psi _{1}(\alpha +\beta )={\mathcal {I}}_{\beta ,\beta }=\operatorname {E} \left[-{\frac {\partial ^{2}\ln {\mathcal {L}}(\alpha ,\beta \mid X)}{N\partial \beta ^{2}}}\right]=\ln \,\operatorname {var_{G(1-X)}} }
− ∂ 2 ln  L ( α , β ∣ X ) N ∂ α ∂ β = cov  [ ln  X , ln  ( 1 − X ) ] = − ψ 1 ( α + β ) = I α , β = E  [ − ∂ 2 ln  L ( α , β ∣ X ) N ∂ α ∂ β ] = ln c o v G X , ( 1 - X ) {\displaystyle -{\frac {\partial ^{2}\ln {\mathcal {L}}(\alpha ,\beta \mid X)}{N{\partial \alpha }{\partial \beta }}}=\operatorname {cov} [\ln X,\ln(1-X)]=-\psi _{1}(\alpha +\beta )={\mathcal {I}}_{\alpha ,\beta }=\operatorname {E} \left[-{\frac {\partial ^{2}\ln {\mathcal {L}}(\alpha ,\beta \mid X)}{N{\partial \alpha }{\partial \beta }}}\right]=\ln \,\operatorname {cov_{G{X,(1-X)}}} }
Since the Fisher information matrix is symmetric
I α , β = I β , α = ln c o v G X , ( 1 - X ) {\displaystyle {\mathcal {I}}_{\alpha ,\beta }={\mathcal {I}}_{\beta ,\alpha }=\ln \,\operatorname {cov_{G{X,(1-X)}}} }
The Fisher information components are equal to the log geometric variances and log geometric covariance. Therefore, they can be expressed as trigamma functions, denoted ψ1(α), the second of the polygamma functions, defined as the derivative of the digamma function:
ψ 1 ( α ) = d 2 ln  Γ ( α ) ∂ α 2 = ∂ ψ ( α ) ∂ α . {\displaystyle \psi _{1}(\alpha )={\frac {d^{2}\ln \Gamma (\alpha )}{\partial \alpha ^{2}}}=\,{\frac {\partial \psi (\alpha )}{\partial \alpha }}.}
These derivatives are also derived in the section titled "Parameter estimation", "Maximum likelihood", "Two unknown parameters," and plots of the log likelihood function are also shown in that section. The section titled "Geometric variance and covariance" contains plots and further discussion of the Fisher information matrix components: the log geometric variances and log geometric covariance as a function of the shape parameters α and β. The section titled "Other moments", "Moments of transformed random variables", "Moments of logarithmically transformed random variables" contains formulas for moments of logarithmically transformed random variables. Images for the Fisher information components I α , α , I β , β {\displaystyle {\mathcal {I}}_{\alpha ,\alpha },{\mathcal {I}}_{\beta ,\beta }} and I α , β {\displaystyle {\mathcal {I}}_{\alpha ,\beta }} are shown in the section titled "Geometric variance".
The determinant of Fisher's information matrix is of interest (for example for the calculation of Jeffreys prior probability). From the expressions for the individual components of the Fisher information matrix, it follows that the determinant of Fisher's (symmetric) information matrix for the beta distribution is:
det ( I ( α , β ) ) = I α , α I β , β − I α , β I α , β = ( ψ 1 ( α ) − ψ 1 ( α + β ) ) ( ψ 1 ( β ) − ψ 1 ( α + β ) ) − ( − ψ 1 ( α + β ) ) ( − ψ 1 ( α + β ) ) = ψ 1 ( α ) ψ 1 ( β ) − ( ψ 1 ( α ) + ψ 1 ( β ) ) ψ 1 ( α + β ) lim α → 0 det ( I ( α , β ) ) = lim β → 0 det ( I ( α , β ) ) = ∞ lim α → ∞ det ( I ( α , β ) ) = lim β → ∞ det ( I ( α , β ) ) = 0 {\displaystyle {\begin{aligned}\det({\mathcal {I}}(\alpha ,\beta ))&={\mathcal {I}}_{\alpha ,\alpha }{\mathcal {I}}_{\beta ,\beta }-{\mathcal {I}}_{\alpha ,\beta }{\mathcal {I}}_{\alpha ,\beta }\\&=(\psi _{1}(\alpha )-\psi _{1}(\alpha +\beta ))(\psi _{1}(\beta )-\psi _{1}(\alpha +\beta ))-(-\psi _{1}(\alpha +\beta ))(-\psi _{1}(\alpha +\beta ))\\&=\psi _{1}(\alpha )\psi _{1}(\beta )-(\psi _{1}(\alpha )+\psi _{1}(\beta ))\psi _{1}(\alpha +\beta )\\\lim _{\alpha \to 0}\det({\mathcal {I}}(\alpha ,\beta ))&=\lim _{\beta \to 0}\det({\mathcal {I}}(\alpha ,\beta ))=\infty \\\lim _{\alpha \to \infty }\det({\mathcal {I}}(\alpha ,\beta ))&=\lim _{\beta \to \infty }\det({\mathcal {I}}(\alpha ,\beta ))=0\end{aligned}}}
From Sylvester's criterion (checking whether the diagonal elements are all positive), it follows that the Fisher information matrix for the two parameter case is positive-definite (under the standard condition that the shape parameters are positive α > 0 and β > 0).
Four parameters[edit]
Fisher Information I(a,a) for α=β vs range (c-a) and exponent α=β
Fisher Information I(α,a) for α=β, vs. range (c - a) and exponent α=β
If Y1, ..., YN are independent random variables each having a beta distribution with four parameters: the exponents α and β, as well as "a" (the minimum of the distribution range), and "c" (the maximum of the distribution range) (section titled "Alternative parametrizations", "Four parameters"), with probability density function:
f ( y ; α , β , a , c ) = f ( x ; α , β ) c − a = ( y − a c − a ) α − 1 ( c − y c − a ) β − 1 ( c − a ) B ( α , β ) = ( y − a ) α − 1 ( c − y ) β − 1 ( c − a ) α + β − 1 B ( α , β ) . {\displaystyle f(y;\alpha ,\beta ,a,c)={\frac {f(x;\alpha ,\beta )}{c-a}}={\frac {\left({\frac {y-a}{c-a}}\right)^{\alpha -1}\left({\frac {c-y}{c-a}}\right)^{\beta -1}}{(c-a)B(\alpha ,\beta )}}={\frac {(y-a)^{\alpha -1}(c-y)^{\beta -1}}{(c-a)^{\alpha +\beta -1}B(\alpha ,\beta )}}.}
the joint log likelihood function per N iid observations is:
1 N ln  ( L ( α , β , a , c ∣ Y ) ) = α − 1 N ∑ i = 1 N ln  ( Y i − a ) + β − 1 N ∑ i = 1 N ln  ( c − Y i ) − ln  B ( α , β ) − ( α + β − 1 ) ln  ( c − a ) {\displaystyle {\frac {1}{N}}\ln({\mathcal {L}}(\alpha ,\beta ,a,c\mid Y))={\frac {\alpha -1}{N}}\sum _{i=1}^{N}\ln(Y_{i}-a)+{\frac {\beta -1}{N}}\sum _{i=1}^{N}\ln(c-Y_{i})-\ln \mathrm {B} (\alpha ,\beta )-(\alpha +\beta -1)\ln(c-a)}
For the four parameter case, the Fisher information has 4*4=16 components. It has 12 off-diagonal components = (4*4 total - 4 diagonal). Since the Fisher information matrix is symmetric, half of these components (12/2=6) are independent. Therefore, the Fisher information matrix has 6 independent off-diagonal + 4 diagonal = 10 independent components. Aryal and Nadarajah[49] calculated Fisher's information matrix for the four parameter case as follows:
− 1 N ∂ 2 ln  L ( α , β , a , c ∣ Y ) ∂ α 2 = var  [ ln  ( X ) ] = ψ 1 ( α ) − ψ 1 ( α + β ) = I α , α = E  [ − 1 N ∂ 2 ln  L ( α , β , a , c ∣ Y ) ∂ α 2 ] = ln  ( v a r G X ) {\displaystyle -{\frac {1}{N}}{\frac {\partial ^{2}\ln {\mathcal {L}}(\alpha ,\beta ,a,c\mid Y)}{\partial \alpha ^{2}}}=\operatorname {var} [\ln(X)]=\psi _{1}(\alpha )-\psi _{1}(\alpha +\beta )={\mathcal {I}}_{\alpha ,\alpha }=\operatorname {E} \left[-{\frac {1}{N}}{\frac {\partial ^{2}\ln {\mathcal {L}}(\alpha ,\beta ,a,c\mid Y)}{\partial \alpha ^{2}}}\right]=\ln(\operatorname {var_{GX}} )}
− 1 N ∂ 2 ln  L ( α , β , a , c ∣ Y ) ∂ β 2 = var  [ ln  ( 1 − X ) ] = ψ 1 ( β ) − ψ 1 ( α + β ) = I β , β = E  [ − 1 N ∂ 2 ln  L ( α , β , a , c ∣ Y ) ∂ β 2 ] = ln  ( v a r G ( 1 - X ) ) {\displaystyle -{\frac {1}{N}}{\frac {\partial ^{2}\ln {\mathcal {L}}(\alpha ,\beta ,a,c\mid Y)}{\partial \beta ^{2}}}=\operatorname {var} [\ln(1-X)]=\psi _{1}(\beta )-\psi _{1}(\alpha +\beta )={\mathcal {I}}_{\beta ,\beta }=\operatorname {E} \left[-{\frac {1}{N}}{\frac {\partial ^{2}\ln {\mathcal {L}}(\alpha ,\beta ,a,c\mid Y)}{\partial \beta ^{2}}}\right]=\ln(\operatorname {var_{G(1-X)}} )}
− 1 N ∂ 2 ln  L ( α , β , a , c ∣ Y ) ∂ α ∂ β = cov  [ ln  X , ( 1 − X ) ] = − ψ 1 ( α + β ) = I α , β = E  [ − 1 N ∂ 2 ln  L ( α , β , a , c ∣ Y ) ∂ α ∂ β ] = ln  ( c o v G X , ( 1 - X ) ) {\displaystyle -{\frac {1}{N}}{\frac {\partial ^{2}\ln {\mathcal {L}}(\alpha ,\beta ,a,c\mid Y)}{{\partial \alpha }{\partial \beta }}}=\operatorname {cov} [\ln {X,(1-X)}]=-\psi _{1}(\alpha +\beta )={\mathcal {I}}_{\alpha ,\beta }=\operatorname {E} \left[-{\frac {1}{N}}{\frac {\partial ^{2}\ln {\mathcal {L}}(\alpha ,\beta ,a,c\mid Y)}{\partial \alpha \partial \beta }}\right]=\ln(\operatorname {cov_{G{X,(1-X)}}} )}
In the above expressions, the use of X instead of Y in the expressions var[ln(X)] = ln(varGX) is not an error. The expressions in terms of the log geometric variances and log geometric covariance occur as functions of the two parameter X ~ Beta(α, β) parametrization because when taking the partial derivatives with respect to the exponents (α, β) in the four parameter case, one obtains the identical expressions as for the two parameter case: these terms of the four parameter Fisher information matrix are independent of the minimum "a" and maximum "c" of the distribution's range. The only non-zero term upon double differentiation of the log likelihood function with respect to the exponents α and β is the second derivative of the log of the beta function: ln(B(α, β)). This term is independent of the minimum "a" and maximum "c" of the distribution's range. Double differentiation of this term results in trigamma functions. The sections titled "Maximum likelihood", "Two unknown parameters" and "Four unknown parameters" also show this fact.
The Fisher information for N i.i.d. samples is N times the individual Fisher information (eq. 11.279, page 394 of Cover and Thomas[28]). (Aryal and Nadarajah[49] take a single observation, N = 1, to calculate the following components of the Fisher information, which leads to the same result as considering the derivatives of the log likelihood per N observations. Moreover, below the erroneous expression for I a , a {\displaystyle {\mathcal {I}}_{a,a}} in Aryal and Nadarajah has been corrected.)
α > 2 : E  [ − 1 N ∂ 2 ln  L ( α , β , a , c ∣ Y ) ∂ a 2 ] = I a , a = β ( α + β − 1 ) ( α − 2 ) ( c − a ) 2 β > 2 : E  [ − 1 N ∂ 2 ln  L ( α , β , a , c ∣ Y ) ∂ c 2 ] = I c , c = α ( α + β − 1 ) ( β − 2 ) ( c − a ) 2 E  [ − 1 N ∂ 2 ln  L ( α , β , a , c ∣ Y ) ∂ a ∂ c ] = I a , c = ( α + β − 1 ) ( c − a ) 2 α > 1 : E  [ − 1 N ∂ 2 ln  L ( α , β , a , c ∣ Y ) ∂ α ∂ a ] = I α , a = β ( α − 1 ) ( c − a ) E  [ − 1 N ∂ 2 ln  L ( α , β , a , c ∣ Y ) ∂ α ∂ c ] = I α , c = 1 ( c − a ) E  [ − 1 N ∂ 2 ln  L ( α , β , a , c ∣ Y ) ∂ β ∂ a ] = I β , a = − 1 ( c − a ) β > 1 : E  [ − 1 N ∂ 2 ln  L ( α , β , a , c ∣ Y ) ∂ β ∂ c ] = I β , c = − α ( β − 1 ) ( c − a ) {\displaystyle {\begin{aligned}\alpha >2:\quad \operatorname {E} \left[-{\frac {1}{N}}{\frac {\partial ^{2}\ln {\mathcal {L}}(\alpha ,\beta ,a,c\mid Y)}{\partial a^{2}}}\right]&={\mathcal {I}}_{a,a}={\frac {\beta (\alpha +\beta -1)}{(\alpha -2)(c-a)^{2}}}\\\beta >2:\quad \operatorname {E} \left[-{\frac {1}{N}}{\frac {\partial ^{2}\ln {\mathcal {L}}(\alpha ,\beta ,a,c\mid Y)}{\partial c^{2}}}\right]&={\mathcal {I}}_{c,c}={\frac {\alpha (\alpha +\beta -1)}{(\beta -2)(c-a)^{2}}}\\\operatorname {E} \left[-{\frac {1}{N}}{\frac {\partial ^{2}\ln {\mathcal {L}}(\alpha ,\beta ,a,c\mid Y)}{\partial a\partial c}}\right]&={\mathcal {I}}_{a,c}={\frac {(\alpha +\beta -1)}{(c-a)^{2}}}\\\alpha >1:\quad \operatorname {E} \left[-{\frac {1}{N}}{\frac {\partial ^{2}\ln {\mathcal {L}}(\alpha ,\beta ,a,c\mid Y)}{\partial \alpha \partial a}}\right]&={\mathcal {I}}_{\alpha ,a}={\frac {\beta }{(\alpha -1)(c-a)}}\\\operatorname {E} \left[-{\frac {1}{N}}{\frac {\partial ^{2}\ln {\mathcal {L}}(\alpha ,\beta ,a,c\mid Y)}{\partial \alpha \partial c}}\right]&={\mathcal {I}}_{\alpha ,c}={\frac {1}{(c-a)}}\\\operatorname {E} \left[-{\frac {1}{N}}{\frac {\partial ^{2}\ln {\mathcal {L}}(\alpha ,\beta ,a,c\mid Y)}{\partial \beta \partial a}}\right]&={\mathcal {I}}_{\beta ,a}=-{\frac {1}{(c-a)}}\\\beta >1:\quad \operatorname {E} \left[-{\frac {1}{N}}{\frac {\partial ^{2}\ln {\mathcal {L}}(\alpha ,\beta ,a,c\mid Y)}{\partial \beta \partial c}}\right]&={\mathcal {I}}_{\beta ,c}=-{\frac {\alpha }{(\beta -1)(c-a)}}\end{aligned}}}
The lower two diagonal entries of the Fisher information matrix, with respect to the parameter "a" (the minimum of the distribution's range): I a , a {\displaystyle {\mathcal {I}}_{a,a}} , and with respect to the parameter "c" (the maximum of the distribution's range): I c , c {\displaystyle {\mathcal {I}}_{c,c}} are only defined for exponents α > 2 and β > 2 respectively. The Fisher information matrix component I a , a {\displaystyle {\mathcal {I}}_{a,a}} for the minimum "a" approaches infinity for exponent α approaching 2 from above, and the Fisher information matrix component I c , c {\displaystyle {\mathcal {I}}_{c,c}} for the maximum "c" approaches infinity for exponent β approaching 2 from above.
The Fisher information matrix for the four parameter case does not depend on the individual values of the minimum "a" and the maximum "c", but only on the total range (c−a). Moreover, the components of the Fisher information matrix that depend on the range (c−a), depend only through its inverse (or the square of the inverse), such that the Fisher information decreases for increasing range (c−a).
The accompanying images show the Fisher information components I a , a {\displaystyle {\mathcal {I}}_{a,a}} and I α , a {\displaystyle {\mathcal {I}}_{\alpha ,a}} . Images for the Fisher information components I α , α {\displaystyle {\mathcal {I}}_{\alpha ,\alpha }} and I β , β {\displaystyle {\mathcal {I}}_{\beta ,\beta }} are shown in the section titled "Geometric variance". All these Fisher information components look like a basin, with the "walls" of the basin being located at low values of the parameters.
The following four-parameter-beta-distribution Fisher information components can be expressed in terms of the two-parameter: X ~ Beta(α, β) expectations of the transformed ratio ((1-X)/X) and of its mirror image (X/(1-X)), scaled by the range (c−a), which may be helpful for interpretation:
I α , a = E  [ 1 − X X ] c − a = β ( α − 1 ) ( c − a ) if α > 1 {\displaystyle {\mathcal {I}}_{\alpha ,a}={\frac {\operatorname {E} \left[{\frac {1-X}{X}}\right]}{c-a}}={\frac {\beta }{(\alpha -1)(c-a)}}{\text{ if }}\alpha >1}
I β , c = − E  [ X 1 − X ] c − a = − α ( β − 1 ) ( c − a ) if β > 1 {\displaystyle {\mathcal {I}}_{\beta ,c}=-{\frac {\operatorname {E} \left[{\frac {X}{1-X}}\right]}{c-a}}=-{\frac {\alpha }{(\beta -1)(c-a)}}{\text{ if }}\beta >1}
These are also the expected values of the "inverted beta distribution" or beta prime distribution (also known as beta distribution of the second kind or Pearson's Type VI) [1] and its mirror image, scaled by the range (c−a).
Also, the following Fisher information components can be expressed in terms of the harmonic (1/X) variances or of variances based on the ratio transformed variables ((1-X)/X) as follows:
α > 2 : I a , a = var  [ 1 X ] ( α − 1 c − a ) 2 = var  [ 1 − X X ] ( α − 1 c − a ) 2 = β ( α + β − 1 ) ( α − 2 ) ( c − a ) 2 β > 2 : I c , c = var  [ 1 1 − X ] ( β − 1 c − a ) 2 = var  [ X 1 − X ] ( β − 1 c − a ) 2 = α ( α + β − 1 ) ( β − 2 ) ( c − a ) 2 I a , c = cov  [ 1 X , 1 1 − X ] ( α − 1 ) ( β − 1 ) ( c − a ) 2 = cov  [ 1 − X X , X 1 − X ] ( α − 1 ) ( β − 1 ) ( c − a ) 2 = ( α + β − 1 ) ( c − a ) 2 {\displaystyle {\begin{aligned}\alpha >2:\quad {\mathcal {I}}_{a,a}&=\operatorname {var} \left[{\frac {1}{X}}\right]\left({\frac {\alpha -1}{c-a}}\right)^{2}=\operatorname {var} \left[{\frac {1-X}{X}}\right]\left({\frac {\alpha -1}{c-a}}\right)^{2}={\frac {\beta (\alpha +\beta -1)}{(\alpha -2)(c-a)^{2}}}\\\beta >2:\quad {\mathcal {I}}_{c,c}&=\operatorname {var} \left[{\frac {1}{1-X}}\right]\left({\frac {\beta -1}{c-a}}\right)^{2}=\operatorname {var} \left[{\frac {X}{1-X}}\right]\left({\frac {\beta -1}{c-a}}\right)^{2}={\frac {\alpha (\alpha +\beta -1)}{(\beta -2)(c-a)^{2}}}\\{\mathcal {I}}_{a,c}&=\operatorname {cov} \left[{\frac {1}{X}},{\frac {1}{1-X}}\right]{\frac {(\alpha -1)(\beta -1)}{(c-a)^{2}}}=\operatorname {cov} \left[{\frac {1-X}{X}},{\frac {X}{1-X}}\right]{\frac {(\alpha -1)(\beta -1)}{(c-a)^{2}}}={\frac {(\alpha +\beta -1)}{(c-a)^{2}}}\end{aligned}}}
See section "Moments of linearly transformed, product and inverted random variables" for these expectations.
The determinant of Fisher's information matrix is of interest (for example for the calculation of Jeffreys prior probability). From the expressions for the individual components, it follows that the determinant of Fisher's (symmetric) information matrix for the beta distribution with four parameters is:
det ( I ( α , β , a , c ) ) = − I a , c 2 I α , a I α , β + I a , a I a , c I α , c I α , β + I a , c 2 I α , β 2 − I a , a I c , c I α , β 2 − I a , c I α , a I α , c I β , a + I a , c 2 I α , α I β , a + 2 I c , c I α , a I α , β I β , a − 2 I a , c I α , c I α , β I β , a + I α , c 2 I β , a 2 − I c , c I α , α I β , a 2 + I a , c I α , a 2 I β , c − I a , a I a , c I α , α I β , c − I a , c I α , a I α , β I β , c + I a , a I α , c I α , β I β , c − I α , a I α , c I β , a I β , c + I a , c I α , α I β , a I β , c − I c , c I α , a 2 I β , β + 2 I a , c I α , a I α , c I β , β − I a , a I α , c 2 I β , β − I a , c 2 I α , α I β , β + I a , a I c , c I α , α I β , β if α , β > 2 {\displaystyle {\begin{aligned}\det({\mathcal {I}}(\alpha ,\beta ,a,c))={}&-{\mathcal {I}}_{a,c}^{2}{\mathcal {I}}_{\alpha ,a}{\mathcal {I}}_{\alpha ,\beta }+{\mathcal {I}}_{a,a}{\mathcal {I}}_{a,c}{\mathcal {I}}_{\alpha ,c}{\mathcal {I}}_{\alpha ,\beta }+{\mathcal {I}}_{a,c}^{2}{\mathcal {I}}_{\alpha ,\beta }^{2}-{\mathcal {I}}_{a,a}{\mathcal {I}}_{c,c}{\mathcal {I}}_{\alpha ,\beta }^{2}\\&{}-{\mathcal {I}}_{a,c}{\mathcal {I}}_{\alpha ,a}{\mathcal {I}}_{\alpha ,c}{\mathcal {I}}_{\beta ,a}+{\mathcal {I}}_{a,c}^{2}{\mathcal {I}}_{\alpha ,\alpha }{\mathcal {I}}_{\beta ,a}+2{\mathcal {I}}_{c,c}{\mathcal {I}}_{\alpha ,a}{\mathcal {I}}_{\alpha ,\beta }{\mathcal {I}}_{\beta ,a}\\&{}-2{\mathcal {I}}_{a,c}{\mathcal {I}}_{\alpha ,c}{\mathcal {I}}_{\alpha ,\beta }{\mathcal {I}}_{\beta ,a}+{\mathcal {I}}_{\alpha ,c}^{2}{\mathcal {I}}_{\beta ,a}^{2}-{\mathcal {I}}_{c,c}{\mathcal {I}}_{\alpha ,\alpha }{\mathcal {I}}_{\beta ,a}^{2}+{\mathcal {I}}_{a,c}{\mathcal {I}}_{\alpha ,a}^{2}{\mathcal {I}}_{\beta ,c}\\&{}-{\mathcal {I}}_{a,a}{\mathcal {I}}_{a,c}{\mathcal {I}}_{\alpha ,\alpha }{\mathcal {I}}_{\beta ,c}-{\mathcal {I}}_{a,c}{\mathcal {I}}_{\alpha ,a}{\mathcal {I}}_{\alpha ,\beta }{\mathcal {I}}_{\beta ,c}+{\mathcal {I}}_{a,a}{\mathcal {I}}_{\alpha ,c}{\mathcal {I}}_{\alpha ,\beta }{\mathcal {I}}_{\beta ,c}\\&{}-{\mathcal {I}}_{\alpha ,a}{\mathcal {I}}_{\alpha ,c}{\mathcal {I}}_{\beta ,a}{\mathcal {I}}_{\beta ,c}+{\mathcal {I}}_{a,c}{\mathcal {I}}_{\alpha ,\alpha }{\mathcal {I}}_{\beta ,a}{\mathcal {I}}_{\beta ,c}-{\mathcal {I}}_{c,c}{\mathcal {I}}_{\alpha ,a}^{2}{\mathcal {I}}_{\beta ,\beta }\\&{}+2{\mathcal {I}}_{a,c}{\mathcal {I}}_{\alpha ,a}{\mathcal {I}}_{\alpha ,c}{\mathcal {I}}_{\beta ,\beta }-{\mathcal {I}}_{a,a}{\mathcal {I}}_{\alpha ,c}^{2}{\mathcal {I}}_{\beta ,\beta }-{\mathcal {I}}_{a,c}^{2}{\mathcal {I}}_{\alpha ,\alpha }{\mathcal {I}}_{\beta ,\beta }+{\mathcal {I}}_{a,a}{\mathcal {I}}_{c,c}{\mathcal {I}}_{\alpha ,\alpha }{\mathcal {I}}_{\beta ,\beta }{\text{ if }}\alpha ,\beta >2\end{aligned}}}
Using Sylvester's criterion (checking whether the diagonal elements are all positive), and since diagonal components I a , a {\displaystyle {\mathcal {I}}_{a,a}} and I c , c {\displaystyle {\mathcal {I}}_{c,c}} have singularities at α=2 and β=2 it follows that the Fisher information matrix for the four parameter case is positive-definite for α>2 and β>2. Since for α > 2 and β > 2 the beta distribution is (symmetric or unsymmetric) bell shaped, it follows that the Fisher information matrix is positive-definite only for bell-shaped (symmetric or unsymmetric) beta distributions, with inflection points located to either side of the mode. Thus, important well known distributions belonging to the four-parameter beta distribution family, like the parabolic distribution (Beta(2,2,a,c)) and the uniform distribution (Beta(1,1,a,c)) have Fisher information components ( I a , a , I c , c , I α , a , I β , c {\displaystyle {\mathcal {I}}_{a,a},{\mathcal {I}}_{c,c},{\mathcal {I}}_{\alpha ,a},{\mathcal {I}}_{\beta ,c}} ) that blow up (approach infinity) in the four-parameter case (although their Fisher information components are all defined for the two parameter case). The four-parameter Wigner semicircle distribution (Beta(3/2,3/2,a,c)) and arcsine distribution (Beta(1/2,1/2,a,c)) have negative Fisher information determinants for the four-parameter case.
Generating beta-distributed random variates[edit]
If X and Y are independent, with X ∼ Γ ( α , θ ) {\displaystyle X\sim \Gamma (\alpha ,\theta )} and Y ∼ Γ ( β , θ ) {\displaystyle Y\sim \Gamma (\beta ,\theta )} then
X X + Y ∼ B ( α , β ) . {\displaystyle {\frac {X}{X+Y}}\sim \mathrm {B} (\alpha ,\beta ).}
So one algorithm for generating beta variates is to generate X X + Y {\displaystyle {\frac {X}{X+Y}}} , where X is a gamma variate with parameters (α, 1) and Y is an independent gamma variate with parameters (β, 1).[50] In fact, here X X + Y {\displaystyle {\frac {X}{X+Y}}} and X + Y {\displaystyle X+Y} are independent, and X + Y ∼ Γ ( α + β , θ ) {\displaystyle X+Y\sim \Gamma (\alpha +\beta ,\theta )} . If Z ∼ Γ ( γ , θ ) {\displaystyle Z\sim \Gamma (\gamma ,\theta )} and Z {\displaystyle Z} is independent of X {\displaystyle X} and Y {\displaystyle Y} , then X + Y X + Y + Z ∼ B ( α + β , γ ) {\displaystyle {\frac {X+Y}{X+Y+Z}}\sim \mathrm {B} (\alpha +\beta ,\gamma )} and X + Y X + Y + Z {\displaystyle {\frac {X+Y}{X+Y+Z}}} is independent of X X + Y {\displaystyle {\frac {X}{X+Y}}} . This shows that the product of independent B ( α , β ) {\displaystyle \mathrm {B} (\alpha ,\beta )} and B ( α + β , γ ) {\displaystyle \mathrm {B} (\alpha +\beta ,\gamma )} random variables is a B ( α , β + γ ) {\displaystyle \mathrm {B} (\alpha ,\beta +\gamma )} random variable.
Also, the kth order statistic of n uniformly distributed variates is B ( k , n + 1 − k ) {\displaystyle \mathrm {B} (k,n+1-k)} , so an alternative if α and β are small integers is to generate α + β − 1 uniform variates and choose the α-th smallest.[51]
Another way to generate the Beta distribution is by Pólya urn model. According to this method, one start with an "urn" with α "black" balls and β "white" balls and draw uniformly with replacement. Every trial an additional ball is added according to the color of the last ball which was drawn. Asymptotically, the proportion of black and white balls will be distributed according to the Beta distribution, where each repetition of the experiment will produce a different value.
Related distributions[edit]
Transformations[edit]
If X ~ Beta(α, β) then 1 − X ~ Beta(β, α) mirror-image symmetry
If X ~ Beta(α, β) then X 1 − X ∼ β ′ ( α , β ) {\displaystyle {\tfrac {X}{1-X}}\sim {\beta ^{'}}(\alpha ,\beta )} . The beta prime distribution, also called "beta distribution of the second kind".
If X ~ Beta(n/2, m/2) then m X n ( 1 − X ) ∼ F ( n , m ) {\displaystyle {\tfrac {mX}{n(1-X)}}\sim F(n,m)} (assuming n > 0 and m > 0), the Fisher–Snedecor F distribution.
If X ∼ Beta  ( 1 + λ m − min max − min , 1 + λ max − m max − min ) {\displaystyle X\sim \operatorname {Beta} \left(1+\lambda {\tfrac {m-\min }{\max -\min }},1+\lambda {\tfrac {\max -m}{\max -\min }}\right)} then min + X(max − min) ~ PERT(min, max, m, λ) where PERT denotes a PERT distribution used in PERT analysis, and m=most likely value.[52] Traditionally[53] λ = 4 in PERT analysis.
If X ~ Beta(1, β) then X ~ Kumaraswamy distribution with parameters (1, β)
If X ~ Beta(α, 1) then X ~ Kumaraswamy distribution with parameters (α, 1)
If X ~ Beta(α, 1) then −ln(X) ~ Exponential(α)
Special and limiting cases[edit]
Example of eight realizations of a random walk in one dimension starting at 0: the probability for the time of the last visit to the origin is distributed as Beta(1/2, 1/2)
Beta(1/2, 1/2): The arcsine distribution probability density was proposed by Harold Jeffreys to represent uncertainty for a Bernoulli or a binomial distribution in Bayesian inference, and is now commonly referred to as Jeffreys prior: p−1/2(1 − p)−1/2. This distribution also appears in several random walk fundamental theorems
Beta(1, 1) ~ U(0, 1).
If X ~ Beta(3/2, 3/2) and r > 0 then 2rX−r ~ Wigner semicircle distribution.
Beta(1/2, 1/2) is equivalent to the arcsine distribution. This distribution is also Jeffreys prior probability for the Bernoulli and binomial distributions . The arcsine probability density is a distribution that appears in several random walk fundamental theorems. In a fair coin toss random walk, the probability for the time of the last visit to the origin is distributed as an (U-shaped) arcsine distribution.[5][13] In a two-player fair-coin-toss game, a player is said to be in the lead if the random walk (that started at the origin) is above the origin. The most probable number of times that a given player will be in the lead, in a game of length 2N, is not N. On the contrary, N is the least likely number of times that the player will be in the lead. The most likely number of times in the lead is 0 or 2N (following the arcsine distribution).
lim n → ∞ n Beta  ( 1 , n ) = Exponential  ( 1 ) {\displaystyle \lim _{n\to \infty }n\operatorname {Beta} (1,n)=\operatorname {Exponential} (1)} the exponential distribution
lim n → ∞ n Beta  ( k , n ) = Gamma  ( k , 1 ) {\displaystyle \lim _{n\to \infty }n\operatorname {Beta} (k,n)=\operatorname {Gamma} (k,1)} the gamma distribution
Derived from other distributions[edit]
The kth order statistic of a sample of size n from the uniform distribution is a beta random variable, U(k) ~ Beta(k, n+1−k).[51]
If X ~ Gamma(α, θ) and Y ~ Gamma(β, θ) are independent, then X X + Y ∼ Beta  ( α , β ) {\displaystyle {\tfrac {X}{X+Y}}\sim \operatorname {Beta} (\alpha ,\beta )\,} .
If X ∼ χ 2 ( α ) {\displaystyle X\sim \chi ^{2}(\alpha )\,} and Y ∼ χ 2 ( β ) {\displaystyle Y\sim \chi ^{2}(\beta )\,} are independent, then X X + Y ∼ Beta  ( α 2 , β 2 ) {\displaystyle {\tfrac {X}{X+Y}}\sim \operatorname {Beta} ({\tfrac {\alpha }{2}},{\tfrac {\beta }{2}})} .
If X ~ U(0, 1) and α > 0 then X1/α ~ Beta(α, 1). The power function distribution.
Combination with other distributions[edit]
X ~ Beta(α, β) and Y ~ F(2β,2α) then Pr ( X ≤ α α + β x ) = Pr ( Y ≥ x ) {\displaystyle \Pr(X\leq {\tfrac {\alpha }{\alpha +\beta x}})=\Pr(Y\geq x)\,} for all x > 0.
Compounding with other distributions[edit]
If p ~ Beta(α, β) and X ~ Bin(k, p) then X ~ beta-binomial distribution
If p ~ Beta(α, β) and X ~ NB(r, p) then X ~ beta negative binomial distribution
Generalisations[edit]
The Dirichlet distribution is a multivariate generalization of the beta distribution. Univariate marginals of the Dirichlet distribution have a beta distribution. The beta distribution is conjugate to the binomial and Bernoulli distributions in exactly the same way as the Dirichlet distribution is conjugate to the multinomial distribution and categorical distribution.
The Pearson type I distribution is identical to the beta distribution (except for arbitrary shifting and re-scaling that can also be accomplished with the four parameter parametrization of the beta distribution).
Beta  ( α , β ) = lim δ → 0 N o n C e n t r a l B e t a ( α , β , δ ) {\displaystyle \operatorname {Beta} (\alpha ,\beta )=\lim _{\delta \to 0}{\rm {NonCentralBeta}}(\alpha ,\beta ,\delta )} the noncentral beta distribution
The generalized beta distribution is a five-parameter distribution family which has the beta distribution as a special case.
The matrix variate beta distribution is a distribution for positive-definite matrices.
Applications[edit]
Order statistics[edit]
Main article: Order statistic
The beta distribution has an important application in the theory of order statistics. A basic result is that the distribution of the kth smallest of a sample of size n from a continuous uniform distribution has a beta distribution.[51] This result is summarized as:
U ( k ) ∼ Beta  ( k , n + 1 − k ) . {\displaystyle U_{(k)}\sim \operatorname {Beta} (k,n+1-k).}
From this, and application of the theory related to the probability integral transform, the distribution of any individual order statistic from any continuous distribution can be derived.[51]
Rule of succession[edit]
Main article: Rule of succession
A classic application of the beta distribution is the rule of succession, introduced in the 18th century by Pierre-Simon Laplace[54] in the course of treating the sunrise problem. It states that, given s successes in n conditionally independent Bernoulli trials with probability p, that the estimate of the expected value in the next trial is s + 1 n + 2 {\displaystyle {\frac {s+1}{n+2}}} . This estimate is the expected value of the posterior distribution over p, namely Beta(s+1, n−s+1), which is given by Bayes' rule if one assumes a uniform prior probability over p (i.e., Beta(1, 1)) and then observes that p generated s successes in n trials. Laplace's rule of succession has been criticized by prominent scientists. R. T. Cox described Laplace's application of the rule of succession to the sunrise problem ([55] p. 89) as "a travesty of the proper use of the principle." Keynes remarks ([56] Ch.XXX, p. 382) "indeed this is so foolish a theorem that to entertain it is discreditable." Karl Pearson[57] showed that the probability that the next (n + 1) trials will be successes, after n successes in n trials, is only 50%, which has been considered too low by scientists like Jeffreys and unacceptable as a representation of the scientific process of experimentation to test a proposed scientific law. As pointed out by Jeffreys ([58] p. 128) (crediting C. D. Broad[59] ) Laplace's rule of succession establishes a high probability of success ((n+1)/(n+2)) in the next trial, but only a moderate probability (50%) that a further sample (n+1) comparable in size will be equally successful. As pointed out by Perks,[60] "The rule of succession itself is hard to accept. It assigns a probability to the next trial which implies the assumption that the actual run observed is an average run and that we are always at the end of an average run. It would, one would think, be more reasonable to assume that we were in the middle of an average run. Clearly a higher value for both probabilities is necessary if they are to accord with reasonable belief." These problems with Laplace's rule of succession motivated Haldane, Perks, Jeffreys and others to search for other forms of prior probability (see the next section titled "Bayesian inference"). According to Jaynes,[47] the main problem with the rule of succession is that it is not valid when s=0 or s=n (see rule of succession, for an analysis of its validity).
Bayesian inference[edit]
Main article: Bayesian inference
B e t a ( 1 , 1 ) {\displaystyle Beta(1,1)} : The uniform distribution probability density was proposed by Thomas Bayes to represent ignorance of prior probabilities in Bayesian inference. It describes not a state of complete ignorance, but the state of knowledge in which we have observed at least one success and one failure, and therefore we have prior knowledge that both states are physically possible.
The use of Beta distributions in Bayesian inference is due to the fact that they provide a family of conjugate prior probability distributions for binomial (including Bernoulli) and geometric distributions. The domain of the beta distribution can be viewed as a probability, and in fact the beta distribution is often used to describe the distribution of a probability value p:[24]
P ( p ; α , β ) = p α − 1 ( 1 − p ) β − 1 B ( α , β ) . {\displaystyle P(p;\alpha ,\beta )={\frac {p^{\alpha -1}(1-p)^{\beta -1}}{\mathrm {B} (\alpha ,\beta )}}.}
Examples of beta distributions used as prior probabilities to represent ignorance of prior parameter values in Bayesian inference are Beta(1,1), Beta(0,0) and Beta(1/2,1/2).
Bayes' prior probability (Beta(1,1))[edit]
The beta distribution achieves maximum differential entropy for Beta(1,1): the uniform probability density, for which all values in the domain of the distribution have equal density. This uniform distribution Beta(1,1) was suggested ("with a great deal of doubt") by Thomas Bayes[61] as the prior probability distribution to express ignorance about the correct prior distribution. This prior distribution was adopted (apparently, from his writings, with little sign of doubt[54]) by Pierre-Simon Laplace, and hence it was also known as the "Bayes-Laplace rule" or the "Laplace rule" of "inverse probability" in publications of the first half of the 20th century. In the later part of the 19th century and early part of the 20th century, scientists realized that the assumption of uniform "equal" probability density depended on the actual functions (for example whether a linear or a logarithmic scale was most appropriate) and parametrizations used. In particular, the behavior near the ends of distributions with finite support (for example near x = 0, for a distribution with initial support at x = 0) required particular attention. Keynes ([56] Ch.XXX, p. 381) criticized the use of Bayes's uniform prior probability (Beta(1,1)) that all values between zero and one are equiprobable, as follows: "Thus experience, if it shows anything, shows that there is a very marked clustering of statistical ratios in the neighborhoods of zero and unity, of those for positive theories and for correlations between positive qualities in the neighborhood of zero, and of those for negative theories and for correlations between negative qualities in the neighborhood of unity. "
Haldane's prior probability (Beta(0,0))[edit]
B e t a ( 0 , 0 ) {\displaystyle Beta(0,0)} : The Haldane prior probability expressing total ignorance about prior information, where we are not even sure whether it is physically possible for an experiment to yield either a success or a failure. As α, β → 0, the beta distribution approaches a two-point Bernoulli distribution with all probability density concentrated at each Dirac delta function end, at 0 and 1, and nothing in between. A coin-toss: one face of the coin being at 0 and the other face being at 1.
The Beta(0,0) distribution was proposed by J.B.S. Haldane,[62] who suggested that the prior probability representing complete uncertainty should be proportional to p−1(1−p)−1. The function p−1(1−p)−1 can be viewed as the limit of the numerator of the beta distribution as both shape parameters approach zero: α, β → 0. The Beta function (in the denominator of the beta distribution) approaches infinity, for both parameters approaching zero, α, β → 0. Therefore, p−1(1−p)−1 divided by the Beta function approaches a 2-point Bernoulli distribution with equal probability 1/2 at each Dirac delta function end, at 0 and 1, and nothing in between, as α, β → 0. A coin-toss: one face of the coin being at 0 and the other face being at 1. The Haldane prior probability distribution Beta(0,0) is an "improper prior" because its integration (from 0 to 1) fails to strictly converge to 1 due to the Dirac delta function singularities at each end. However, this is not an issue for computing posterior probabilities unless the sample size is very small. Furthermore, Zellner[63] points out that on the log-odds scale, (the logit transformation ln(p/1−p)), the Haldane prior is the uniformly flat prior. The fact that a uniform prior probability on the logit transformed variable ln(p/1−p) (with domain (-∞, ∞)) is equivalent to the Haldane prior on the domain [0, 1] was pointed out by Harold Jeffreys in the first edition (1939) of his book Theory of Probability ([58] p. 123). Jeffreys writes "Certainly if we take the Bayes-Laplace rule right up to the extremes we are led to results that do not correspond to anybody's way of thinking. The (Haldane) rule dx/(x(1−x)) goes too far the other way. It would lead to the conclusion that if a sample is of one type with respect to some property there is a probability 1 that the whole population is of that type." The fact that "uniform" depends on the parametrization, led Jeffreys to seek a form of prior that would be invariant under different parametrizations.
Jeffreys' prior probability (Beta(1/2,1/2) for a Bernoulli or for a binomial distribution)[edit]
Main article: Jeffreys prior
Jeffreys prior probability for the beta distribution: the square root of the determinant of Fisher's information matrix: det ( I ( α , β ) ) = ψ 1 ( α ) ψ 1 ( β ) − ( ψ 1 ( α ) + ψ 1 ( β ) ) ψ 1 ( α + β ) {\displaystyle \scriptstyle {\sqrt {\det({\mathcal {I}}(\alpha ,\beta ))}}={\sqrt {\psi _{1}(\alpha )\psi _{1}(\beta )-(\psi _{1}(\alpha )+\psi _{1}(\beta ))\psi _{1}(\alpha +\beta )}}} is a function of the trigamma function ψ1 of shape parameters α, β
Posterior Beta densities with samples having success = "s", failure = "f" of s/(s + f) = 1/2, and s + f = {3,10,50}, based on 3 different prior probability functions: Haldane (Beta(0,0), Jeffreys (Beta(1/2,1/2)) and Bayes (Beta(1,1)). The image shows that there is little difference between the priors for the posterior with sample size of 50 (with more pronounced peak near p = 1/2). Significant differences appear for very small sample sizes (the flatter distribution for sample size of 3)
Posterior Beta densities with samples having success = "s", failure = "f" of s/(s + f) = 1/4, and s + f ∈ {3,10,50}, based on three different prior probability functions: Haldane (Beta(0,0), Jeffreys (Beta(1/2,1/2)) and Bayes (Beta(1,1)). The image shows that there is little difference between the priors for the posterior with sample size of 50 (with more pronounced peak near p = 1/4). Significant differences appear for very small sample sizes (the very skewed distribution for the degenerate case of sample size = 3, in this degenerate and unlikely case the Haldane prior results in a reverse "J" shape with mode at p = 0 instead of p = 1/4. If there is sufficient sampling data, the three priors of Bayes (Beta(1,1)), Jeffreys (Beta(1/2,1/2)) and Haldane (Beta(0,0)) should yield similar posterior probability densities.
Posterior Beta densities with samples having success = s, failure = f of s/(s + f) = 1/4, and s + f ∈ {4,12,40}, based on three different prior probability functions: Haldane (Beta(0,0), Jeffreys (Beta(1/2,1/2)) and Bayes (Beta(1,1)). The image shows that there is little difference between the priors for the posterior with sample size of 40 (with more pronounced peak near p = 1/4). Significant differences appear for very small sample sizes
Harold Jeffreys[58][64] proposed to use an uninformative prior probability measure that should be invariant under reparameterization: proportional to the square root of the determinant of Fisher's information matrix. For the Bernoulli distribution, this can be shown as follows: for a coin that is "heads" with probability p ∈ [0, 1] and is "tails" with probability 1 − p, for a given (H,T) ∈ {(0,1), (1,0)} the probability is pH(1 − p)T. Since T = 1 − H, the Bernoulli distribution is pH(1 − p)1 − H. Considering p as the only parameter, it follows that the log likelihood for the Bernoulli distribution is
ln  L ( p ∣ H ) = H ln  ( p ) + ( 1 − H ) ln  ( 1 − p ) . {\displaystyle \ln {\mathcal {L}}(p\mid H)=H\ln(p)+(1-H)\ln(1-p).}
The Fisher information matrix has only one component (it is a scalar, because there is only one parameter: p), therefore:
I ( p ) = E [ ( d d p ln  ( L ( p ∣ H ) ) ) 2 ] = E [ ( H p − 1 − H 1 − p ) 2 ] = p 1 ( 1 − p ) 0 ( 1 p − 0 1 − p ) 2 + p 0 ( 1 − p ) 1 ( 0 p − 1 1 − p ) 2 = 1 p ( 1 − p ) . {\displaystyle {\begin{aligned}{\sqrt {{\mathcal {I}}(p)}}&={\sqrt {\operatorname {E} \!\left[\left({\frac {d}{dp}}\ln({\mathcal {L}}(p\mid H))\right)^{2}\right]}}\\[6pt]&={\sqrt {\operatorname {E} \!\left[\left({\frac {H}{p}}-{\frac {1-H}{1-p}}\right)^{2}\right]}}\\[6pt]&={\sqrt {p^{1}(1-p)^{0}\left({\frac {1}{p}}-{\frac {0}{1-p}}\right)^{2}+p^{0}(1-p)^{1}\left({\frac {0}{p}}-{\frac {1}{1-p}}\right)^{2}}}\\&={\frac {1}{\sqrt {p(1-p)}}}.\end{aligned}}}
Similarly, for the Binomial distribution with n Bernoulli trials, it can be shown that
I ( p ) = n p ( 1 − p ) . {\displaystyle {\sqrt {{\mathcal {I}}(p)}}={\frac {\sqrt {n}}{\sqrt {p(1-p)}}}.}
Thus, for the Bernoulli, and Binomial distributions, Jeffreys prior is proportional to 1 p ( 1 − p ) {\displaystyle {\frac {1}{\sqrt {p(1-p)}}}} , which happens to be proportional to a beta distribution with domain variable x = p, and shape parameters α = β = 1/2, the arcsine distribution:
B e t a ( 1 2 , 1 2 ) = 1 π p ( 1 − p ) . {\displaystyle Beta({\tfrac {1}{2}},{\tfrac {1}{2}})={\frac {1}{\pi {\sqrt {p(1-p)}}}}.}
It will be shown in the next section that the normalizing constant for Jeffreys prior is immaterial to the final result because the normalizing constant cancels out in Bayes theorem for the posterior probability. Hence Beta(1/2,1/2) is used as the Jeffreys prior for both Bernoulli and binomial distributions. As shown in the next section, when using this expression as a prior probability times the likelihood in Bayes theorem, the posterior probability turns out to be a beta distribution. It is important to realize, however, that Jeffreys prior is proportional to 1 p ( 1 − p ) {\displaystyle \scriptstyle {\frac {1}{\sqrt {p(1-p)}}}} for the Bernoulli and binomial distribution, but not for the beta distribution. Jeffreys prior for the beta distribution is given by the determinant of Fisher's information for the beta distribution, which, as shown in the section titled "Fisher information" is a function of the trigamma function ψ1 of shape parameters α and β as follows:
det ( I ( α , β ) ) = ψ 1 ( α ) ψ 1 ( β ) − ( ψ 1 ( α ) + ψ 1 ( β ) ) ψ 1 ( α + β ) lim α → 0 det ( I ( α , β ) ) = lim β → 0 det ( I ( α , β ) ) = ∞ lim α → ∞ det ( I ( α , β ) ) = lim β → ∞ det ( I ( α , β ) ) = 0 {\displaystyle {\begin{aligned}{\sqrt {\det({\mathcal {I}}(\alpha ,\beta ))}}&={\sqrt {\psi _{1}(\alpha )\psi _{1}(\beta )-(\psi _{1}(\alpha )+\psi _{1}(\beta ))\psi _{1}(\alpha +\beta )}}\\\lim _{\alpha \to 0}{\sqrt {\det({\mathcal {I}}(\alpha ,\beta ))}}&=\lim _{\beta \to 0}{\sqrt {\det({\mathcal {I}}(\alpha ,\beta ))}}=\infty \\\lim _{\alpha \to \infty }{\sqrt {\det({\mathcal {I}}(\alpha ,\beta ))}}&=\lim _{\beta \to \infty }{\sqrt {\det({\mathcal {I}}(\alpha ,\beta ))}}=0\end{aligned}}}
As previously discussed, Jeffreys prior for the Bernoulli and binomial distributions is proportional to the arcsine distribution Beta(1/2,1/2), a one-dimensional curve that looks like a basin as a function of the parameter p of the Bernoulli and binomial distributions. The walls of the basin are formed by p approaching the singularities at the ends p → 0 and p → 1, where Beta(1/2,1/2) approaches infinity. Jeffreys prior for the beta distribution is a 2-dimensional surface (embedded in a three-dimensional space) that looks like a basin with only two of its walls meeting at the corner α = β = 0 (and missing the other two walls) as a function of the shape parameters α and β of the beta distribution. The two adjoining walls of this 2-dimensional surface are formed by the shape parameters α and β approaching the singularities (of the trigamma function) at α, β → 0. It has no walls for α, β → ∞ because in this case the determinant of Fisher's information matrix for the beta distribution approaches zero.
It will be shown in the next section that Jeffreys prior probability results in posterior probabilities (when multiplied by the binomial likelihood function) that are intermediate between the posterior probability results of the Haldane and Bayes prior probabilities.
Jeffreys prior may be difficult to obtain analytically, and for some cases it just doesn't exist (even for simple distribution functions like the asymmetric triangular distribution). Berger, Bernardo and Sun, in a 2009 paper[65] defined a reference prior probability distribution that (unlike Jeffreys prior) exists for the asymmetric triangular distribution. They cannot obtain a closed-form expression for their reference prior, but numerical calculations show it to be nearly perfectly fitted by the (proper) prior
Beta  ( 1 2 , 1 2 ) ∼ 1 θ ( 1 − θ ) {\displaystyle \operatorname {Beta} ({\tfrac {1}{2}},{\tfrac {1}{2}})\sim {\frac {1}{\sqrt {\theta (1-\theta )}}}}
where θ is the vertex variable for the asymmetric triangular distribution with support [0, 1] (corresponding to the following parameter values in Wikipedia's article on the triangular distribution: vertex c = θ, left end a = 0,and right end b = 1). Berger et al. also give a heuristic argument that Beta(1/2,1/2) could indeed be the exact Berger–Bernardo–Sun reference prior for the asymmetric triangular distribution. Therefore, Beta(1/2,1/2) not only is Jeffreys prior for the Bernoulli and binomial distributions, but also seems to be the Berger–Bernardo–Sun reference prior for the asymmetric triangular distribution (for which the Jeffreys prior does not exist), a distribution used in project management and PERT analysis to describe the cost and duration of project tasks.
Clarke and Barron[66] prove that, among continuous positive priors, Jeffreys prior (when it exists) asymptotically maximizes Shannon's mutual information between a sample of size n and the parameter, and therefore Jeffreys prior is the most uninformative prior (measuring information as Shannon information). The proof rests on an examination of the Kullback–Leibler distance between probability density functions for iid random variables.
Effect of different prior probability choices on the posterior beta distribution[edit]
If samples are drawn from the population of a random variable X that result in s successes and f failures in "n" Bernoulli trials n = s + f, then the likelihood function for parameters s and f given x = p (the notation x = p in the expressions below will emphasize that the domain x stands for the value of the parameter p in the binomial distribution), is the following binomial distribution:
L ( s , f ∣ x = p ) = ( s + f s ) x s ( 1 − x ) f = ( n s ) x s ( 1 − x ) n − s . {\displaystyle {\mathcal {L}}(s,f\mid x=p)={s+f \choose s}x^{s}(1-x)^{f}={n \choose s}x^{s}(1-x)^{n-s}.}
If beliefs about prior probability information are reasonably well approximated by a beta distribution with parameters α Prior and β Prior, then:
PriorProbability ( x = p ; α Prior , β Prior ) = x α Prior − 1 ( 1 − x ) β Prior − 1 B ( α Prior , β Prior ) {\displaystyle {\text{PriorProbability}}(x=p;\alpha {\text{Prior}},\beta {\text{Prior}})={\frac {x^{\alpha {\text{Prior}}-1}(1-x)^{\beta {\text{Prior}}-1}}{\mathrm {B} (\alpha {\text{Prior}},\beta {\text{Prior}})}}}
According to Bayes' theorem for a continuous event space, the posterior probability is given by the product of the prior probability and the likelihood function (given the evidence s and f = n − s), normalized so that the area under the curve equals one, as follows:
posterior probability ( x = p ∣ s , n − s ) = PriorProbability ( x = p ; α Prior , β Prior ) L ( s , f ∣ x = p ) ∫ 0 1 PriorProbability ( x = p ; α Prior , β Prior ) L ( s , f ∣ x = p ) d x = ( n s ) x s + α Prior − 1 ( 1 − x ) n − s + β Prior − 1 / B ( α Prior , β Prior ) ∫ 0 1 ( ( n s ) x s + α Prior − 1 ( 1 − x ) n − s + β Prior − 1 / B ( α Prior , β Prior ) ) d x = x s + α Prior − 1 ( 1 − x ) n − s + β Prior − 1 ∫ 0 1 ( x s + α Prior − 1 ( 1 − x ) n − s + β Prior − 1 ) d x = x s + α Prior − 1 ( 1 − x ) n − s + β Prior − 1 B ( s + α Prior , n − s + β Prior ) . {\displaystyle {\begin{aligned}&{\text{posterior probability}}(x=p\mid s,n-s)\\[6pt]={}&{\frac {{\text{PriorProbability}}(x=p;\alpha {\text{Prior}},\beta {\text{Prior}}){\mathcal {L}}(s,f\mid x=p)}{\int _{0}^{1}{\text{PriorProbability}}(x=p;\alpha {\text{Prior}},\beta {\text{Prior}}){\mathcal {L}}(s,f\mid x=p)dx}}\\[6pt]={}&{\frac {{n \choose s}x^{s+\alpha {\text{Prior}}-1}(1-x)^{n-s+\beta {\text{Prior}}-1}/\mathrm {B} (\alpha {\text{Prior}},\beta {\text{Prior}})}{\int _{0}^{1}\left({n \choose s}x^{s+\alpha {\text{Prior}}-1}(1-x)^{n-s+\beta {\text{Prior}}-1}/\mathrm {B} (\alpha {\text{Prior}},\beta {\text{Prior}})\right)dx}}\\[6pt]={}&{\frac {x^{s+\alpha {\text{Prior}}-1}(1-x)^{n-s+\beta {\text{Prior}}-1}}{\int _{0}^{1}\left(x^{s+\alpha {\text{Prior}}-1}(1-x)^{n-s+\beta {\text{Prior}}-1}\right)dx}}\\[6pt]={}&{\frac {x^{s+\alpha {\text{Prior}}-1}(1-x)^{n-s+\beta {\text{Prior}}-1}}{\mathrm {B} (s+\alpha {\text{Prior}},n-s+\beta {\text{Prior}})}}.\end{aligned}}}
The binomial coefficient
( s + f s ) = ( n s ) = ( s + f ) ! s ! f ! = n ! s ! ( n − s ) ! {\displaystyle {s+f \choose s}={n \choose s}={\frac {(s+f)!}{s!f!}}={\frac {n!}{s!(n-s)!}}}
appears both in the numerator and the denominator of the posterior probability, and it does not depend on the integration variable x, hence it cancels out, and it is irrelevant to the final result. Similarly the normalizing factor for the prior probability, the beta function B(αPrior,βPrior) cancels out and it is immaterial to the final result. The same posterior probability result can be obtained if one uses an un-normalized prior
x α Prior − 1 ( 1 − x ) β Prior − 1 {\displaystyle x^{\alpha {\text{Prior}}-1}(1-x)^{\beta {\text{Prior}}-1}}
because the normalizing factors all cancel out. Several authors (including Jeffreys himself) thus use an un-normalized prior formula since the normalization constant cancels out. The numerator of the posterior probability ends up being just the (un-normalized) product of the prior probability and the likelihood function, and the denominator is its integral from zero to one. The beta function in the denominator, B(s + α Prior, n − s + β Prior), appears as a normalization constant to ensure that the total posterior probability integrates to unity.
The ratio s/n of the number of successes to the total number of trials is a sufficient statistic in the binomial case, which is relevant for the following results.
For the Bayes' prior probability (Beta(1,1)), the posterior probability is:
posterior probability ( p = x ∣ s , f ) = x s ( 1 − x ) n − s B ( s + 1 , n − s + 1 ) , with mean = s + 1 n + 2 , (and mode = s n if 0 < s < n ) . {\displaystyle {\text{posterior probability}}(p=x\mid s,f)={\frac {x^{s}(1-x)^{n-s}}{\mathrm {B} (s+1,n-s+1)}},{\text{ with mean }}={\frac {s+1}{n+2}},{\text{ (and mode }}={\frac {s}{n}}{\text{ if }}0<s<n).}
For the Jeffreys' prior probability (Beta(1/2,1/2)), the posterior probability is:
posterior probability ( p = x ∣ s , f ) = x s − 1 2 ( 1 − x ) n − s − 1 2 B ( s + 1 2 , n − s + 1 2 ) , with mean = s + 1 2 n + 1 , (and mode= s − 1 2 n − 1 if 1 2 < s < n − 1 2 ) . {\displaystyle {\text{posterior probability}}(p=x\mid s,f)={x^{s-{\tfrac {1}{2}}}(1-x)^{n-s-{\frac {1}{2}}} \over \mathrm {B} (s+{\tfrac {1}{2}},n-s+{\tfrac {1}{2}})},{\text{ with mean }}={\frac {s+{\tfrac {1}{2}}}{n+1}},{\text{ (and mode= }}{\frac {s-{\tfrac {1}{2}}}{n-1}}{\text{ if }}{\tfrac {1}{2}}<s<n-{\tfrac {1}{2}}).}
and for the Haldane prior probability (Beta(0,0)), the posterior probability is:
posterior probability ( p = x ∣ s , f ) = x s − 1 ( 1 − x ) n − s − 1 B ( s , n − s ) , with mean = s n , (and mode= s − 1 n − 2 if 1 < s < n − 1 ) . {\displaystyle {\text{posterior probability}}(p=x\mid s,f)={\frac {x^{s-1}(1-x)^{n-s-1}}{\mathrm {B} (s,n-s)}},{\text{ with mean}}={\frac {s}{n}},{\text{ (and mode= }}{\frac {s-1}{n-2}}{\text{ if }}1<s<n-1).}
From the above expressions it follows that for s/n = 1/2) all the above three prior probabilities result in the identical location for the posterior probability mean = mode = 1/2. For s/n < 1/2, the mean of the posterior probabilities, using the following priors, are such that: mean for Bayes prior > mean for Jeffreys prior > mean for Haldane prior. For s/n > 1/2 the order of these inequalities is reversed such that the Haldane prior probability results in the largest posterior mean. The Haldane prior probability Beta(0,0) results in a posterior probability density with mean (the expected value for the probability of success in the "next" trial) identical to the ratio s/n of the number of successes to the total number of trials. Therefore, the Haldane prior results in a posterior probability with expected value in the next trial equal to the maximum likelihood. The Bayes prior probability Beta(1,1) results in a posterior probability density with mode identical to the ratio s/n (the maximum likelihood).
In the case that 100% of the trials have been successful s = n, the Bayes prior probability Beta(1,1) results in a posterior expected value equal to the rule of succession (n + 1)/(n + 2), while the Haldane prior Beta(0,0) results in a posterior expected value of 1 (absolute certainty of success in the next trial). Jeffreys prior probability results in a posterior expected value equal to ('n + 1/2)/(n + 1), Perks[60] (p. 303) points out: "This provides a new rule of succession and expresses a 'reasonable' position to take up, namely, that after an unbroken run of n successes we assume a probability for the next trial equivalent to the assumption that we are about half-way through an average run, i.e. that we expect a failure once in (2n + 2) trials. The Bayes–Laplace rule implies that we are about at the end of an average run or that we expect a failure once in (n + 2) trials. The comparison clearly favours the new result (what is now called Jeffreys prior) from the point of view of 'reasonableness'."
Conversely, in the case that 100% of the trials have resulted in failure (s = 0), the Bayes prior probability Beta(1,1) results in a posterior expected value for success in the next trial equal to 1/(n + 2), while the Haldane prior Beta(0,0) results in a posterior expected value of success in the next trial of 0 (absolute certainty of failure in the next trial). Jeffreys prior probability results in a posterior expected value for success in the next trial equal to (1/2)/(n + 1), which Perks[60] (p. 303) points out: "is a much more reasonably remote result than the Bayes-Laplace result 1/(n + 2)".
Jaynes[47] questions (for the uniform prior Beta(1,1)) the use of these formulas for the cases s = 0 or s = n because the integrals do not converge (Beta(1,1) is an improper prior for s = 0 or s = n). In practice, the conditions 0<s<n necessary for a mode to exist between both ends for the Bayes prior are usually met, and therefore the Bayes prior (as long as 0 < s < n) results in a posterior mode located between both ends of the domain.
As remarked in the section on the rule of succession, K. Pearson showed that after n successes in n trials the posterior probability (based on the Bayes Beta(1,1) distribution as the prior probability) that the next (n + 1) trials will all be successes is exactly 1/2, whatever the value of n. Based on the Haldane Beta(0,0) distribution as the prior probability, this posterior probability is 1 (absolute certainty that after n successes in n trials the next (n + 1) trials will all be successes). Perks[60] (p. 303) shows that, for what is now known as the Jeffreys prior, this probability is ((n + 1/2)/(n + 1))((n + 3/2)/(n + 2))...(2n − 1/2)/(2n), which for n = 1, 2, 3 gives 3/4, 35/48, 693/960; rapidly approaching a limiting value of 1 2 = 0.70710678 … {\displaystyle \scriptstyle {\frac {1}{\sqrt {2}}}=0.70710678\ldots } as n tends to infinity. Perks remarks that what is now known as the Jeffreys prior: "is clearly more 'reasonable' than either the Bayes-Laplace result or the result on the (Haldane) alternative rule rejected by Jeffreys which gives certainty as the probability. It clearly provides a very much better correspondence with the process of induction. Whether it is 'absolutely' reasonable for the purpose, i.e. whether it is yet large enough, without the absurdity of reaching unity, is a matter for others to decide. But it must be realized that the result depends on the assumption of complete indifference and absence of knowledge prior to the sampling experiment."
Following are the variances of the posterior distribution obtained with these three prior probability distributions:
for the Bayes' prior probability (Beta(1,1)), the posterior variance is:
variance = ( n − s + 1 ) ( s + 1 ) ( 3 + n ) ( 2 + n ) 2 , which for s = n 2 results in variance = 1 12 + 4 n {\displaystyle {\text{variance}}={\frac {(n-s+1)(s+1)}{(3+n)(2+n)^{2}}},{\text{ which for }}s={\frac {n}{2}}{\text{ results in variance}}={\frac {1}{12+4n}}}
for the Jeffreys' prior probability (Beta(1/2,1/2)), the posterior variance is:
variance = ( n − s + 1 2 ) ( s + 1 2 ) ( 2 + n ) ( 1 + n ) 2 , which for s = n 2 results in var = 1 8 + 4 n {\displaystyle {\text{variance}}={\frac {(n-s+{\frac {1}{2}})(s+{\frac {1}{2}})}{(2+n)(1+n)^{2}}},{\text{ which for }}s={\frac {n}{2}}{\text{ results in var}}={\frac {1}{8+4n}}}
and for the Haldane prior probability (Beta(0,0)), the posterior variance is:
variance = ( n − s ) s ( 1 + n ) n 2 , which for s = n 2 results in variance = 1 4 + 4 n {\displaystyle {\text{variance}}={\frac {(n-s)s}{(1+n)n^{2}}},{\text{ which for }}s={\frac {n}{2}}{\text{ results in variance}}={\frac {1}{4+4n}}}
So, as remarked by Silvey,[45] for large n, the variance is small and hence the posterior distribution is highly concentrated, whereas the assumed prior distribution was very diffuse. This is in accord with what one would hope for, as vague prior knowledge is transformed (through Bayes theorem) into a more precise posterior knowledge by an informative experiment. For small n the Haldane Beta(0,0) prior results in the largest posterior variance while the Bayes Beta(1,1) prior results in the more concentrated posterior. Jeffreys prior Beta(1/2,1/2) results in a posterior variance in between the other two. As n increases, the variance rapidly decreases so that the posterior variance for all three priors converges to approximately the same value (approaching zero variance as n → ∞). Recalling the previous result that the Haldane prior probability Beta(0,0) results in a posterior probability density with mean (the expected value for the probability of success in the "next" trial) identical to the ratio s/n of the number of successes to the total number of trials, it follows from the above expression that also the Haldane prior Beta(0,0) results in a posterior with variance identical to the variance expressed in terms of the max. likelihood estimate s/n and sample size (in section titled "Variance"):
variance = μ ( 1 − μ ) 1 + ν = ( n − s ) s ( 1 + n ) n 2 {\displaystyle {\text{variance}}={\frac {\mu (1-\mu )}{1+\nu }}={\frac {(n-s)s}{(1+n)n^{2}}}}
with the mean μ = s/n and the sample size ν = n.
In Bayesian inference, using a prior distribution Beta(αPrior,βPrior) prior to a binomial distribution is equivalent to adding (αPrior − 1) pseudo-observations of "success" and (βPrior − 1) pseudo-observations of "failure" to the actual number of successes and failures observed, then estimating the parameter p of the binomial distribution by the proportion of successes over both real- and pseudo-observations. A uniform prior Beta(1,1) does not add (or subtract) any pseudo-observations since for Beta(1,1) it follows that (αPrior − 1) = 0 and (βPrior − 1) = 0. The Haldane prior Beta(0,0) subtracts one pseudo observation from each and Jeffreys prior Beta(1/2,1/2) subtracts 1/2 pseudo-observation of success and an equal number of failure. This subtraction has the effect of smoothing out the posterior distribution. If the proportion of successes is not 50% (s/n ≠ 1/2) values of αPrior and βPrior less than 1 (and therefore negative (αPrior − 1) and (βPrior − 1)) favor sparsity, i.e. distributions where the parameter p is closer to either 0 or 1. In effect, values of αPrior and βPrior between 0 and 1, when operating together, function as a concentration parameter.
The accompanying plots show the posterior probability density functions for sample sizes n ∈ {3,10,50}, successes s ∈ {n/2,n/4} and Beta(αPrior,βPrior) ∈ {Beta(0,0),Beta(1/2,1/2),Beta(1,1)}. Also shown are the cases for n = {4,12,40}, success s = {n/4} and Beta(αPrior,βPrior) ∈ {Beta(0,0),Beta(1/2,1/2),Beta(1,1)}. The first plot shows the symmetric cases, for successes s ∈ {n/2}, with mean = mode = 1/2 and the second plot shows the skewed cases s ∈ {n/4}. The images show that there is little difference between the priors for the posterior with sample size of 50 (characterized by a more pronounced peak near p = 1/2). Significant differences appear for very small sample sizes (in particular for the flatter distribution for the degenerate case of sample size = 3). Therefore, the skewed cases, with successes s = {n/4}, show a larger effect from the choice of prior, at small sample size, than the symmetric cases. For symmetric distributions, the Bayes prior Beta(1,1) results in the most "peaky" and highest posterior distributions and the Haldane prior Beta(0,0) results in the flattest and lowest peak distribution. The Jeffreys prior Beta(1/2,1/2) lies in between them. For nearly symmetric, not too skewed distributions the effect of the priors is similar. For very small sample size (in this case for a sample size of 3) and skewed distribution (in this example for s ∈ {n/4}) the Haldane prior can result in a reverse-J-shaped distribution with a singularity at the left end. However, this happens only in degenerate cases (in this example n = 3 and hence s = 3/4 < 1, a degenerate value because s should be greater than unity in order for the posterior of the Haldane prior to have a mode located between the ends, and because s = 3/4 is not an integer number, hence it violates the initial assumption of a binomial distribution for the likelihood) and it is not an issue in generic cases of reasonable sample size (such that the condition 1 < s < n − 1, necessary for a mode to exist between both ends, is fulfilled).
In Chapter 12 (p. 385) of his book, Jaynes[47] asserts that the Haldane prior Beta(0,0) describes a prior state of knowledge of complete ignorance, where we are not even sure whether it is physically possible for an experiment to yield either a success or a failure, while the Bayes (uniform) prior Beta(1,1) applies if one knows that both binary outcomes are possible. Jaynes states: "interpret the Bayes-Laplace (Beta(1,1)) prior as describing not a state of complete ignorance, but the state of knowledge in which we have observed one success and one failure...once we have seen at least one success and one failure, then we know that the experiment is a true binary one, in the sense of physical possibility." Jaynes [47] does not specifically discuss Jeffreys prior Beta(1/2,1/2) (Jaynes discussion of "Jeffreys prior" on pp. 181, 423 and on chapter 12 of Jaynes book[47] refers instead to the improper, un-normalized, prior "1/p dp" introduced by Jeffreys in the 1939 edition of his book,[58] seven years before he introduced what is now known as Jeffreys' invariant prior: the square root of the determinant of Fisher's information matrix. "1/p" is Jeffreys' (1946) invariant prior for the exponential distribution, not for the Bernoulli or binomial distributions). However, it follows from the above discussion that Jeffreys Beta(1/2,1/2) prior represents a state of knowledge in between the Haldane Beta(0,0) and Bayes Beta (1,1) prior.
Similarly, Karl Pearson in his 1892 book The Grammar of Science[67][68] (p. 144 of 1900 edition) maintained that the Bayes (Beta(1,1) uniform prior was not a complete ignorance prior, and that it should be used when prior information justified to "distribute our ignorance equally"". K. Pearson wrote: "Yet the only supposition that we appear to have made is this: that, knowing nothing of nature, routine and anomy (from the Greek ανομία, namely: a- "without", and nomos "law") are to be considered as equally likely to occur. Now we were not really justified in making even this assumption, for it involves a knowledge that we do not possess regarding nature. We use our experience of the constitution and action of coins in general to assert that heads and tails are equally probable, but we have no right to assert before experience that, as we know nothing of nature, routine and breach are equally probable. In our ignorance we ought to consider before experience that nature may consist of all routines, all anomies (normlessness), or a mixture of the two in any proportion whatever, and that all such are equally probable. Which of these constitutions after experience is the most probable must clearly depend on what that experience has been like."
If there is sufficient sampling data, and the posterior probability mode is not located at one of the extremes of the domain (x=0 or x=1), the three priors of Bayes (Beta(1,1)), Jeffreys (Beta(1/2,1/2)) and Haldane (Beta(0,0)) should yield similar posterior probability densities. Otherwise, as Gelman et al.[69] (p. 65) point out, "if so few data are available that the choice of noninformative prior distribution makes a difference, one should put relevant information into the prior distribution", or as Berger[10] (p. 125) points out "when different reasonable priors yield substantially different answers, can it be right to state that there is a single answer? Would it not be better to admit that there is scientific uncertainty, with the conclusion depending on prior beliefs?."
Subjective logic[edit]
Main article: Subjective logic
In standard logic, propositions are considered to be either true or false. In contradistinction, subjective logic assumes that humans cannot determine with absolute certainty whether a proposition about the real world is absolutely true or false. In subjective logic the posteriori probability estimates of binary events can be represented by beta distributions.[70]
Wavelet analysis[edit]
Main article: Beta wavelet
A wavelet is a wave-like oscillation with an amplitude that starts out at zero, increases, and then decreases back to zero. It can typically be visualized as a "brief oscillation" that promptly decays. Wavelets can be used to extract information from many different kinds of data, including – but certainly not limited to – audio signals and images. Thus, wavelets are purposefully crafted to have specific properties that make them useful for signal processing. Wavelets are localized in both time and frequency whereas the standard Fourier transform is only localized in frequency. Therefore, standard Fourier Transforms are only applicable to stationary processes, while wavelets are applicable to non-stationary processes. Continuous wavelets can be constructed based on the beta distribution. Beta wavelets[71] can be viewed as a soft variety of Haar wavelets whose shape is fine-tuned by two shape parameters α and β.
Project management: task cost and schedule modeling[edit]
The beta distribution can be used to model events which are constrained to take place within an interval defined by a minimum and maximum value. For this reason, the beta distribution — along with the triangular distribution — is used extensively in PERT, critical path method (CPM), Joint Cost Schedule Modeling (JCSM) and other project management/control systems to describe the time to completion and the cost of a task. In project management, shorthand computations are widely used to estimate the mean and standard deviation of the beta distribution:[53]
μ ( X ) = a + 4 b + c 6 σ ( X ) = c − a 6 {\displaystyle {\begin{aligned}\mu (X)&={\frac {a+4b+c}{6}}\\\sigma (X)&={\frac {c-a}{6}}\end{aligned}}}
where a is the minimum, c is the maximum, and b is the most likely value (the mode for α > 1 and β > 1).
The above estimate for the mean μ ( X ) = a + 4 b + c 6 {\displaystyle \mu (X)={\frac {a+4b+c}{6}}} is known as the PERT three-point estimation and it is exact for either of the following values of β (for arbitrary α within these ranges):
β = α > 1 (symmetric case) with standard deviation σ ( X ) = ( c − a ) 2 1 + 2 α {\displaystyle \sigma (X)={\frac {(c-a)}{2{\sqrt {1+2\alpha }}}}} , skewness = 0, and excess kurtosis = − 6 3 + 2 α {\displaystyle {\frac {-6}{3+2\alpha }}}
or
β = 6 − α for 5 > α > 1 (skewed case) with standard deviation
σ ( X ) = ( c − a ) α ( 6 − α ) 6 7 , {\displaystyle \sigma (X)={\frac {(c-a){\sqrt {\alpha (6-\alpha )}}}{6{\sqrt {7}}}},}
skewness = ( 3 − α ) 7 2 α ( 6 − α ) {\displaystyle {\frac {(3-\alpha ){\sqrt {7}}}{2{\sqrt {\alpha (6-\alpha )}}}}} , and excess kurtosis = 21 α ( 6 − α ) − 3 {\displaystyle {\frac {21}{\alpha (6-\alpha )}}-3}
The above estimate for the standard deviation σ(X) = (c − a)/6 is exact for either of the following values of α and β:
α = β = 4 (symmetric) with skewness = 0, and excess kurtosis = −6/11.
β = 6 − α and α = 3 − 2 {\displaystyle \alpha =3-{\sqrt {2}}} (right-tailed, positive skew) with skewness = 1 2 {\displaystyle ={\frac {1}{\sqrt {2}}}} , and excess kurtosis = 0
β = 6 − α and α = 3 + 2 {\displaystyle \alpha =3+{\sqrt {2}}} (left-tailed, negative skew) with skewness = − 1 2 {\displaystyle ={\frac {-1}{\sqrt {2}}}} , and excess kurtosis = 0
Otherwise, these can be poor approximations for beta distributions with other values of α and β, exhibiting average errors of 40% in the mean and 549% in the variance.[72][73][74]
Alternative parametrizations[edit]
Two parameters[edit]
Mean and sample size[edit]
The beta distribution may also be reparameterized in terms of its mean μ (0 < μ < 1) and the addition of both shape parameters ν = α + β > 0([9] p. 83). Denoting by αPosterior and βPosterior the shape parameters of the posterior beta distribution resulting from applying Bayes theorem to a binomial likelihood function and a prior probability, the interpretation of the addition of both shape parameters to be sample size = ν = α·Posterior + β·Posterior is only correct for the Haldane prior probability Beta(0,0). Specifically, for the Bayes (uniform) prior Beta(1,1) the correct interpretation would be sample size = α·Posterior + β Posterior − 2, or ν = (sample size) + 2. Of course, for sample size much larger than 2, the difference between these two priors becomes negligible. (See section Bayesian inference for further details.) In the rest of this article ν = α + β will be referred to as "sample size", but one should remember that it is, strictly speaking, the "sample size" of a binomial likelihood function only when using a Haldane Beta(0,0) prior in Bayes theorem.
This parametrization may be useful in Bayesian parameter estimation. For example, one may administer a test to a number of individuals. If it is assumed that each person's score (0 ≤ θ ≤ 1) is drawn from a population-level Beta distribution, then an important statistic is the mean of this population-level distribution. The mean and sample size parameters are related to the shape parameters α and β via[9]
α = μν, β = (1 − μ)ν
Under this parametrization, one may place an uninformative prior probability over the mean, and a vague prior probability (such as an exponential or gamma distribution) over the positive reals for the sample size, if they are independent, and prior data and/or beliefs justify it.
Mode and concentration[edit]
The mode and "concentration" κ = α + β {\displaystyle \kappa =\alpha +\beta } can also be used to calculate the parameters for a beta distribution.[75]
α = ω ( κ − 2 ) + 1 β = ( 1 − ω ) ( κ − 2 ) + 1 {\displaystyle {\begin{aligned}\alpha &=\omega (\kappa -2)+1\\\beta &=(1-\omega )(\kappa -2)+1\end{aligned}}}
Mean (allele frequency) and (Wright's) genetic distance between two populations[edit]
The Balding–Nichols model[76] is a two-parameter parametrization of the beta distribution used in population genetics. It is a statistical description of the allele frequencies in the components of a sub-divided population:
α = μ ν , β = ( 1 − μ ) ν , {\displaystyle {\begin{aligned}\alpha &=\mu \nu ,\\\beta &=(1-\mu )\nu ,\end{aligned}}}
where ν = α + β = 1 − F F {\displaystyle \nu =\alpha +\beta ={\frac {1-F}{F}}} and 0 < F < 1 {\displaystyle 0<F<1} ; here F is (Wright's) genetic distance between two populations.
See the articles Balding–Nichols model, F-statistics, fixation index and coefficient of relationship, for further information.
Mean and variance[edit]
Solving the system of (coupled) equations given in the above sections as the equations for the mean and the variance of the beta distribution in terms of the original parameters α and β, one can express the α and β parameters in terms of the mean (μ) and the variance (var):
ν = α + β = μ ( 1 − μ ) v a r − 1 , where ν = ( α + β ) > 0 , therefore: var < μ ( 1 − μ ) α = μ ν = μ ( μ ( 1 − μ ) var − 1 ) , if var < μ ( 1 − μ ) β = ( 1 − μ ) ν = ( 1 − μ ) ( μ ( 1 − μ ) var − 1 ) , if var < μ ( 1 − μ ) . {\displaystyle {\begin{aligned}\nu &=\alpha +\beta ={\frac {\mu (1-\mu )}{\mathrm {var} }}-1,{\text{ where }}\nu =(\alpha +\beta )>0,{\text{ therefore: }}{\text{var}}<\mu (1-\mu )\\\alpha &=\mu \nu =\mu \left({\frac {\mu (1-\mu )}{\text{var}}}-1\right),{\text{ if }}{\text{var}}<\mu (1-\mu )\\\beta &=(1-\mu )\nu =(1-\mu )\left({\frac {\mu (1-\mu )}{\text{var}}}-1\right),{\text{ if }}{\text{var}}<\mu (1-\mu ).\end{aligned}}}
This parametrization of the beta distribution may lead to a more intuitive understanding than the one based on the original parameters α and β. For example, by expressing the mode, skewness, excess kurtosis and differential entropy in terms of the mean and the variance:
Four parameters[edit]
A beta distribution with the two shape parameters α and β is supported on the range [0,1] or (0,1). It is possible to alter the location and scale of the distribution by introducing two further parameters representing the minimum, a, and maximum c (c > a), values of the distribution,[1] by a linear transformation substituting the non-dimensional variable x in terms of the new variable y (with support [a,c] or (a,c)) and the parameters a and c:
y = x ( c − a ) + a , therefore x = y − a c − a . {\displaystyle y=x(c-a)+a,{\text{ therefore }}x={\frac {y-a}{c-a}}.}
The probability density function of the four parameter beta distribution is equal to the two parameter distribution, scaled by the range (c-a), (so that the total area under the density curve equals a probability of one), and with the "y" variable shifted and scaled as follows:
f ( y ; α , β , a , c ) = f ( x ; α , β ) c − a = ( y − a c − a ) α − 1 ( c − y c − a ) β − 1 ( c − a ) B ( α , β ) = ( y − a ) α − 1 ( c − y ) β − 1 ( c − a ) α + β − 1 B ( α , β ) . {\displaystyle f(y;\alpha ,\beta ,a,c)={\frac {f(x;\alpha ,\beta )}{c-a}}={\frac {\left({\frac {y-a}{c-a}}\right)^{\alpha -1}\left({\frac {c-y}{c-a}}\right)^{\beta -1}}{(c-a)B(\alpha ,\beta )}}={\frac {(y-a)^{\alpha -1}(c-y)^{\beta -1}}{(c-a)^{\alpha +\beta -1}B(\alpha ,\beta )}}.}
That a random variable Y is Beta-distributed with four parameters α, β, a, and c will be denoted by:
Y ∼ B e t a ( α , β , a , c ) . {\displaystyle Y\sim Beta(\alpha ,\beta ,a,c).}
The measures of central location are scaled (by (c-a)) and shifted (by a), as follows:
mean ( Y ) = mean ( X ) ( c − a ) + a = ( α α + β ) ( c − a ) + a = α c + β a α + β mode ( Y ) = mode ( X ) ( c − a ) + a = ( α − 1 α + β − 2 ) ( c − a ) + a = ( α − 1 ) c + ( β − 1 ) a α + β − 2 , if α , β > 1 median ( Y ) = median ( X ) ( c − a ) + a = ( I 1 2 [ − 1 ] ( α , β ) ) ( c − a ) + a G Y = G X ( c − a ) + a = ( e ψ ( α ) − ψ ( α + β ) ) ( c − a ) + a H Y = H X ( c − a ) + a = ( α − 1 α + β − 1 ) ( c − a ) + a , if α , β > 0 {\displaystyle {\begin{aligned}{\text{mean}}(Y)&={\text{mean}}(X)(c-a)+a=\left({\frac {\alpha }{\alpha +\beta }}\right)(c-a)+a={\frac {\alpha c+\beta a}{\alpha +\beta }}\\{\text{mode}}(Y)&={\text{mode}}(X)(c-a)+a=\left({\frac {\alpha -1}{\alpha +\beta -2}}\right)(c-a)+a={\frac {(\alpha -1)c+(\beta -1)a}{\alpha +\beta -2}}\ ,\qquad {\text{ if }}\alpha ,\beta >1\\{\text{median}}(Y)&={\text{median}}(X)(c-a)+a=\left(I_{\frac {1}{2}}^{[-1]}(\alpha ,\beta )\right)(c-a)+a\\G_{Y}&=G_{X}(c-a)+a=\left(e^{\psi (\alpha )-\psi (\alpha +\beta )}\right)(c-a)+a\\H_{Y}&=H_{X}(c-a)+a=\left({\frac {\alpha -1}{\alpha +\beta -1}}\right)(c-a)+a,\,\qquad {\text{if }}\alpha ,\beta >0\end{aligned}}}
The statistical dispersion measures are scaled (they do not need to be shifted because they are already centered on the mean) by the range (c-a), linearly for the mean deviation and nonlinearly for the variance:
(mean deviation around mean) ( Y ) = {\displaystyle {\text{(mean deviation around mean)}}(Y)=}
( (mean deviation around mean) ( X ) ) ( c − a ) = 2 α α β β B ( α , β ) ( α + β ) α + β + 1 ( c − a ) {\displaystyle ({\text{(mean deviation around mean)}}(X))(c-a)={\frac {2\alpha ^{\alpha }\beta ^{\beta }}{\mathrm {B} (\alpha ,\beta )(\alpha +\beta )^{\alpha +\beta +1}}}(c-a)}
var ( Y ) = var ( X ) ( c − a ) 2 = α β ( c − a ) 2 ( α + β ) 2 ( α + β + 1 ) . {\displaystyle {\text{var}}(Y)={\text{var}}(X)(c-a)^{2}={\frac {\alpha \beta (c-a)^{2}}{(\alpha +\beta )^{2}(\alpha +\beta +1)}}.}
Since the skewness and excess kurtosis are non-dimensional quantities (as moments centered on the mean and normalized by the standard deviation), they are independent of the parameters a and c, and therefore equal to the expressions given above in terms of X (with support [0,1] or (0,1)):
skewness ( Y ) = skewness ( X ) = 2 ( β − α ) α + β + 1 ( α + β + 2 ) α β . {\displaystyle {\text{skewness}}(Y)={\text{skewness}}(X)={\frac {2(\beta -\alpha ){\sqrt {\alpha +\beta +1}}}{(\alpha +\beta +2){\sqrt {\alpha \beta }}}}.}
kurtosis excess ( Y ) = kurtosis excess ( X ) = 6 [ ( α − β ) 2 ( α + β + 1 ) − α β ( α + β + 2 ) ] α β ( α + β + 2 ) ( α + β + 3 ) {\displaystyle {\text{kurtosis excess}}(Y)={\text{kurtosis excess}}(X)={\frac {6[(\alpha -\beta )^{2}(\alpha +\beta +1)-\alpha \beta (\alpha +\beta +2)]}{\alpha \beta (\alpha +\beta +2)(\alpha +\beta +3)}}}
History[edit]
Karl Pearson analyzed the beta distribution as the solution Type I of Pearson distributions
The first systematic modern discussion of the beta distribution is probably due to Karl Pearson FRS[77] (27 March 1857 – 27 April 1936[78]), an influential English mathematician who has been credited with establishing the discipline of mathematical statistics.[79] In Pearson's papers[21][32] the beta distribution is couched as a solution of a differential equation: Pearson's Type I distribution which it is essentially identical to except for arbitrary shifting and re-scaling (the beta and Pearson Type I distributions can always be equalized by proper choice of parameters). In fact, in several English books and journal articles in the few decades prior to World War II, it was common to refer to the beta distribution as Pearson's Type I distribution. William P. Elderton (1877–1962) in his 1906 monograph "Frequency curves and correlation"[37] further analyzes the beta distribution as Pearson's Type I distribution, including a full discussion of the method of moments for the four parameter case, and diagrams of (what Elderton describes as) U-shaped, J-shaped, twisted J-shaped, "cocked-hat" shapes, horizontal and angled straight-line cases. Elderton wrote "I am chiefly indebted to Professor Pearson, but the indebtedness is of a kind for which it is impossible to offer formal thanks." Elderton in his 1906 monograph [37] provides an impressive amount of information on the beta distribution, including equations for the origin of the distribution chosen to be the mode, as well as for other Pearson distributions: types I through VII. Elderton also included a number of appendixes, including one appendix ("II") on the beta and gamma functions. In later editions, Elderton added equations for the origin of the distribution chosen to be the mean, and analysis of Pearson distributions VIII through XII.
As remarked by Bowman and Shenton [39] "Fisher and Pearson had a difference of opinion in the approach to (parameter) estimation, in particular relating to (Pearson's method of) moments and (Fisher's method of) maximum likelihood in the case of the Beta distribution." Also according to Bowman and Shenton, "the case of a Type I (beta distribution) model being the center of the controversy was pure serendipity. A more difficult model of 4 parameters would have been hard to find." Ronald Fisher (17 February 1890 – 29 July 1962) was one of the giants of statistics in the first half of the 20th century, and his long running public conflict with Karl Pearson can be followed in a number of articles in prestigious journals. For example, concerning the estimation of the four parameters for the beta distribution, and Fisher's criticism of Pearson's method of moments as being arbitrary, see Pearson's article "Method of moments and method of maximum likelihood" [40] (published three years after his retirement from University College, London, where his position had been divided between Fisher and Pearson's son Egon) in which Pearson writes "I read (Koshai's paper in the Journal of the Royal Statistical Society, 1933) which as far as I am aware is the only case at present published of the application of Professor Fisher's method. To my astonishment that method depends on first working out the constants of the frequency curve by the (Pearson) Method of Moments and then superposing on it, by what Fisher terms "the Method of Maximum Likelihood" a further approximation to obtain, what he holds, he will thus get, "more efficient values" of the curve constants."
David and Edwards's treatise on the history of statistics[80] cites the first modern treatment of the beta distribution, in 1911,[81] using the beta designation that has become standard, due to Corrado Gini, an Italian statistician, demographer, and sociologist, who developed the Gini coefficient. N.L.Johnson and S.Kotz, in their comprehensive and very informative monograph[82] on leading historical personalities in statistical sciences credit Corrado Gini[83] as "an early Bayesian...who dealt with the problem of eliciting the parameters of an initial Beta distribution, by singling out techniques which anticipated the advent of the so called empirical Bayes approach." Bayes, in a posthumous paper [61] published in 1763 by Richard Price, obtained a beta distribution as the density of the probability of success in Bernoulli trials (see the section titled "Applications, Bayesian inference" in this article), but the paper does not analyze any of the moments of the beta distribution or discuss any of its properties.
References[edit]
^ a b c d e f g h i j k l m n o p q r s t u v w x y z Johnson, Norman L.; Kotz, Samuel; Balakrishnan, N. (1995). "Chapter 21:Beta Distributions". Continuous Univariate Distributions Vol. 2 (2nd ed.). Wiley. ISBN 978-0-471-58494-0.
^ Keeping, E. S. (2010). Introduction to Statistical Inference. Dover Publications. ISBN 978-0486685021.
^ a b c Wadsworth, George P. and Joseph Bryan (1960). Introduction to Probability and Random Variables. McGraw-Hill.
^ a b Hahn, Gerald J.; Shapiro, S. (1994). Statistical Models in Engineering (Wiley Classics Library). Wiley-Interscience. ISBN 978-0471040651.
^ a b c d e Feller, William (1971). An Introduction to Probability Theory and Its Applications, Vol. 2. Wiley. ISBN 978-0471257097.
^ a b c d e f g h Gupta (Editor), Arjun K. (2004). Handbook of Beta Distribution and Its Applications. CRC Press. ISBN 978-0824753962. CS1 maint: Extra text: authors list (link)
^ a b c Panik, Michael J (2005). Advanced Statistics from an Elementary Point of View. Academic Press. ISBN 978-0120884940.
^ a b Rose, Colin; Smith, Murray D. (2002). Mathematical Statistics with MATHEMATICA. Springer. ISBN 978-0387952345.
^ a b c Kruschke, John K. (2011). Doing Bayesian data analysis: A tutorial with R and BUGS. p. 83: Academic Press / Elsevier. ISBN 978-0123814852.
^ a b Berger, James O. (2010). Statistical Decision Theory and Bayesian Analysis (2nd ed.). Springer. ISBN 978-1441930743.
^ a b Kerman J (2011) "A closed-form approximation for the median of the beta distribution". arXiv:1111.0433v1
^ Mosteller, Frederick and John Tukey (1977). Data Analysis and Regression: A Second Course in Statistics. Addison-Wesley Pub. Co.,. ISBN 978-0201048544.
^ a b Feller, William (1968). An Introduction to Probability Theory and Its Applications, Vol. 1, 3rd Edition. ISBN 978-0471257080.
^ Philip J. Fleming and John J. Wallace. How not to lie with statistics: the correct way to summarize benchmark results. Communications of the ACM, 29(3):218–221, March 1986.
^ "NIST/SEMATECH e-Handbook of Statistical Methods 1.3.6.6.17. Beta Distribution". National Institute of Standards and Technology Information Technology Laboratory. April 2012. Retrieved May 31, 2016.
^ Oguamanam, D.C.D.; Martin, H. R.; Huissoon, J. P. (1995). "On the application of the beta distribution to gear damage analysis". Applied Acoustics. 45 (3): 247–261. doi:10.1016/0003-682X(95)00001-P.
^ Zhiqiang Liang; Jianming Wei; Junyu Zhao; Haitao Liu; Baoqing Li; Jie Shen; Chunlei Zheng (27 August 2008). "The Statistical Meaning of Kurtosis and Its New Application to Identification of Persons Based on Seismic Signals". Sensors. 8: 5106–5119. doi:10.3390/s8085106.
^ Kenney, J. F., and E. S. Keeping (1951). Mathematics of Statistics Part Two, 2nd edition. D. Van Nostrand Company Inc.
^ a b c d Abramowitz, Milton and Irene A. Stegun (1965). Handbook Of Mathematical Functions With Formulas, Graphs, And Mathematical Tables. Dover. ISBN 978-0-486-61272-0.
^ Weisstein., Eric W. "Kurtosis". MathWorld--A Wolfram Web Resource. Retrieved 13 August 2012.
^ a b c d e f Pearson, Karl (1916). "Mathematical contributions to the theory of evolution, XIX: Second supplement to a memoir on skew variation". Philosophical Transactions of the Royal Society A. 216 (538–548): 429–457. Bibcode:1916RSPTA.216..429P. doi:10.1098/rsta.1916.0009. JSTOR 91092.
^ Gradshteyn, Izrail Solomonovich; Ryzhik, Iosif Moiseevich; Geronimus, Yuri Veniaminovich; Tseytlin, Michail Yulyevich; Jeffrey, Alan (2015) [October 2014]. Zwillinger, Daniel; Moll, Victor Hugo, eds. Table of Integrals, Series, and Products. Translated by Scripta Technica, Inc. (8 ed.). Academic Press, Inc. ISBN 0-12-384933-0. LCCN 2014010276. ISBN 978-0-12-384933-5.
^ Billingsley, Patrick (1995). "30". Probability and measure (3rd ed.). Wiley-Interscience. ISBN 0-471-00710-2.
^ a b MacKay, David (2003). Information Theory, Inference and Learning Algorithms. Cambridge University Press; First Edition. ISBN 978-0521642989.
^ a b Johnson, N.L. (1949). "Systems of frequency curves generated by methods of translation". Biometrika. 36: 149–176. doi:10.1093/biomet/36.1-2.149.
^ A. C. G. Verdugo Lazo and P. N. Rathie. "On the entropy of continuous probability distributions," IEEE Trans. Inf. Theory, IT-24:120–122, 1978.
^ Shannon, Claude E., "A Mathematical Theory of Communication," Bell System Technical Journal, 27 (4):623–656,1948.PDF
^ a b c Cover, Thomas M. and Joy A. Thomas (2006). Elements of Information Theory 2nd Edition (Wiley Series in Telecommunications and Signal Processing). Wiley-Interscience; 2 edition. ISBN 978-0471241959.
^ Plunkett, Kim, and Jeffrey Elman (1997). Exercises in Rethinking Innateness: A Handbook for Connectionist Simulations (Neural Network Modeling and Connectionism). p. 166: A Bradford Book. ISBN 978-0262661058.
^ Nallapati, Ramesh (2006). The smoothed dirichlet distribution: understanding cross-entropy ranking in information retrieval. Ph.D. thesis: Computer Science Dept., University of Massachusetts Amherst.
^ a b Pearson, Egon S. (July 1969). "Some historical reflections traced through the development of the use of frequency curves". THEMIS Statistical Analysis Research Program, Technical Report 38. Office of Naval Research, Contract N000014-68-A-0515 (Project NR 042-260).
^ a b Pearson, Karl (1895). "Contributions to the mathematical theory of evolution, II: Skew variation in homogeneous material". Philosophical Transactions of the Royal Society. 186: 343–414. Bibcode:1895RSPTA.186..343P. doi:10.1098/rsta.1895.0010. JSTOR 90649.
^ Buchanan, K.; Rockway, J.; Sternberg, O.; Mai, N. N. (May 2016). "Sum-difference beamforming for radar applications using circularly tapered random arrays". 2016 IEEE Radar Conference (RadarConf): 1–5. doi:10.1109/RADAR.2016.7485289.
^ Buchanan, K.; Flores, C.; Wheeland, S.; Jensen, J.; Grayson, D.; Huff, G. (May 2017). "Transmit beamforming for radar applications using circularly tapered random arrays". 2017 IEEE Radar Conference (RadarConf): 0112–0117. doi:10.1109/RADAR.2017.7944181.
^ Ryan, Buchanan, Kristopher (2014-05-29). "Theory and Applications of Aperiodic (Random) Phased Arrays".
^ Engineering Statistics Handbook
^ a b c d e f g h Elderton, William Palin (1906). Frequency-Curves and Correlation. Charles and Edwin Layton (London).
^ Elderton, William Palin and Norman Lloyd Johnson (2009). Systems of Frequency Curves. Cambridge University Press. ISBN 978-0521093361.
^ a b c Bowman, K. O.; Shenton, L. R. (2007). "The beta distribution, moment method, Karl Pearson and R.A. Fisher" (PDF). Far East J. Theo. Stat. 23 (2): 133–164.
^ a b Pearson, Karl (June 1936). "Method of moments and method of maximum likelihood". Biometrika. 28 (1/2): 34. doi:10.2307/2334123.
^ a b c Joanes, D. N.; C. A. Gill (1998). "Comparing measures of sample skewness and kurtosis". The Statistician. 47 (Part 1): 183–189. doi:10.1111/1467-9884.00122.
^ Beckman, R. J.; G. L. Tietjen (1978). "Maximum likelihood estimation for the beta distribution". Journal of Statistical Computation and Simulation. 7 (3-4): 253–258. doi:10.1080/00949657808810232.
^ Gnanadesikan, R.,Pinkham and Hughes (1967). "Maximum likelihood estimation of the parameters of the beta distribution from smallest order statistics". Technometrics. 9: 607–620. doi:10.2307/1266199.
^ Fackler, Paul. "Inverse Digamma Function (Matlab)". Harvard University School of Engineering and Applied Sciences. Retrieved 2012-08-18.
^ a b c Silvey, S.D. (1975). Statistical Inference. page 40: Chapman and Hal. ISBN 978-0412138201.
^ Edwards, A. W. F. (1992). Likelihood. The Johns Hopkins University Press. ISBN 978-0801844430.
^ a b c d e f Jaynes, E.T. (2003). Probability theory, the logic of science. Cambridge University Press. ISBN 978-0521592710.
^ Costa, Max, and Cover, Thomas (September 1983). On the similarity of the entropy power inequality and the Brunn Minkowski inequality (PDF). Tech.Report 48, Dept. Statistics, Stanford University.
^ a b c Aryal, Gokarna; Saralees Nadarajah (2004). "Information matrix for beta distributions" (PDF). Serdica Mathematical Journal (Bulgarian Academy of Science). 30: 513–526.
^ van der Waerden, B. L., "Mathematical Statistics", Springer, ISBN 978-3-540-04507-6.
^ a b c d David, H. A., Nagaraja, H. N. (2003) Order Statistics (3rd Edition). Wiley, New Jersey pp 458. ISBN 0-471-38926-9
^ Herrerías-Velasco, José Manuel and Herrerías-Pleguezuelo, Rafael and René van Dorp, Johan. (2011). Revisiting the PERT mean and Variance. European Journal of Operational Research (210), p. 448–451.
^ a b Malcolm, D. G.; Roseboom, J. H.; Clark, C. E.; Fazar, W. (September–October 1958). "Application of a Technique for Research and Development Program Evaluation". Operations Research. 7 (5): 646–669. doi:10.1287/opre.7.5.646. ISSN 0030-364X.
^ a b Laplace, Pierre Simon, marquis de (1902). A philosophical essay on probabilities. New York : J. Wiley ; London : Chapman & Hall. ISBN 1-60206-328-1.
^ Cox, Richard T. (1961). Algebra of Probable Inference. The Johns Hopkins University Press. ISBN 978-0801869822.
^ a b Keynes, John Maynard (2010) [1921]. A Treatise on Probability: The Connection Between Philosophy and the History of Science. Wildside Press. ISBN 978-1434406965.
^ Pearson, Karl (1907). "On the Influence of Past Experience on Future Expectation". Philosophical Magazine. 6 (13): 365–378.
^ a b c d Jeffreys, Harold (1998). Theory of Probability. Oxford University Press, 3rd edition. ISBN 978-0198503682.
^ Broad, C. D. (October 1918). "On the relation between induction and probability". MIND, a quarterly review of Psychology and Philosophy. 27 (New Series) (108): 389–404. JSTOR 2249035.
^ a b c d Perks, Wilfred (January 1947). "Some observations on inverse probability including a new indifference rule". Journal of the Institute of Actuaries [JIA]. 73: 285–334.
^ a b Bayes, Thomas; communicated by Richard Price (1763). "An Essay towards solving a Problem in the Doctrine of Chances". Philosophical Transactions of the Royal Society. 53: 370–418. doi:10.1098/rstl.1763.0053. JSTOR 10.2307/105741.
^ Haldane, J.B.S. (1932). "A note on inverse probability". Mathematical Proceedings of the Cambridge Philosophical Society. 28: 55–61. Bibcode:1932PCPS...28...55H. doi:10.1017/s0305004100010495.
^ Zellner, Arnold (1971). An Introduction to Bayesian Inference in Econometrics. Wiley-Interscience. ISBN 978-0471169376.
^ Jeffreys, Harold (September 1946). "An Invariant Form for the Prior Probability in Estimation Problems". Proceedings of the Royal Society. A 24. 186 (1007): 453–461. Bibcode:1946RSPSA.186..453J. doi:10.1098/rspa.1946.0056.
^ Berger, James; Bernardo, Jose; Sun, Dongchu (2009). "The formal definition of reference priors". The Annals of Statistics. 37 (2): 905–938. arXiv:0904.0156v1  . doi:10.1214/07-AOS587.
^ Clarke, Bertrand S.; Andrew R. Barron (1994). "Jeffreys' prior is asymptotically least favorable under entropy risk" (PDF). Journal of Statistical Planning and Inference. 41: 37–60. doi:10.1016/0378-3758(94)90153-8.
^ Pearson, Karl (1892). The Grammar of Science,. Walter Scott, London.
^ Pearson, Karl (2009). The Grammar of Science. BiblioLife. ISBN 978-1110356119.
^ Gelman, A., Carlin, J. B., Stern, H. S., and Rubin, D. B. (2003). Bayesian Data Analysis. Chapman and Hall/CRC. ISBN 978-1584883883.
^ A. Jøsang. A Logic for Uncertain Probabilities. International Journal of Uncertainty, Fuzziness and Knowledge-Based Systems. 9(3), pp.279-311, June 2001. PDF
^ H.M. de Oliveira and G.A.A. Araújo,. Compactly Supported One-cyclic Wavelets Derived from Beta Distributions. Journal of Communication and Information Systems. vol.20, n.3, pp.27-33, 2005.
^ Keefer, Donald L. and Verdini, William A. (1993). Better Estimation of PERT Activity Time Parameters. Management Science 39(9), p. 1086–1091.
^ Keefer, Donald L. and Bodily, Samuel E. (1983). Three-point Approximations for Continuous Random variables. Management Science 29(5), p. 595–609.
^ DRMI Newsletter, Issue 12, April 8, 2005
^ Kruschke, John K. (2015). Doing Bayesian Data Analysis: A Tutorial with R, JAGS and Stan. Academic Press / Elsevier. ISBN 978-0-12-405888-0.
^ Balding, David J.; Nichols, Richard A. (1995). "A method for quantifying differentiation between populations at multi-allelic loci and its implications for investigating identity and paternity". Genetica. Springer. 96 (1–2): 3–12. doi:10.1007/BF01441146. PMID 7607457.
^ Yule, G. U.; Filon, L. N. G. (1936). "Karl Pearson. 1857-1936". Obituary Notices of Fellows of the Royal Society. 2 (5): 72. doi:10.1098/rsbm.1936.0007. JSTOR 769130.
^ "Library and Archive catalogue". Sackler Digital Archive. Royal Society. Retrieved 2011-07-01.
^ "Karl Pearson sesquicentenary conference". Royal Statistical Society. 2007-03-03. Retrieved 2008-07-25.
^ David, H. A. and A.W.F. Edwards (2001). Annotated Readings in the History of Statistics. Springer; 1 edition. ISBN 978-0387988443.
^ Gini, Corrado (1911). "Considerazioni Sulle Probabilità Posteriori e Applicazioni al Rapporto dei Sessi Nelle Nascite Umane". Studi Economico-Giuridici della Università de Cagliari. Anno III (reproduced in Metron 15, 133,171, 1949): 5–41.
^ Johnson (Editor), Norman L. and Samuel Kotz (1997). Leading Personalities in Statistical Sciences: From the Seventeenth Century to the Present (Wiley Series in Probability and Statistics. Wiley. ISBN 978-0471163817. CS1 maint: Extra text: authors list (link)
^ Metron journal. "Biography of Corrado Gini". Metron Journal. Archived from the original on 2012-07-16. Retrieved 2012-08-18.
External links[edit]
Wikimedia Commons has media related to Beta distribution.
"Beta Distribution" by Fiona Maclachlan, the Wolfram Demonstrations Project, 2007.
Beta Distribution – Overview and Example, xycoon.com
Beta Distribution, brighton-webs.co.uk
Beta Distribution Video, exstrom.com
Hazewinkel, Michiel, ed. (2001) [1994], "Beta-distribution", Encyclopedia of Mathematics, Springer Science+Business Media B.V. / Kluwer Academic Publishers, ISBN 978-1-55608-010-4
Weisstein, Eric W. "Beta Distribution". MathWorld.
Harvard University Statistics 110 Lecture 23 Beta Distribution, Prof. Joe Blitzstein
v
t
e
Probability distributions
List
Discrete univariate
with finite support
Benford
Bernoulli
beta-binomial
binomial
categorical
hypergeometric
Poisson binomial
Rademacher
discrete uniform
Zipf
Zipf–Mandelbrot
Discrete univariate
with infinite support
beta negative binomial
Borel
Conway–Maxwell–Poisson
discrete phase-type
Delaporte
extended negative binomial
Gauss–Kuzmin
geometric
logarithmic
negative binomial
parabolic fractal
Poisson
Skellam
Yule–Simon
zeta
Continuous univariate
supported on a bounded interval
arcsine
ARGUS
Balding–Nichols
Bates
beta
beta rectangular
Irwin–Hall
Kumaraswamy
logit-normal
noncentral beta
raised cosine
reciprocal
triangular
U-quadratic
uniform
Wigner semicircle
Continuous univariate
supported on a semi-infinite interval
Benini
Benktander 1st kind
Benktander 2nd kind
beta prime
Burr
chi-squared
chi
Dagum
Davis
exponential-logarithmic
Erlang
exponential
F
folded normal
Flory–Schulz
Fréchet
gamma
gamma/Gompertz
generalized inverse Gaussian
Gompertz
half-logistic
half-normal
Hotelling's T-squared
hyper-Erlang
hyperexponential
hypoexponential
inverse chi-squared
scaled inverse chi-squared
inverse Gaussian
inverse gamma
Kolmogorov
Lévy
log-Cauchy
log-Laplace
log-logistic
log-normal
Lomax
matrix-exponential
Maxwell–Boltzmann
Maxwell–Jüttner
Mittag-Leffler
Nakagami
noncentral chi-squared
Pareto
phase-type
poly-Weibull
Rayleigh
relativistic Breit–Wigner
Rice
shifted Gompertz
truncated normal
type-2 Gumbel
Weibull
Discrete Weibull
Wilks's lambda
Continuous univariate
supported on the whole real line
Cauchy
exponential power
Fisher's z
Gaussian q
generalized normal
generalized hyperbolic
geometric stable
Gumbel
Holtsmark
hyperbolic secant
Johnson's SU
Landau
Laplace
asymmetric Laplace
logistic
noncentral t
normal (Gaussian)
normal-inverse Gaussian
skew normal
slash
stable
Student's t
type-1 Gumbel
Tracy–Widom
variance-gamma
Voigt
Continuous univariate
with support whose type varies
generalized extreme value
generalized Pareto
Marchenko–Pastur
q-exponential
q-Gaussian
q-Weibull
shifted log-logistic
Tukey lambda
Mixed continuous-discrete univariate
rectified Gaussian
Multivariate (joint)
Discrete
Ewens
multinomial
Dirichlet-multinomial
negative multinomial
Continuous
Dirichlet
generalized Dirichlet
multivariate Laplace
multivariate normal
multivariate stable
multivariate t
normal-inverse-gamma
normal-gamma
Matrix-valued
inverse matrix gamma
inverse-Wishart
matrix normal
matrix t
matrix gamma
normal-inverse-Wishart
normal-Wishart
Wishart
Directional
Univariate (circular) directional
Circular uniform
univariate von Mises
wrapped normal
wrapped Cauchy
wrapped exponential
wrapped asymmetric Laplace
wrapped Lévy
Bivariate (spherical)
Kent
Bivariate (toroidal)
bivariate von Mises
Multivariate
von Mises–Fisher
Bingham
Degenerate and singular
Degenerate
Dirac delta function
Singular
Cantor
Families
Circular
compound Poisson
elliptical
exponential
natural exponential
location–scale
maximum entropy
mixture
Pearson
Tweedie
wrapped
v
t
e
Some common univariate probability distributions
Continuous
beta
Cauchy
chi-squared
exponential
F
gamma
Laplace
log-normal
normal
Pareto
Student's t
uniform
Weibull
Discrete
Bernoulli
binomial
discrete uniform
geometric
hypergeometric
negative binomial
Poisson
List of probability distributions
Retrieved from "https://en.wikipedia.org/w/index.php?title=Beta_distribution&oldid=842739438"
Categories:
Continuous distributions
Factorial and binomial topics
Conjugate prior distributions
Exponential family distributions
Hidden categories:
CS1 maint: Extra text: authors list
Pages using deprecated image syntax
All articles with unsourced statements
Articles with unsourced statements from February 2013
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Article
Talk
Variants
Views
Read
Edit
View history
More
Search
Navigation
Main page
Contents
Featured content
Current events
Random article
Donate to Wikipedia
Wikipedia store
Interaction
Help
About Wikipedia
Community portal
Recent changes
Contact page
Tools
What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Wikidata item
Cite this page
Print/export
Create a book
Download as PDF
Printable version
In other projects
Wikimedia Commons
Languages
العربية
Deutsch
Español
فارسی
Français
Galego
한국어
Italiano
עברית
ქართული
Magyar
Nederlands
日本語
Polski
Português
Русский
Slovenščina
Basa Sunda
Suomi
Svenska
Türkçe
Українська
中文
Edit links
This page was last edited on 24 May 2018, at 10:44.
Text is available under the Creative Commons Attribution-ShareAlike License; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.
Privacy policy
About Wikipedia
Disclaimers
Contact Wikipedia
Developers
Cookie statement
Mobile view

key: html

type: local

value: div

attrs: id class

values: mw-page-base noprint

values: mw-head-base noprint

value: a

values: siteNotice mw-body-content

attrs: id class lang

values: firstHeading firstHeading en

values: siteSub noprint

values: jump-to-nav mw-jump

attrs: href title

attrs: role class

values:
note
hatnote navigation-not-searchable

value: caption

value: img

attrs: alt src width height srcset data-file-width data-file-height

values: Probability density function for the Beta distribution

attrs: href class title

value: td

attrs: colspan style

value: tr

values: Cumulative distribution function for the Beta distribution

value: th

value: i

values: vertical-align: -0.838ex; margin-right: -0.111ex; width:8.546ex; height:2.843ex;

values: vertical-align: -0.838ex; margin-right: -0.166ex; width:9.118ex; height:2.843ex;

values: {\displaystyle {\frac {x^{\alpha -1}(1-x)^{\beta -1}}{\mathrm {B} (\alpha ,\beta )}}\!}

values: vertical-align: -2.671ex; margin-right: -0.108ex; width:15.688ex; height:6.676ex;

values: {\displaystyle \mathrm {B} (\alpha ,\beta )={\frac {\Gamma (\alpha )\Gamma (\beta )}{\Gamma (\alpha +\beta )}}}

values: vertical-align: -2.671ex; width:20.587ex; height:6.509ex;

values: vertical-align: -0.838ex; margin-right: -0.166ex; width:7.638ex; height:2.843ex;

values: {\displaystyle \operatorname {E} [X]={\frac {\alpha }{\alpha +\beta }}\!}

values: vertical-align: -2.338ex; margin-right: -0.108ex; width:14.172ex; height:5.176ex;

values: {\displaystyle \operatorname {E} [\ln X]=\psi (\alpha )-\psi (\alpha +\beta )\!}

values: vertical-align: -0.838ex; margin-right: -0.166ex; width:26.694ex; height:2.843ex;

values: \operatorname{E}[\ln X] = \psi(\alpha) - \psi(\alpha + \beta)\!

values: {\displaystyle \operatorname {E} [X\,\ln X]={\frac {\alpha }{\alpha +\beta }}\,\left[\psi (\alpha +1)-\psi (\alpha +\beta +1)\right]\!}

values: vertical-align: -2.338ex; margin-right: -0.111ex; width:45.962ex; height:5.176ex;

values: vertical-align: -6.671ex; width:23.61ex; height:14.509ex;

values:
\begin{matrix}I_{\frac{1}{2}}^{[-1]}(\alpha,\beta)\text{ (in general) }\\[0.5em]
\approx \frac{ \alpha - \tfrac{1}{3} }{ \alpha + \beta - \tfrac{2}{3} }\text{ for }\alpha, \beta >1\end{matrix}

values: {\displaystyle {\frac {\alpha -1}{\alpha +\beta -2}}\!}

values: vertical-align: -2.338ex; margin-right: -0.108ex; width:10.22ex; height:5.676ex;

values: vertical-align: -0.838ex; width:5.168ex; height:2.843ex;

values: {\displaystyle \operatorname {var} [X]={\frac {\alpha \beta }{(\alpha +\beta )^{2}(\alpha +\beta +1)}}\!}

values: vertical-align: -2.671ex; margin-right: -0.108ex; width:30.227ex; height:6.176ex;

values: {\displaystyle \operatorname {var} [\ln X]=\psi _{1}(\alpha )-\psi _{1}(\alpha +\beta )\!}

values: vertical-align: -0.838ex; margin-right: -0.166ex; width:30.521ex; height:2.843ex;

values: \operatorname{var}[\ln X] = \psi_1(\alpha) - \psi_1(\alpha + \beta)\!

values: {\displaystyle {\frac {2\,(\beta -\alpha ){\sqrt {\alpha +\beta +1}}}{(\alpha +\beta +2){\sqrt {\alpha \beta }}}}}

values: vertical-align: -3.171ex; width:21.842ex; height:7.509ex;

values:
/wiki/Excess_kurtosis
mw-redirect
Excess kurtosis

values: {\displaystyle {\frac {6[(\alpha -\beta )^{2}(\alpha +\beta +1)-\alpha \beta (\alpha +\beta +2)]}{\alpha \beta (\alpha +\beta +2)(\alpha +\beta +3)}}}

values: vertical-align: -2.671ex; width:40.42ex; height:6.676ex;

values: \frac{6[(\alpha - \beta)^2 (\alpha +\beta + 1) - \alpha \beta (\alpha + \beta + 2)]}{\alpha \beta (\alpha + \beta + 2) (\alpha + \beta + 3)}

values:
/wiki/Information_entropy
mw-redirect
Information entropy

values: {\displaystyle {\begin{matrix}\ln \mathrm {B} (\alpha ,\beta )-(\alpha -1)\psi (\alpha )-(\beta -1)\psi (\beta )\\[0.5em]+(\alpha +\beta -2)\psi (\alpha +\beta )\end{matrix}}}

values: vertical-align: -3.171ex; width:39.976ex; height:7.509ex;

values: {\displaystyle 1+\sum _{k=1}^{\infty }\left(\prod _{r=0}^{k-1}{\frac {\alpha +r}{\alpha +\beta +r}}\right){\frac {t^{k}}{k!}}}

values: vertical-align: -3.171ex; width:28.32ex; height:7.509ex;

values: 1  +\sum_{k=1}^{\infty} \left( \prod_{r=0}^{k-1} \frac{\alpha+r}{\alpha+\beta+r} \right) \frac{t^k}{k!}

values: Characteristic function (probability theory)

values: {\displaystyle {}_{1}F_{1}(\alpha ;\alpha +\beta ;i\,t)\!}

values: vertical-align: -0.838ex; margin-right: -0.166ex; width:16.436ex; height:2.843ex;

values: {\displaystyle {\begin{matrix}\\\operatorname {var} [\ln X]&\operatorname {cov} [\ln X,\ln(1-X)]\\\operatorname {cov} [\ln X,\ln(1-X)]&\operatorname {var} [\ln(1-X)]\end{matrix}}}

values: vertical-align: -4.171ex; width:42.65ex; height:9.509ex;

values: \begin{matrix}\\ \operatorname{var}[\ln X] &\operatorname{cov}[\ln X, \ln(1-X)] \\ \operatorname{cov}[\ln X, \ln(1-X)] & \operatorname{var}[\ln (1-X)]\end{matrix}

values:
/wiki/Random_variables
mw-redirect
Random variables

values:
/wiki/Conjugate_prior_distribution
mw-redirect
Conjugate prior distribution

values: Edit section: Probability density function

values:
/wiki/Power_function
mw-redirect
Power function

attrs: columnalign rowspacing columnspacing displaystyle

values: right left right left right left right left right left right left

values: 0em 2em 0em 2em 0em 2em 0em 2em 0em 2em 0em

values: vertical-align: -14.049ex; margin-bottom: -0.289ex; width:38.853ex; height:29.843ex;

values: vertical-align: -0.338ex; width:1.646ex; height:2.176ex;

values:
/wiki/Normalization_constant
mw-redirect
Normalization constant

values:
/wiki/Random_process
mw-redirect
Random process

values: {\displaystyle X\sim \operatorname {Beta} (\alpha ,\beta )}

values: vertical-align: -0.838ex; width:15.486ex; height:2.843ex;

values: X \sim \operatorname{Beta}(\alpha, \beta)

values: {\displaystyle X\sim {\mathcal {B}}e(\alpha ,\beta )}

values: vertical-align: -0.838ex; width:13.368ex; height:2.843ex;

values: {\displaystyle X\sim \beta _{\alpha ,\beta }}

values: vertical-align: -1.005ex; width:9.078ex; height:2.843ex;

values: Edit section: Cumulative distribution function

attrs: alt src width height class srcset data-file-width data-file-height

values: {\displaystyle F(x;\alpha ,\beta )={\frac {\mathrm {B} {}(x;\alpha ,\beta )}{\mathrm {B} {}(\alpha ,\beta )}}=I_{x}(\alpha ,\beta )}

values: vertical-align: -2.671ex; width:34.331ex; height:6.509ex;

values: {\displaystyle \mathrm {B} (x;\alpha ,\beta )}

values: vertical-align: -0.838ex; width:9.672ex; height:2.843ex;

values: vertical-align: -0.838ex; width:7.858ex; height:2.843ex;

values: Edit section: Measures of central tendency

values: {\displaystyle {\frac {\alpha -1}{\alpha +\beta -2}}.}

values: vertical-align: -2.338ex; width:11.146ex; height:5.676ex;

values:
/wiki/Mathematical_singularity
mw-redirect
Mathematical singularity

values: {\displaystyle x=I_{\frac {1}{2}}^{[-1]}(\alpha ,\beta )}

values: vertical-align: -2.505ex; width:14.555ex; height:5.176ex;

values: {\displaystyle I_{x}(\alpha ,\beta )={\tfrac {1}{2}}}

values: vertical-align: -1.171ex; width:12.615ex; height:3.509ex;

values: This claim needs references to reliable sources. (February 2013)

values:
noprint Inline-Template Template-Fact
white-space:nowrap;

values: {\displaystyle =1-2^{-{\frac {1}{\beta }}}}

values: vertical-align: -0.505ex; width:10.73ex; height:4.009ex;

values: {\displaystyle 2^{-{\frac {1}{\alpha }}}}

values: vertical-align: -0.338ex; width:4.363ex; height:3.343ex;

values: vertical-align: -4.005ex; width:32.002ex; height:9.176ex;

values:
 \begin{align}
\lim_{\beta \to  0} \text{median}= \lim_{\alpha \to \infty} \text{median} = 1,\\
\lim_{\alpha\to  0} \text{median}= \lim_{\beta \to  \infty} \text{median} = 0.
\end{align}

values: {\displaystyle {\text{median}}\approx {\frac {\alpha -{\tfrac {1}{3}}}{\alpha +\beta -{\tfrac {2}{3}}}}{\text{ for }}\alpha ,\beta \geq 1.}

values: vertical-align: -3.505ex; width:34.164ex; height:8.176ex;

values: \text{median} \approx \frac{\alpha - \tfrac{1}{3}}{\alpha + \beta - \tfrac{2}{3}} \text{ for } \alpha, \beta \ge 1.

values:
/wiki/Relative_error
mw-redirect
Relative error

values: Abs[(Median-Appr.)/Median] for Beta distribution for 1 ≤ α ≤ 5 and 1 ≤ β ≤ 5

values: Abs[(Median-Appr.)/(Mean-Mode)] for Beta distribution for 1≤α≤5 and 1≤β≤5

values: vertical-align: -12.338ex; width:37.729ex; height:25.843ex;

values:
 \begin{align}
\mu = \operatorname{E}[X]
     &= \int_0^1 x f(x;\alpha,\beta)\,dx \\
     &= \int_0^1 x \,\frac{x^{\alpha-1}(1-x)^{\beta-1}}{\Beta(\alpha,\beta)}\,dx \\
     &= \frac{\alpha}{\alpha + \beta} \\
     &= \frac{1}{1 + \frac{\beta}{\alpha}}
\end{align}

values: {\displaystyle {\begin{aligned}\lim _{{\frac {\beta }{\alpha }}\to 0}\mu =1\\\lim _{{\frac {\beta }{\alpha }}\to \infty }\mu =0\end{aligned}}}

values: vertical-align: -5.171ex; width:11.778ex; height:11.509ex;

values:
 \begin{align}
\lim_{\frac{\beta}{\alpha} \to  0} \mu = 1\\
\lim_{\frac{\beta}{\alpha} \to  \infty} \mu = 0
\end{align}

values: {\displaystyle {\begin{aligned}\lim _{\beta \to 0}\mu =\lim _{\alpha \to \infty }\mu =1\\\lim _{\alpha \to 0}\mu =\lim _{\beta \to \infty }\mu =0\end{aligned}}}

values: vertical-align: -4.005ex; width:19.434ex; height:9.176ex;

values:
 \begin{align}
\lim_{\beta \to  0} \mu = \lim_{\alpha \to  \infty} \mu = 1\\
\lim_{\alpha\to  0} \mu = \lim_{\beta \to  \infty} \mu = 0
\end{align}

values: {\displaystyle \ln G_{X}=\operatorname {E} [\ln X]}

values: vertical-align: -0.838ex; width:16.067ex; height:2.843ex;

values: vertical-align: -26.838ex; width:45.175ex; height:54.843ex;

values: {\displaystyle G_{X}=e^{\operatorname {E} [\ln X]}=e^{\psi (\alpha )-\psi (\alpha +\beta )}}

values: vertical-align: -0.671ex; width:27.781ex; height:3.176ex;

values: G_X =e^{\operatorname{E}[\ln X]}= e^{\psi(\alpha) - \psi(\alpha + \beta)}

values: {\displaystyle {\begin{aligned}&\lim _{\alpha =\beta \to 0}G_{X}=0\\&\lim _{\alpha =\beta \to \infty }G_{X}={\tfrac {1}{2}}\end{aligned}}}

values: vertical-align: -4.171ex; width:16.3ex; height:9.509ex;

values:
 \begin{align}
&\lim_{\alpha = \beta \to 0} G_X = 0 \\
&\lim_{\alpha = \beta \to \infty} G_X =\tfrac{1}{2}
\end{align}

values: {\displaystyle {\begin{aligned}\lim _{\beta \to 0}G_{X}=\lim _{\alpha \to \infty }G_{X}=1\\\lim _{\alpha \to 0}G_{X}=\lim _{\beta \to \infty }G_{X}=0\end{aligned}}}

values: vertical-align: -4.005ex; width:23.548ex; height:9.176ex;

values:
 \begin{align}
\lim_{\beta \to  0} G_X = \lim_{\alpha \to  \infty} G_X = 1\\
\lim_{\alpha\to  0} G_X = \lim_{\beta \to  \infty} G_X = 0
\end{align}

values: {\displaystyle G_{X}\approx {\frac {\alpha \,-{\frac {1}{2}}}{\alpha +\beta -{\frac {1}{2}}}}{\text{ if }}\alpha ,\beta >1.}

values: vertical-align: -3.338ex; width:28.834ex; height:7.843ex;

values: G_X \approx \frac{\alpha \, - \frac{1}{2}}{\alpha +\beta - \frac{1}{2}}\text{ if } \alpha, \beta > 1.

values: {\displaystyle G\left({\frac {X_{i}}{Y_{i}}}\right)={\frac {G(X_{i})}{G(Y_{i})}}}

values: vertical-align: -2.671ex; width:19.49ex; height:6.509ex;

values: {\displaystyle G_{(1-X)}=e^{\operatorname {E} [\ln(1-X)]}=e^{\psi (\beta )-\psi (\alpha +\beta )}}

values: vertical-align: -1.171ex; width:34.044ex; height:3.676ex;

values: G_{(1-X)} = e^{\operatorname{E}[\ln(1-X)] } = e^{\psi(\beta) - \psi(\alpha + \beta)}

values: {\displaystyle {\begin{aligned}&\lim _{\alpha =\beta \to 0}G_{(1-X)}=0\\&\lim _{\alpha =\beta \to \infty }G_{(1-X)}={\tfrac {1}{2}}\end{aligned}}}

values: vertical-align: -4.171ex; width:19.68ex; height:9.509ex;

values:
 \begin{align}
&\lim_{\alpha = \beta \to 0} G_{(1-X)} =0 \\
&\lim_{\alpha = \beta \to \infty} G_{(1-X)} =\tfrac{1}{2}
\end{align}

values: {\displaystyle {\begin{aligned}\lim _{\beta \to 0}G_{(1-X)}=\lim _{\alpha \to \infty }G_{(1-X)}=0\\\lim _{\alpha \to 0}G_{(1-X)}=\lim _{\beta \to \infty }G_{(1-X)}=1\end{aligned}}}

values: vertical-align: -4.005ex; width:30.308ex; height:9.176ex;

values:
 \begin{align}
\lim_{\beta \to  0} G_{(1-X)} = \lim_{\alpha \to  \infty} G_{(1-X)} = 0\\
\lim_{\alpha\to  0} G_{(1-X)} = \lim_{\beta \to  \infty} G_{(1-X)} = 1
\end{align}

values: {\displaystyle G_{(1-X)}\approx {\frac {\beta -{\frac {1}{2}}}{\alpha +\beta -{\frac {1}{2}}}}{\text{ if }}\alpha ,\beta >1.}

values: vertical-align: -3.338ex; width:32.213ex; height:7.843ex;

values: G_{(1-X)} \approx \frac{\beta - \frac{1}{2}}{\alpha+\beta-\frac{1}{2}}\text{ if } \alpha, \beta > 1.

values: {\displaystyle G_{X}(\mathrm {B} (\alpha ,\beta ))=G_{(1-X)}(\mathrm {B} (\beta ,\alpha )).}

values: vertical-align: -1.171ex; width:32.279ex; height:3.176ex;

values: G_X (\Beta(\alpha, \beta) )=G_{(1-X)}(\Beta(\beta, \alpha) ).

values: vertical-align: -13.999ex; margin-bottom: -0.172ex; width:36.683ex; height:29.509ex;

values:
 \begin{align}
H_X &= \frac{1}{\operatorname{E}\left[\frac{1}{X}\right]} \\
    &=\frac{1}{\int_0^1 \frac{f(x;\alpha,\beta)}{x}\,dx} \\
    &=\frac{1}{\int_0^1 \frac{x^{\alpha-1}(1-x)^{\beta-1}}{x \Beta(\alpha,\beta)}\,dx} \\
    &= \frac{\alpha - 1}{\alpha + \beta - 1}\text{ if } \alpha > 1 \text{ and }  \beta > 0 \\
\end{align}

values: {\displaystyle H_{X}={\frac {\alpha -1}{2\alpha -1}},}

values: vertical-align: -2.005ex; width:14.798ex; height:5.343ex;

values: vertical-align: -6.171ex; width:24.144ex; height:13.509ex;

values:
 \begin{align}
&\lim_{\alpha\to  0} H_X = \text{undefined} \\
&\lim_{\alpha\to  1} H_X = \lim_{\beta \to  \infty} H_X  =  0 \\
&\lim_{\beta \to  0} H_X = \lim_{\alpha \to  \infty} H_X = 1
\end{align}

values: {\displaystyle H_{(1-X)}={\frac {1}{\operatorname {E} [{\frac {1}{(1-X)}}]}}={\frac {\beta -1}{\alpha +\beta -1}}{\text{ if }}\beta >1,\&\alpha >0.}

values: vertical-align: -4.005ex; width:50.319ex; height:7.509ex;

values: H_{(1-X)} = \frac{1}{\operatorname{E}[\frac{1}{(1-X)}]} = \frac{\beta - 1}{\alpha + \beta-1}\text{ if } \beta > 1, \& \alpha> 0.

values: {\displaystyle H_{(1-X)}={\frac {\beta -1}{2\beta -1}},}

values: vertical-align: -2.338ex; width:18.022ex; height:5.843ex;

values: vertical-align: -6.338ex; width:30.904ex; height:13.843ex;

values:
 \begin{align}
&\lim_{\beta\to  0} H_{(1-X)} = \text{undefined} \\
&\lim_{\beta\to  1} H_{(1-X)} = \lim_{\alpha\to  \infty} H_{(1-X)}  =  0 \\
&\lim_{\alpha\to 0} H_{(1-X)} = \lim_{\beta\to  \infty} H_{(1-X)} = 1
\end{align}

values: {\displaystyle H_{X}(\mathrm {B} (\alpha ,\beta ))=H_{(1-X)}(\mathrm {B} (\beta ,\alpha )){\text{ if }}\alpha ,\beta >1.}

values: vertical-align: -1.171ex; width:43.122ex; height:3.176ex;

values: H_X (\Beta(\alpha, \beta) )=H_{(1-X)}(\Beta(\beta, \alpha) ) \text{ if } \alpha, \beta> 1.

values: Edit section: Measures of statistical dispersion

values: {\displaystyle \operatorname {var} (X)=\operatorname {E} [(X-\mu )^{2}]={\frac {\alpha \beta }{(\alpha +\beta )^{2}(\alpha +\beta +1)}}}

values: vertical-align: -2.671ex; width:46.082ex; height:6.176ex;

values: \operatorname{var}(X) = \operatorname{E}[(X - \mu)^2] = \frac{\alpha \beta}{(\alpha + \beta)^2(\alpha + \beta + 1)}

values: {\displaystyle \operatorname {var} (X)={\frac {1}{4(2\beta +1)}},}

values: vertical-align: -2.671ex; width:21.141ex; height:6.009ex;

values: \operatorname{var}(X) = \frac{1}{4(2\beta + 1)},

values: {\displaystyle {\begin{aligned}\alpha &=\mu \nu ,{\text{ where }}\nu =(\alpha +\beta )>0\\\beta &=(1-\mu )\nu ,{\text{ where }}\nu =(\alpha +\beta )>0.\end{aligned}}}

values: vertical-align: -2.505ex; width:38.633ex; height:6.176ex;

values:
 \begin{align}
  \alpha &= \mu \nu, \text{ where }\nu =(\alpha + \beta) >0\\
  \beta &= (1 - \mu) \nu, \text{ where }\nu =(\alpha + \beta)  >0.
\end{align}

values: {\displaystyle \operatorname {var} (X)={\frac {\mu (1-\mu )}{1+\nu }}}

values: vertical-align: -2.005ex; width:19.641ex; height:5.843ex;

values: \operatorname{var}(X) = \frac{\mu (1-\mu)}{1 + \nu}

values: {\displaystyle \operatorname {var} (X)={\frac {1}{4(1+\nu )}}{\text{ if }}\mu ={\tfrac {1}{2}}}

values: vertical-align: -2.671ex; width:27.91ex; height:6.009ex;

values: \operatorname{var}(X) = \frac{1}{4 (1 + \nu)} \text{ if } \mu = \tfrac{1}{2}

values: vertical-align: -3.838ex; width:102.896ex; height:8.843ex;

values: Variance for Beta Distribution for alpha and beta ranging from 0 to 5 - J. Rodal.jpg

values: Edit section: Geometric variance and covariance

values: vertical-align: -5.988ex; margin-bottom: -0.184ex; width:36.368ex; height:13.509ex;

values: {\displaystyle \operatorname {var} _{GX}=e^{\operatorname {var} [\ln X]}}

values: vertical-align: -0.671ex; width:17.048ex; height:3.176ex;

values: vertical-align: -20.671ex; width:63.085ex; height:42.509ex;

values: {\displaystyle \operatorname {var} [\ln X]=\psi _{1}(\alpha )-\psi _{1}(\alpha +\beta )}

values: vertical-align: -0.838ex; width:30.742ex; height:2.843ex;

values: \operatorname{var}[\ln X]= \psi_1(\alpha) - \psi_1(\alpha + \beta)

values: {\displaystyle \operatorname {var} [\ln(1-X)]=\psi _{1}(\beta )-\psi _{1}(\alpha +\beta )}

values: vertical-align: -0.838ex; width:36.011ex; height:2.843ex;

values: \operatorname{var}[\ln (1-X)] = \psi_1(\beta) - \psi_1(\alpha + \beta)

values: {\displaystyle \operatorname {cov} [\ln X,\ln(1-X)]=-\psi _{1}(\alpha +\beta )}

values: vertical-align: -0.838ex; width:34.731ex; height:2.843ex;

values: \operatorname{cov}[\ln X, \ln(1-X)] = -\psi_1(\alpha+\beta)

values: {\displaystyle \psi _{1}(\alpha )={\frac {d^{2}\ln \Gamma (\alpha )}{d\alpha ^{2}}}={\frac {d\,\psi (\alpha )}{d\alpha }}.}

values: vertical-align: -2.171ex; width:30.529ex; height:6.176ex;

values: \psi_1(\alpha) = \frac{d^2\ln\Gamma(\alpha)}{d\alpha^2}= \frac{d \, \psi(\alpha)}{d\alpha}.

values: {\displaystyle \ln \,\operatorname {var} _{GX}=\operatorname {var} [\ln X]=\psi _{1}(\alpha )-\psi _{1}(\alpha +\beta )}

values: vertical-align: -0.838ex; width:42.779ex; height:2.843ex;

values: {\displaystyle \ln \,\operatorname {var} _{G(1-X)}=\operatorname {var} [\ln(1-X)]=\psi _{1}(\beta )-\psi _{1}(\alpha +\beta )}

values: vertical-align: -1.171ex; width:51.429ex; height:3.176ex;

values: {\displaystyle \ln \,\operatorname {cov} _{GX,(1-X)}=\operatorname {cov} [\ln X,\ln(1-X)]=-\psi _{1}(\alpha +\beta )}

values: vertical-align: -1.171ex; width:52.127ex; height:3.176ex;

values: vertical-align: -12.64ex; margin-bottom: -0.198ex; width:117.995ex; height:26.843ex;

values: vertical-align: -6.338ex; width:104.408ex; height:13.843ex;

values: {\displaystyle \ln \operatorname {var} _{GX}(\mathrm {B} (\alpha ,\beta ))=\ln \operatorname {var} _{G(1-X)}(\mathrm {B} (\beta ,\alpha )).}

values: vertical-align: -1.171ex; width:42.465ex; height:3.176ex;

values: {\displaystyle \ln \operatorname {cov} _{GX,(1-X)}(\mathrm {B} (\alpha ,\beta ))=\ln \operatorname {cov} _{GX,(1-X)}(\mathrm {B} (\beta ,\alpha ))}

values: vertical-align: -1.171ex; width:49.154ex; height:3.176ex;

values: Edit section: Mean absolute deviation around the mean

values:
/wiki/Mean_absolute_deviation
mw-redirect
Mean absolute deviation

values: {\displaystyle \operatorname {E} [|X-E[X]|]={\frac {2\alpha ^{\alpha }\beta ^{\beta }}{\mathrm {B} (\alpha ,\beta )(\alpha +\beta )^{\alpha +\beta +1}}}}

values: vertical-align: -2.671ex; width:38.357ex; height:6.509ex;

values: \operatorname{E}[|X - E[X]|] = \frac{2 \alpha^{\alpha} \beta^{\beta}}{\Beta(\alpha,\beta)(\alpha + \beta)^{\alpha + \beta + 1}}

values: vertical-align: -6.338ex; width:81.253ex; height:13.843ex;

values:
 \begin{align}
\frac{\text{mean abs. dev. from mean}}{\text{standard deviation}} &=\frac{\operatorname{E}[|X - E[X]|]}{\sqrt{\operatorname{var}(X)}}\\
&\approx \sqrt{\frac{2}{\pi}} \left(1+\frac{7}{12 (\alpha+\beta)}{}-\frac{1}{12 \alpha}-\frac{1}{12 \beta} \right), \text{ if } \alpha, \beta > 1.
\end{align}

values: {\displaystyle {\sqrt {\frac {2}{\pi }}}}

values: vertical-align: -2.338ex; width:4.492ex; height:6.176ex;

values: vertical-align: -1.838ex; width:3.934ex; height:5.843ex;

values:
/wiki/Absolute_deviation
mw-redirect
Absolute deviation

values: {\displaystyle \operatorname {E} [|X-E[X]|]={\frac {2\mu ^{\mu \nu }(1-\mu )^{(1-\mu )\nu }}{\nu \mathrm {B} (\mu \nu ,(1-\mu )\nu )}}}

values: vertical-align: -2.671ex; width:35.322ex; height:6.843ex;

values: vertical-align: -11.505ex; width:40.927ex; height:24.176ex;

values: vertical-align: -11.005ex; width:45.531ex; height:23.176ex;

values: vertical-align: -2.671ex; width:76.503ex; height:6.509ex;

values: {\displaystyle \mathrm {G} =\left({\frac {2}{\alpha }}\right){\frac {B(\alpha +\beta ,\alpha +\beta )}{B(\alpha ,\alpha )B(\beta ,\beta )}}}

values: vertical-align: -2.671ex; width:27.818ex; height:6.509ex;

values: {\displaystyle \gamma _{1}={\frac {\operatorname {E} [(X-\mu )^{3}]}{(\operatorname {var} (X))^{3/2}}}={\frac {2(\beta -\alpha ){\sqrt {\alpha +\beta +1}}}{(\alpha +\beta +2){\sqrt {\alpha \beta }}}}.}

values: vertical-align: -3.171ex; width:43.355ex; height:7.509ex;

values: \gamma_1 =\frac{\operatorname{E}[(X - \mu)^3]}{(\operatorname{var}(X))^{3/2}} = \frac{2(\beta - \alpha)\sqrt{\alpha + \beta + 1}}{(\alpha + \beta + 2) \sqrt{\alpha \beta}} .

values: {\displaystyle {\begin{aligned}\alpha &{}=\mu \nu ,{\text{ where }}\nu =(\alpha +\beta )>0\\\beta &{}=(1-\mu )\nu ,{\text{ where }}\nu =(\alpha +\beta )>0.\end{aligned}}}

values:
 \begin{align}
  \alpha & {} = \mu \nu ,\text{ where }\nu =(\alpha + \beta)  >0\\
  \beta & {} = (1 - \mu) \nu , \text{ where }\nu =(\alpha + \beta)  >0.
\end{align}

values: vertical-align: -3.171ex; width:40.72ex; height:7.176ex;

values: vertical-align: -2.838ex; width:55.95ex; height:6.843ex;

values: \gamma_1 =\frac{\operatorname{E}[(X - \mu)^3]}{(\operatorname{var}(X))^{3/2}} = \frac{2(1-2\mu)\sqrt{\text{ var }}}{ \mu(1-\mu) + \operatorname{var}}\text{ if } \operatorname{var} < \mu(1-\mu)

values: vertical-align: -2.671ex; width:54.521ex; height:6.676ex;

values: {\displaystyle \operatorname {var} ={\frac {1}{4(1+\nu )}}}

values: vertical-align: -2.671ex; width:15.443ex; height:6.009ex;

values: \operatorname{var} = \frac{1}{4 (1 + \nu)}

values: vertical-align: -3.505ex; width:53.81ex; height:5.343ex;

values: \lim_{\alpha = \beta \to 0} \gamma_1 = \lim_{\alpha = \beta \to \infty} \gamma_1 =\lim_{\nu \to 0} \gamma_1=\lim_{\nu \to \infty} \gamma_1=\lim_{\mu \to \frac{1}{2}} \gamma_1 = 0

values: vertical-align: -13.338ex; width:63.855ex; height:27.843ex;

values: Skewness Beta Distribution for alpha and beta from 1 to 5 - J. Rodal.jpg

values: Skewness Beta Distribution for alpha and beta from .1 to 5 - J. Rodal.jpg

values: vertical-align: -11.005ex; width:64.431ex; height:23.176ex;

values:
\begin{align}
\text{excess kurtosis}
     &=\text{kurtosis} - 3\\
     &=\frac{\operatorname{E}[(X - \mu)^4]}{{(\operatorname{var}(X))^{2}}}-3\\
     &=\frac{6[\alpha^3-\alpha^2(2\beta - 1) + \beta^2(\beta + 1) - 2\alpha\beta(\beta + 2)]}{\alpha \beta (\alpha + \beta + 2)(\alpha + \beta + 3)}\\
     &=\frac{6[(\alpha - \beta)^2 (\alpha +\beta + 1) - \alpha \beta (\alpha + \beta + 2)]}
{\alpha \beta (\alpha + \beta + 2) (\alpha + \beta + 3)} .
\end{align}

values: {\displaystyle {\text{excess kurtosis}}=-{\frac {6}{3+2\alpha }}{\text{ if }}\alpha =\beta }

values: vertical-align: -2.005ex; width:35.55ex; height:5.343ex;

values: \text{excess kurtosis} =- \frac{6}{3+2\alpha} \text{ if }\alpha=\beta

values: vertical-align: -2.671ex; width:48.62ex; height:6.676ex;

values: {\displaystyle {\text{excess kurtosis}}={\frac {6}{(3+\nu )(2+\nu )}}\left({\frac {1}{\text{ var }}}-6-5\nu \right){\text{ if }}{\text{ var }}<\mu (1-\mu )}

values: vertical-align: -2.671ex; width:70.168ex; height:6.343ex;

values: \text{excess kurtosis} =\frac{6}{(3 + \nu)(2 + \nu)}\left(\frac{1}{\text{ var }} - 6 - 5 \nu \right)\text{ if }\text{ var }< \mu(1-\mu)

values: {\displaystyle {\text{excess kurtosis}}={\frac {6{\text{ var }}(1-{\text{ var }}-5\mu (1-\mu ))}{({\text{var }}+\mu (1-\mu ))(2{\text{ var }}+\mu (1-\mu ))}}{\text{ if }}{\text{ var }}<\mu (1-\mu )}

values: vertical-align: -2.671ex; width:73.385ex; height:6.509ex;

values: \text{excess kurtosis} =\frac{6 \text{ var } (1 - \text{ var } - 5 \mu (1 - \mu) )}{(\text{var } + \mu (1 - \mu))(2\text{ var } + \mu (1 - \mu) )}\text{ if }\text{ var }< \mu(1-\mu)

values: vertical-align: -2.505ex; width:104.25ex; height:6.343ex;

values: \text{excess kurtosis} =\frac{6}{3 + \nu}\bigg(\frac{(2 + \nu)}{4} (\text{skewness})^2 - 1\bigg)\text{ if (skewness)}^2-2< \text{excess kurtosis}< \frac{3}{2} (\text{skewness})^2

values: {\displaystyle {\begin{aligned}&\lim _{\nu \to 0}{\text{excess kurtosis}}=({\text{skewness}})^{2}-2\\&\lim _{\nu \to \infty }{\text{excess kurtosis}}={\tfrac {3}{2}}({\text{skewness}})^{2}\end{aligned}}}

values: vertical-align: -3.578ex; margin-bottom: -0.26ex; width:38.554ex; height:8.843ex;

values: {\displaystyle ({\text{skewness}})^{2}-2<{\text{excess kurtosis}}<{\tfrac {3}{2}}({\text{skewness}})^{2}}

values: vertical-align: -1.171ex; width:50.324ex; height:3.509ex;

values: (\text{skewness})^2-2< \text{excess kurtosis}< \tfrac{3}{2} (\text{skewness})^2

values: vertical-align: -7.505ex; width:31.357ex; height:16.176ex;

values:
 \begin{align}
&\lim_{\alpha = \beta \to 0} \text{excess kurtosis} =  - 2 \\
&\lim_{\alpha = \beta \to \infty} \text{excess kurtosis} = 0 \\
&\lim_{\mu \to \frac{1}{2}} \text{excess kurtosis} = - \frac{6}{3 + \nu}
\end{align}

values: vertical-align: -10.671ex; width:100.197ex; height:22.509ex;

values: Excess Kurtosis for Beta Distribution with alpha and beta ranging from 1 to 5 - J. Rodal.jpg

values: Excess Kurtosis for Beta Distribution with alpha and beta ranging from 0.1 to 5 - J. Rodal.jpg

values: vertical-align: -13.175ex; margin-bottom: -0.33ex; width:45.47ex; height:28.176ex;

values: vertical-align: -0.838ex; width:37.414ex; height:3.343ex;

values:
/wiki/Rising_factorial
mw-redirect
Rising factorial

values: {\displaystyle \varphi _{X}(\alpha ;\beta ;0)={}_{1}F_{1}(\alpha ;\alpha +\beta ;0)=1}

values: vertical-align: -0.838ex; width:34.161ex; height:2.843ex;

values: \varphi_X(\alpha;\beta;0)={}_1F_1(\alpha; \alpha+\beta; 0) = 1

values: {\displaystyle {\textrm {Re}}\left[{}_{1}F_{1}(\alpha ;\alpha +\beta ;it)\right]={\textrm {Re}}\left[{}_{1}F_{1}(\alpha ;\alpha +\beta ;-it)\right]}

values: vertical-align: -0.838ex; width:46.294ex; height:2.843ex;

values: \textrm{Re} \left [ {}_1F_1(\alpha; \alpha+\beta; it) \right ] = \textrm{Re} \left [ {}_1F_1(\alpha; \alpha+\beta; - it) \right ]

values: {\displaystyle {\textrm {Im}}\left[{}_{1}F_{1}(\alpha ;\alpha +\beta ;it)\right]=-{\textrm {Im}}\left[{}_{1}F_{1}(\alpha ;\alpha +\beta ;-it)\right]}

values: vertical-align: -0.838ex; width:48.167ex; height:2.843ex;

values: \textrm{Im} \left [ {}_1F_1(\alpha; \alpha+\beta; it) \right ] = - \textrm{Im} \left  [ {}_1F_1(\alpha; \alpha+\beta; - it) \right ]

values: {\displaystyle I_{\alpha -{\frac {1}{2}}}}

values: vertical-align: -2.171ex; width:5.089ex; height:4.009ex;

values: vertical-align: -6.838ex; width:52.923ex; height:14.843ex;

values:
\begin{align} {}_1F_1(\alpha;2\alpha; it) &= e^{\frac{it}{2}} {}_0F_1 \left(; \alpha+\tfrac{1}{2}; \frac{(it)^2}{16} \right) \\
&= e^{\frac{it}{2}} \left(\frac{it}{4}\right)^{\frac{1}{2}-\alpha} \Gamma\left(\alpha+\tfrac{1}{2}\right) I_{\alpha-\frac 1 2}\left(\frac{it}{2}\right).\end{align}

values: Edit section: Moment generating function

values:
/wiki/Moment_generating_function
mw-redirect
Moment generating function

values: vertical-align: -13.066ex; margin-bottom: -0.272ex; width:43.592ex; height:27.843ex;

values: {\displaystyle \prod _{r=0}^{k-1}{\frac {\alpha +r}{\alpha +\beta +r}}}

values: vertical-align: -3.005ex; width:13.742ex; height:7.343ex;

values: vertical-align: -2.505ex; width:6.186ex; height:6.343ex;

values: {\displaystyle \operatorname {E} [X^{k}]={\frac {\alpha ^{(k)}}{(\alpha +\beta )^{(k)}}}=\prod _{r=0}^{k-1}{\frac {\alpha +r}{\alpha +\beta +r}}}

values: vertical-align: -3.005ex; width:36.574ex; height:7.343ex;

values: \operatorname{E}[X^k]= \frac{\alpha^{(k)}}{(\alpha + \beta)^{(k)}} = \prod_{r=0}^{k-1} \frac{\alpha+r}{\alpha+\beta+r}

values:
/wiki/Pochhammer_symbol
mw-redirect
Pochhammer symbol

values: {\displaystyle \operatorname {E} [X^{k}]={\frac {\alpha +k-1}{\alpha +\beta +k-1}}\operatorname {E} [X^{k-1}].}

values: vertical-align: -2.338ex; width:32.708ex; height:5.843ex;

values: \operatorname{E}[X^k] = \frac{\alpha + k - 1}{\alpha + \beta + k - 1}\operatorname{E}[X^{k - 1}].

values: {\displaystyle M_{X}(\alpha ;\beta ;\cdot )}

values: vertical-align: -0.838ex; width:11.23ex; height:2.843ex;

values: Edit section: Moments of transformed random variables

values: Edit section: Moments of linearly transformed, product and inverted random variables

values: vertical-align: -5.505ex; width:52.023ex; height:12.176ex;

values: {\displaystyle \operatorname {var} [(1-X)]=\operatorname {var} [X]=-\operatorname {cov} [X,(1-X)]={\frac {\alpha \beta }{(\alpha +\beta )^{2}(\alpha +\beta +1)}}}

values: vertical-align: -2.671ex; width:66.807ex; height:6.176ex;

values: \operatorname{var}[(1-X)]=\operatorname{var}[X] = -\operatorname{cov}[X,(1-X)]= \frac{\alpha \beta}{(\alpha + \beta)^2(\alpha + \beta + 1)}

values: vertical-align: -5.671ex; width:33.319ex; height:12.509ex;

values:
\begin{align}
& \operatorname{E} \left [\frac{1}{X} \right ] = \frac{\alpha+\beta-1  }{\alpha -1 } \text{ if  } \alpha > 1\\
& \operatorname{E}\left [\frac{1}{1-X} \right ] =\frac{\alpha+\beta-1  }{\beta-1 } \text{ if } \beta > 1
\end{align}

values: vertical-align: -5.671ex; width:29.302ex; height:12.509ex;

values:
 \begin{align}
& \operatorname{E}\left[\frac{X}{1-X}\right] =\frac{\alpha}{\beta - 1 } \text{ if }\beta > 1\\
& \operatorname{E}\left[\frac{1-X}{X}\right] =\frac{\beta}{\alpha- 1 }\text{ if }\alpha > 1
\end{align}

values: {\displaystyle \operatorname {var} \left[{\frac {1}{X}}\right]=\operatorname {E} \left[\left({\frac {1}{X}}-\operatorname {E} \left[{\frac {1}{X}}\right]\right)^{2}\right]=}

values: vertical-align: -3.171ex; width:35.404ex; height:7.509ex;

values: vertical-align: -3.171ex; width:72.816ex; height:7.509ex;

values: vertical-align: -3.171ex; width:63.086ex; height:7.509ex;

values: vertical-align: -3.171ex; width:56.675ex; height:7.509ex;

values: vertical-align: -2.671ex; width:112.5ex; height:6.343ex;

values: \operatorname{cov}\left [\frac{1}{X},\frac{1}{1-X} \right ] = \operatorname{cov}\left[\frac{1-X}{X},\frac{X}{1-X} \right] =\operatorname{cov}\left[\frac{1}{X},\frac{X}{1-X}\right ] = \operatorname{cov}\left[\frac{1-X}{X},\frac{1}{1-X} \right] =\frac{\alpha+\beta-1}{(\alpha-1)(\beta-1) } \text{ if } \alpha, \beta > 1

values: Edit section: Moments of logarithmically transformed random variables

values:
/wiki/Maximum_likelihood
mw-redirect
Maximum likelihood

values: vertical-align: -5.671ex; width:55.093ex; height:12.509ex;

values:
\begin{align}
\operatorname{E}[\ln(X)] &= \psi(\alpha) - \psi(\alpha + \beta)= - \operatorname{E}\left[\ln \left (\frac{1}{X} \right )\right],\\
\operatorname{E}[\ln(1-X)] &=\psi(\beta) - \psi(\alpha + \beta)= - \operatorname{E} \left[\ln \left (\frac{1}{1-X} \right )\right].
\end{align}

values: {\displaystyle \psi (\alpha )={\frac {d\ln \Gamma (\alpha )}{d\alpha }}}

values: vertical-align: -2.005ex; width:17.424ex; height:5.843ex;

values: \psi(\alpha) = \frac{d \ln\Gamma(\alpha)}{d\alpha}

values: vertical-align: -5.671ex; width:63.78ex; height:12.509ex;

values:
\begin{align}
\operatorname{E}\left[\ln \left (\frac{X}{1-X} \right ) \right] &=\psi(\alpha) - \psi(\beta)= \operatorname{E}[\ln(X)] +\operatorname{E} \left[\ln \left (\frac{1}{1-X} \right) \right],\\
\operatorname{E}\left [\ln \left (\frac{1-X}{X} \right ) \right ] &=\psi(\beta) - \psi(\alpha)= - \operatorname{E} \left[\ln \left (\frac{X}{1-X} \right) \right] .
\end{align}

values: vertical-align: -4.505ex; width:72.827ex; height:10.176ex;

values:
\begin{align}
\operatorname{E} \left [\ln^2(X) \right ] &= (\psi(\alpha) - \psi(\alpha + \beta))^2+\psi_1(\alpha)-\psi_1(\alpha+\beta), \\
\operatorname{E} \left [\ln^2(1-X) \right ] &= (\psi(\beta) - \psi(\alpha + \beta))^2+\psi_1(\beta)-\psi_1(\alpha+\beta), \\
\operatorname{E} \left [\ln (X)\ln(1-X) \right ] &=(\psi(\alpha) - \psi(\alpha + \beta))(\psi(\beta) - \psi(\alpha + \beta)) -\psi_1(\alpha+\beta).
\end{align}

values: vertical-align: -13.505ex; width:83.168ex; height:28.176ex;

values: {\displaystyle \psi _{1}(\alpha )={\frac {d^{2}\ln \Gamma (\alpha )}{d\alpha ^{2}}}={\frac {d\psi (\alpha )}{d\alpha }}}

values: vertical-align: -2.171ex; width:29.495ex; height:6.176ex;

values: \psi_1(\alpha) = \frac{d^2\ln\Gamma(\alpha)}{d\alpha^2}= \frac{d \psi(\alpha)}{d\alpha}

values: vertical-align: -8.671ex; width:67.918ex; height:18.509ex;

values:
\begin{align}
\operatorname{var}\left[\ln \left (\frac{1}{X} \right ) \right] & =\operatorname{var}[\ln(X)] = \psi_1(\alpha) - \psi_1(\alpha + \beta), \\
\operatorname{var}\left[\ln \left (\frac{1}{1-X} \right ) \right] &=\operatorname{var}[\ln (1-X)] = \psi_1(\beta) - \psi_1(\alpha + \beta), \\
\operatorname{cov}\left[\ln \left (\frac{1}{X} \right), \ln \left (\frac{1}{1-X}\right ) \right] &=\operatorname{cov}[\ln(X),\ln(1-X)]= -\psi_1(\alpha + \beta).\end{align}

values: vertical-align: -2.505ex; width:93.046ex; height:6.176ex;

values: \operatorname{var}\left[\ln \left (\frac{X}{1-X} \right )\right]=\operatorname{var}\left[\ln \left (\frac{1-X}{X} \right ) \right]=-\operatorname{cov}\left [\ln \left (\frac{X}{1-X} \right ), \ln \left (\frac{1-X}{X} \right ) \right]= \psi_1(\alpha) + \psi_1(\beta)

values: Edit section: Quantities of information (entropy)

values: vertical-align: -5.432ex; margin-bottom: -0.24ex; width:72.92ex; height:12.509ex;

values:
\begin{align}
h(X) &= \operatorname{E}[-\ln(f(x;\alpha,\beta))] \\
&=\int_0^1 -f(x;\alpha,\beta)\ln(f(x;\alpha,\beta))dx \\
&= \ln(\Beta(\alpha,\beta))-(\alpha-1)\psi(\alpha)-(\beta-1)\psi(\beta)+(\alpha+\beta-2)\psi(\alpha+\beta)
\end{align}

values: {\displaystyle f(x;\alpha ,\beta )={\frac {1}{\mathrm {B} (\alpha ,\beta )}}x^{\alpha -1}(1-x)^{\beta -1}}

values: vertical-align: -2.671ex; width:35.679ex; height:6.009ex;

values: f(x;\alpha,\beta) = \frac{1}{\Beta(\alpha,\beta)} x^{\alpha-1}(1-x)^{\beta-1}

values: {\displaystyle \int _{0}^{1}{\frac {1-x^{\alpha -1}}{1-x}}dx=\psi (\alpha )-\psi (1)}

values: vertical-align: -2.338ex; width:31.238ex; height:6.176ex;

values: Differential Entropy Beta Distribution for alpha and beta from 1 to 5 - J. Rodal.jpg

values: Differential Entropy Beta Distribution for alpha and beta from 0.1 to 5 - J. Rodal.jpg

values: vertical-align: -4.171ex; width:83.425ex; height:9.509ex;

values:
\begin{align}
H(X_1,X_2) &= \int_0^1 - f(x;\alpha,\beta) \ln (f(x;\alpha',\beta')) dx \\
&= \ln \left(\Beta(\alpha',\beta')\right)-(\alpha'-1)\psi(\alpha)-(\beta'-1)\psi(\beta)+(\alpha'+\beta'-2)\psi(\alpha+\beta).
\end{align}

values: vertical-align: -10.838ex; width:93.264ex; height:22.843ex;

values:
\begin{align}
 D_{\mathrm{KL}}(X_1,X_2) &= \int_{0}^1 f(x;\alpha,\beta) \ln \left (\frac{f(x;\alpha,\beta)}{f(x;\alpha',\beta')} \right ) dx \\
&= \left (\int_0^1 f(x;\alpha,\beta) \ln (f(x;\alpha,\beta)) dx \right )- \left (\int_0^1 f(x;\alpha,\beta) \ln (f(x;\alpha',\beta')) dx \right )\\
&= -h(X_1) + H(X_1,X_2)\\
&= \ln\left(\frac{\Beta(\alpha',\beta')}{\Beta(\alpha,\beta)}\right)+(\alpha-\alpha')\psi(\alpha)+(\beta-\beta')\psi(\beta)+(\alpha'-\alpha+\beta'-\beta)\psi (\alpha + \beta).
\end{align}

values: {\displaystyle D_{\mathrm {KL} }(X_{1},X_{2})=D_{\mathrm {KL} }(X_{2},X_{1}),{\text{ if }}h(X_{1})=h(X_{2}),{\text{ for (skewed) }}\alpha \neq \beta }

values: vertical-align: -0.838ex; width:68.998ex; height:2.843ex;

values: D_{\mathrm{KL}}(X_1,X_2) = D_{\mathrm{KL}}(X_2,X_1),\text{ if }h(X_1) = h(X_2),\text{ for (skewed) }\alpha \neq \beta

values: Edit section: Relationships between statistical measures

values: Edit section: Mean, mode and median relationship

values: {\displaystyle {\frac {\alpha -1}{\alpha +\beta -2}}\leq {\text{median}}\leq {\frac {\alpha }{\alpha +\beta }},}

values: vertical-align: -2.338ex; width:31.202ex; height:5.676ex;

values: \frac{ \alpha - 1 }{ \alpha + \beta - 2 } \le \text{median}  \le \frac{ \alpha }{ \alpha + \beta } ,

values: Mean Median Difference - Beta Distribution for alpha and beta from 1 to 5 - J. Rodal.jpg

values: Mean Mode Difference - Beta Distribution for alpha and beta from 1 to 5 - J. Rodal.jpg

values: Edit section: Mean, geometric mean and harmonic mean relationship

values: Inequality of arithmetic and geometric means

values: Edit section: Kurtosis bounded by the square of the skewness

values: vertical-align: -1.838ex; width:47.93ex; height:5.176ex;

values: (\text{skewness})^2+1< \text{kurtosis}< \frac{3}{2} (\text{skewness})^2 + 3

values: {\displaystyle ({\text{skewness}})^{2}-2<{\text{excess kurtosis}}<{\frac {3}{2}}({\text{skewness}})^{2}}

values: vertical-align: -1.838ex; width:50.665ex; height:5.176ex;

values: (\text{skewness})^2-2< \text{excess kurtosis}< \frac{3}{2} (\text{skewness})^2

values: {\displaystyle p={\tfrac {\beta }{\alpha +\beta }}}

values: vertical-align: -1.671ex; margin-left: -0.089ex; width:8.466ex; height:4.509ex;

values: {\displaystyle q=1-p={\tfrac {\alpha }{\alpha +\beta }}}

values: vertical-align: -1.671ex; width:16.547ex; height:3.676ex;

values: q = 1-p = \tfrac{\alpha}{\alpha + \beta}

values: {\displaystyle f(x;\alpha ,\beta )=f(1-x;\beta ,\alpha )}

values: vertical-align: -0.838ex; width:25.711ex; height:2.843ex;

values: {\displaystyle F(x;\alpha ,\beta )=I_{x}(\alpha ,\beta )=1-F(1-x;\beta ,\alpha )=1-I_{1-x}(\beta ,\alpha )}

values: vertical-align: -0.838ex; width:58.656ex; height:2.843ex;

values: F(x;\alpha,\beta) = I_x(\alpha,\beta) = 1- F(1- x;\beta,\alpha) = 1 - I_{1-x}(\beta,\alpha)

values: {\displaystyle \operatorname {mode} (\mathrm {B} (\alpha ,\beta ))=1-\operatorname {mode} (\mathrm {B} (\beta ,\alpha )),{\text{ if }}\mathrm {B} (\beta ,\alpha )\neq \mathrm {B} (1,1)}

values: vertical-align: -0.838ex; width:56.958ex; height:2.843ex;

values: \operatorname{mode}(\Beta(\alpha, \beta))= 1-\operatorname{mode}(\Beta(\beta, \alpha)),\text{ if }\Beta(\beta, \alpha)\ne \Beta(1,1)

values: {\displaystyle \operatorname {median} (\mathrm {B} (\alpha ,\beta ))=1-\operatorname {median} (\mathrm {B} (\beta ,\alpha ))}

values: vertical-align: -0.838ex; width:40.062ex; height:2.843ex;

values: \operatorname{median} (\Beta(\alpha, \beta) )= 1 - \operatorname{median} (\Beta(\beta, \alpha))

values: {\displaystyle \mu (\mathrm {B} (\alpha ,\beta ))=1-\mu (\mathrm {B} (\beta ,\alpha ))}

values: vertical-align: -0.838ex; width:28.14ex; height:2.843ex;

values: \mu (\Beta(\alpha, \beta) )= 1 - \mu (\Beta(\beta, \alpha) )

values: {\displaystyle G_{X}(\mathrm {B} (\alpha ,\beta ))=G_{(1-X)}(\mathrm {B} (\beta ,\alpha ))}

values: vertical-align: -1.171ex; width:31.632ex; height:3.176ex;

values: G_X (\Beta(\alpha, \beta) )=G_{(1-X)}(\Beta(\beta, \alpha) )

values: {\displaystyle H_{X}(\mathrm {B} (\alpha ,\beta ))=H_{(1-X)}(\mathrm {B} (\beta ,\alpha )){\text{ if }}\alpha ,\beta >1}

values: vertical-align: -1.171ex; width:42.475ex; height:3.176ex;

values: H_X (\Beta(\alpha, \beta) )=H_{(1-X)}(\Beta(\beta, \alpha) ) \text{ if } \alpha, \beta > 1

values: {\displaystyle \operatorname {var} (\mathrm {B} (\alpha ,\beta ))=\operatorname {var} (\mathrm {B} (\beta ,\alpha ))}

values: vertical-align: -0.838ex; width:27.937ex; height:2.843ex;

values: \operatorname{var} (\Beta(\alpha, \beta) )=\operatorname{var} (\Beta(\beta, \alpha) )

values: {\displaystyle \ln(\operatorname {var_{GX}} (\mathrm {B} (\alpha ,\beta )))=\ln(\operatorname {var_{G(1-X)}} (\mathrm {B} (\beta ,\alpha )))}

values: vertical-align: -1.171ex; width:43.593ex; height:3.176ex;

values: \ln(\operatorname{var_{GX}} (\Beta(\alpha, \beta))) = \ln(\operatorname{var_{G(1-X)}}(\Beta(\beta, \alpha)))

values: {\displaystyle \ln \,\operatorname {cov_{G{X,(1-X)}}} (\mathrm {B} (\alpha ,\beta ))=\ln \operatorname {cov_{G{X,(1-X)}}} (\mathrm {B} (\beta ,\alpha ))}

values: vertical-align: -1.171ex; width:47.406ex; height:3.176ex;

values: \ln \,\operatorname{cov_{G{X,(1-X)}}}(\Beta(\alpha, \beta))=\ln \operatorname{cov_{G{X,(1-X)}}}(\Beta(\beta, \alpha))

values: {\displaystyle \operatorname {E} [|X-E[X]|](\mathrm {B} (\alpha ,\beta ))=\operatorname {E} [|X-E[X]|](\mathrm {B} (\beta ,\alpha ))}

values: vertical-align: -0.838ex; width:49.414ex; height:2.843ex;

values: \operatorname{E}[|X - E[X]| ] (\Beta(\alpha, \beta))=\operatorname{E}[| X - E[X]|] (\Beta(\beta, \alpha))

values:
/wiki/Symmetry_(mathematics)
mw-redirect
Symmetry (mathematics)

values: {\displaystyle \operatorname {skewness} (\mathrm {B} (\alpha ,\beta ))=-\operatorname {skewness} (\mathrm {B} (\beta ,\alpha ))}

values: vertical-align: -0.838ex; width:41.552ex; height:2.843ex;

values: \operatorname{skewness} (\Beta(\alpha, \beta) )= - \operatorname{ skewness} (\Beta(\beta, \alpha) )

values: {\displaystyle {\text{excess kurtosis}}(\mathrm {B} (\alpha ,\beta ))={\text{excess kurtosis}}(\mathrm {B} (\beta ,\alpha ))}

values: vertical-align: -0.838ex; width:50.766ex; height:2.843ex;

values: \text{excess kurtosis} (\Beta(\alpha, \beta) )= \text{excess kurtosis} (\Beta(\beta, \alpha) )

values: {\displaystyle {\text{Re}}[{}_{1}F_{1}(\alpha ;\alpha +\beta ;it)]={\text{Re}}[{}_{1}F_{1}(\alpha ;\alpha +\beta ;-it)]}

values: vertical-align: -0.838ex; width:45.52ex; height:2.843ex;

values: \text{Re} [{}_1F_1(\alpha; \alpha+\beta; it) ] = \text{Re} [ {}_1F_1(\alpha; \alpha+\beta; - it)]

values:
/wiki/Imaginary_part
mw-redirect
Imaginary part

values: {\displaystyle {\text{Im}}[{}_{1}F_{1}(\alpha ;\alpha +\beta ;it)]=-{\text{Im}}[{}_{1}F_{1}(\alpha ;\alpha +\beta ;-it)]}

values: vertical-align: -0.838ex; width:47.393ex; height:2.843ex;

values: \text{Im} [{}_1F_1(\alpha; \alpha+\beta; it) ] = - \text{Im} [ {}_1F_1(\alpha; \alpha+\beta; - it) ]

values: {\displaystyle {\text{Abs}}[{}_{1}F_{1}(\alpha ;\alpha +\beta ;it)]={\text{Abs}}[{}_{1}F_{1}(\alpha ;\alpha +\beta ;-it)]}

values: vertical-align: -0.838ex; width:47.938ex; height:2.843ex;

values: \text{Abs} [ {}_1F_1(\alpha; \alpha+\beta; it) ] = \text{Abs} [ {}_1F_1(\alpha; \alpha+\beta; - it) ]

values: {\displaystyle h(\mathrm {B} (\alpha ,\beta ))=h(\mathrm {B} (\beta ,\alpha ))}

values: vertical-align: -0.838ex; width:24.012ex; height:2.843ex;

values: h(\Beta(\alpha, \beta) )= h(\Beta(\beta, \alpha) )

values: {\displaystyle D_{\mathrm {KL} }(X_{1},X_{2})=D_{\mathrm {KL} }(X_{2},X_{1}),{\text{ if }}h(X_{1})=h(X_{2}){\text{, for (skewed) }}\alpha \neq \beta }

values: vertical-align: -0.838ex; width:68.611ex; height:2.843ex;

values: D_{\mathrm{KL}}(X_1,X_2) = D_{\mathrm{KL}}(X_2,X_1), \text{ if }h(X_1) = h(X_2)\text{, for (skewed) }\alpha \neq \beta

values: {\displaystyle {\mathcal {I}}_{i,j}={\mathcal {I}}_{j,i}}

values: vertical-align: -1.005ex; margin-left: -0.069ex; width:9.57ex; height:2.843ex;

values: {\mathcal{I}}_{i, j} = {\mathcal{I}}_{j, i}

values: Edit section: Geometry of the probability density function

values:
/wiki/Inflection_points
mw-redirect
Inflection points

values: {\displaystyle \kappa ={\frac {\sqrt {\frac {(\alpha -1)(\beta -1)}{\alpha +\beta -3}}}{\alpha +\beta -2}}}

values: vertical-align: -2.338ex; width:17.187ex; height:9.509ex;

values: {\displaystyle x={\text{mode}}\pm \kappa ={\frac {\alpha -1\pm {\sqrt {\frac {(\alpha -1)(\beta -1)}{\alpha +\beta -3}}}}{\alpha +\beta -2}}}

values: vertical-align: -2.338ex; width:38.21ex; height:9.509ex;

values: x = \text{mode} \pm \kappa = \frac{\alpha -1 \pm \sqrt{\frac{(\alpha-1)(\beta-1)}{\alpha+\beta-3}}}{\alpha+\beta-2}

values: {\displaystyle x={\text{mode}}+\kappa ={\frac {2}{\beta }}}

values: vertical-align: -2.338ex; width:19.297ex; height:5.676ex;

values: x =\text{mode} + \kappa = \frac{2}{\beta}

values: {\displaystyle x={\text{mode}}-\kappa =1-{\frac {2}{\alpha }}}

values: vertical-align: -1.838ex; width:23.456ex; height:5.176ex;

values: x = \text{mode} - \kappa = 1 - \frac{2}{\alpha}

values: {\displaystyle x={\text{mode}}+\kappa ={\frac {\alpha -1+{\sqrt {\frac {(\alpha -1)(\beta -1)}{\alpha +\beta -3}}}}{\alpha +\beta -2}}}

values: x =\text{mode} + \kappa = \frac{\alpha -1 +\sqrt{\frac{(\alpha-1)(\beta-1)}{\alpha+\beta-3}}}{\alpha+\beta-2}

values: {\displaystyle x={\frac {\alpha -1+{\sqrt {\frac {(\alpha -1)(\beta -1)}{\alpha +\beta -3}}}}{\alpha +\beta -2}}}

values: vertical-align: -2.338ex; width:25.509ex; height:9.509ex;

values: x = \frac{\alpha -1 +\sqrt{\frac{(\alpha-1)(\beta-1)}{\alpha+\beta-3}}}{\alpha+\beta-2}

values: {\displaystyle x={\text{mode}}-\kappa ={\frac {\alpha -1-{\sqrt {\frac {(\alpha -1)(\beta -1)}{\alpha +\beta -3}}}}{\alpha +\beta -2}}}

values: x =\text{mode} - \kappa = \frac{\alpha -1 -\sqrt{\frac{(\alpha-1)(\beta-1)}{\alpha+\beta-3}}}{\alpha+\beta-2}

values: {\displaystyle x={\frac {\alpha -1-{\sqrt {\frac {(\alpha -1)(\beta -1)}{\alpha +\beta -3}}}}{\alpha +\beta -2}}}

values: x = \frac{\alpha -1 -\sqrt{\frac{(\alpha-1)(\beta-1)}{\alpha+\beta-3}}}{\alpha+\beta-2}

values: {\displaystyle \lim _{\alpha =\beta \to 0}\operatorname {var} (X)={\tfrac {1}{4}}}

values: vertical-align: -2.338ex; width:17.972ex; height:4.676ex;

values: \lim_{\alpha = \beta \to  0} \operatorname{var}(X) = \tfrac{1}{4}

values: {\displaystyle \lim _{\alpha =\beta \to 0}\operatorname {excess\ kurtosis} (X)=-2}

values: vertical-align: -2.338ex; width:30.699ex; height:4.343ex;

values: \lim_{\alpha = \beta \to  0} \operatorname{excess \ kurtosis}(X) = - 2

values: {\displaystyle \lim _{\alpha =\beta \to \infty }\operatorname {var} (X)=0}

values: vertical-align: -2.338ex; width:18.297ex; height:4.343ex;

values: \lim_{\alpha = \beta \to  \infty} \operatorname{var}(X) = 0

values: {\displaystyle \lim _{\alpha =\beta \to \infty }\operatorname {excess\ kurtosis} (X)=0}

values: vertical-align: -2.338ex; width:29.712ex; height:4.343ex;

values: \lim_{\alpha = \beta \to  \infty} \operatorname{excess \ kurtosis}(X) = 0

values: {\displaystyle {\tfrac {\alpha -1}{\alpha +\beta -2}}}

values: vertical-align: -1.671ex; width:6.209ex; height:4.176ex;

values: {\displaystyle {\text{mode }}={\tfrac {\alpha -1}{\alpha +\beta -2}}}

values: vertical-align: -1.671ex; width:15.311ex; height:4.176ex;

values: \text{mode }= \tfrac{\alpha-1}{\alpha + \beta-2}

values: {\displaystyle 0<\operatorname {var} (X)<{\tfrac {-11+5{\sqrt {5}}}{2}},}

values: vertical-align: -1.171ex; width:23.147ex; height:4.176ex;

values: 0 < \operatorname{var}(X) < \tfrac{-11+5 \sqrt{5}}{2},

values: {\displaystyle \alpha ={\tfrac {-1+{\sqrt {5}}}{2}},\beta =1}

values: vertical-align: -1.171ex; width:17.619ex; height:4.176ex;

values: {\displaystyle \alpha =1,\beta ={\tfrac {-1+{\sqrt {5}}}{2}}}

values: {\displaystyle 1-{\tfrac {1}{\sqrt {2}}}<{\text{median}}<{\tfrac {1}{2}}}

values: vertical-align: -1.838ex; width:22.247ex; height:4.176ex;

values: 1-\tfrac{1}{\sqrt{2}}< \text{median} < \tfrac{1}{2}

values: {\displaystyle {\text{median}}=1-{\tfrac {1}{\sqrt {2}}}}

values: vertical-align: -1.838ex; width:17.491ex; height:4.176ex;

values: {\displaystyle 0<{\text{median}}<1-{\tfrac {1}{\sqrt {2}}}}

values: vertical-align: -1.838ex; width:21.752ex; height:4.176ex;

values: 0 < \text{median} < 1-\tfrac{1}{\sqrt{2}}

values: {\displaystyle {\tfrac {1}{2}}<{\text{median}}<{\tfrac {1}{\sqrt {2}}}}

values: vertical-align: -1.838ex; width:18.245ex; height:4.176ex;

values: \tfrac{1}{2} < \text{median} < \tfrac{1}{\sqrt{2}}

values: {\displaystyle {\text{median}}={\tfrac {1}{\sqrt {2}}}}

values: vertical-align: -1.838ex; width:13.488ex; height:4.176ex;

values: {\displaystyle {\tfrac {1}{\sqrt {2}}}<{\text{median}}<1}

values: vertical-align: -1.838ex; width:17.749ex; height:4.176ex;

values: {\displaystyle ({\hat {\alpha }},{\hat {\beta }})}

values: vertical-align: -0.838ex; width:5.782ex; height:3.343ex;

values: {\displaystyle {\text{sample mean(X)}}={\bar {x}}={\frac {1}{N}}\sum _{i=1}^{N}X_{i}}

values: vertical-align: -3.005ex; width:33.822ex; height:7.343ex;

values: \text{sample mean(X)}=\bar{x} = \frac{1}{N}\sum_{i=1}^N X_i

values:
/wiki/Sample_mean
mw-redirect
Sample mean

values: {\displaystyle {\text{sample variance(X)}}={\bar {v}}={\frac {1}{N-1}}\sum _{i=1}^{N}(X_{i}-{\bar {x}})^{2}}

values: vertical-align: -3.005ex; width:47.414ex; height:7.343ex;

values: \text{sample variance(X)} =\bar{v} = \frac{1}{N-1}\sum_{i=1}^N (X_i - \bar{x})^2

values:
/wiki/Sample_variance
mw-redirect
Sample variance

values: {\displaystyle {\hat {\alpha }}={\bar {x}}\left({\frac {{\bar {x}}(1-{\bar {x}})}{\bar {v}}}-1\right),}

values: vertical-align: -2.505ex; width:24.068ex; height:6.343ex;

values: \hat{\alpha} = \bar{x} \left(\frac{\bar{x} (1 - \bar{x})}{\bar{v}} - 1 \right),

values: {\displaystyle {\bar {v}}<{\bar {x}}(1-{\bar {x}}),}

values: vertical-align: -0.838ex; width:13.444ex; height:2.843ex;

values: vertical-align: -2.505ex; width:29.844ex; height:6.343ex;

values: {\displaystyle {\bar {v}}<{\bar {x}}(1-{\bar {x}}).}

values: vertical-align: -0.338ex; width:1.33ex; height:2.009ex;

values: {\displaystyle {\frac {{\bar {y}}-a}{c-a}},}

values: vertical-align: -2.005ex; width:6.855ex; height:5.343ex;

values: vertical-align: -0.338ex; width:1.227ex; height:2.009ex;

values: {\displaystyle {\frac {\bar {v_{Y}}}{(c-a)^{2}}}}

values: vertical-align: -2.671ex; width:8.777ex; height:5.843ex;

values: {\displaystyle {\text{sample mean(Y)}}={\bar {y}}={\frac {1}{N}}\sum _{i=1}^{N}Y_{i}}

values: vertical-align: -3.005ex; width:33.221ex; height:7.343ex;

values: \text{sample mean(Y)}=\bar{y} = \frac{1}{N}\sum_{i=1}^N Y_i

values: vertical-align: -3.005ex; width:48.199ex; height:7.343ex;

values: \text{sample variance(Y)} = \bar{v_Y} = \frac{1}{N-1}\sum_{i=1}^N (Y_i - \bar{y})^2

values: {\displaystyle {\hat {\alpha }},{\hat {\beta }},{\hat {a}},{\hat {c}}}

values: vertical-align: -0.671ex; width:8.562ex; height:3.176ex;

values: \hat{\alpha}, \hat{\beta}, \hat{a}, \hat{c}

values: vertical-align: -2.505ex; width:104.684ex; height:6.343ex;

values: \text{excess kurtosis} =\frac{6}{3 + \nu}\left(\frac{(2 + \nu)}{4} (\text{skewness})^2 - 1\right)\text{ if (skewness)}^2-2< \text{excess kurtosis}< \tfrac{3}{2} (\text{skewness})^2

values: vertical-align: -3.505ex; width:65.669ex; height:7.509ex;

values: {\displaystyle {\text{ if (sample skewness)}}^{2}-2<{\text{sample excess kurtosis}}<{\tfrac {3}{2}}({\text{sample skewness}})^{2}}

values: vertical-align: -1.171ex; width:75.545ex; height:3.676ex;

values: {\displaystyle {\hat {\alpha }}={\hat {\beta }}={\frac {\hat {\nu }}{2}}={\frac {{\frac {3}{2}}({\text{sample excess kurtosis}})+3}{-{\text{(sample excess kurtosis)}}}}}

values: vertical-align: -2.671ex; width:44.976ex; height:7.343ex;

values: {\displaystyle {\text{ if sample skewness}}=0{\text{ and }}-2<{\text{sample excess kurtosis}}<0}

values: vertical-align: -0.671ex; width:61.914ex; height:2.509ex;

values: vertical-align: -0.338ex; width:1.316ex; height:2.176ex;

values: vertical-align: -0.671ex; width:3.555ex; height:2.509ex;

values: {\displaystyle {\hat {\alpha }},{\hat {\beta }}}

values: vertical-align: -0.671ex; width:3.973ex; height:3.176ex;

values: vertical-align: -3.171ex; width:44.774ex; height:7.509ex;

values: (\text{sample skewness})^2 = \frac{4(\hat{\beta}-\hat{\alpha})^2 (1 + \hat{\alpha} + \hat{\beta})}{\hat{\alpha} \hat{\beta} (2 + \hat{\alpha} + \hat{\beta})^2}

values: {\displaystyle {\text{sample excess kurtosis}}={\frac {6}{3+{\hat {\alpha }}+{\hat {\beta }}}}\left({\frac {(2+{\hat {\alpha }}+{\hat {\beta }})}{4}}({\text{sample skewness}})^{2}-1\right)}

values: vertical-align: -3.171ex; width:75.941ex; height:7.509ex;

values: vertical-align: -6.005ex; width:44.844ex; height:13.176ex;

values: {\displaystyle {\text{ if sample skewness}}\neq 0{\text{    and   }}({\text{sample skewness}})^{2}-2<{\text{sample excess kurtosis}}<{\tfrac {3}{2}}({\text{sample skewness}})^{2}}

values: vertical-align: -1.171ex; width:101.294ex; height:3.509ex;

values: {\displaystyle {\hat {\alpha }}>{\hat {\beta }}}

values: vertical-align: -0.671ex; width:6.037ex; height:3.176ex;

values: {\displaystyle {\hat {\alpha }}<{\hat {\beta }}}

values: vertical-align: -0.838ex; width:7.171ex; height:2.843ex;

values: {\displaystyle {\text{sample excess kurtosis}}={\frac {6}{(3+{\hat {\nu }})(2+{\hat {\nu }})}}{\bigg (}{\frac {({\hat {c}}-{\hat {a}})^{2}}{\text{(sample variance)}}}-6-5{\hat {\nu }}{\bigg )}}

values: vertical-align: -2.671ex; width:71.898ex; height:6.676ex;

values: \text{sample excess kurtosis} =\frac{6}{(3 + \hat{\nu})(2 + \hat{\nu})}\bigg(\frac{(\hat{c}- \hat{a})^2}{\text{(sample variance)}} - 6 - 5 \hat{\nu} \bigg)

values: {\displaystyle ({\hat {c}}-{\hat {a}})={\sqrt {\text{(sample variance)}}}{\sqrt {6+5{\hat {\nu }}+{\frac {(2+{\hat {\nu }})(3+{\hat {\nu }})}{6}}{\text{(sample excess kurtosis)}}}}}

values: vertical-align: -2.838ex; width:81.269ex; height:7.676ex;

values: (\hat{c}- \hat{a}) = \sqrt{\text{(sample variance)}}\sqrt{6+5\hat{\nu}+\frac{(2+\hat{\nu})(3+\hat{\nu})}{6}\text{(sample excess kurtosis)}}

values: vertical-align: -2.671ex; width:64.792ex; height:6.676ex;

values: (\text{sample skewness})^2 = \frac{4}{(2+\hat{\nu})^2}\bigg(\frac{(\hat{c}- \hat{a})^2}{ \text{(sample variance)}}-4(1+\hat{\nu})\bigg)

values: {\displaystyle ({\hat {c}}-{\hat {a}})={\frac {\sqrt {\text{(sample variance)}}}{2}}{\sqrt {(2+{\hat {\nu }})^{2}({\text{sample skewness}})^{2}+16(1+{\hat {\nu }})}}}

values: vertical-align: -1.838ex; width:73.516ex; height:6.176ex;

values: (\hat{c}- \hat{a}) = \frac{\sqrt{\text{(sample variance)}}}{2}\sqrt{(2+\hat{\nu})^2(\text{sample skewness})^2+16(1+\hat{\nu})}

values: {\displaystyle ({\hat {c}}-{\hat {a}}),{\hat {\alpha }},{\hat {\nu }}={\hat {\alpha }}+{\hat {\beta }}}

values: vertical-align: -0.838ex; width:20.921ex; height:3.343ex;

values: (\hat{c}-\hat{a}), \hat{\alpha}, \hat{\nu} = \hat{\alpha}+\hat{\beta}

values: {\displaystyle {\hat {a}}=({\text{sample mean}})-\left({\frac {\hat {\alpha }}{\hat {\nu }}}\right)({\hat {c}}-{\hat {a}})}

values: vertical-align: -2.505ex; width:35.271ex; height:6.176ex;

values: \hat{a} = (\text{sample mean}) -  \left(\frac{\hat{\alpha}}{\hat{\nu}}\right)(\hat{c}-\hat{a})

values: {\displaystyle {\hat {c}}=({\hat {c}}-{\hat {a}})+{\hat {a}}}

values: vertical-align: -0.838ex; width:15.631ex; height:2.843ex;

values: vertical-align: -15.171ex; width:91.329ex; height:31.509ex;

values: Independent and identically distributed random variables