Finding expected value of a Binomial

In summary, the expected prize money you receive in this scenario is dependent on the number of people flipping heads and the probability of flipping heads, but can be calculated using the formula W = p*K*sum_{k=0..n} b(k)/(k+1), where b(k) is the binomial probability of k heads in n tosses. This takes into account the possibility of nobody winning and the likelihood of you being among the winners.
  • #1
juliannaq
5
0

Homework Statement


I'm trying to solve the following question: You and n other people (so n+1 people) each toss a probability-p coin, with 0<= P \ <=1. Then each person who got a head will split some arbitrary amount of prize money, K, equally. If nobody gets a head, then nobody gets the prize. Whats the expected prize you receive?

So variables:
N+1 - number of people
P - probability coin lands on heads
K - Prize money

Homework Equations


Relevant equations may be the binomial distribution formula? E(x) (expected value).

The Attempt at a Solution



I think I want to first find the expected number of people who will toss heads. Dividing K by E(#heads) and multiplying by P(the chance of you getting heads, so the chance of you being among the winners). In order to start I came up with the following summation, by looking at the probability of getting various 'K's (i.e. k/1, k/2):

[itex]\sum{\frac{k}{x}(1-p)^{(n+1)-x}p^x}[/itex], with x from 1 to n+1 where n+1 is the number of people.

However, I have no idea how to solve this sum, or even if I'm setting it up correctly (I think I may be missing something?); any tips would be greatly appreciated!
 
Last edited:
Physics news on Phys.org
  • #2
You do not need it sum if you realize
k=(n+1)Expectation
since the expectation of each player is equal

If sum you must, it should be

[itex]E=\sum{\frac{k}{x}\frac{x}{n+1}\binom {n+1} {x}(1-p)^{(n+1)-x}p^x}[/itex]
Simplify and use binomial theorem

Your probability assumed falsely that you are always a winner if anyone is. In fact if there are x (0<=x<n+1) winners you are only among them with probability x/(n+1)
Also you falsely assume all winners are in a certain order, by including the binomial coefficient one can account for the winners being in any order.
 
  • #3
Thank you! I see the errors I made, and the new sum makes sense to me (especially I can't believe I forgot the [itex]\binom[n+1][x][/itex] ... jeez). I do not, however, have any desire whatsoever to go about simplifying that sum, but I'm not sure if I understand exactly what expectation means here? The expectation of winning?
It's probably obvious and I'm just being stupid, apologies in advance :x
 
  • #4
Expectation is the average outcome of many trails, how much you expect to win in the average trial.
 
  • #5
Alright, that makes sense, since each person will (on average) make the same amount of money.
In fact, my initial solution to the problem was to notice that E(x) with a binomial distribution is np, giving my E(x) = (n+1)p. so K/((n+1)p) should give how much the average payout is. Multiply by p for the chance of you winning, and you end up with K/(n+1).
From your post, it appears this is the result I would get as well, since k = (n+1)expectation
so (k/(n+1))=expectation.
When I think about this, however, I don't think its correct? I believe the payout needs to depend on p. If two people are playing, and the chance of getting heads is .01, neither of them should expect to make half of the prize money each time they play.
Perhaps my question was unclear at the beginning and I failed to mention this?
I'm not entirely sure how to account for the fact that its possible for nobody to win?

(Essentially, as long as p>=.5, this formula will give the proper answer; however when p<.5, it will give expected earnings higher than they should be, since it does not account for the fact that its possible for nobody to win)
 
Last edited:
  • #6
juliannaq said:
Alright, that makes sense, since each person will (on average) make the same amount of money.
In fact, my initial solution to the problem was to notice that E(x) with a binomial distribution is np, giving my E(x) = (n+1)p. so K/((n+1)p) should give how much the average payout is. Multiply by p for the chance of you winning, and you end up with K/(n+1).
From your post, it appears this is the result I would get as well, since k = (n+1)expectation
so (k/(n+1))=expectation.
When I think about this, however, I don't think its correct? I believe the payout needs to depend on p. If two people are playing, and the chance of getting heads is .01, neither of them should expect to make half of the prize money each time they play.
Perhaps my question was unclear at the beginning and I failed to mention this?
I'm not entirely sure how to account for the fact that its possible for nobody to win?

(Essentially, as long as p>=.5, this formula will give the proper answer; however when p<.5, it will give expected earnings higher than they should be, since it does not account for the fact that its possible for nobody to win)

The formulas above are incorrect for computing YOUR expected winnings. Your expected winnings are W = E(your winning|you get heads)*P{you get heads}. Given that you get heads let X = number of OTHER heads ~ Bin(n,p). If k others get heads your actual winnings are K/(k+1), so W = p*K*sum_{k=0..n} b(k)/(k+1), where
b(k) = C(n,k)*p^k*(1-p)^(n-k) is the binomial probability of k heads in n tosses. Basically, this is W = p*K*E[1/(X+1)], where X~Bin(n,p). [The sum is do-able and the answer is not too bad, but I cannot say more now.]

RGV
 
  • #7
So if I'm not mistaking, E(binom(n,p)) = np, since each trial is independent. So the amount of money I expect should be (K*p)/(np+1), where np+1 is the expected number of people who flip heads given that I flip heads, and K*p is the amount I would expect to win playing by myself?
 
  • #8
juliannaq said:
So if I'm not mistaking, E(binom(n,p)) = np, since each trial is independent. So the amount of money I expect should be (K*p)/(np+1), where np+1 is the expected number of people who flip heads given that I flip heads, and K*p is the amount I would expect to win playing by myself?

No. When you write the expression above that you are falling into the trap of the so-called "fallacy of averages". If you have a nonlinear function f, you do *not* generally have Ef(X) equal to f(EX). So, for f(x) = 1/(x+1) you do not have E[1/(X+1)] = 1/(EX + 1) = 1/(np + 1).

RGV
 
  • #9
Again, sorry for all the questions; not sure why I'm having so much trouble wrapping my head around this!
Am I correct in thinking that E[1/(x+1)] is equal to:

[itex]\sum[/itex](1/x+1)*(n choose x) p^x (1-p)^(n-x)
 
  • #10
Yes (if by (1/x + 1) you actually mean (1/(x+1)).

RGV
 

What is the formula for finding the expected value of a Binomial?

The formula for finding the expected value of a Binomial is E(X) = np, where n is the number of trials and p is the probability of success in each trial.

How is the expected value of a Binomial different from the actual outcome?

The expected value of a Binomial is the average outcome we would expect if we were to repeat the experiment many times. It is a theoretical value and may not necessarily match the actual outcome of a single trial.

Can the expected value of a Binomial be negative?

Yes, it is possible for the expected value of a Binomial to be negative. This can happen if the probability of success (p) is less than 0.5 and the number of trials (n) is small.

What does the expected value of a Binomial tell us about the distribution of outcomes?

The expected value of a Binomial tells us the center or average of the distribution of outcomes. It gives us an idea of what to expect in terms of the number of successes in a certain number of trials.

How can the expected value of a Binomial be applied in real-world scenarios?

The expected value of a Binomial can be used in decision-making, risk analysis, and forecasting in various fields such as finance, marketing, and medicine. It can also help us understand the probability of certain outcomes and make informed decisions based on that information.

Similar threads

  • Calculus and Beyond Homework Help
Replies
4
Views
1K
  • Calculus and Beyond Homework Help
Replies
15
Views
1K
  • Calculus and Beyond Homework Help
Replies
5
Views
1K
  • Calculus and Beyond Homework Help
Replies
14
Views
2K
  • Calculus and Beyond Homework Help
Replies
10
Views
2K
  • Calculus and Beyond Homework Help
Replies
15
Views
2K
  • Calculus and Beyond Homework Help
Replies
6
Views
483
  • Calculus and Beyond Homework Help
Replies
2
Views
1K
Replies
10
Views
164
  • Calculus and Beyond Homework Help
Replies
8
Views
681
Back
Top