<< Chapter < Page Chapter >> Page >

Simple random variables

We consider, in some detail, random variables which have only a finite set of possible values. These are called simple random variables. Thus the term “simple” is used in a special, technical sense. The importance of simple random variables rests on two facts.For one thing, in practice we can distinguish only a finite set of possible values for any random variable. In addition, any random variable may be approximated as closely as pleased by a simplerandom variable. When the structure and properties of simple random variables have been examined, we turn to more general cases. Many properties of simple random variables extend tothe general case via the approximation procedure.

Representation with the aid of indicator functions

In order to deal with simple random variables clearly and precisely, we must find suitable ways to express them analytically. We do this with the aid of indicator functions . Three basic forms of representation are encountered. These are not mutually exclusive representatons.

  1. Standard or canonical form , which displays the possible values and the corresponding events. If X takes on distinct values
    { t 1 , t 2 , , t n } with respective probabilities { p 1 , p 2 , , p n }
    and if A i = { X = t i } , for 1 i n , then { A 1 , A 2 , , A n } is a partition (i.e., on any trial, exactly one of these events occurs). We call this the partition determined by (or, generated by) X . We may write
    X = t 1 I A 1 + t 2 I A 2 + + t n I A n = i = 1 n t i I A i
    If X ( ω ) = t i , then ω A i , so that I A i ( ω ) = 1 and all the other indicator functions have value zero. The summation expression thus picks out the correct value t i . This is true for any t i , so the expression represents X ( ω ) for all ω . The distinct set { t 1 , t 2 , , t n } of the values and the corresponding probabilities { p 1 , p 2 , , p n } constitute the distribution for X . Probability calculations for X are made in terms of its distribution. One of the advantages of the canonical form is that it displays the range (set of values), and if the probabilities p i = P ( A i ) are known, the distribution is determined. Note that in canonical form, if one of the t i has value zero, we include that term. For some probability distributions it may be that P ( A i ) = 0 for one or more of the t i . In that case, we call these values null values , for they can only occur with probability zero, and hence are practically impossible. Inthe general formulation, we include possible null values, since they do not affect any probabilitiy calculations.

    Successes in bernoulli trials

    As the analysis of Bernoulli trials and the binomial distribution shows (see Section 4.8), canonical form must be

    S n = k = 0 n k I A k with P ( A k ) = C ( n , k ) p k ( 1 - p ) n - k , 0 k n
    Got questions? Get instant answers now!
    For many purposes, both theoretical and practical, canonical form is desirable. For one thing, it displays directly the range (i.e., set of values) of the random variable. The distribution consists of the set of values { t k : 1 k n } paired with the corresponding set of probabilities { p k : 1 k n } , where p k = P ( A k ) = P ( X = t k ) .
  2. Simple random variable X may be represented by a primitive form
    X = c 1 I C 1 + c 2 I C 2 + , c m I C m , where { C j : 1 j m } is a partition
    Remarks
    • If { C j : 1 j m } is a disjoint class, but j = 1 m C j Ω , we may append the event C m + 1 = j = 1 m C j c and assign value zero to it.
    • We say a primitive form, since the representation is not unique. Any of the C i may be partitioned, with the same value c i associated with each subset formed.
    • Canonical form is a special primitive form. Canonical form is unique, and in many ways normative.

    Simple random variables in primitive form

    • A wheel is spun yielding, on a equally likely basis, the integers 1 through 10. Let C i be the event the wheel stops at i , 1 i 10 . Each P ( C i ) = 0 . 1 . If the numbers 1, 4, or 7 turn up, the player loses ten dollars; if the numbers 2, 5,or 8 turn up, the player gains nothing; if the numbers 3, 6, or 9 turn up, the player gains ten dollars; if the number 10 turns up, the player loses one dollar. The randomvariable expressing the results may be expressed in primitive form as
      X = - 10 I C 1 + 0 I C 2 + 10 I C 3 - 10 I C 4 + 0 I C 5 + 10 I C 6 - 10 I C 7 + 0 I C 8 + 10 I C 9 - I C 10
    • A store has eight items for sale. The prices are $3.50, $5.00, $3.50, $7.50, $5.00, $5.00, $3.50, and $7.50, respectively. A customer comes in. She purchasesone of the items with probabilities 0.10, 0.15, 0.15, 0.20, 0.10 0.05, 0.10 0.15. The random variable expressing the amount of her purchase may be written
      X = 3 . 5 I C 1 + 5 . 0 I C 2 + 3 . 5 I C 3 + 7 . 5 I C 4 + 5 . 0 I C 5 + 5 . 0 I C 6 + 3 . 5 I C 7 + 7 . 5 I C 8
    Got questions? Get instant answers now!
  3. We commonly have X represented in affine form , in which the random variable is represented as an affine combination of indicator functions (i.e., a linearcombination of the indicator functions plus a constant, which may be zero).
    X = c 0 + c 1 I E 1 + c 2 I E 2 + + c m I E m = c 0 + j = 1 m c j I E j
    In this form, the class { E 1 , E 2 , , E m } is not necessarily mutually exclusive, and the coefficients do not display directly the set of possible values.In fact, the E i often form an independent class. Remark . Any primitive form is a special affine form in which c 0 = 0 and the E i form a partition.

    Consider, again, the random variable S n which counts the number of successes in a sequence of n Bernoulli trials. If E i is the event of a success on the i th trial, then one natural way to express the count is

    S n = i = 1 n I E i , with P ( E i ) = p 1 i n

    This is affine form, with c 0 = 0 and c i = 1 for 1 i n . In this case, the E i cannot form a mutually exclusive class, since they form an independent class.

    Got questions? Get instant answers now!
    Events generated by a simple random variable: canonical form
    We may characterize the class of all inverse images formed by a simple random X in terms of the partition { A i : 1 i n } it determines. Consider any set M of real numbers. If t i in the range of X is in M , then every point ω A i maps into t i , hence into M . If the set J is the set of indices i such that t i M , then
    Only those points ω in A M = i J A i map into M .
    Hence, the class of events (i.e., inverse images) determined by X consists of the impossible event , the sure event Ω , and the union of any subclass of the A i in the partition determined by X .

    Events determined by a simple random variable

    Suppose simple random variable X is represented in canonical form by

    X = - 2 I A - I B + 0 I C + 3 I D

    Then the class { A , B , C , D } is the partition determined by X and the range of X is { - 2 , - 1 , 0 , 3 } .

    1. If M is the interval [ - 2 , 1 ] , then the values -2, -1, and 0 are in M and X - 1 ( M ) = A B C .
    2. If M is the set ( - 2 , - 1 ] [ 1 , 5 ] , then the values -1, 3 are in M and X - 1 ( M ) = B D .
    3. The event { X 1 } = { X ( - , 1 ] } = X - 1 ( M ) , where M = ( - , 1 ] . Since values -2, -1, 0 are in M , the event { X 1 } = A B C .
    Got questions? Get instant answers now!

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Applied probability. OpenStax CNX. Aug 31, 2009 Download for free at http://cnx.org/content/col10708/1.6
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Applied probability' conversation and receive update notifications?

Ask