home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / sci / math / stat / 1862 < prev    next >
Encoding:
Internet Message Format  |  1992-09-13  |  1.4 KB

  1. Path: sparky!uunet!gatech!concert!duke!news.duke.edu!math.duke.edu!jose
  2. From: jose@math.duke.edu (Greg Lawler)
  3. Newsgroups: sci.math.stat
  4. Subject: Re: FULL HOUSE
  5. Summary: interesting probability
  6. Message-ID: <5293@news.duke.edu>
  7. Date: 13 Sep 92 19:21:02 GMT
  8. References: <1992Sep13.143329.24796@wuecl.wustl.edu>
  9. Sender: news@news.duke.edu
  10. Lines: 36
  11. Nntp-Posting-Host: markov.math.duke.edu
  12.  
  13. In article <1992Sep13.143329.24796@wuecl.wustl.edu>, ppc1@cec1.wustl.edu (Peter Pui Tak Chiu) writes:
  14. > hi everyone,
  15. > i am trying to find the probability of getting a hand of full house from a
  16. > shuffled deck of 52 cards.
  17. > theoretically, the probability (i think) is:
  18. >         (13 * 4C2) * (12 * 4C3)
  19. >         -----------------------  =  0.001440576
  20. >                  52C5
  21. > but i wrote a c program to calculate this probability and the results turn
  22. > out to be very different.
  23.  
  24.  
  25.  
  26. You're simulation is incorrect.  In your program your
  27. are dealing from an infinite deck.  (in particular,
  28. if the first card you deal is a king, then the
  29. probability the second card is a king is 1/13
  30. instead of 3/51 as it should be).
  31.  
  32. According to my calculations the probability of
  33. getting a full house from an infinite deck of cards
  34. is .00420....
  35.  
  36. This is the probability that you are simulating,
  37.  
  38. (Infinite decks do not arise a lot, but sometimes at
  39. blackjack tables they deal from a large number of
  40. decks in order to beat card counters.)
  41.  
  42.  
  43. Greg Lawler
  44.