Two Plus Two Older Archives

Two Plus Two Older Archives (http://archives2.twoplustwo.com/index.php)
-   Probability (http://archives2.twoplustwo.com/forumdisplay.php?f=23)
-   -   What is wrong with Card Player's Odds Calculator? (http://archives2.twoplustwo.com/showthread.php?t=163430)

Cohiba Al 12-17-2004 02:43 PM

What is wrong with Card Player\'s Odds Calculator?
 
I've noticed that entering in two player's starting hands and calculating the preflop odds will often give slightly different answers each time you calculate them (the same two hands). Often the difference is off by .4% which might not seem like much. I was wondering why the calculator would even vary at all? How does a binary computer making a mathematical computation come up with different answers each time? Is their free calculator worth using?

gaming_mouse 12-17-2004 02:50 PM

Re: What is wrong with Card Player\'s Odds Calculator?
 
I'd guess that it is using a Monte Carlo simulation.

Not sure, cause I user pokerstove instead, which also has the option of a complete enumeration, and with this method the results never vary.

gm

fnord_too 12-17-2004 02:54 PM

Re: What is wrong with Card Player\'s Odds Calculator?
 
They do run a monte carlo, which means that the answer is only a resonable approximation, but not the absolute answer. You can get an exact answer (I have some code that will calculate it) but the estimate is good enough for most purposes.

gaming_mouse 12-17-2004 03:02 PM

Re: What is wrong with Card Player\'s Odds Calculator?
 
[ QUOTE ]
(I have some code that will calculate it)

[/ QUOTE ]

No need for custom code in this case. Just download pokerstove (free):

www.pokerstove.com

Gamer 12-18-2004 05:02 AM

Re: What is wrong with Card Player\'s Odds Calculator?
 
What exactly is a mote carlo simulation? Do they just play lots and lots of hands and registering how many time you would win, or is it somewhat more complicated?

gaming_mouse 12-18-2004 05:28 AM

Re: What is wrong with Card Player\'s Odds Calculator?
 
[ QUOTE ]
What exactly is a mote carlo simulation? Do they just play lots and lots of hands and registering how many time you would win,

[/ QUOTE ]

yes

MortalWombatDotCom 12-18-2004 03:49 PM

Re: What is wrong with Card Player\'s Odds Calculator?
 
[ QUOTE ]
They do run a monte carlo, which means that the answer is only a resonable approximation, but not the absolute answer. You can get an exact answer (I have some code that will calculate it) but the estimate is good enough for most purposes.

[/ QUOTE ]

i am shocked and appalled. before i knew there was free software out there to do this, i wrote my own. i planned on writing it the straightforward way (enumerating all the hands with no optimization of any kind), then seeing how fast it ran and trying to optimize it in some terribly clever way. well, i wrote it and it took about 3 seconds on my laptop to compute the answer (slightly more for each additional hand contesting the pot). so i didn't bother to make it faster.

anyway, my point is, why on earth would somebody use monte carlo simulation when the exact solution is so cheap to calculate?

BTW, i have never used any of this free software, so i don't know exactly what it lets you do... is any of it open source?

droidboy 12-18-2004 08:27 PM

Re: What is wrong with Card Player\'s Odds Calculator?
 
[ QUOTE ]

BTW, i have never used any of this free software, so i don't know exactly what it lets you do... is any of it open source?

[/ QUOTE ]

Check out:

http://pokersource.sourceforge.net/

- Andrew

BlueBear 12-19-2004 10:19 PM

Re: What is wrong with Card Player\'s Odds Calculator?
 
[ QUOTE ]
anyway, my point is, why on earth would somebody use monte carlo simulation when the exact solution is so cheap to calculate?

[/ QUOTE ]

Very simple, if you need to expensive the performance of your hand against a few of your opponents unspecified random hand (say AA against 5 random hands without a flop specified), the gain in computational time is huge when compared to a complete enumeration.

MortalWombatDotCom 12-20-2004 01:47 PM

Re: What is wrong with Card Player\'s Odds Calculator?
 
[ QUOTE ]
Very simple, if you need to expensive the performance of your hand against a few of your opponents unspecified random hand (say AA against 5 random hands without a flop specified), the gain in computational time is huge when compared to a complete enumeration.

[/ QUOTE ]

i didn't mean to suggest that there were no jobs for which monte carlo simulation is the appropriate tool. i did mean to suggest that the stated problem (matching a small number of specified hands against each other) is not one of those jobs. *shrug*


All times are GMT -4. The time now is 03:24 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.