Random Variables, CDF, PMF, and Expectation
Cumulative Distribution Function (CDF)
The Cumulative Distribution Function (CDF), denoted as , represents the probability that a random variable takes a value less than or equal to a specific real value . Mathematically, this is expressed as: .
Here,
xis a smallxrepresenting a real value, whileX(orY) is a bigXrepresenting the random variable.The definition strictly includes the equal sign, meaning if can take the value
x, that probability is included.
Example 4.1 (Y takes 0 or 1):
If x < 0, then , so . This is because there are no possible values for
Yless than0in this region.If 0 \le x < 1, then (assuming
Y=0has probability1/2). The region covers0but not1or greater.If , then . The region covers both
0and1(and all values greater).
Plotting the CDF:
The CDF is a step function for discrete random variables.
It starts at
0for values less than the smallest possible outcome and increases in steps at each possible outcome.For a discrete random variable, the CDF may not be continuous; it can have