Dirichlet negative multinomial distribution

From testwiki
Jump to navigation Jump to search

Template:Short description Template:Refimprove Template:Probability distribution

In probability theory and statistics, the Dirichlet negative multinomial distribution is a multivariate distribution on the non-negative integers. It is a multivariate extension of the beta negative binomial distribution. It is also a generalization of the negative multinomial distribution (NM(k, p)) allowing for heterogeneity or overdispersion to the probability vector. It is used in quantitative marketing research to flexibly model the number of household transactions across multiple brands.

If parameters of the Dirichlet distribution are α, and if

XpNM(x0,𝐩),

where

𝐩Dir(α0,α),

then the marginal distribution of X is a Dirichlet negative multinomial distribution:

XDNM(x0,α0,α).

In the above, NM(x0,𝐩) is the negative multinomial distribution and Dir(α0,α) is the Dirichlet distribution.


Motivation

Dirichlet negative multinomial as a compound distribution

The Dirichlet distribution is a conjugate distribution to the negative multinomial distribution. This fact leads to an analytically tractable compound distribution. For a random vector of category counts 𝐱=(x1,,xm), distributed according to a negative multinomial distribution, the compound distribution is obtained by integrating on the distribution for p which can be thought of as a random vector following a Dirichlet distribution:

Pr(𝐱x0,α0,α)=𝐩NegMult(𝐱x0,𝐩)Dir(𝐩α0,α)d𝐩
Pr(𝐱x0,α0,α)=Γ(i=0mxi)Γ(x0)i=1mxi!1B(α+)𝐩i=0mpixi+αi1d𝐩

which results in the following formula:

Pr(𝐱x0,α0,α)=Γ(i=0mxi)Γ(x0)i=1mxi!B(𝐱++α+)B(α+)

where 𝐱+ and α+ are the m+1 dimensional vectors created by appending the scalars x0 and α0 to the m dimensional vectors 𝐱 and α respectively and B is the multivariate version of the beta function. We can write this equation explicitly as

Pr(𝐱x0,α0,α)=x0Γ(i=0mxi)Γ(i=0mαi)Γ(i=0m(xi+αi))i=0mΓ(xi+αi)Γ(xi+1)Γ(αi).

Alternative formulations exist. One convenient representation[1] is

Pr(𝐱x0,α0,α)=Γ(x)Γ(x0)i=1mΓ(xi+1)×Γ(α)i=0mΓ(αi)×i=0mΓ(xi+αi)Γ(x+α)

where x=x0+x1++xm and α=α0+α1++αm.

This can also be written

Pr(𝐱x0,α0,α)=B(x,α)B(x0,α0)i=1mΓ(xi+αi)xi!Γ(αi).

Properties

Marginal distributions

To obtain the marginal distribution over a subset of Dirichlet negative multinomial random variables, one only needs to drop the irrelevant αi's (the variables that one wants to marginalize out) from the α vector. The joint distribution of the remaining random variates is DNM(x0,α0,α()) where α() is the vector with the removed αi's. The univariate marginals are said to be beta negative binomially distributed.

Conditional distributions

If m-dimensional x is partitioned as follows

𝐱=[𝐱(1)𝐱(2)] with sizes [q×1(mq)×1]

and accordingly α

α=[α(1)α(2)] with sizes [q×1(mq)×1]

then the conditional distribution of 𝐗(1) on 𝐗(2)=𝐱(2) is DNM(x0,α0,α(1)) where

x0=x0+i=1mqxi(2)

and

α0=α0+i=1mqαi(2).

That is,

Pr(𝐱(1)𝐱(2),x0,α0,α)=B(x,α)B(x0,α0)i=1qΓ(xi(1)+αi(1))(xi(1)!)Γ(αi(1))

Conditional on the sum

The conditional distribution of a Dirichlet negative multinomial distribution on i=1mxi=n is Dirichlet-multinomial distribution with parameters n and α. That is

Pr(𝐱i=1mxi=n,x0,α0,α)=n!Γ(i=1mαi)Γ(n+i=1mαi)i=1mΓ(xi+αi)xi!Γ(αi).

Notice that the expression does not depend on x0 or α0.

Aggregation

If

X=(X1,,Xm)DNM(x0,α0,α1,,αm)

then, if the random variables with positive subscripts i and j are dropped from the vector and replaced by their sum,

X=(X1,,Xi+Xj,,Xm)DNM(x0,α0,α1,,αi+αj,,αm).


Correlation matrix

For α0>2 the entries of the correlation matrix are

ρ(Xi,Xi)=1.
ρ(Xi,Xj)=cov(Xi,Xj)var(Xi)var(Xj)=αiαj(α0+αi1)(α0+αj1).

Heavy tailed

The Dirichlet negative multinomial is a heavy tailed distribution. It does not have a finite mean for α01 and it has infinite covariance matrix for α02. Therefore the moment generating function does not exist.

Applications

Dirichlet negative multinomial as a Pólya urn model

In the case when the m+2 parameters x0,α0 and α are positive integers the Dirichlet negative multinomial can also be motivated by an urn model - or more specifically a basic Pólya urn model. Consider an urn initially containing i=0mαi balls of m+1 various colors including α0 red balls (the stopping color). The vector α gives the respective counts of the other balls of various m non-red colors. At each step of the model, a ball is drawn at random from the urn and replaced, along with one additional ball of the same color. The process is repeated over and over, until x0 red colored balls are drawn. The random vector 𝐗 of observed draws of the other m non-red colors are distributed according to a DNM(x0,α0,α). Note, at the end of the experiment, the urn always contains the fixed number x0+α0 of red balls while containing the random number 𝐗+α of the other m colors.

See also

References

Template:Reflist

  1. Farewell, Daniel & Farewell, Vernon. (2012). Dirichlet negative multinomial regression for overdispersed correlated count data. Biostatistics (Oxford, England). 14. 10.1093/biostatistics/kxs050.