Expected Value of Random Variables

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
3 replies · 2K views
Quincy
Messages
228
Reaction score
0

Homework Statement


Consider a random variable X having cdf:

1, x ≥ 4,
3/4, 1 ≤ x < 4,
FX(x) = 1/2, 0 ≤ x < 1,
1/4, −1 ≤ x < 0,
0, x < −1.

Give the value of E(X).

Homework Equations





The Attempt at a Solution


I know how to calculate the value of E(X) given the probability mass function (E(X) = x1*p(x1) + x2*p(x2) + ...) but how do I calculate E(X) given the cdf?
 
Last edited:
Physics news on Phys.org
You can find the probability density (what you are referring to as the probability mass function) from the cdf. Think about what the discontinuous jumps in the cdf represent.
 
Hmm.. so would the pmf be:

0.25, x = -1
0.25, x = 0
0.25, x = 1
0.25, x = 4

?
 
Yup!