I am having trouble figuring out the expected value in situations were the examples are going to infinity.
Example:
I have a fair dice with 8 sides. I keep a counter (k) of the rounds I play. Each round I increase the counter by 1 and I roll the die. I keep doing this until I roll a 1 or an 8.
So I'll define a random variable X to be the amount of rounds played. I know that the odds of rolling a 1 or a 8 on a 8 sided die is 14 otherwise it is 34. The way I am trying to solve the expected value is by using a geometric series. This is where I am getting stuck I think it should look like this:
E(X)=X1P1+X2P2+X3P3+...+XnPn
E(X)=1∗14+2∗14+3∗14+...+n∗14
I am unsure how to turn this into a sum.
No comments:
Post a Comment