Thread Rating:

beenitty
beenitty
  • Threads: 8
  • Posts: 26
Joined: Mar 3, 2013
April 22nd, 2013 at 10:50:26 AM permalink
Im trying to make sense of a program that I wrote to simulate different roulette bets.

Lets take a straight up (SU) bet in European Roulette

100$ wager

Expected Value = -2.7$
Variance = ?
Standard Deviation = sqrt(variance)

If I can get this answer, what about for 3 numbers SU, 6 numbers SU?
There's always an edge, are you sharp enough to find it?
Doc
Doc
  • Threads: 46
  • Posts: 7287
Joined: Feb 27, 2010
April 22nd, 2013 at 11:42:53 AM permalink
I'm rusty on this sort of thing, but here's my stab at the first part of your question.

Edit: Yes, I screwed it up. Here are my revised calculations.

EV = {$3500*1 + (-$100)*36}/37 = -$2.7027 as you said. That's 1 roll winning $3500 for each 36 rolls losing $100.
Var = {($3500 - (-$2.7027) )^2 + 36*(-$100 - (-$2.7027) )^2}/37 = 340,803.5062 (units of dollars squared)
Std = sqrt(Var) =$583.7838

For additional numbers bet straight up on the same roll, you should be able to use the same approach as above, except I don't know whether you mean to bet $100 on each of the 3 or 6 numbers or split your $100 over 3 or 6 numbers.
beenitty
beenitty
  • Threads: 8
  • Posts: 26
Joined: Mar 3, 2013
April 22nd, 2013 at 12:19:14 PM permalink
Im betting same amount on each number.

If I do this, can someone explain why variance, stdev will decrease if you bet more numbers?
There's always an edge, are you sharp enough to find it?
MangoJ
MangoJ
  • Threads: 10
  • Posts: 905
Joined: Mar 12, 2011
April 22nd, 2013 at 12:39:43 PM permalink
Quote: beenitty

Expected Value = -2.7$
Variance = ?
Standard Deviation = sqrt(variance)



EV = $100 * (1/37 * 35 - 36/37 * 1) = -$2.70

Variance = $100^2 * (1/37 * 35^2 - 36/37 * 1^2) - EV^2 = $$ 321,351.35 - $$ 7.29 = $$ 321,344.05

Standard deviation = sqrt(Variance) = $566.87


If you bet 3 numbers on 3 different spins, then increase EV by factor 3 ($8.10), and increase standard deviation by factor sqrt(3) to ($981.85). Same with 6.

If you bet 3 numbers on the same spin, then EV is still increased by factor 3, but standard deviation will be a lower (since all bet's wins are mutual exclusive, i.e. anti-correlated):

Variance = $100^2 * (3/37 * 33^2 - 34/37 * 3^2) - EV^2 = $$ 800,204
StdDev = $894.54

Homework is for 6 numbers :)
Doc
Doc
  • Threads: 46
  • Posts: 7287
Joined: Feb 27, 2010
April 22nd, 2013 at 2:21:48 PM permalink
Quote: MangoJ

Variance = $100^2 * (1/37 * 35^2 - 36/37 * 1^2) - EV^2 = $$ 321,351.35 - $$ 7.29 = $$ 321,344.05


Are you sure about this? I thought that:

Var=E{(X-µ)^2} = (1/37)*(W-µ)^2 + (36/37)*(L-µ)^2

Where:
W = win outcome = +$3,500   (1 time out of 37)
L = loss outcome = -$100   (36 times out of 37)
µ = Expected outcome = -$2.7027

Var = (1/37)*{+$3,500 – (-$2.7027)}^2 + (36/37)*{( -$100) – (-$2.7027)}^2
= (1/37)*(12,268,926) + (36/37)*(9,466.76)
= 331,592.60 + 9,210.90 = 340,803.50 (dollars squared)

What is my mistake?
MangoJ
MangoJ
  • Threads: 10
  • Posts: 905
Joined: Mar 12, 2011
April 22nd, 2013 at 3:00:53 PM permalink
Yes you are right, I got a wrong sign in there:

Variance = $100^2 * (1/37 * 35^2 + 36/37 * (-1)^2) - EV^2

One can use both formulas, for the identity E{(X-µ)^2} = E{X^2} - 2 E{X} µ + µ^2 = E{X^2} - µ^2.
7craps
7craps
  • Threads: 18
  • Posts: 1977
Joined: Jan 23, 2010
April 22nd, 2013 at 3:17:29 PM permalink
A slightly different approach.

Roulette simple binomial wagers

For a wager that pays x:1
with a probability of winning p,
the house edge and standard deviation (per unit bet and per 'root decision') are:

ev = $bet * house edge (he)
he = (x+1)*p - 1 
std = (x+1)*Sqrt[p*(1-p)]
p = probability of success

looking at std (standard deviation)
Sqrt[p*(1-p)]
you should know what this is
N*P*Q
variance of 1 bet

but with binomial that treats success as 1 and failure as 0
we want the bankroll movement of +1 and -1 (for even money) thus (x+1) = 1+1 = 2
-1 and +35 for su thus (x+1) = 35+1 = 36
that is the (x+1) term

your su bet
std = (35+1)*Sqrt[(1/37)*(1-(1/37))]

Multiply the SD value by the actual $ wagered.
Done
something like this per 1 unit bet

#s	x to 1	p	q	var	sd
1 35 0.02703 0.97297 34.080 5.83784
2 17 0.05405 0.94595 16.567 4.07024
3 11 0.08108 0.91892 10.729 3.27552
4 8 0.10811 0.89189 7.810 2.79465
5 6 0.13514 0.86486 5.727 2.39307
6 5 0.16216 0.83333 4.865 2.20564
12 2 0.32432 0.67568 1.972 1.40437
18 1 0.48649 0.51351 0.999 0.99963
24 0.5 0.64865 0.35135 0.513 0.71609
5 6.2 0.13514 0.86486 6.059 2.46145

see if our tables match (I rounded mine)
winsome johnny (not Win some johnny)
  • Jump to: