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.

10.1. SAMPLING DISTRIBUTIONS 195<br />

What about drawing from an infinite population? This may sound odd at first, but it relates <strong>to</strong> the<br />

fact, noted at the outset <strong>of</strong> Chapter 5, that although continuous random variables don’t really exist,<br />

they <strong>of</strong>ten make a good approximation. In our human height example above, for instance, heights<br />

do tend <strong>to</strong> follow a bell-shaped curve which which is well-approximated by a normal distributiion.<br />

In this case, each Xi is modeled as having a continuum <strong>of</strong> possible values, corresponding <strong>to</strong> a<br />

theoretically infinite population. Each Xi then has the same density as the population density.<br />

10.1.2 The Sample Mean—a Random Variable<br />

A large part <strong>of</strong> this chapter will concern the sample mean,<br />

X = X1 + X2 + X3 + ... + Xn<br />

n<br />

Since X1, X2, X3, ..., Xn are random variables, X is a random variable <strong>to</strong>o.<br />

Make absolutely sure <strong>to</strong> distinguish between the sample mean and the population mean.<br />

(10.1)<br />

The point that X is a random variable is another simple yet crucial concept. Let’s illustrate it with<br />

a tiny example. Suppose we have a population <strong>of</strong> three people, with heights 69, 72 and 70, and we<br />

draw a random sample <strong>of</strong> size 2. Here X can take on six values:<br />

69 + 69<br />

2<br />

= 69,<br />

69 + 72<br />

2<br />

= 70.5,<br />

69 + 70<br />

2<br />

= 69.5,<br />

70 + 70<br />

2<br />

= 70,<br />

70 + 72<br />

2<br />

= 71,<br />

72 + 72<br />

2<br />

The probabilities <strong>of</strong> these values are 1/9, 2/9, 2/9, 1/9, 2/9 and 1/9, respectively. So,<br />

pX (69) = 1<br />

9 , p 2<br />

X (70.5) =<br />

9 , p 2<br />

X (69.5) =<br />

9 , p 1<br />

X (70) =<br />

9 , p 2<br />

X (71) =<br />

9 , p 1<br />

X (72) =<br />

9<br />

Viewing it in “notebook” terms, we might have, in the first three lines:<br />

notebook line X1 X2 X<br />

1 70 70 70<br />

2 69 70 69.5<br />

3 72 70 71<br />

Again, the point is that all <strong>of</strong> X1, X2 and X are random variables.<br />

= 72 (10.2)<br />

(10.3)

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

Saved successfully!

Ooh no, something went wrong!