Figure 2.1 (Link) shows the CDF for a particular random variable, (a Poisson random variable with ). It is horizontal, except at , at which point it jumps (is discontinuous).
Random variables with CDFs which are horizontal except at jump points are called discrete random variables.
The probability of outcome ( an integer) for a discrete random variable is given by the probability mass function (pmf) defined by
The probability is, therefore, only non-zero where there are jumps. The cdf in Figure 2.1 (Link) corresponds to non-zero probabilities for . For we have .
A discrete random variable has a countable sample space (set of possible values), often only the integers or the non-negative integers. For simplicity we will take the sample space to be the integers in the following presentation.
Discrete random variables arise in a variety of ways:
from experiments with a natural integer valued outcome (e.g. rolling a die),
from experiments with outcomes to which integer values are assigned.
To write the cdf in terms of the pmf as a function of for any we need the function , which denotes the largest integer smaller than or equal to , e.g. , , .
(2.1) |
If is a probability mass function then
for all ,
.
Why are the following not valid probability mass functions? ( unless otherwise specified)
, ;
, ;
, .
Solution.
;
;
.
For any event defined as a set of possible values of the random variable , then
E.g. if then .