Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Beta distribution
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
====Geometric mean==== [[File:(Mean - GeometricMean) for Beta Distribution versus alpha and beta from 0 to 2 - J. Rodal.jpg|thumb|(Mean − GeometricMean) for beta distribution versus ''α'' and ''β'' from 0 to 2, showing the asymmetry between ''α'' and ''β'' for the geometric mean]] [[File:Geometric Means for Beta distribution Purple=G(X), Yellow=G(1-X), smaller values alpha and beta in front - J. Rodal.jpg|thumb|Geometric means for beta distribution Purple = ''G''(''x''), Yellow = ''G''(1 − ''x''), smaller values ''α'' and ''β'' in front]] [[File:Geometric Means for Beta distribution Purple=G(X), Yellow=G(1-X), larger values alpha and beta in front - J. Rodal.jpg|thumb|Geometric means for beta distribution. purple = ''G''(''x''), yellow = ''G''(1 − ''x''), larger values ''α'' and ''β'' in front]] The logarithm of the [[geometric mean]] ''G<sub>X</sub>'' of a distribution with [[random variable]] ''X'' is the arithmetic mean of ln(''X''), or, equivalently, its expected value: :<math>\ln G_X = \operatorname{E}[\ln X]</math> For a beta distribution, the expected value integral gives: :<math>\begin{align} \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}}{\Beta(\alpha,\beta)}\,dx \\[4pt] &= \frac{1}{\Beta(\alpha,\beta)} \, \int_0^1 \frac{\partial x^{\alpha-1}(1-x)^{\beta-1}}{\partial \alpha}\,dx \\[4pt] &= \frac{1}{\Beta(\alpha,\beta)} \frac{\partial}{\partial \alpha} \int_0^1 x^{\alpha-1}(1-x)^{\beta-1}\,dx \\[4pt] &= \frac{1}{\Beta(\alpha,\beta)} \frac{\partial \Beta(\alpha,\beta)}{\partial \alpha} \\[4pt] &= \frac{\partial \ln \Beta(\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{align}</math> 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: :<math>G_X =e^{\operatorname{E}[\ln X]}= e^{\psi(\alpha) - \psi(\alpha + \beta)}</math> 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: {{nowrap|0 < ''G''<sub>''X''</sub> < 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 {{nowrap|''X'' → 1}}. Along a line {{nowrap|1=''α'' = ''β''}}, the following limits apply: :<math> \begin{align} &\lim_{\alpha = \beta \to 0} G_X = 0 \\ &\lim_{\alpha = \beta \to \infty} G_X =\tfrac{1}{2} \end{align}</math> Following are the limits with one parameter finite (non-zero) and the other approaching these limits: :<math> \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}</math> 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 ''α''. [[Norman Lloyd Johnson|N. L.Johnson]] and [[Samuel Kotz|S. Kotz]]<ref name=JKB /> suggest the logarithmic approximation to the digamma function ''ψ''(''α'') ≈ ln(''α'' − 1/2) which results in the following approximation to the geometric mean: :<math>G_X \approx \frac{\alpha \, - \frac{1}{2}}{\alpha +\beta - \frac{1}{2}}\text{ if } \alpha, \beta > 1.</math> Numerical values for the [[relative error]] in this approximation follow: [{{nowrap|1=(''α'' = ''β'' = 1): 9.39%}}]; [{{nowrap|1=(''α'' = ''β'' = 2): 1.29%}}]; [{{nowrap|1=(''α'' = 2, ''β'' = 3): 1.51%}}]; [{{nowrap|1=(''α'' = 3, ''β'' = 2): 0.44%}}]; [{{nowrap|1=(''α'' = ''β'' = 3): 0.51%}}]; [{{nowrap|1=(''α'' = ''β'' = 4): 0.26%}}]; [{{nowrap|1=(''α'' = 3, ''β'' = 4): 0.55%}}]; [{{nowrap|1=(''α'' = 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 {{nowrap|''β'' > 1}}), the value of ''α'' required tends towards {{nowrap|''β'' + 1/2}} as {{nowrap|''β'' → ∞}}. For example, all these couples have the same geometric mean of 1/2: [{{nowrap|1=''β'' = 1, ''α'' = 1.4427}}], [{{nowrap|1=''β'' = 2, ''α'' = 2.46958}}], [{{nowrap|1=''β'' = 3, ''α'' = 3.47943}}], [{{nowrap|1=''β'' = 4, ''α'' = 4.48449}}], [{{nowrap|1=''β'' = 5, ''α'' = 5.48756}}], [{{nowrap|1=''β'' = 10, ''α'' = 10.4938}}], [{{nowrap|1=''β'' = 100, ''α'' = 100.499}}]. The fundamental property of the geometric mean, which can be proven to be false for any other mean, is :<math>G\left(\frac{X_i}{Y_i}\right) = \frac{G(X_i)}{G(Y_i)}</math> This makes the geometric mean the only correct mean when averaging ''normalized'' results, that is results that are presented as ratios to reference values.<ref>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.</ref> 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]] ''G<sub>X</sub>'' based on the random variable X, also another geometric mean appears naturally: the [[geometric mean]] based on the linear transformation ––{{nowrap|(1 − ''X'')}}, the mirror-image of ''X'', denoted by ''G''<sub>(1−''X'')</sub>: :<math>G_{(1-X)} = e^{\operatorname{E}[\ln(1-X)] } = e^{\psi(\beta) - \psi(\alpha + \beta)}</math> Along a line {{nowrap|1=''α'' = ''β''}}, the following limits apply: :<math> \begin{align} &\lim_{\alpha = \beta \to 0} G_{(1-X)} =0 \\ &\lim_{\alpha = \beta \to \infty} G_{(1-X)} =\tfrac{1}{2} \end{align}</math> Following are the limits with one parameter finite (non-zero) and the other approaching these limits: :<math> \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}</math> It has the following approximate value: :<math>G_{(1-X)} \approx \frac{\beta - \frac{1}{2}}{\alpha+\beta-\frac{1}{2}}\text{ if } \alpha, \beta > 1.</math> Although both ''G''<sub>''X''</sub> and ''G''<sub>(1−''X'')</sub> are asymmetric, in the case that both shape parameters are equal {{nowrap|1=''α'' = ''β''}}, the geometric means are equal: ''G''<sub>''X''</sub> = ''G''<sub>(1−''X'')</sub>. This equality follows from the following symmetry displayed between both geometric means: :<math>G_X (\Beta(\alpha, \beta) )=G_{(1-X)}(\Beta(\beta, \alpha) ). </math>
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)