View Full Version : Omaha Question
kingstalker
03-09-2004, 08:08 PM
In Omaha What are the odds in a ten handed game that at least one player has A-A or K-K?
tubbster
03-10-2004, 05:48 PM
I was really bored so I did a Monte Carlo simulation to figure this out.
I get that the probability is about 0.44. The code is pasted below(MATLAB).
function P = OmahaAK(reps, numpeople)
A = [1 -1 zeros(1,11)];
A = [A ;A ;A ;A];
P=0;
NumP=0;
for i=1:reps
r1= ceil(rand*52);
r2=ceil(rand*52);
temp = A(r1);
A(r1)=A(r2);
A(r2)=temp;
NZ = sum(A~=0);
NZ = NZ(1:numpeople);
S = sum(A);
S = S(1:numpeople);
OnlyPair = (abs(S) == 2) & (NZ==2);
MorePair = (NZ>=3);
Pair = OnlyPair | MorePair;
P = P+ (sum(Pair) ~=0);
end
P = P/reps;
vBulletin® v3.8.11, Copyright ©2000-2024, vBulletin Solutions Inc.