20.03.2013 Views

From Algorithms to Z-Scores - matloff - University of California, Davis

From Algorithms to Z-Scores - matloff - University of California, Davis

From Algorithms to Z-Scores - matloff - University of California, Davis

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

168 CHAPTER 8. MULTIVARIATE PMFS AND DENSITIES<br />

We then use (8.95) <strong>to</strong> find the specified probability, which is:<br />

6!<br />

2!2!2! 0.202 0.16 2 0.64 2<br />

8.5.1.3 Mean Vec<strong>to</strong>rs and Covariance Matrices in the Multinomial Family<br />

(8.99)<br />

Consider a multinomially distributed random vec<strong>to</strong>r X = (X1, ..., Xr) ′ , with n trials and category<br />

probabilities pi. Let’s find its mean vec<strong>to</strong>r and covariance matrix.<br />

First, note that the marginal distributions <strong>of</strong> the Xi are binomial! So,<br />

So we know EX now:<br />

EXi = npi and V ar(Xi) = npi(1 − pi) (8.100)<br />

⎛<br />

EX = ⎝<br />

np1<br />

...<br />

npr<br />

⎞<br />

⎠ (8.101)<br />

We also know the diagonal elements <strong>of</strong> Cov(X)—npi(1 − pi) is the i th diagonal element, i = 1,...,r.<br />

But what about the rest? The derivation will follow in the footsteps <strong>of</strong> those <strong>of</strong> (3.104), but now<br />

in a vec<strong>to</strong>r context. Prepare <strong>to</strong> use your indica<strong>to</strong>r random variable, random vec<strong>to</strong>r and covariance<br />

matrix skills! Also, this derivation will really build up your “probabilistic stamina level.” So, it’s<br />

good for you! But now is the time <strong>to</strong> review (3.104), Section 3.6 and Section 7.3, before<br />

continuing.<br />

We’ll continue the notation <strong>of</strong> the last section. In order <strong>to</strong> keep on eye on the concrete, we’ll <strong>of</strong>ten<br />

illustrate the notation with the die example above; there we rolled a die 8 times, and defined 6<br />

categories (one dot, two dots, etc.). We were interested in probabilities involving the number <strong>of</strong><br />

trials that result in each <strong>of</strong> the 6 categories.<br />

Define the random vec<strong>to</strong>r Ti <strong>to</strong> be the outcome <strong>of</strong> the i th trial. It is a vec<strong>to</strong>r <strong>of</strong> indica<strong>to</strong>r random<br />

variables, one for each <strong>of</strong> the r categories. In the die example, for instance, consider the second

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!