The Multinomial and Multivariate Normal Distributions

Total Page:16

File Type:pdf, Size:1020Kb

Load more

The Multinomial and Multivariate Normal Distributions Guy Lebanon August 24, 2010 The two most important vector RVs are the multinomial (discrete) and the multivariate normal (contin- uous). The Multinomial Distribution Definition 1. The vector RV X = (X1,...,Xn) has a multinomial distribution with parameters N 1, 2,... and θ Rn where θ 0 for all i and n θ =1 if ∈ { } ∈ i ≥ i=1 i N x1 xn θ1 θn if x1,...,xn are non-negative integers that sum to N pX (x1,...,xn)= x1,...,xn ··· . 0 otherwise N Here = N! is the multinomial coefficient. x ,...,x x1! xn! 1 n ··· The multinomial distribution applies when we have a random experiment with n possible results, each occurring with probability θi. The experiment is repeated N times and X1,...,Xn measure the number of times the different outcomes occurred. Since there are N experiment the total number of outcomes has to be x + + x = N and since θ are the probability of getting outcome i in one experiment, θ = 1. 1 ··· n i i i To see why the pmf follows from the above description consider p (x1,...,xn) which is the probability X of getting x1 times outcome 1, and so on until xn times outcome n in a series of N independent experiments. p (x ,...,x ) is θx1 θxn (which is the probability of an ordered sequence of outcomes with the necessary X 1 n 1 ··· n property - x1 times result 1 and so on) times the number of ways to obtain ordered sequences of x1 times outcome 1 etc. That number is precisely the multinomial coefficient N N x N x x x N! (N x1)! (N x1 x2)! 1 = − 1 − 1 − 2 n = − − − x1 x2 x3 ··· xn x !(N x )! x !(N x x )! x !(N x x x )! ··· 1 1 − 1 2 − 1 − 2 3 − 1 − 2 − 3 N! N = = x ! x ! x1,...,xn 1 ··· n Example: The roulette has 38 possible outcomes, 18 red, 18 black and 2 green. Thus playing the roulette is an experiment with θ1 = θ2 = 18/38 and θ3 =2/38. If we play the roulette 10 times, the probability that we get 4 red outcomes, 2 black outcomes and 4 green is 10! p (4, 2, 4) = (18/38)4(18/38)2(2/38)4 X1,X2,X3 4!2!4! 10! The multinomial coefficient is present since there are 4!2!4! ways to play 10 times and obtain 4 red 2 black and 4 green outcomes. 1 Trinomial Distribution 0.1 0.08 0.06 0.04 Probability Mass 0.02 0 0 1 2 3 10 4 9 8 5 7 6 6 7 5 8 4 3 9 2 10 1 x 0 2 x 1 Figure 1: Probability of the multinomial (n = 3) distribution as a function of x1, x2 (left) and density of the multivariate normal for the three special cases. The Multivariate Normal Distribution Definition 2. The vector RV X = (X1,...,Xn) has the multivariate normal distribution with parameters µ Rn and Σ (a symmetric matrix of size n n with positive eigenvalues) if ∈ × 1 1 ⊤ −1 2 (x µ ) Σ (x µ ) f (x1,...,xn)= e− − − . X (2π)n/2√detΣ Since the determinant of a matrix with all positive eigenvalues is positive - there is no problem with taking its square root. The term in the exponent may be written in scalar form as: n n 1 1 1 1 (x µ )⊤Σ− (x µ )= (x µ )[Σ− ] (x µ ) −2 − − −2 i − i ij j − j i=1 j=1 In a way similar to the one-dimensional normal RV, the vector µ is a vector of expectations E (Xi)= µi and the matrix Σ is the matrix of covariances and variances Var (Xi) i = j [Σ]ij = Cov (X ,X ) i = j i j Several important special cases: 1. If Σ is the identity matrix, its determinant is 1, its inverse is the identity as well, and the exponent n 2 becomes i=1(xi µi) /2 which indicates that the pdf factors into the product of n pdf functions − − 2 of normal RVs, with means µi and variance σi = 1. Thus in this case, the multivariate normal vector 2 RV is a collection of n independent RVs X1,...,Xn, each being normal with parameters µi, σi = 1. 2 2. If Σ is diagonal matrix with elements [Σ]ij = σi , then its inverse is a diagonal matrix with elements 1 2 2 [Σ− ]ij = 1/σi and its determinant is the product of the diagonal elements i σi . Again, the term in the exponent of the pdf factors into a sum which indicates that the pdf factors into a product of marginal pdfs for each of the variables Xi. Thus, again we have that X1,...,Xn are independent 2 normal RV with parameters (µi, σi ) (verify!). 3. In the general case, the shape of the pdf (its contour levels) are determined by the exponent (since the 1 1 term is constant as a function of x) which is a quadratic form (x µ )Σ− (x (2π)n/2√detΣ − i j i − i ij j − µj ). As a result, the contour levels of the pdf will be elliptical with a center determined by µ and 1 1 1 shape determined by Σ− . IfΣ− = cI the ellipse will be spherical. If Σ− is diagonal with different elements on the diagonal we get a (potentially) non-spherical axis aligned ellipse. As a consequence of (2) above we see that if X1,...,Xn are uncorrelated multivariate normal RVs (with covariance 0) they are also independent. This is in contrast to the general case where zero covariance or correlation does not necessarily imply independence. 2.
Recommended publications
  • On Two-Echelon Inventory Systems with Poisson Demand and Lost Sales

    On Two-Echelon Inventory Systems with Poisson Demand and Lost Sales

    View metadata, citation and similar papers at core.ac.uk brought to you by CORE provided by Universiteit Twente Repository On two-echelon inventory systems with Poisson demand and lost sales Elisa Alvarez, Matthieu van der Heijden Beta Working Paper series 366 BETA publicatie WP 366 (working paper) ISBN ISSN NUR 804 Eindhoven December 2011 On two-echelon inventory systems with Poisson demand and lost sales Elisa Alvarez Matthieu van der Heijden University of Twente University of Twente The Netherlands1 The Netherlands 2 Abstract We derive approximations for the service levels of two-echelon inventory systems with lost sales and Poisson demand. Our method is simple and accurate for a very broad range of problem instances, including cases with both high and low service levels. In contrast, existing methods only perform well for limited problem settings, or under restrictive assumptions. Key words: inventory, spare parts, lost sales. 1 Introduction We consider a two-echelon inventory system for spare part supply chains, consisting of a single central depot and multiple local warehouses. Demand arrives at each local warehouse according to a Poisson process. Each location controls its stocks using a one-for-one replenishment policy. Demand that cannot be satisfied from stock is served using an emergency shipment from an external source with infinite supply and thus lost to the system. It is well-known that the analysis of such lost sales inventory systems is more complex than the equivalent with full backordering (Bijvank and Vis [3]). In particular, the analysis of the central depot is complex, since (i) the order process is not Poisson, and (ii) the order arrival rate depends on the inventory states of the local warehouses: Local warehouses only generate replenishment orders if they have stock on hand.
  • Distance Between Multinomial and Multivariate Normal Models

    Distance Between Multinomial and Multivariate Normal Models

    Chapter 9 Distance between multinomial and multivariate normal models SECTION 1 introduces Andrew Carter’s recursive procedure for bounding the Le Cam distance between a multinomialmodelandits approximating multivariatenormal model. SECTION 2 develops notation to describe the recursive construction of randomizations via conditioning arguments, then proves a simple Lemma that serves to combine the conditional bounds into a single recursive inequality. SECTION 3 applies the results from Section 2 to establish the bound involving randomization of the multinomial distribution in Carter’s inequality. SECTION 4 sketches the argument for the bound involving randomization of the multivariate normalin Carter’s inequality. SECTION 5 outlines the calculation for bounding the Hellinger distance between a smoothed Binomialand its approximating normaldistribution. 1. Introduction The multinomial distribution M(n,θ), where θ := (θ1,...,θm ), is the probability m measure on Z+ defined by the joint distribution of the vector of counts in m cells obtained by distributing n balls independently amongst the cells, with each ball assigned to a cell chosen from the distribution θ. The variance matrix nVθ corresponding to M(n,θ) has (i, j)th element nθi {i = j}−nθi θj . The central limit theorem ensures that M(n,θ) is close to the N(nθ,nVθ ), in the sense of weak convergence, for fixed m when n is large. In his doctoral dissertation, Andrew Carter (2000a) considered the deeper problem of bounding the Le Cam distance (M, N) between models M :={M(n,θ) : θ ∈ } and N :={N(nθ,nVθ ) : θ ∈ }, under mild regularity assumptions on . For example, he proved that m log m maxi θi <1>(M, N) ≤ C √ provided sup ≤ C < ∞, n θ∈ mini θi for a constant C that depends only on C.
  • The Exciting Guide to Probability Distributions – Part 2

    The Exciting Guide to Probability Distributions – Part 2

    The Exciting Guide To Probability Distributions – Part 2 Jamie Frost – v1.1 Contents Part 2 A revisit of the multinomial distribution The Dirichlet Distribution The Beta Distribution Conjugate Priors The Gamma Distribution We saw in the last part that the multinomial distribution was over counts of outcomes, given the probability of each outcome and the total number of outcomes. xi f(x1, ... , xk | n, p1, ... , pk)= [n! / ∏xi!] ∏pi The count of The probability of each outcome. each outcome. That’s all smashing, but suppose we wanted to know the reverse, i.e. the probability that the distribution underlying our random variable has outcome probabilities of p1, ... , pk, given that we observed each outcome x1, ... , xk times. In other words, we are considering all the possible probability distributions (p1, ... , pk) that could have generated these counts, rather than all the possible counts given a fixed distribution. Initial attempt at a probability mass function: Just swap the domain and the parameters: The RHS is exactly the same. xi f(p1, ... , pk | n, x1, ... , xk )= [n! / ∏xi!] ∏pi Notational convention is that we define the support as a vector x, so let’s relabel p as x, and the counts x as α... αi f(x1, ... , xk | n, α1, ... , αk )= [n! / ∏ αi!] ∏xi We can define n just as the sum of the counts: αi f(x1, ... , xk | α1, ... , αk )= [(∑αi)! / ∏ αi!] ∏xi But wait, we’re not quite there yet. We know that probabilities have to sum to 1, so we need to restrict the domain we can draw from: s.t.
  • 556: MATHEMATICAL STATISTICS I 1 the Multinomial Distribution the Multinomial Distribution Is a Multivariate Generalization of T

    556: MATHEMATICAL STATISTICS I 1 the Multinomial Distribution the Multinomial Distribution Is a Multivariate Generalization of T

    556: MATHEMATICAL STATISTICS I MULTIVARIATE PROBABILITY DISTRIBUTIONS 1 The Multinomial Distribution The multinomial distribution is a multivariate generalization of the binomial distribution. The binomial distribution can be derived from an “infinite urn” model with two types of objects being sampled without replacement. Suppose that the proportion of “Type 1” objects in the urn is θ (so 0 · θ · 1) and hence the proportion of “Type 2” objects in the urn is 1 ¡ θ. Suppose that n objects are sampled, and X is the random variable corresponding to the number of “Type 1” objects in the sample. Then X » Bin(n; θ). Now consider a generalization; suppose that the urn contains k + 1 types of objects (k = 1; 2; :::), with θi being the proportion of Type i objects, for i = 1; :::; k + 1. Let Xi be the random variable corresponding to the number of type i objects in a sample of size n, for i = 1; :::; k. Then the joint T pmf of vector X = (X1; :::; Xk) is given by e n! n! kY+1 f (x ; :::; x ) = θx1 ....θxk θxk+1 = θxi X1;:::;Xk 1 k x !:::x !x ! 1 k k+1 x !:::x !x ! i 1 k k+1 1 k k+1 i=1 where 0 · θi · 1 for all i, and θ1 + ::: + θk + θk+1 = 1, and where xk+1 is defined by xk+1 = n ¡ (x1 + ::: + xk): This is the mass function for the multinomial distribution which reduces to the binomial if k = 1. 2 The Dirichlet Distribution The Dirichlet distribution is a multivariate generalization of the Beta distribution.
  • Probability Distributions and Related Mathematical Constructs

    Probability Distributions and Related Mathematical Constructs

    Appendix B More probability distributions and related mathematical constructs This chapter covers probability distributions and related mathematical constructs that are referenced elsewhere in the book but aren’t covered in detail. One of the best places for more detailed information about these and many other important probability distributions is Wikipedia. B.1 The gamma and beta functions The gamma function Γ(x), defined for x> 0, can be thought of as a generalization of the factorial x!. It is defined as ∞ x 1 u Γ(x)= u − e− du Z0 and is available as a function in most statistical software packages such as R. The behavior of the gamma function is simpler than its form may suggest: Γ(1) = 1, and if x > 1, Γ(x)=(x 1)Γ(x 1). This means that if x is a positive integer, then Γ(x)=(x 1)!. − − − The beta function B(α1,α2) is defined as a combination of gamma functions: Γ(α1)Γ(α2) B(α ,α ) def= 1 2 Γ(α1+ α2) The beta function comes up as a normalizing constant for beta distributions (Section 4.4.2). It’s often useful to recognize the following identity: 1 α1 1 α2 1 B(α ,α )= x − (1 x) − dx 1 2 − Z0 239 B.2 The Poisson distribution The Poisson distribution is a generalization of the binomial distribution in which the number of trials n grows arbitrarily large while the mean number of successes πn is held constant. It is traditional to write the mean number of successes as λ; the Poisson probability density function is λy P (y; λ)= eλ (y =0, 1,..
  • Binomial and Multinomial Distributions

    Binomial and Multinomial Distributions

    Binomial and multinomial distributions Kevin P. Murphy Last updated October 24, 2006 * Denotes more advanced sections 1 Introduction In this chapter, we study probability distributions that are suitable for modelling discrete data, like letters and words. This will be useful later when we consider such tasks as classifying and clustering documents, recognizing and segmenting languages and DNA sequences, data compression, etc. Formally, we will be concerned with density models for X ∈{1,...,K}, where K is the number of possible values for X; we can think of this as the number of symbols/ letters in our alphabet/ language. We assume that K is known, and that the values of X are unordered: this is called categorical data, as opposed to ordinal data, in which the discrete states can be ranked (e.g., low, medium and high). If K = 2 (e.g., X represents heads or tails), we will use a binomial distribution. If K > 2, we will use a multinomial distribution. 2 Bernoullis and Binomials Let X ∈{0, 1} be a binary random variable (e.g., a coin toss). Suppose p(X =1)= θ. Then − p(X|θ) = Be(X|θ)= θX (1 − θ)1 X (1) is called a Bernoulli distribution. It is easy to show that E[X] = p(X =1)= θ (2) Var [X] = θ(1 − θ) (3) The likelihood for a sequence D = (x1,...,xN ) of coin tosses is N − p(D|θ)= θxn (1 − θ)1 xn = θN1 (1 − θ)N0 (4) n=1 Y N N where N1 = n=1 xn is the number of heads (X = 1) and N0 = n=1(1 − xn)= N − N1 is the number of tails (X = 0).
  • Discrete Probability Distributions

    Discrete Probability Distributions

    Machine Learning Srihari Discrete Probability Distributions Sargur N. Srihari 1 Machine Learning Srihari Binary Variables Bernoulli, Binomial and Beta 2 Machine Learning Srihari Bernoulli Distribution • Expresses distribution of Single binary-valued random variable x ε {0,1} • Probability of x=1 is denoted by parameter µ, i.e., p(x=1|µ)=µ – Therefore p(x=0|µ)=1-µ • Probability distribution has the form Bern(x|µ)=µ x (1-µ) 1-x • Mean is shown to be E[x]=µ Jacob Bernoulli • Variance is var[x]=µ (1-µ) 1654-1705 • Likelihood of n observations independently drawn from p(x|µ) is N N x 1−x p(D | ) = p(x | ) = n (1− ) n µ ∏ n µ ∏µ µ n=1 n=1 – Log-likelihood is N N ln p(D | ) = ln p(x | ) = {x ln +(1−x )ln(1− )} µ ∑ n µ ∑ n µ n µ n=1 n=1 • Maximum likelihood estimator 1 N – obtained by setting derivative of ln p(D|µ) wrt m equal to zero is = x µML ∑ n N n=1 • If no of observations of x=1 is m then µML=m/N 3 Machine Learning Srihari Binomial Distribution • Related to Bernoulli distribution • Expresses Distribution of m – No of observations for which x=1 • It is proportional to Bern(x|µ) Histogram of Binomial for • Add up all ways of obtaining heads N=10 and ⎛ ⎞ m=0.25 ⎜ N ⎟ m N−m Bin(m | N,µ) = ⎜ ⎟µ (1− µ) ⎝⎜ m ⎠⎟ Binomial Coefficients: ⎛ ⎞ N ! ⎜ N ⎟ • Mean and Variance are ⎜ ⎟ = ⎝⎜ m ⎠⎟ m!(N −m)! N E[m] = ∑mBin(m | N,µ) = Nµ m=0 Var[m] = N (1− ) 4 µ µ Machine Learning Srihari Beta Distribution • Beta distribution a=0.1, b=0.1 a=1, b=1 Γ(a + b) Beta(µ |a,b) = µa−1(1 − µ)b−1 Γ(a)Γ(b) • Where the Gamma function is defined as ∞ Γ(x) = ∫u x−1e−u du
  • Statistical Distributions

    Statistical Distributions

    CHAPTER 10 Statistical Distributions In this chapter, we shall present some probability distributions that play a central role in econometric theory. First, we shall present the distributions of some discrete random variables that have either a finite set of values or that take values that can be indexed by the entire set of positive integers. We shall also present the multivariate generalisations of one of these distributions. Next, we shall present the distributions of some continuous random variables that take values in intervals of the real line or over the entirety of the real line. Amongst these is the normal distribution, which is of prime importance and for which we shall consider, in detail, the multivariate extensions. Associated with the multivariate normal distribution are the so-called sam- pling distributions that are important in the theory of statistical inference. We shall consider these distributions in the final section of the chapter, where it will transpire that they are special cases of the univariate distributions described in the preceding section. Discrete Distributions Suppose that there is a population of N elements, Np of which belong to class and N(1 p) to class c. When we select n elements at random from the populationA in n −successive trials,A we wish to know the probability of the event that x of them will be in and that n x of them will be in c. The probability will Abe affected b−y the way in which theA n elements are selected; and there are two ways of doing this. Either they can be put aside after they have been sampled, or else they can be restored to the population.
  • 5. the Multinomial Distribution

    5. the Multinomial Distribution

    The Multinomial Distribution http://www.math.uah.edu/stat/bernoulli/Multinomial.xhtml Virtual Laboratories > 11. Bernoulli Trials > 1 2 3 4 5 6 5. The Multinomial Distribution Basic Theory Multinomial trials A multinomial trials process is a sequence of independent, identically distributed random variables X=(X 1 ,X 2 , ...) each taking k possible values. Thus, the multinomial trials process is a simple generalization of the Bernoulli trials process (which corresponds to k=2). For simplicity, we will denote the set of outcomes by {1, 2, ...,k}, and we will denote the c ommon probability density function of the trial variables by pi = ℙ(X j =i ), i ∈ {1, 2, ...,k} k Of course pi > 0 for each i and ∑i=1 pi = 1. In statistical terms, the sequence X is formed by sampling from the distribution. As with our discussion of the binomial distribution, we are interested in the random variables that count the number of times each outcome occurred. Thus, let Yn,i = #({ j ∈ {1, 2, ...,n}:X j =i }), i ∈ {1, 2, ...,k} k Note that ∑i=1 Yn,i =n so if we know the values of k−1 of the counting variables , we can find the value of the remaining counting variable. As with any counting variable, we can express Yn,i as a sum of indicator variables: n 1. Show that Yn,i = ∑j=1 1(X j =i ). Basic arguments using independence and combinatorics can be used to derive the joint, marginal, and conditional densities of the counting variables. In particular, recall the definition of the multinomial coefficient: k for positive integers (j 1 ,j 2 , ...,j k) with ∑i=1 ji =n, n n! ( ) = j1 ,j 2 , ...,j k j1 ! j2 ! ··· jk ! Joint Distribution k 2.
  • Chapter 5: Multivariate Distributions

    Chapter 5: Multivariate Distributions

    Chapter 5: Multivariate Distributions Professor Ron Fricker Naval Postgraduate School Monterey, California 3/15/15 Reading Assignment: Sections 5.1 – 5.12 1 Goals for this Chapter • Bivariate and multivariate probability distributions – Bivariate normal distribution – Multinomial distribution • Marginal and conditional distributions • Independence, covariance and correlation • Expected value & variance of a function of r.v.s – Linear functions of r.v.s in particular • Conditional expectation and variance 3/15/15 2 Section 5.1: Bivariate and Multivariate Distributions • A bivariate distribution is a probability distribution on two random variables – I.e., it gives the probability on the simultaneous outcome of the random variables • For example, when playing craps a gambler might want to know the probability that in the simultaneous roll of two dice each comes up 1 • Another example: In an air attack on a bunker, the probability the bunker is not hardened and does not have SAM protection is of interest • A multivariate distribution is a probability distribution for more than two r.v.s 3/15/15 3 Joint Probabilities • Bivariate and multivariate distributions are joint probabilities – the probability that two or more events occur – It’s the probability of the intersection of n 2 ≥ events: Y = y , Y = y ,..., Y = y { 1 1} { 2 2} { n n} – We’ll denote the joint (discrete) probabilities as P (Y1 = y1,Y2 = y2,...,Yn = yn) • We’ll sometimes use the shorthand notation p(y1,y2,...,yn) – This is the probability that the event Y = y and { 1 1} the
  • A Multivariate Beta-Binomial Model Which Allows to Conduct Bayesian Inference Regarding Θ Or Transformations Thereof

    A Multivariate Beta-Binomial Model Which Allows to Conduct Bayesian Inference Regarding Θ Or Transformations Thereof

    SIMULTANEOUS INFERENCE FOR MULTIPLE PROPORTIONS:AMULTIVARIATE BETA-BINOMIAL MODEL Max Westphal∗ Institute for Statistics University of Bremen Bremen, Germany March 20, 2020 ABSTRACT Statistical inference in high-dimensional settings is challenging when standard unregular- ized methods are employed. In this work, we focus on the case of multiple correlated proportions for which we develop a Bayesian inference framework. For this purpose, we construct an m-dimensional Beta distribution from a 2m-dimensional Dirichlet distribution, building on work by Olkin and Trikalinos(2015). This readily leads to a multivariate Beta- binomial model for which simple update rules from the common Dirichlet-multinomial model can be adopted. From the frequentist perspective, this approach amounts to adding pseudo-observations to the data and allows a joint shrinkage estimation of mean vector and covariance matrix. For higher dimensions (m > 10), the extensive model based on 2m parameters starts to become numerically infeasible. To counter this problem, we utilize a reduced parametrisation which has only 1 + m(m + 1)=2 parameters describing first and second order moments. A copula model can then be used to approximate the (posterior) multivariate Beta distribution. A natural inference goal is the construction of multivariate credible regions. The properties of different credible regions are assessed in a simulation arXiv:1911.00098v4 [stat.ME] 20 Mar 2020 study in the context of investigating the accuracy of multiple binary classifiers. It is shown that the extensive and copula approach lead to a (Bayes) coverage probability very close to the target level. In this regard, they outperform credible regions based on a normal approxi- mation of the posterior distribution, in particular for small sample sizes.
  • Review of Probability Distributions for Modeling Count Data

    Review of Probability Distributions for Modeling Count Data

    Review of Probability Distributions for Modeling Count Data F. William Townes Department of Computer Science, Princeton University, Princeton, NJ [email protected] January 14, 2020 Abstract Count data take on non-negative integer values and are challenging to properly analyze using standard linear-Gaussian methods such as linear regression and principal components analysis. Generalized linear models enable direct modeling of counts in a regression context using distributions such as the Poisson and negative binomial. When counts contain only rel- ative information, multinomial or Dirichlet-multinomial models can be more appropriate. We review some of the fundamental connections be- tween multinomial and count models from probability theory, providing detailed proofs. These relationships are useful for methods development in applications such as topic modeling of text data and genomics. Contents 1 Introduction 2 2 Negative binomial equivalent to Poisson-gamma 2 3 Dirichlet as normalized sum of gamma distributions 4 4 Construction of multinomial from independent Poissons 6 arXiv:2001.04343v1 [stat.ME] 10 Jan 2020 5 Construction of Dirichlet-multinomial from independent nega- tive binomials 7 6 Discussion 7 1 Townes 2020 Count and Multinomial Distributions 1 Introduction Count data take on non-negative integer values and are challenging to prop- erly analyze using standard linear-Gaussian methods such as linear regression and principal components analysis (PCA) [1]. The advent of generalized lin- ear models (GLMs) facilitated the use of the Poisson likelihood in a regression context [2]. The Poisson distribution is the simplest count model and has only a single parameter, making it unsuitable for dealing with overdispersion. This has motivated the adoption of negative binomial models, which include an ad- ditional parameter to model the dispersion separately from the mean.