Generalized Dirichlet distribution

From HandWiki

In statistics, the generalized Dirichlet distribution (GD) is a generalization of the Dirichlet distribution with a more general covariance structure and almost twice the number of parameters. Random vectors with a GD distribution are completely neutral.[1] The density function of p1,,pk1 is

[i=1k1B(ai,bi)]1pkbk11i=1k1[piai1(j=ikpj)bi1(ai+bi)]

where we define pk=1i=1k1pi. Here B(x,y) denotes the Beta function. This reduces to the standard Dirichlet distribution if bi1=ai+bi for 2ik1 (b0 is arbitrary).

For example, if k=4, then the density function of p1,p2,p3 is

[i=13B(ai,bi)]1p1a11p2a21p3a31p4b31(p2+p3+p4)b1(a2+b2)(p3+p4)b2(a3+b3)

where p1+p2+p3<1 and p4=1p1p2p3.

Connor and Mosimann define the PDF as they did for the following reason. Define random variables z1,,zk1 with z1=p1,z2=p2/(1p1),z3=p3/(1(p1+p2)),,zi=pi/(1(p1++pi1)). Then p1,,pk have the generalized Dirichlet distribution as parametrized above, if the zi are independent beta with parameters ai,bi, i=1,,k1.

Alternative form given by Wong

Wong[2] gives the slightly more concise form for x1++xk1

i=1kxiαi1(1x1xi)γiB(αi,βi)

where γj=βjαj+1βj+1 for 1jk1 and γk=βk1. Note that Wong defines a distribution over a k dimensional space (implicitly defining xk+1=1i=1kxi) while Connor and Mosiman use a k1 dimensional space with xk=1i=1k1xi.

General moment function

If X=(X1,,Xk)GDk(α1,,αk;β1,,βk), then

E[X1r1X2r2Xkrk]=j=1kΓ(αj+βj)Γ(αj+rj)Γ(βj+δj)Γ(αj)Γ(βj)Γ(αj+βj+rj+δj)

where δj=rj+1+rj+2++rk for j=1,2,,k1 and δk=0. Thus

E(Xj)=αjαj+βjm=1j1βmαm+βm.

Reduction to standard Dirichlet distribution

As stated above, if bi1=ai+bi for 2ik then the distribution reduces to a standard Dirichlet. This condition is different from the usual case, in which setting the additional parameters of the generalized distribution to zero results in the original distribution. However, in the case of the GDD, this results in a very complicated density function.

Bayesian analysis

Suppose X=(X1,,Xk)GDk(α1,,αk;β1,,βk) is generalized Dirichlet, and that YX is multinomial with n trials (here Y=(Y1,,Yk)). Writing Yj=yj for 1jk and yk+1=ni=1kyi the joint posterior of X|Y is a generalized Dirichlet distribution with

XYGDk(α1,,αk;β1,,βk)

where αj=αj+yj and βj=βj+i=j+1k+1yi for 1jk.

Sampling experiment

Wong gives the following system as an example of how the Dirichlet and generalized Dirichlet distributions differ. He posits that a large urn contains balls of k+1 different colours. The proportion of each colour is unknown. Write X=(X1,,Xk) for the proportion of the balls with colour j in the urn.

Experiment 1. Analyst 1 believes that XD(α1,,αk,αk+1) (ie, X is Dirichlet with parameters αi). The analyst then makes k+1 glass boxes and puts αi marbles of colour i in box i (it is assumed that the αi are integers 1). Then analyst 1 draws a ball from the urn, observes its colour (say colour j) and puts it in box j. He can identify the correct box because they are transparent and the colours of the marbles within are visible. The process continues until n balls have been drawn. The posterior distribution is then Dirichlet with parameters being the number of marbles in each box.

Experiment 2. Analyst 2 believes that X follows a generalized Dirichlet distribution: XGD(α1,,αk;β1,,βk). All parameters are again assumed to be positive integers. The analyst makes k+1 wooden boxes. The boxes have two areas: one for balls and one for marbles. The balls are coloured but the marbles are not coloured. Then for j=1,,k, he puts αj balls of colour j, and βj marbles, in to box j. He then puts a ball of colour k+1 in box k+1. The analyst then draws a ball from the urn. Because the boxes are wood, the analyst cannot tell which box to put the ball in (as he could in experiment 1 above); he also has a poor memory and cannot remember which box contains which colour balls. He has to discover which box is the correct one to put the ball in. He does this by opening box 1 and comparing the balls in it to the drawn ball. If the colours differ, the box is the wrong one. The analyst places a marble in box 1 and proceeds to box 2. He repeats the process until the balls in the box match the drawn ball, at which point he places the ball in the box with the other balls of matching colour. The analyst then draws another ball from the urn and repeats until n balls are drawn. The posterior is then generalized Dirichlet with parameters α being the number of balls, and β the number of marbles, in each box.

Note that in experiment 2, changing the order of the boxes has a non-trivial effect, unlike experiment 1.

See also

References

  1. R. J. Connor and J. E. Mosiman 1969. Concepts of independence for proportions with a generalization of the Dirichlet distribution. Journal of the American Statistical Association, volume 64, pp. 194–206
  2. T.-T. Wong 1998. Generalized Dirichlet distribution in Bayesian analysis. Applied Mathematics and Computation, volume 97, pp. 165–181