16 Cumulative Distribution Functions
Example 16.1 Maggie and Seamus are babies who have just turned one. At their one-year visits to their pediatrician:
- Maggie is 76cm tall and in the 75th percentile of height for girls.
- Seamus is 72cm tall and in the 10th percentile of height for boys.
Explain what these percentiles mean.
- Roughly, the value
is the th percentile of a distribution of a random variable if percent of values of the variable are less than or equal to : . - The cumulative distribution function (cdf) of a random variable fills in the blank for any given
: is the (blank) percentile. That is, for an input , the cdf outputs . - The cumulative distribution function (cdf) (of a random variable
defined on a probability space with probability measure ) is the function, , defined by . A cdf is defined for all real numbers regardless of whether is a possible value of .
Example 16.2 According to data on students who took the SAT in 2018-2019, 1400 was the 94th percentile of SAT scores, while 1000 was the 40th percentile. Let
Example 16.3 Recall Example 15.1, where the series system resistance
Find the cdf of
and sketch a plot of it. (Hint: consider and separately.)
Evaluate and interpret
.
Evaluate and interpret
.
Evaluate and interpret
.
Example 16.4 Recall Example 15.3 where the waiting time, measured continuously in hours, from now until the next earthquake (of any magnitude) occurs in southern CA is a continuous random variable
Find the cdf of
, and sketch a plot of it.
Evaluate and interpret
.
Evaluate and interpret
.
Evaluate and interpret
.
Example 16.5 Database queries to the Cal Poly data warehouse occur randomly throughout the day. During regular business hours, queries arrive at rate 0.8 per second on average, so that the average number of queries that arrive during any
We are interested in the distribution of
Interpret the event
. How can you express this as an equivalent event involving the number of queries?
Compute
.
Compute
as a function of .
Find the cdf of
.
Find the pdf of
.
What is the name of the distribution of
? What is its mean and SD?
Example 16.6 Let
Find the cdf of
and sketch a plot of it.
Let
be the number of tails in 3 flips of a fair coin. Find the cdf of .
- A cdf is defined for all values of
, regardless if is a possible value of the RV. - A cdf is a non-decreasing function: if
then . - A cdf approaches 0 as the input approaches
: . - A cdf approaches 1 as the input approaches
: . - The cdf of a discrete random variable is a step function.
- The steps occur at the possible values of the random variable.
- The height of a particular step corresponds to the probability of that value, given by the pmf.
- The cdf of a continuous random variable is a continuous function.
- The cdf of a continuous random variable is obtained by integrating the pdf, so
- The pdf of a continuous random variable is obtained by differentiating the cdf
- For any random variable
with cdf- Whether the inequalities in the above event are strict (
) or not ( ) matters for discrete random variables, but not for continuous.
- Whether the inequalities in the above event are strict (
- Random variables
and have the same distribution if their cdfs are the same, that is, if for all . - That is, two random variables have the same distribution if all the percentiles are the same.