![](//s1.studylibfr.com/store/data-gzf/c1b0d747f797f3b13dab31ca1e0e60a8/1/010135216.htmlex.zip/bg2.jpg)
DISCRETE RANDOM VARIABLES
DEFINITION :Adiscrete random variable is a function X(s)from
afinite or countably infinite sample space Sto the real numbers :
X(·):S→R.
EXAMPLE : Toss a coin 3 times in sequence. The sample space
is
S={HHH , HHT , HTH , HTT , THH , THT , TTH , TTT},
and examples of random variables are
•X(s) = the number of Heads in the sequence ; e.g.,X(HTH)=2,
•Y(s) = The index of the first H;e.g.,Y(TTH)=3,
0 if the sequence has no H,i.e.,Y(TTT)=0.
NOTE :InthisexampleX(s)andY(s) are actually integers .
71