PDF CDF
PDF CDF
Recall that continuous random variables have uncountably many possible values (think
of intervals of real numbers). Just as for discrete random variables, we can talk about
probabilities for continuous random variables using density functions.
Note that, unlike discrete random variables, continuous random variables have zero
point probabilities, i.e., the probability that a continuous random variable equals a
single value is always given by 0. Formally, this follows from properties of integrals:
The definition of the cdf, which applies to both discrete and continuous random variables.
For continuous random variables we can further specify how to calculate the cdf with a
formula as follows. Let X have pdf f, then the cdf F is given by
In other words, the cdf for a continuous random variable is found by integrating the pdf.
Note that the Fundamental Theorem of Calculus implies that the pdf of a
continuous random variable can be found by differentiating the cdf. This relationship
between the pdf and cdf for a continuous random variable is incredibly useful.