Independent solution
How to solve this Cumulative Distribution Functions question
Setup
Setup
Differentiate each smooth portion of the cumulative distribution to obtain the density on the support.
Model
Model
The CDF is continuous at the join and endpoints, so there are no point masses to add. Compute the first moment from the two density pieces.
Compute
Compute
Evaluate the two contributions separately and combine them.
Answer
Answer
The expected value is 25/24.