Lesson 3: Cumulative distribution functions and the median
Find the cdf and median of
SkillCumulative distribution functions
Worked example
has pdf for , and elsewhere.
(a) Find the cumulative distribution function .
(b) Use to find .
(c) Find the exact median of .
Step 1: Integrate from the left end of the support
For :
Below 0 there is no area, so the running total starts at 0 when .
Step 2: Write F piecewise
Check: and .
Step 3: Subtract cdf values for (b)
Step 4: Solve F(m) = 0.5 for (c)
Step 5: Keep the solution in the support
is outside , so the median is .
Answer
(a) for , for , for (b) (c)
Try a similar one
A fresh question of the same kind, checked as you answer, with hints and a full solution.
Method
from the left end of the support.
Write all three pieces and check and at the ends.
Probabilities: . Median: solve inside the support.
Watch out for
Giving the median as 2, the middle of the interval: that only works for a symmetric density.
Keeping the negative square root.