Pólya urn model

(Redirected fromPólya urn)

Instatistics,aPólya urn model(also known as aPólya urn schemeor simply asPólya's urn), named afterGeorge Pólya,is a family ofurn modelsthat can be used to interpret many commonly usedstatistical models.

The model represents objects of interest (such as atoms, people, cars, etc.) as colored balls in anurn.In the basic Pólya urn model, the experimenter putsxwhite andyblack balls into an urn. At each step, one ball is drawn uniformly at random from the urn, and its color observed; it is then returned in the urn, and an additional ball of the same color is added to the urn.

If by random chance, more black balls are drawn than white balls in the initial few draws, it would make it more likely for more black balls to be drawn later. Similarly for the white balls. Thus the urn has a self-reinforcing property ( "the rich get richer"). It is the opposite ofsampling without replacement,where every time a particular value is observed, it is less likely to be observed again, whereas in a Pólya urn model, an observed value ismorelikely to be observed again. In a Pólya urn model, successive acts of measurement over time have less and less effect on future measurements, whereas in sampling without replacement, the opposite is true: After a certain number of measurements of a particular value, that value will never be seen again.

It is also different from sampling with replacement, where the ball is returned to the urn but without adding new balls. In this case, there is neither self-reinforcing nor anti-self-reinforcing.

Basic results

edit

Questions of interest are the evolution of the urn population and the sequence of colors of the balls drawn out.

Afterdraws, the probability that the urn containswhite balls andblack balls (for) is where the overbar denotesrising factorial.This can be proved by drawing thePascal's triangleof all possible configurations.

In particular, starting with one white and one black ball (i.e.,) the probability to have any numberof white balls in the urn afterdraws is the same, .

More generally, if the urn starts withballs of color,with,then afterdraws, the probability that the urn containsballs of coloriswhere we use themultinomial coefficient.

Conditional on the urn ending up withballs of colorafterdraws, there aredifferent trajectories that could have led to such an end-state. The conditional probability of each trajectory is the same:.

Interpretation

edit

One of the reasons for interest inthis particularrather elaborate urn model (i.e. with duplication and then replacement of each ball drawn) is that it provides an example in which the count (initiallyxblack andywhite) of balls in the urn isnotconcealed, which is able to approximate the correct updating ofsubjectiveprobabilities appropriate to adifferentcase in which the original urn contentisconcealed while ordinary sampling with replacement is conducted (without the Pólya ball-duplication). Because of the simple "sampling with replacement" scheme in this second case, the urn content is nowstatic,but this greater simplicity is compensated for by the assumption that the urn content is nowunknownto an observer. ABayesian analysisof the observer's uncertainty about the urn's initial content can be made, using aparticular choiceof (conjugate) prior distribution. Specifically, suppose that an observer knows that the urn contains only identical balls, each coloured either black or white, but they do not know the absolute number of balls present, nor the proportion that are of each colour. Suppose that they hold prior beliefs about these unknowns: for them the probability distribution of the urn content is well approximated by some prior distribution for the total number of balls in the urn, and a beta prior distribution with parameters(x,y)for the initial proportion of these which are black, this proportion being (for them) considered approximately independent of the total number. Then the process of outcomes of a succession of draws from the urn (with replacement but without the duplication) hasapproximately the same probability lawas does the above Pólya scheme in which the actual urn content was not hidden from them. The approximation error here relates to the fact that an urn containing a known finite numbermof balls of course cannot have anexactlybeta-distributed unknown proportion of black balls, since the domain of possible values for that proportion are confined to being multiples of,rather than having the full freedom to assume any value in the continuous unit interval, as would anexactlybeta distributed proportion. This slightly informal account is provided for reason of motivation, and can be made more mathematically precise.

This basic Pólya urn model has been generalized in many ways.

edit
  • beta-binomial distribution:The distribution of the number of successful draws (trials), e.g. number of extractions of white ball, givendraws from a Pólya urn.
  • Beta negative binomial distribution:The distribution of number of white balls observed until a fixed number black balls are observed.
  • Dirichlet-multinomial distribution(also known as themultivariate Pólya distribution): The distribution over the number of balls of each color, givendraws from a Pólya urn where there aredifferent colors instead of only two.
  • Dirichlet negative multinomial distribution:The distribution over the number of balls of each color until a fixed number of stopping colored balls are observed.
  • Martingales,theBeta-binomial distributionand thebeta distribution:Letwandbbe the number of white and black balls initially in the urn, andthe number of white balls currently in the urn afterndraws. Then the sequence of valuesforis a normalized version of theBeta-binomial distribution.It is amartingaleand converges to thebeta distributionwhenn→ ∞.
  • Dirichlet process,Chinese restaurant process,Hoppe urn:Imagine a modified Pólya urn scheme as follows. We start with an urn withblack balls. When drawing a ball from the urn, if we draw a black ball, put the ball back along with a new ball of a new non-black color randomly generated from auniform distributionover an infinite set of available colours, and consider the newly generated color to be the "value" of the draw. Otherwise, put the ball back along with another ball of the same color, as for the standard Pólya urn scheme. The colors of an infinite sequence of draws from this modified Pólya urn scheme follow aChinese restaurant process.If, instead of generating a new color, we draw a random value from a given base distribution and use that value to label the ball, the labels of an infinite sequence of draws follow aDirichlet process.[1]
  • Moran model:An urn model used to modelgenetic driftin theoreticalpopulation genetics.This is closely similar to the Pólya urn model except that, in addition to adding a new ball of the same color, a randomly drawn ball is removed from the urn. The number of balls in the urn thus remains constant. Continued sampling then leads ultimately to an urn with all balls of one color, the probability of each color being the proportion of that color in the original urn. There are variants of the Moran model that insist that the ball removed from the urn be a different ball from one originally sampled in that step, and variants that do the removal of a ball immediately after the new ball is placed in the urn, so that the new ball is one of the balls available to be removed. This makes a small difference in the time taken to reach the state in which all balls are the same color. The Moran process models genetic drift in a population with overlapping generations.

Exchangeability

edit

Polya's Urn is a quintessential example ofan exchangeable process.

Suppose we have an urn containingwhite balls andblack balls. We proceed to draw balls at random from the urn. On the-th draw, we define a random variable,,byif the ball is black andotherwise. We then return the ball to the urn, with an additional ball of the same colour. For a given,if we have thatfor many,then it is more likely that,because more black balls have been added to the urn. Therefore, these variables are notindependentof each other.

The sequencedoes, however, exhibit the weaker property of exchangeability.[2]Recall that a (finite or infinite) sequence of random variables is calledexchangeableif its joint distribution is invariant under permutations of indices.

To show exchangeability of the sequence,assume thatballs are picked from the urn, and out of theseballs,balls are black andare white. On the first draw the number of balls in the urn is;on the second draw it isand so on. On the-th draw, the number of balls will be.The probability that we draw allblack balls first, and then allwhite balls is given by

Now we must show that if the order of black and white balls is permuted, there is no change to the probability. As in the expression above, even after permuting the draws, theth denominator will always be,since this is the number of balls in the urn at that round.

If we see-th black ball in round,the probabilitywill be equal to,i.e. the numerator will be equal to.With the same argument, we can calculate the probability for white balls. Therefore, for any sequencein whichoccurstimes andoccurstimes (i.e. a sequence withblack balls andwhite balls drawn in some order) the final probability will be equal to the following expression, where we take advantage ofcommutativityof multiplication in the numerator:This probability is not related to the order of seeing black and white balls and only depends on the total number of white balls and the total number of black balls.[2]

According to theDe Finetti's theorem,there must be a unique prior distribution such that the joint distribution of observing the sequence is a Bayesian mixture of the Bernoulli probabilities. It can be shown that this prior distribution is abeta distributionwith parameters.In De Finetti's theorem, if we replacewith,then we get the previous equation:[2] In this equation.

See also

edit

References

edit
  1. ^Hoppe, Fred (1984). "Pólya-like urns and the Ewens' sampling formula".Journal of Mathematical Biology.20:91.doi:10.1007/BF00275863.hdl:2027.42/46944.S2CID122994288.
  2. ^abcHoppe, Fred M (1984)."Polya-like urns and the Ewens' sampling formula".Journal of Mathematical Biology.20(1): 91–94.doi:10.1007/bf00275863.hdl:2027.42/46944.ISSN0303-6812.S2CID122994288.[dead link]

Further reading

edit
  • Eggenberger, F.; Polya, G. (1923). "Über die Statistik verketteter Vorgänge".Z. Angew. Math. Mech.3(4): 2379–289.doi:10.1002/zamm.19230030407.
  • Alajaji, F.; Fuja, T. (1994). "A Communication Channel Modeled on Contagion".IEEE Transactions on Information Theory.40:2035–2041.doi:10.1109/18.340476.hdl:1903/5422.
  • Banerjee, A.; Burlina, P.; Alajaji, F. (1999). "Image Segmentation and Labeling Using the Pólya Urn Model".IEEE Transactions on Image Processing.8(9): 1243–1253.doi:10.1109/83.784436.

Bibliography

edit
  • N.L. Johnson and S.Kotz, (1977) "Urn Models and Their Application." John Wiley.
  • Hosam Mahmoud, (2008) "Pólya Urn Models." Chapman and Hall/CRC.ISBN978-1420059830.