The Trinomial Distribution

The trinomial distribution generalizes the binomial distribution to experiments where each independent trial yields one of three mutually exclusive outcomes. We compute joint probabilities for the three category counts using the multinomial coefficient and the probabilities of each outcome.

Step 1 of 119%

Tutorial

The Trinomial Distribution

A trinomial trial is an experiment with exactly three mutually exclusive outcomes -- call them categories 11, 22, and 33 -- occurring with probabilities p1,p2,p3p_1, p_2, p_3 satisfying

p1+p2+p3=1.p_1 + p_2 + p_3 = 1.

Suppose nn such trials are performed independently, and let XiX_i denote the number of trials whose outcome is category ii. Then (X1,X2,X3)(X_1, X_2, X_3) follows the trinomial distribution with parameters (n;p1,p2,p3)(n;\, p_1, p_2, p_3), and its joint PMF is

P(X1=x1,X2=x2,X3=x3)=n!x1!x2!x3!p1x1p2x2p3x3,P(X_1 = x_1,\, X_2 = x_2,\, X_3 = x_3) = \dfrac{n!}{x_1!\, x_2!\, x_3!}\, p_1^{x_1}\, p_2^{x_2}\, p_3^{x_3},

defined for non-negative integers x1,x2,x3x_1, x_2, x_3 with x1+x2+x3=nx_1 + x_2 + x_3 = n (the probability is 00 otherwise).

The structure mirrors the binomial PMF. The factor p1x1p2x2p3x3p_1^{x_1} p_2^{x_2} p_3^{x_3} is the probability of any one specific sequence of outcomes with those counts (by independence), and the multinomial coefficient n!x1!x2!x3!\dfrac{n!}{x_1!\, x_2!\, x_3!} counts how many such sequences exist (permutations with repetition).

For instance, with n=3n = 3 and (p1,p2,p3)=(0.5,0.3,0.2),(p_1, p_2, p_3) = (0.5,\, 0.3,\, 0.2),

P(X1=2,X2=1,X3=0)=3!2!1!0!(0.5)2(0.3)1(0.2)0=30.250.31=0.225.P(X_1 = 2,\, X_2 = 1,\, X_3 = 0) = \dfrac{3!}{2!\,1!\,0!}(0.5)^2(0.3)^1(0.2)^0 = 3 \cdot 0.25 \cdot 0.3 \cdot 1 = 0.225.
navigate · Enter open · Esc close · ⌘K/Ctrl K toggle