How much money is needed to play this simple number game?

  • Context: Undergrad 
  • Thread starter Thread starter member 428835
  • Start date Start date
  • Tags Tags
    Game Money
Click For Summary

Discussion Overview

The discussion revolves around a number guessing game where one player selects a number from 1 to 100, and another player guesses that number to win the corresponding dollar amount. Participants explore the expected payout, strategies for selecting numbers, and the implications of these strategies on the cost to play the game.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • Some participants propose that the expected payout can be calculated using the formula for expected value, leading to a suggestion that the expected payout is 0.2.
  • Others question the completeness of the problem statement, noting missing information such as the cost to play and the criteria for number selection.
  • One participant argues that the correct solution should make players indifferent to their number choices, suggesting a relationship between the probabilities of selecting different numbers.
  • Some participants discuss the implications of player A's number selection strategy on player B's expected value, proposing that the probability of selecting a number should be inversely proportional to the number itself.
  • There are conflicting views on whether the expected return should be calculated based on the sum of the numbers or through a different approach involving probabilities.
  • Several participants express confusion about the relationship between the constant α and the expected value calculations, indicating a need for clarification on how to derive α to ensure the probabilities sum to one.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the correct approach to calculating the expected payout or the implications of the number selection strategy. Multiple competing views and interpretations of the problem remain present throughout the discussion.

Contextual Notes

Limitations include the lack of clarity regarding the cost to play and the specific criteria for number selection, which affects the calculations and reasoning presented by participants.

member 428835
I pick a number ##n## from 1 to 100 (integers only). If you guess correctly you win ##n## dollars, else you get zero. How much would you pay to play?

Evidently the solution is to pick ##k## with probability ##1/k##, so expected payout is ##(\sum_{i=1}^{100} 1/j )^{-1} = 0.2##. But where's the ##k## info coming from? I really don't understand the solution.
 
Physics news on Phys.org
Where did you get that solution?
 
phinds said:
Where did you get that solution?
From the book that posed the question. It's an interview book for stats and quant stuff. Lot's of random problems
 
Missing information: cost to play, what criterion you use to pick a number.
 
The correct solution should make the person picking the number indifferent between picking any number. If, for example, the other player would make the most money by picking 7, then you could select 7 slightly less often, and they would still make the most money by picking it, but they would make less money.

So if ##p(n)## is the probability you pick ##n##, you need to have things like ##7p(7)=15p(15)## be true for the other player to think that 7 and 15 are equally good solutions. In particular, ##np(n)=p(1)##, so ##p(n)= \alpha/n## for some constant ##\alpha##. The constant is definitely not 1, as if it was, the probabilities would add up to more than 1.
 
  • Like
Likes   Reactions: member 428835
Isn't the expected return the sum of n-1/n)
mathman said:
Missing information: cost to play, what criterion you use to pick a number.
The question is what cost are you willing to incur.
 
If I understood correctly, you win any amount with probability 1/100. So your expected gain is (1+2+...+100)(1/100)=[100(100+1)]×(1/2)[1/100]=50.5.

So any value 50.5 or lower would work.
 
WWGD said:
If I understood correctly, you win any amount with probability 1/100. So your expected gain is (1+2+...+100)(1/100)=[100(100+1)]×(1/2)[1/100]=50.5.

So any value 50.5 or lower would work.
This is true if you get the amount you guess, so say a 100-sided di where you keep the roll. But that is not the game being played here, where you must guess what the other person chose.

Office_Shredder said:
The correct solution should make the person picking the number indifferent between picking any number. If, for example, the other player would make the most money by picking 7, then you could select 7 slightly less often, and they would still make the most money by picking it, but they would make less money.
Okay this makes sense. Let me clarify: person A selects a number 1-100, and person B is offered to play the game where they guess which number. If they guess correct they win that number. In order to calculate person B's expected value, we first must determine how player A selects their number, which brings us to your post.
Office_Shredder said:
So if ##p(n)## is the probability you pick ##n##, you need to have things like ##7p(7)=15p(15)## be true for the other player to think that 7 and 15 are equally good solutions. In particular, ##np(n)=p(1)##, so ##p(n)= \alpha/n## for some constant ##\alpha##. The constant is definitely not 1, as if it was, the probabilities would add up to more than 1.
So are we saying ##p(n) = \alpha/n## is the probability player A selects number ##n##. Then player B's expected value is ##\sum_{n=1}^{100}np(n)^2## where ##np(n)## is the expected value of player A's selection, and we have probability ##p(n)## selecting it. But this implies EV = ##\alpha^2\sum_{n=1}^{100}1/n \neq (\sum_{n=1}^{100}1/n)^{-1}## where ##\alpha = 1/k## from post 1. What am I missing?
 
Last edited by a moderator:
To me the problem statement looks incomplete.
joshmccraney said:
I pick a number ##n## from 1 to 100 (integers only). If you guess correctly you win ##n## dollars, else you get zero. How much would you pay to play?

Evidently the solution is to pick ##k## with probability ##1/k##, so expected payout is ##(\sum_{i=1}^{100} 1/j )^{-1} = 0.2##. But where's the ##k## info coming from? I really don't understand the solution.
Please pose the complete question as stated where you found it..
 
  • #10
sysprog said:
To me the problem statement looks incomplete.

Please pose the complete question as stated where you found it..
IMG_4697.jpg
LOL I literally did. Sorry you don't like it. I don't either, but think Office_Shredder gets it.
 
  • #11
joshmccraney said:
This is true if you get the amount you guess, so say a 100-sided di where you keep the roll. But that is not the game being played here, where you must guess what the other person chose.Okay this makes sense. Let me clarify: person A selects a number 1-100, and person B is offered to play the game where they guess which number. If they guess correct they win that number. In order to calculate person B's expected value, we first must determine how player A selects their number, which brings us to your post.

So are we saying ##p(n) = \alpha/n## is the probability player A selects number ##n##. Then player B's expected value is ##\sum_{n=1}^{100}np(n)^2## where ##np(n)## is the expected value of player A's selection, and we have probability ##p(n)## selecting it. But this implies EV = ##\alpha^2\sum_{n=1}^{100}1/n \neq (\sum_{n=1}^{100}1/n)^{-1}## where ##\alpha = 1/k## from post 1. What am I missing?
My bad, I read it carelessly.
 
  • #12
The idea seems to be that the game is set up to minimize payout. So the probabilities are 1/k times some constant so they sum to one. It makes no difference which k the contestant chooses as far as expectation goes. The constant is equal to the expectation, so that's the max a player should pay.
 
  • #13
joshmccraney said:
So are we saying ##p(n) = \alpha/n## is the probability player A selects number ##n##. Then player B's expected value is ##\sum_{n=1}^{100}np(n)^2## where ##np(n)## is the expected value of player A's selection, and we have probability ##p(n)## selecting it. But this implies EV = ##\alpha^2\sum_{n=1}^{100}1/n \neq (\sum_{n=1}^{100}1/n)^{-1}## where ##\alpha = 1/k## from post 1. What am I missing?
Note that there is only one value of α that will make the sum of the sum of the pn add up to one. (pn = α / n).
Since the first player chose the pn to make the expected value for the second player equal for all n, the second player can chose any n, in particular n = 1, and the expected value of player 2 is p1 = α.
 
  • #14
joshmccraney said:
So are we saying ##p(n) = \alpha/n## is the probability player A selects number ##n##. Then player B's expected value is ##\sum_{n=1}^{100}np(n)^2## where ##np(n)## is the expected value of player A's selection, and we have probability ##p(n)## selecting it.
This is mostly unnecessary. ##p(n)## is the probability of player A picking ##n##. B can do whatever they want to do. In particular, they don't have to pick a random number. If they pick ##k## (always) then their expectancy is ##kp(k)=k\alpha/k=\alpha##. This is the same number no matter which number they pick, which was the whole point.

So now you need to compute ##\alpha## which makes all the probabilities sum to one.

You can also do what you did. All of your math is correct, though overcomplicating B's choice. It turns out your final expression of ##\alpha^2 \sum \frac{1}{n}## is also correct. The last equation you wrote down has an unknown, how can you conclude it's wrong if you don't know what ##\alpha## is? Solve for ##\alpha## and try again :)
 
  • Like
Likes   Reactions: member 428835
  • #15
Office_Shredder said:
This is mostly unnecessary. ##p(n)## is the probability of player A picking ##n##. B can do whatever they want to do. In particular, they don't have to pick a random number. If they pick ##k## (always) then their expectancy is ##kp(k)=k\alpha/k=\alpha##. This is the same number no matter which number they pick, which was the whole point.

So now you need to compute ##\alpha## which makes all the probabilities sum to one.

You can also do what you did. All of your math is correct, though overcomplicating B's choice. It turns out your final expression of ##\alpha^2 \sum \frac{1}{n}## is also correct. The last equation you wrote down has an unknown, how can you conclude it's wrong if you don't know what ##\alpha## is? Solve for ##\alpha## and try again :)
Got it! So ##\sum p(n) = 1 \implies \sum \alpha/n = 1 \implies \alpha \approx 0.192776##. Plugging this into the EV ##\alpha^2 \sum 1/n = 0.192776## which agrees with the book solution. Wow, thanks for this, I learned a ton here.
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 28 ·
Replies
28
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 9 ·
Replies
9
Views
5K
  • · Replies 29 ·
Replies
29
Views
7K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 29 ·
Replies
29
Views
5K