12.07.2015 Views

Stat 5101 Lecture Notes - School of Statistics

Stat 5101 Lecture Notes - School of Statistics

Stat 5101 Lecture Notes - School of Statistics

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

2.4. MOMENTS 41simple, it is <strong>of</strong>ten not called a theorem but just a calculation formula or method.Sometimes it is called “completing the square” after the method <strong>of</strong> that namefrom high-school algebra, although that name isn’t very appropriate either. Itis a very simple theorem, just the algebraic identity (2.14), which is related to“completing the square” plus linearity <strong>of</strong> expectation, which isn’t. Whatever itis called, the theorem is exceedingly important, and many important facts arederived from it. I sometimes call it “the most important formula in statistics.”Corollary 2.12. If X is a random variable having first and second moments,thenvar(X) =E(X 2 )−E(X) 2 .The pro<strong>of</strong> is left as an exercise (Problem 2-13).This corollary is an important special case <strong>of</strong> the parallel axis theorem. Italso is frequently used, but not quite as frequently as students want to use it.It should not be used in every problem that involves a variance (maybe in half<strong>of</strong> them, but not all). We will give a more specific warning against overusingthis corollary later.There are various ways <strong>of</strong> restating the corollary in symbols, for exampleandσ 2 X = E(X 2 ) − µ 2 X,µ 2 = α 2 − α 2 1.As always, mathematics is invariant under changes <strong>of</strong> notation. The importantthing is the concepts symbolized rather than the symbols themselves.The next theorem extends Theorem 2.2 from means to variances.Theorem 2.13. Suppose X is a random variable having first and second momentsand a and b are real numbers, thenvar(a + bX) =b 2 var(X). (2.15)Note that the right hand side <strong>of</strong> (2.15) does not involve the constant part a<strong>of</strong> the linear transformation a + bX. Also note that the b comes out squared.The pro<strong>of</strong> is left as an exercise (Problem 2-15).Before leaving this section, we want to emphasize an obvious property <strong>of</strong>variances.Sanity Check: Variances are nonnegative.This holds by the positivity axiom (E3) because the variance <strong>of</strong> X is the expectation<strong>of</strong> the random variable (X − µ) 2 , which is nonnegative because squaresare nonnegative. We could state this as a theorem, but won’t because its mainuse is as a “sanity check.” If you are calculating a variance and don’t makeany mistakes, then your result must be nonnegative. The only way to get anegative variance is to mess up somewhere. If you are using Corollary 2.12, for

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

Saved successfully!

Ooh no, something went wrong!