next up previous
Next: About this document

 COS 341, October 6, 1997

Handout Number 7

Some Probability Theory

Let X be a random variable on a probability space tex2html_wrap_inline144 . We define tex2html_wrap_inline146 , and Var(X)= E(Z), where tex2html_wrap_inline150 . (Note that E(X) is a real number t, and for all tex2html_wrap_inline156 , the random variable X-E(X) has value X(u)-t, the random variable Z has value tex2html_wrap_inline164 . Clearly tex2html_wrap_inline166 .) The standard deviation tex2html_wrap_inline168 is defined to be tex2html_wrap_inline170 . Intuitively, the value E(X) tells you what the average value of X you can expect, if you perform many many experiments; the variance gives you some idea on how close to E(X) you expect to see the typical value of X fall in these experiments. This last statement is made more precise in the Chebyshev's Inequality below.

Recall that, if tex2html_wrap_inline180 are random variables in tex2html_wrap_inline182 and tex2html_wrap_inline184 are real numbers, then the random variable tex2html_wrap_inline186 is defined by tex2html_wrap_inline188 . The following important formula was derived in class.

Linearity of Expected Value

displaymath120

As an example to illustrate all these discussions, let tex2html_wrap_inline144 , where tex2html_wrap_inline192 and p(a)=0.2, p(b)=0.13, p(c)=0.17, p(d)=0.1, p(e)=0.1, p(f)=0.2, p(g)=0.04, p(h)=0.06. Let X be the random variable on tex2html_wrap_inline182 with X(a)=1, X(b)=X(c)=3, X(d)=X(e)=X(f)=4, X(g) =X(h)=9. Then by defintion

displaymath121

Let t=E(X) denote the above value. Then by definition

displaymath122

The numerical values of E(X) and Var(X) can be calculated straightforwardly from these formulae. We shall not do the calculation here. Rather, we calculate them in a slightly different way.

Clearly, tex2html_wrap_inline208 , tex2html_wrap_inline210 , tex2html_wrap_inline212 , and tex2html_wrap_inline214 .

Now, by definition, tex2html_wrap_inline146 . When X takes on only nonnegative integer values, we can rewrite it as

equation59

Similarly, from the definition of Var(X), we can derive

equation62

Thus, for the example above,

displaymath123

and

displaymath124

Also we have tex2html_wrap_inline222 .

The following inequality says that, taking an experiment according to tex2html_wrap_inline182 , the probability of seeing the value of X deviating from E(X) by c (or more) standard deviations is less than tex2html_wrap_inline232 .

Chebyshev's Inequality Let c>0,

displaymath125

Proof If Var(X)=0, then X(u)=E(X) for all tex2html_wrap_inline156 (why?), and the Inequality is clearly true.

Assume Var(X)>0. Let Y=X-E(X). Then

eqnarray69

This implies the Inequality. tex2html_wrap_inline246

For example, take c=10. The probability for X to deviate from E(X) by tex2html_wrap_inline254 (or more) is less than 1 percent.

Another useful formula

equation75

Proof Let t=E(X) and tex2html_wrap_inline260 . Note that tex2html_wrap_inline262 for all tex2html_wrap_inline156 . Thus tex2html_wrap_inline266 expresses the random variable Z as a linear combination of the random variables tex2html_wrap_inline270 . By the linearity of the expected value, we have tex2html_wrap_inline272 , which proves (3). tex2html_wrap_inline246

Generating Functions

We have seen earlier that generating functions are useful for evaluating sums such as tex2html_wrap_inline276 . We now demonstrate that the generating functions are also useful for evaluating E(X) and Var(X), when X take on only nonnegative integer values. Take any such X, let tex2html_wrap_inline286 . Define

displaymath126

Then

displaymath127

and

displaymath128

Thus,

displaymath129

and

displaymath130

It follows that

equation92

And

eqnarray95

By (3) this gives

equation102

As an application, consider the example of tossing a fair coins n times, and let X be the number of Heads in the sequence. Then tex2html_wrap_inline292 and tex2html_wrap_inline294 . Clearly, tex2html_wrap_inline296 and tex2html_wrap_inline298 . Thus F'(1)=n/2 and tex2html_wrap_inline302 . From (5) we have tex2html_wrap_inline304 .



next up previous
Next: About this document

Andrew Yao
Wed Oct 1 20:30:09 EDT 1997