Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
In fact, I’m going there with my family and some friends, including two probabilists (I mean professionals, I am merely an amateur), with this incredible challenge: will I be able to convince probabilists to go to play at the Casino?
Actually, I also want to study them carefully, to understand how we should play optimally. For example, I hope I can make them play the roulette. Roulette is simple. With a French (or European) roulette, it is probably the simplest: if I bet on black, I win if one of 18 black numbers is out, and I lose if one of the 18 red numbers – or zero (which is green) – is out. This gives a winning probability of 18/37 i.e. a 48.64% chance. But in Vegas, I think it’s mostly American Roulette that can be found in casinos, in which there is a zero and a double zero (both favorable to the bank). Here, the probability of winning is 18/38, i.e. 47.36% chance. The two roulettes are
Now, let us discuss a little bit about optimal strategy. For instance, suppose I go to Las Vegas with an initial wealth
Assume that I can bet
Suppose my goal is to double my initial sum, as mentioned in the introduction of this post. Maybe there is an optimum value for
> bet=function(s=1,t=2*s,x=s/4,p=.4736,nsim=100000){ + vp=rep(0,nsim); #vw=s + for(i in 1:nsim){ + w=s; + while((w>0)&(w<t)){ + ux=sample(c(min(x,t-w),-x),size=1,prob=c(p,1-p)) + w=w+ux + } + vp[i]=(w>=t)} + return(mean(vp)) + }
If we plot this probability as a function of
> BET=function(x) bet(x=x) > vx=1/(1:20) > px= Vectorize(BET)(vx) > plot(vx,px,log="x")
Let us see if we can do the maths, and actually compute those probabilities.
For example, if
Assume now that I can bet
- with probability
I will lose both rounds (and the game is over) - with probability
, I will win both rounds, and I double my bet (and the game is also over) - with probability
, I will lose once, and double once. Anyway, I will find myself again with my (initial) wealth . So the game will start again….
To make the story short the probability of doubling my earnings is
which is
Let’s try something more general: I have initial wealth
Thus, we can write
or equivalently
Now, observe that
Let us write
i.e.
so this geometric sum can also be written
Finally, we can write
Here, there is still
So finally,
Nice isn’t it? But to be honest, there is nothing new here. This is actually an old theorem discovered by Christiaan Huygens in 1657, then extended by Jacob Bernoulli in 1680 and finally properly established by Abraham de Moivre in 1711. It is possible to plot this graph, as a function of
> bet2=function(s=1,t=2*s,x=s/4,p=.4736){ + vp=(1-((1-p)/p)^(s/x))/(1-((1-p)/p)^(t/x)) + return(vp) + }
The graph is the same as the one with monte carlo simulation (hopefully). Observe, looking carefully at the function above, that the probability is decreasing with
Now, the interesting part is what is plotted on the graphs above: the smaller
So far, there is nothing new. Everything mentioned in this post can be related to a fundamental result of Lester Dubins and Leonard Savage, in “How to Gamble if You Must : Inequalities for Stochastic Processes“ (published in 1965), see also Sudderth (1972). Of course, I can try another strategy, a little less reasonable, I think, which is sometimes called Martingale of D’Alembert. I believe more in luck than coincidence, so, when I win, I drop my bet (do not tempt fate) but when I lose, I increase my bet (I must win someday). But let’s keep it for another post, someday…
Again, that’s a theory. I guess we should try, and see how it works. I’ll try to upload pictures on the blog during the road trip, so if by the beginning in August nothing has been posted on the blog, please send a rescue team to save me at the Bellagio…
Arthur Charpentier
Arthur Charpentier, professor in Montréal, in Actuarial Science. Former professor-assistant at ENSAE Paristech, associate professor at Ecole Polytechnique and assistant professor in Economics at Université de Rennes 1. Graduated from ENSAE, Master in Mathematical Economics (Paris Dauphine), PhD in Mathematics (KU Leuven), and Fellow of the French Institute of Actuaries.
R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.