Testwiki:Reference desk/Archives/Mathematics/2021 September 7

From testwiki
Revision as of 02:15, 15 September 2021 by imported>Scsbot (edited by robot: archiving September 7)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Template:Error:not substituted

{| width = "100%"

|- ! colspan="3" align="center" | Mathematics desk |- ! width="20%" align="left" | < September 6 ! width="25%" align="center"|<< Aug | September | Oct >> ! width="20%" align="right" |Current desk > |}

Welcome to the Wikipedia Mathematics Reference Desk Archives
The page you are currently viewing is a transcluded archive page. While you can leave answers for any questions shown below, please ask new questions on one of the current reference desk pages.


September 7

Betting formula

What is the formula for calculating what the optimal bet is in the simplified scenario where the odds of the event are known and the total prize pools on both sides of the bet are known? e.g. 500 points have been bet on A and 800 points have been bet on notA (which implies a ~38% chance of A happening), so if you think that notA happens 90% of the time, you would expect to profit by betting on notA, so if you bet 200 points on notA you would win 500*200800+200=100 points 90% of the time and lose 200 points 10% of the time, resulting in an expected profit of 100*0.9+200*0.1=70 points. My searches so far have only found the Kelly criterion#Gambling_formula, which appears to be the special case where the total prize pool is infinite. IffyChat -- 20:37, 7 September 2021 (UTC)

Interesting problem. Note: The following is probably not the proper way to do it since it gets very messy and I might have made a mistake somewhere, but it's what I've done.
To simplify the problem, let's say a total of 1 point has been bet already (you can obviously just scale up by e.g. 1300 in your case). Given a bet on option A (in your case 5/13), 1a bet on option B (in your case 8/13), and P as the probability that A is correct (in your case 1/10), the expected value of a bet of k on A is k(P(1a)a+k(1P)). (Here, we have 0<a<1,0<P<1). Taking the derivative with respect to k: Product rule (and chain rule for the second term) gives P(1a)a+k(1P)k(P(1a)(a+k)2). We want to find the zeroes of this, so multiplying by (a+k)2 yields (a+k)P(1a)(a+k)2(1P)kP(1a)=aP(1a)(a+k)2(1P), so we want those two to be equal. a and P are constant, so we need a+k=aP(1a)1Pk=aP(1a)1Pa is a critical point (and in this case, will be a local maximum). Now, note that this value of k is only positive if P(1a)1P>aPaP>aaPP>a (after a bit of manipulation), so that's the only case in which this idea works. (This is common sense -- as you stated, you would expect to profit by betting on the option if your predicted probability is more than what the prize pool implies.)
So, if P>a, you should bet aP(1a)1Pa on option A, and if P<a, we can simply reverse the roles of A and B, i.e. you should bet (1a)(1P)aP(1a) on B. In your case, the second applies, so you end up with (8/13)0.9(5/13)0.1813=6108130.844, or after scaling back up by 1300, 600108001097. (We can check that with a bet of 1097 on B, you would expect to win 0.95001097800+1097+10970.1150.53 points.) Of course, this relies on your predicted probability P is accurate. eviolite (talk) 00:44, 8 September 2021 (UTC)
Edit: added some stuff on the expected results.. also a courtesy ping Template:Re eviolite (talk) 00:48, 8 September 2021 (UTC)