01.06.2013 Views

Statistical Methods in Medical Research 4ed

Statistical Methods in Medical Research 4ed

Statistical Methods in Medical Research 4ed

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

3.5 Expectation<br />

There is some difficulty <strong>in</strong> decid<strong>in</strong>g what is meant by the phrase `mean of a<br />

random variable'. The mean has been def<strong>in</strong>ed earlier only for a f<strong>in</strong>ite number, n,<br />

of observations. With a probability distribution such as that <strong>in</strong> Table 3.1 the<br />

number of observations must be thought of as <strong>in</strong>f<strong>in</strong>ite. How, then, is the mean to<br />

be calculated?<br />

Suppose n is very largeÐso large that the relative frequencies of the different<br />

values of a discrete random variable like that <strong>in</strong> Table 3.1 can be taken to be very<br />

nearly equal to the probabilities. If they were exactly equal to the probabilities,<br />

the frequency distribution of the number of boys would be as follows:<br />

The mean value of x would be<br />

x<br />

No. of boys Frequency<br />

0 0 0576n<br />

1 0 2400n<br />

2 0 3747n<br />

3 0 2600n<br />

4 0 0677n<br />

…0 0 0576n†‡…1 0 2400n†‡…2 0 3747n†‡…3 0 2600n†‡…4 0 0677n†<br />

:<br />

n<br />

The factor n may be cancelled from the numerator and denom<strong>in</strong>ator of the<br />

expression, to give the numerical result 2 04. The arbitrary sample size, n, does<br />

not appear.<br />

If the probabilities of 0, 1, ..., 4 boys are denoted by P0, P1, ..., P4, the<br />

formula for the mean is clearly<br />

…0 P0†‡…1 P1†‡…2 P2†‡…3 P3†‡…4 P4†:<br />

In general, if x is a discrete random variable tak<strong>in</strong>g values x0, x1, x2, ..., with<br />

probabilities P0, P1, P2, ..., the mean value of x is calculated as<br />

P<br />

xiPi: …3:6†<br />

i<br />

The mean value of a random variable, calculated <strong>in</strong> this way, is often called the<br />

expected value, the mathematical expectation or simply the expectation of x, and<br />

the operation <strong>in</strong>volved (multiply<strong>in</strong>g each value of x by its probability, and then<br />

add<strong>in</strong>g) is denoted by E(x). The expectation of a random variable is often<br />

allotted a Greek symbol like m (lower-case Greek letter `mu'), to dist<strong>in</strong>guish it<br />

from a mean value calculated from a f<strong>in</strong>ite number of observations (denoted<br />

usually by symbols such as x or y).<br />

n<br />

3.5 Expectation 63

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

Saved successfully!

Ooh no, something went wrong!