Multivariate Distribution
Study guide: Exam P-1
A Multivariate Distribution is the distribution of two or more random variables taken together. For two discrete random variables X and Y, it is given by the joint probability function
f(x, y) = P(X = x, Y = y)
f(x, y)is the probability thatX = xandY = yat the same time.
For continuous random variables, f(x, y) is the joint density, and a probability is a double integral of it.
The idea The distributions of
XandYon their own don't determine how the two move together.
The marginal and conditional distributions and the covariance can all be read off the joint distribution. The joint distribution can be rebuilt from the marginals only when X and Y are independent.
XandYare each 0 or 1 with probability 0.5. What isP(X = 0, Y = 0)ifY = X, and ifXandYare independent?
- If
Y = X, both are 0 exactly whenX = 0, soP(X = 0, Y = 0) = 0.5.- If
XandYare independent, the probabilities multiply:(0.5)(0.5) = 0.25.- The marginals are the same in both cases, but the joint distributions are not.
The multinomial distribution
Suppose each of n independent trials falls into exactly one of k categories, with probabilities p_1, \ldots, p_k that add to 1. The counts N_1, \ldots, N_k in the categories have a multinomial distribution:
\begin{aligned} & P(N_1 = n_1, \ldots, N_k = n_k) \\ & = \frac{n!}{n_1! \cdots n_k!}\,p_1^{n_1} \cdots p_k^{n_k} \end{aligned}
n_1 + \cdots + n_k = n.
The multinomial distribution extends the binomial distribution to more than two categories. On its own, each count N_i is binomial with n trials and probability p_i.
Each of 10 independent claims is auto, home or liability with probabilities 0.5, 0.3 and 0.2. What is the probability of 5 auto, 3 home and 2 liability claims?
- The number of orders of 5 auto, 3 home and 2 liability claims is
\frac{10!}{5!\,3!\,2!} = 2{,}520.- Each order has the same probability:
(0.5)^5 (0.3)^3 (0.2)^2 = 0.00003375
- The probability is
2{,}520 \times 0.00003375 = 0.08505.
The multivariate hypergeometric distribution
When n items are drawn without replacement from a group of m, of which m_i are of type i, the counts of each type follow the multivariate hypergeometric distribution:
\begin{aligned} & P(N_1 = n_1, \ldots, N_k = n_k) \\ & = \frac{\binom{m_1}{n_1} \cdots \binom{m_k}{n_k}}{\binom{m}{n}} \end{aligned}
n_1 + \cdots + n_k = nandm_1 + \cdots + m_k = m.
A file holds 12 claims: 5 auto, 4 home and 3 liability. An auditor draws 4 without replacement. What is the probability of 2 auto, 1 home and 1 liability claim?
- The number of samples with that make-up is
\binom{5}{2}\binom{4}{1}\binom{3}{1} = 120.- The number of samples of 4 is
\binom{12}{4} = 495.- The probability is
\frac{120}{495} = 0.2424.
Multinomial for draws without replacement The multinomial needs independent trials with fixed probabilities. Drawing from a fixed group changes the probabilities after each draw. In the auditor's example, using the shares
\frac{5}{12},\frac{4}{12}and\frac{3}{12}as multinomial probabilities gives 0.1736 instead of 0.2424.