Functions of Discrete Random Variables
Functions of random variables are also random variables.
If then we have:
Cumulative Distribution Function (CDF)
The cumulative distribution function (CDF) of a random variable is the function:
The CDF gives us the probability that the variable takes a value less than or equal to .
A property of CDF’s:
- for all .
Example: Obtaining the CDF from the PMF
Suppose the range of a discrete random variable is and its probability mass function is
For , $F(x)=\sum_
Functions of Continuous Variables
Probability Density Function (PDF)
The probability is given by the area under the curve.