[Paper Review] A closed-form approximation for the median of the beta distribution
This paper proposes a simple closed-form approximation for the median of the beta distribution: $(a - 1/3)/(a + b - 2/3)$, valid for $a, b > 1$. The approximation has a relative error of less than 4% and converges rapidly to the true median as the shape parameters increase, outperforming alternative values of $d$ in $m(a,b;d) = (a-d)/(a+b-2d)$, with $d = 1/3$ yielding the fastest convergence to zero error.
A simple closed-form approximation for the median of the beta distribution Beta(a, b) is introduced: (a-1/3)/(a+b-2/3) for (a,b) both larger than 1 has a relative error of less than 4%, rapidly decreasing to zero as both shape parameters increase.
Motivation & Objective
- To develop a simple, practical, and accurate closed-form approximation for the median of the beta distribution, which lacks a general analytical solution.
- To address the absence of a widely applicable, computationally efficient formula for the median despite extensive literature on the incomplete beta function and its inverse.
- To identify a value of $d$ in the form $m(a,b;d) = (a-d)/(a+b-2d)$ that minimizes error and ensures symmetry and convergence to the true median.
- To evaluate the performance of the approximation across varying shape parameters and distribution means, particularly in the limit of large $a$ and $b$.
Proposed method
- Propose the approximation $m(a,b;1/3) = (a - 1/3)/(a + b - 2/3)$ based on the asymptotic behavior of the gamma distribution median, which is known to be $a - 1/3$ for large $a$.
- Use the mode-median-mean inequality to justify the functional form $m(a,b;d) = (a-d)/(a+b-2d)$, ensuring bounds and symmetry are preserved.
- Compare the approximation's relative error and absolute error against numerically computed medians across various $a$, $b$, and $p = a/(a+b)$ values using graphical and analytical methods.
- Analyze the convergence rate of the error using the Peizer-Pratt approximation for the beta cumulative distribution function, showing that $d = 1/3$ yields $O(a^{-3/2})$ error decay, faster than other $d$ values.
- Assess the tail probability $\Pr(\theta \leq m(a,b;1/3))$ to verify that the approximation yields a probability near 0.5, confirming median accuracy.
Experimental results
Research questions
- RQ1Can a simple closed-form expression be derived for the median of the beta distribution that is both accurate and computationally efficient?
- RQ2How does the choice of $d$ in the functional form $m(a,b;d) = (a-d)/(a+b-2d)$ affect the approximation error and convergence rate?
- RQ3Does the approximation $m(a,b;1/3) = (a - 1/3)/(a + b - 2/3)$ yield a relative error less than 4% and converge uniformly to the true median as $a$ and $b$ increase?
- RQ4Is $d = 1/3$ optimal in terms of error decay rate, as suggested by the Peizer-Pratt asymptotic analysis?
Key findings
- The approximation $(a - 1/3)/(a + b - 2/3)$ has a relative error of less than 4% for all $a, b > 1$, with the error decreasing rapidly as the shape parameters increase.
- For $a \geq 2$, the relative error drops below 1%, indicating strong accuracy even for moderate parameter values.
- The approximation consistently underestimates the median when $p < 0.5$ and overestimates when $p > 0.5$, but the error converges uniformly to zero across all $p$ as $a$ and $b$ grow.
- The tail probability $\Pr(\theta \leq m(a,b;1/3))$ remains within the interval $[0.4865, 0.5135]$ as long as the smaller shape parameter is at least 1, approaching 0.5 rapidly with increasing parameters.
- The error of the approximation decays at rate $O(a^{-3/2})$ when $d = 1/3$, which is faster than the $O(a^{-1/2})$ rate for other $d$ values such as $d = 0$ (the mean), confirming $d = 1/3$ as optimal.
- The approximation performs consistently better than alternatives like $d = 0.3$ in long-term error reduction and stability, especially on logarithmic scales of error decay.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.