Suppose a switch is pulled to restart power in a house every week between 0 and 4 times. Here is the cumulative distribution function for the number of times the switch is pulled:
0, if x < 0
0.17, if 0 <= x < 1
F(x) = { 0.53, if 1 <= x < 2
0.84, if 2 <= x < 3
0.97, if 3 <= x < 4
1, if x >= 4
How do I find the expected number of times that the switch needs to be pulled during the week? I know that I can find the expected value of the cumulative distribution function, but how can I use that (or can I even use it?) to find the expected number of times the switch is pulled?
Here is the expected value:
E[X] = (0 * 0.17) + (1 * 0.36) + (2 * 0.31) + (3 * 0.13) + (4 * 0.03) = 1.49.