Variance There are x amount of balls in a lovely green bag. Each ball has an number on it. 1 ball is drawn at random, what is the expected value and variance?
Here's what I have so far:
Possible values: 1,2,3,4,5.....x
Probability of each: 1/x
Expected Value:
(1/x + 2/x + 3/x + 4/x + ... + x/x)
Sum of series = (n(t1-tn))/2
= (x(x+1))/2
= (1+x)/2
Variance will be (1/x)((1-(1+x)/2)^2) + (1/x)((2-(1+x)/2)^2) + ... + (1/x)((x -(1+x)/2)^2) but I can't sum the series (if that's what you're even supposed to do. How do I do that?
Can anyone help? I would massively appreciate it (also sorry for the lack of proper [math] thingys and all that, haven't been on in ages and I can't remember how to do it at all).
Thanks |