Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Probability with poker hand
#1
I got this assignment today in data management that's due next week. Basically we have to figure out the probability of getting each type of hand with a poker hand of 5 cards.

I already finish them in class, but I just want to make sure they are all right.

So if any of the answers here are wrong, please tell me, but don't tell me the answer cause I'll figure it out myself.

Royal Flush: 4/52C5 => 0.00015390771%
Other Straight Flush: 9*4/52C5 => 0.00138516945%
Four of a Kind: 13*48/52C5 => 0.024009603%
Full House: (13*4C3)*(12*4C2)/52C5 => => 0.144057623%
Flush: (13C5*4-40)/52C5 => 0.196540154%
Straight: (10*4*4*4*4*4-40)/52C5 => 0.392464678%
Three of a kind: ((13*4C3)*(48*44)/2!)/52C5 => 2.112845138%
Two Pairs: ((13*4C2*12*4C2)/2!*44)/52C5 => 4.753901561%
One pair: ((13*4C2)*(48*44*40)/3!)/52C5=>42.25690276%
No pair 100% minus everything above. =>~50% (too lazy to calculate now)
Reply
#2
Is this in a game of poker, or is it by just pulling 5 random cards out of a full stock?
Reply
#3
Devil's Sunrise Wrote:Is this in a game of poker, or is it by just pulling 5 random cards out of a full stock?

randomly pulling 5 cards out.
Reply
#4
Did you include A2345 as a straight? Because I don't understand why you subtracted 40. No time to verify your answers, sorry.
Reply
#5
Dusk Wrote:Did you include A2345 as a straight? Because I don't understand why you subtracted 40. No time to verify your answers, sorry.

Yea, A2345 is a straight

the reason i subtract 40 from straight and flush, because it does not count straight flush and royal flush. there are 36/52C5 straight flush and 4/52C5 royal flush.
So I subtracted 40 in total.
Reply
#6
Heheh. I once did all of these in the 5th grade or so just for the hell of it (yes, I really had no life o-o). I didn't know combinatorics, so I ended up having to add/subtract/multiply a whole bunch of fractions and pomegranate. I think I got the right answer for most of them eventually.
Reply
#7
Should include Five of a Kind as a hand, since it's poker in general, and some games can play a card as a wild. I'm not sure if that'd throw off your other results though.
Reply
#8
Is this assuming 1 deck? Because that actually can make a difference when there are multiple players (but then everything becomes way too theoretical, so...yea...)

Nice job having the patience to do statistics tho - I hated it, boring and complex...

I prefer logic puzzles over math-based puzzles.
Reply
#9
MasPan Wrote:Is this assuming 1 deck? Because that actually can make a difference when there are multiple players (but then everything becomes way too theoretical, so...yea...)

Nice job having the patience to do statistics tho - I hated it, boring and complex...

I prefer logic puzzles over math-based puzzles.

This is assuming the following:
  • One deck with 52 cards.
  • That the cards are given to the person without removing other cards.
  • That all the cards are in the deck while starting giving out cards.

So yeah, this list of probability would obviously be wrong during a real game of poker.

But, it's not that hard to "calculate" those values, lol. I found this 20 seconds after I saw this thread the first time.
Reply
#10
Devil's Sunrise Wrote:This is assuming the following:
  • One deck with 52 cards.
  • That the cards are given to the person without removing other cards.
  • That all the cards are in the deck while starting giving out cards.

So yeah, this list of probability would obviously be wrong during a real game of poker.

But, it's not that hard to "calculate" those values, lol. I found this 20 seconds after I saw this thread the first time.

holy sh*t I could have just copied from wikipedia instead of spending so much time doing this. but then I got 100% on this assignment though haha.
Reply
#11
Horusmaster Wrote:holy sh*t I could have just copied from wikipedia instead of spending so much time doing this.

Why? It won't help anything by copying.
Reply
#12
Devil's Sunrise Wrote:Why? It won't help anything by copying.

I'm lazy haha. I don't like doing math hwk cause it's too easy. I'd rather do questions from projecteuler.
Reply


Forum Jump:


Users browsing this thread: