Discrete random variables arise in a variety of ways: From experiments
with a natural integer valued outcome
the number of buses to stop in the hour,
the number of goals in a football match.
with a continuous outcome which is recorded on an integer scale
heights, ages, salaries
with non-integer outcomes to which numerical values are assigned
a coin is tossed the outcome is or , converted to and respectively.
disease stage coded on a numerical scale (e.g. 1,2,…,5).
A coin is tossed 3 times. The sample space is
Define a rv giving the number of s thrown.
Define .
Long hand:
The induced sample space for is .
Suppose we decide to record the number of children born in the local maternity ward tomorrow as a probability experiment. Find a suitable sample space and random variable.
Any outcome is a non-negative integers, so a suitable sample space is .
The rv is , giving the number of children born.
Suppose that is an event in the induced sample space. Then we write
In the 3 coins example above, we have that
The right hand side of these equations is an event in and hence has a probability assigned to it. This induces a probability on the induced sample space
Suppose our sample space consists of the outcomes of throwing a fair die, and suppose we gamble on the outcome:
lose if outcome is , or ;
win nothing if outcome is ;
win if outcome is or .
Define to be the random variable giving the profit. Find the induced sample space for , and evaluate the probabilities on the induced sample space.
and
The induced sample space for is . Now
The probability associated to the other subsets can be obtained using axiom 3 e.g.
To summarise
The outcomes in the sample space, , of the probability experiment may or may not be numerically valued.
A random variable is a function that associates a unique real number with each outcome in the sample space, .
A random variable is not a number. It is neither random, nor a variable. It is a function.
The set of values taken by random variable defined on , is known as the induced sample space for and is sometimes written as .
The event and this equivalence induces a probability distribution on .