Expected Value of Random Variables

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
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
Hmm.. so would the pmf be:

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

?