Stein's method for the Beta distribution and the Pólya-Eggenberger Urn
Larry Goldstein, Gesine Reinert
Introduction
The classical Pólya-Eggenberger urn at time zero contains white and black balls, and at every positive integer time a ball is chosen uniformly from the urn, independently of the past, and replaced along with additional balls of the same color. With indicating distribution, or law, and indicating convergence in distribution, it is well known, see for instance, that if is the number of white balls drawn from the urn by time then as
Here, for positive real numbers and we let denote the Beta distribution having density
where is the Beta function as expressed in terms of the Gamma function .
Using Stein’s method we derive an order bound in the Wasserstein distance , defined in (17), between and its limiting Beta distribution in (1). We show in Remark 3.1 that the rate of Theorem 1.1 cannot be improved. Let and denote the minimum and maximum of two real numbers and , respectively.
For and let be the number of white balls in draws from a Pólya-Eggenberger urn that initially contains white and black balls. Then with and ,
where and are given in Lemma 3.4.
Connections between Theorem 1.1 and the work of Döbler are spelled out in Remark 3.2.
The distribution, also known as the Arcsine law, describes the asymptotic distribution of many quantities that arise naturally in the study of the simple symmetric random walk , where are independent variables taking the values 1 and with probability . For instance, let be the random variable
giving the last return time to zero up to time . Then, see ,
where , the probability that the walk returns to zero at time .
In the limit, in probability, where has the Arcsine distribution. It is often noted that this limiting result is somewhat counter intuitive in that the Arcsine density has greatest mass near the endpoints, and least mass in the center of the unit interval, whereas in a fair coin tossing game one might assume that players are more likely to spend equal time in the lead. Perhaps at least as remarkable is the fact that the number of segments of the walk that lie above the axis, and , the first time the walk visits the terminal point , are all equal in distribution to ; see for a nice exposition.
Using the methods presented here that were available in a preprint of this article, Döbler presents a Wasserstein bound of order without explicit constants between the distribution of and the limiting Arcsine. In Section 4, essentially by applying the bounds in Lemma 3.4, we are able to attach concrete constants to the result of , as well as show the rate of the bound is optimal.
Let be the last return time to zero of a simple symmetric random walk of length of length and let have the Arcsine distribution. Then
The same bound holds with replaced by or . The rate of the bound cannot be improved.
Beginning with the introduction by Stein of a ‘characterizing equation’ method for developing bounds in normal approximation, to date the method has been successfully applied to a large number of the classical distributions, including the Poisson , , Multinomial , Gamma ,, Geometric , Negative Binomial and Exponential , , , as well as to non classical distributions such as the PRR family of also based on Pólya type urn models. Here we further extend the range of Stein’s method by including the Beta distribution, focusing on its role as the limiting law of the fraction of white balls drawn from the Pólya-Eggenberger urn.
The application of Stein’s method here differs from the way it is usually applied in that we focus on the approximation of particular distributions whose exact forms are known, rather than develop a bound that applies to a class of complex distributions obtained by, say, summing random variables that obey weak moment and dependence conditions, as in the case of the central limit theorem. And indeed, though explicit formulas exist for the distributions we study, the need for their approximation arises regardless, as is the case also for, say, the ubiquitous use of the normal approximation for the binomial.
Urn models of the classical type, and generalizations including drawing multiple balls or starting new urns, have received considerable attention recently; see for example , and . Interest has partly been sparked by the ability of urn models to exhibit power-law limiting behaviour, which in turn has been a focus of network analysis, see for example and . Connections between urn models and binary search trees are clearly explained in . In particular, let and consider the initial state of the Pólya-Eggenberger urn as a rooted binary tree having white and black leaves, or external nodes. At every time step one external node is chosen, uniformly, to duplicate, yielding a pair of leaves of the same colour. That is, the chosen external node becomes an internal node while two external nodes of the chosen colour are added. The rule for adding an additional white leaf to the tree at time clearly is the same as the rule for adding an additional white ball to the Pólya-Eggenberger urn for the case , and hence the number of white leaves of the tree and white balls in the urn have same distribution. Many variations and extensions on this theme are possible. Another line of interest comes from edge reinforced random walks, because an infinite system of independent Pólya-Eggenberger urns can be used to represent edge reinforced random walks on trees, see .
Characterizing equations and generators
Stein’s method for distributional approximation is based on a characterization of the target approximating distribution. For the seminal normal case considered in , it was shown that a variable has the standard normal distribution if and only if
To obtain our result, we compute the distance between the distribution of the fraction of white balls drawn from the Pólya-Eggenberger Urn and the Beta by comparing the operators that characterize them. Our approach in characterizing the urn distribution stems from what is known as the density method; see for instance, , or Section 13.1 of . In particular, recognizing the in (5) as the ratio of where is the standard normal density, one hopes to replace the term by the ratio when developing the Stein equation to handle the distribution with density , and to apply similar reasoning when the distribution under study is discrete. Use of the density method in the discrete case, followed by the application of a judiciously chosen transformation, leads to the characterization of the Pólya-Eggenberger Urn distribution given in Lemma 2.1.
Another approach to construct characterizing equations is known as the generator method. A number of years following the publication of , the relationship between the characterizing equation (4) and the generator of the Ornstein-Uhlenbeck process
of which the normal is the unique stationary measure, was recognized in , where it was noted that that in some generality the process semi-group may be used to solve the Stein equation (5). Given this connection between Stein characterizations and generators it is natural to consider a stochastic process which has the given target as its stationary distribution when extending Stein’s method to handle a new distribution.
Regarding the use of this ‘generator’ method for extending the scope of Stein’s method to the Beta distribution, we recall that the Fisher Wright model from genetics, originating in the work in , and , is a stochastic process used to model genetic drift in a population and has generator given by
Lemma 2.1 provides a characterizing equation for the Pólya urn distribution that is parallel to equation (6). Taking differences then allows us to estimate the expectation of the right hand side of (6) when is replaced by by exploiting the similarity of the two characterizing operators; a similar argument can be found in and for stationary distributions of birth-death chains. The results most closely related to the present work is , and its connections to the present manuscript are discussed in Remark 3.2
Let be the probability mass function of the number of white balls drawn from the Pólya-Eggenberger urn by time . Then a random variable has probability mass function if and only if for all functions
We prove Lemma 2.1 by applying a general technique for constructing equations such as (8) from discrete probability mass functions which is of independent interest, see . We begin with Proposition 2.1 below, a discrete version of the density approach to the Stein equation.
Let have probability mass function with support the integer interval , and let be given by (7) for . If a random variable with support has mass function then for all ,
The statement in Proposition 2.1 is equivalent to Theorem 1.1 given in under a different assumption, namely that equality (9) holds with replacing for all functions for which . We note that their set-up would translate to test functions .
If and then we obtain
Since and as , we obtain that
Hence, if is or we obtain that for all ,
Summing over yields , whence for all . Similarly one may handle the remaining case where .
Given a characterization produced by Proposition 2.1, the following corollary produces varieties of characterizations for the same distribution, each one corresponding to a choice of a function possessing certain mild properties.
a nonstandard version of a characterization of the Poisson. An extension of Corollary 2.1 to the case of infinite support produces the usual characterization by the choice and the substitution . Naturally, additional characterizations are produced when using different choices of .
where and otherwise is the rising factorial. The distribution (14) is also known as the beta-binomial and the negative hypergeometric distribution, see . We now have the ingredients to prove Lemma 2.1.
Proof of Lemma 2.1: Taking differences in (14) for yields
Hence with as in (7) we obtain for
In applying Corollary 2.1, as we may take the value arbitrarily, see Remark 2.2. In particular, taking for all and we obtain (8).
The next lemma is instrumental in calculating the higher moments of . We let , and otherwise set , the falling factorial.
For all nonnegative integers and , we have
Proof: First we note that both sides of (15) are zero when . This is clear for the right hand side, as the falling factorial is zero. For the left hand side, if then . On the other hand, if then , in which case is zero.
Now assume . For any we have
Summing over and using that the support of is yields (15).
If has the limiting beta distribution with density (2), using (15) we obtain
that is, the scaled falling factorial moments of and the power moments of differ only by factors of order . This observation can be used to provide a proof of convergence in distribution of to by the method of moments, but without a bound on the distributional distance.
Bounds for the Pólya-Eggenberger urn model
Theorem 1.1 provides an explicit bound in Wasserstein distance of order between the distribution of , the fraction of white balls drawn from the urn by time , and the limiting Beta distribution. For approximating a discrete distribution by a continuous one the Wasserstein distance is a typical distance to use, see for example . For random variables and , this distance is given by
The function is in , and applying (16) with we obtain that for all and ,
Thus the order of the bound in Theorem 1.1 cannot be improved.
Theorem 4.3 of provides a bound of order for the Beta approximation to the Pólya-Eggenberger urn for test functions with bounded first and second derivatives using an exchangeable pair coupling. The results in differ from ours in two significant ways. Firstly, the bound in Theorem 4.3 of is expressed in terms of two non-explicit constants that are defined in Proposition 3.8 of . Lemma 3.4 below provides values of . The lack of an explicit expression for in can be explained by the fact that the solution there is given in terms of ratios of functions which are related to incomplete Beta functions, for which a uniform bound would be difficult.
A more important difference between the present work and is that expressing the bound of the latter, presently given in terms of twice differentiable functions, in terms of a bound in a metric, say , obtained from twice differentiable functions in the same way that Lipschitz functions yield the Wasserstein metric , we have that with equality everywhere not holding. Hence Theorem 1.1 implies bounds in the metric, while the reverse does not hold.
In the following we set our test functions to be zero outside the unit interval $y>0$ set
and for a real valued function on $||g||=\sup_{w\in}|g(w)|gh{\rm Lip}(1)$ if and only it is absolutely continuous with respect to Lebesgue measure with an almost everywhere derivative bounded in absolute value by 1.
Lemma 3.1 below shows that for all and functions for which the expectation exists,
Proof of Theorem 1.1. For a given function in , let be the solution of the Stein equation (6) given in (18). Replacing by and dividing by in (8) results in
Applying this identity in the Stein equation (6), with and replaced by and respectively, and invoking Lemma 3.4 below to yield the existence and boundedness of , we obtain
where, using Lemma 2.2 to calculate moments, we obtain
Writing the difference in (19) as an integral, we have
To handle , using that the solution of the Stein equation equals for to obtain the first inequality,
For the first term in (21), substituting using the Stein equation (6) with and replaced by and , respectively, we obtain
We bound the inner integrals separately. Firstly,
Next, recalling that and noting that for ,
Collecting the bounds (20), (22), (23), (24) and (25) yields
The theorem now follows by invoking Lemma 3.4.
For any and real valued function on ${\cal B}_{\alpha,\beta}hhf$ given by (18) is the unique bounded solution of (6).
Proof: It is straightforward to verify that as given in (18) is a solution of (6). Writing the associated homogeneous equation as
we find that all solutions to (6) are given by
The claim follows since is unbounded at the endpoints of the unit interval for all , and Lemma 3.4 below demonstrates that is bounded.
Since the expectation of is zero when , we may also write
From Proposition 3.8 in we quote the following result.
The solution , given in (18), of (6) for a Lipschitz function on $$ satisfies
The cases in the bounds of Lemma 3.4 reflect the behaviour of the function
as described in Lemma 3.3. In the following we will use the terms decreasing and increasing in the non-strict manner, for example, a constant function is both increasing and decreasing. Let
For , the function given in (27) has the following behaviour.
Proof: Clearly when and the function is constant. Otherwise, taking derivative in (27) yields
The expression is non-negative if and only if
When and inequality (28) is always satisfied. Similarly (28) holds with the non-strict inequality reversed when and . The remaining two cases and follow by solving the inequality.
Our next result bounds the magnitude of the derivative of the solution in terms of .
For let be the solution to (6) given by (18) for an absolutely continuous function . Then
where and are given by
Proof: By replacing by we may assume . Rewriting the Stein equation (6) yields
so to show (29) it suffices to demonstrate that for all
Using (18) and integration by parts we obtain
From Lemma 3.2 we immediately have the bounds
When is increasing on then for we can bound this expression by
and now using the first inequality in (32), we obtain
and if is decreasing on then for we can bound this expression by
Now using the second inequality in (32), we obtain
In view of Lemma 3.3 we distinguish four cases.
Case 1. . By Lemma 3.3, is increasing and is decreasing. Setting , by (33) and (34) we obtain
Case 2. . In this case, from Lemma 3.3, is increasing, and is decreasing on . Setting and noting that , by (33) and (34) we obtain
and bounding by 1 gives the assertion.
Case 3. . In this case, from Lemma 3.3, is increasing on , and is decreasing. Setting , by (33) and (34) we obtain
Case 4. . In this case, from Lemma 3.3, is increasing on , and is decreasing on . Noting that
setting , by (33) and (34) we obtain
For the final inequality in (29), with denoting the density in (2), we have
We rely on for the following argument, noting that in no explicit bound is obtained.
Proof of Theorem 1.2. Let be the mass function of given by (3), and let have the Arcsine distribution. Applying Proposition 2.1 for , followed by Corollary 2.1 with the choice
arrives at the version of Lemma 2.1, showing that is so distributed if and only if
Now following steps as those in Theorem 1.1 for the Pólya urn, collecting the estimates from the proof of Theorem 3.1 of shows that if is the solution (18) to (6) with , so that and , then for all differentiable functions one has
Applying the bounds of Lemma 3.4 as well as Lemma 3.2 yields the bound in Theorem 1.2.
Applying (35) with replaced by and yields
Hence the rate cannot be improved.
Acknowledgements. We would like to thank the Keble Advanced Studies Centre, Oxford, for support, and an anonymous referee for helpful comments which lead to an improvement of the paper.