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.

392 CHAPTER 19. ADVANCED MULTIVARIATE METHODS<br />

(Recall that Cov(X,Y) = E(XY) - EX EY, and that we are working with random variables that<br />

have mean 0.) Thus the norm <strong>of</strong> a vec<strong>to</strong>r X is<br />

again since E(X) = 0.<br />

19.6 Properties <strong>of</strong> Correlation<br />

||X|| = (X, X) 0.5 = E(X 2 ) = V ar(X) (19.84)<br />

The famous Cauchy-Schwarz Inequality for inner products says,<br />

i.e.<br />

|(X, Y )| ≤ ||X|| ||Y || (19.85)<br />

|ρ(X, Y )| ≤ 1 (19.86)<br />

Also, the Cauchy-Schwarz Inequality yields equality if and only if one vec<strong>to</strong>r is a scalar multiple<br />

<strong>of</strong> the other, i.e. Y = cX for some c. When we then translate this <strong>to</strong> random variables <strong>of</strong> nonzero<br />

means, we get Y = cX + d.<br />

In other words, the correlation between two random variables is between -1 and 1, with equality if<br />

and only if one is an exact linear function <strong>of</strong> the other.<br />

19.7 Conditional Expectation As a Projection<br />

For a random variable X in , let W denote the subspace <strong>of</strong> V consisting <strong>of</strong> all functions h(X) with<br />

mean 0 and finite variance. (Again, note that this subspace is indeed closed under vec<strong>to</strong>r addition<br />

and scalar multiplication.)<br />

Now consider any Y in V. Recall that the projection <strong>of</strong> Y on<strong>to</strong> W is the closest vec<strong>to</strong>r T in W <strong>to</strong><br />

Y, i.e. T minimizes ||Y − T ||. That latter quantity is<br />

<br />

E[(Y − T ) 2 0.5 ]<br />

(19.87)

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

Saved successfully!

Ooh no, something went wrong!