Lesson 4: Expected value of a continuous random variable
Mean and median of
SkillsExpected valueCumulative distribution functions
Worked example
has pdf for , and elsewhere.
(a) Find .
(b) The median of is . Explain why the mean is less than the median.
Step 1: Multiply by x and integrate over the support
Step 2: Evaluate
Step 3: Check it is reasonable
The density increases towards 2, so most of the area is on the right, and is right of the midpoint 1. Good.
Step 4: Compare with the median
The density has a long, thin tail to the left (near 0). The mean is the balance point, and that tail pulls it left, to 1.5. The median only splits the area in half, so it is less affected and sits at 1.59.
Answer
(a) (b) The distribution is negatively skewed: its long left tail pulls the mean below the median.
Try a similar one
A fresh question of the same kind, checked as you answer, with hints and a full solution.
Method
over the support.
Check the mean lies inside the support, towards the heavier side.
Watch out for
Integrating instead of , which always gives 1.