BBO Discussion Forums: Deal Master Pro - BBO Discussion Forums

Jump to content

  • 4 Pages +
  • « First
  • 2
  • 3
  • 4
  • You cannot start a new topic
  • You cannot reply to this topic

Deal Master Pro Statistical Random Hands?

#61 User is offline   Cascade 

  • PipPipPipPipPipPipPipPip
  • Group: Yellows
  • Posts: 6,765
  • Joined: 2003-July-22
  • Gender:Male
  • Location:New Zealand
  • Interests:Juggling, Unicycling

Posted 2011-November-03, 00:12

View PostCascade, on 2011-November-01, 20:29, said:

Probabilities of the longest and shortest suits in a four-hand deal:

Longest Suit
4 0.0292944677905751
5 0.402336782879317
6 0.422075366415914
7 0.126442683507377
8 0.0183051683243252
9 0.00147821697795984
10 6.58450191573011E-5
11 1.45628565027458E-6
12 1.27745286982186E-8
13 2.51963123452264E-11

...


These numbers were computed by considering every possible four hand distribution and calculating the probability of those four-hand distributions. The longest and shortest suits were noted and the probabilities summed accordingly.



View PostPrecisionL, on 2011-November-02, 19:35, said:

Your calculations for 9 - 13 card suits agree very well with my reference.

For 0 - 7 card suits I find poor agreement.

(Before electronic calculators I had calculated the HCP frequencies and found exact agreement with the authors.)


I did a 100000000 deal simulation and the numbers agreed pretty well with my calculation.

    4    2930017
    5   40233065
    6   42210696
    7   12641140
    8    1830499
    9     147863
   10       6553
   11        166
   12          1
   13          0


Is it possible your source is calculating something different?

I am simply counting the frequency of the longest suit in the four hands.
Wayne Burrows

I believe that the USA currently hold only the World Championship For People Who Still Bid Like Your Auntie Gladys - dburn
dunno how to play 4 card majors - JLOGIC
True but I know Standard American and what better reason could I have for playing Precision? - Hideous Hog
Bidding is an estimation of probabilities SJ Simon

#62 User is offline   Cascade 

  • PipPipPipPipPipPipPipPip
  • Group: Yellows
  • Posts: 6,765
  • Joined: 2003-July-22
  • Gender:Male
  • Location:New Zealand
  • Interests:Juggling, Unicycling

Posted 2011-November-03, 03:11

View Postmrdct, on 2011-November-02, 18:49, said:

Sorry if it's been covered by the mathematicians already, but if one hand has an 8-card suit that must signicantly increases the chances that one of the other three hands also holds an 8+ card suit. Kind of like the Sith they follow the Rule of Two.

Notwithstanding that, the prevailing view seems to be that a set of 36-boards containing three 8-card suits has a probability of around 3.5% so it's quite reasonable to expect it to come up once every 30 sets or so. The OP has indicated that his sample is 60 sets so if this is the only occurence, it's actually happening less frequently than expected; but of course only 60 sets of boards is surely an inadequate sample size to draw any firm conclusions.

It's been a good 20 years since I last played bridge with hand-dealt cards so I can't really remember if hands were flatter back in the days of shuffling and dealing, but my local club has been using Deal Master Pro for years and I've never heard anyone complaining that the hands seem more distributional than expected.


Yes there is a conditional probability that given one eight card suit the liklihood of a second is higher than the a priori probability of an eight card suit. I haven't checked my numbers but I think given one eight card suit the probability rises to over 3% that another hand has an eight-card suit (from 1.8%). Perhaps this is not as much as you imagined Dave.

Its many years since I first analyzed the computer dealt hands from algorithms that I had written but my memory is that the most significant error was in not dealing enough distributional hands.

Even so the most common criticism I have ever heard of computer hands is that they are "too distributional" (or "wild" or some other synonym).
Wayne Burrows

I believe that the USA currently hold only the World Championship For People Who Still Bid Like Your Auntie Gladys - dburn
dunno how to play 4 card majors - JLOGIC
True but I know Standard American and what better reason could I have for playing Precision? - Hideous Hog
Bidding is an estimation of probabilities SJ Simon

#63 User is offline   PeterAlan 

  • PipPipPipPipPip
  • Group: Full Members
  • Posts: 616
  • Joined: 2010-May-03
  • Gender:Male

Posted 2011-November-06, 06:41

View PostCascade, on 2011-November-01, 20:29, said:

Probabilities of the longest and shortest suits in a four-hand deal:

Longest Suit
4 0.0292944677905751
5 0.402336782879317
6 0.422075366415914
7 0.126442683507377
8 0.0183051683243252
9 0.00147821697795984
10 6.58450191573011E-5
11 1.45628565027458E-6
12 1.27745286982186E-8
13 2.51963123452264E-11

Shortest Suit
0 0.183766327186213
1 0.609953117477308
2 0.205349135658076
3 0.000931419678402451


These numbers were computed by considering every possible four hand distribution and calculating the probability of those four-hand distributions. The longest and shortest suits were noted and the probabilities summed accordingly.

View PostCascade, on 2011-November-02, 18:52, said:

The bolded (my editing) number is slightly different than what I calculated. I have double checked my calculation and think it is correct. Can anyone confirm?


FWIW, I calculated the same basic statistics a while ago and I'll confirm the Longest Suit proportions that Cascade quoted (and in particular that 1.83% rather than 1.87% is the probability that the longest suit in a deal is of exactly 8-card length).

For those that are interested in the full, gory details, of the total of 53,644,737,765,488,792,839,237,440,000 possible deals, there are:

 1,571,494,042,604,960,223,750,000,000 where the longest suit is  4 cards (in any of the 4 hands)
21,583,251,210,971,361,009,130,800,768 where the longest suit is  5 cards
22,642,122,348,654,241,172,787,919,872 where the longest suit is  6 cards
 6,782,984,599,117,957,218,132,857,856 where the longest suit is  7 cards
   981,975,954,511,555,218,232,092,504 where the longest suit is  8 cards
    79,298,562,143,148,725,113,050,600 where the longest suit is  9 cards
     3,532,238,785,856,985,879,197,952 where the longest suit is 10 cards
        78,122,061,820,624,147,552,512 where the longest suit is 11 cards
           685,286,242,093,646,948,664 where the longest suit is 12 cards
             1,351,649,568,417,019,272 where the longest suit is 13 cards

These lead, as he says, to his figure of 3.43% for the probability of 3 (or more) deals in a sample of 36 deals containing at least one suit of 8 (or more) cards (and to a probability of 2.88% of exactly 3 such deals: so there is a non-negligible probability of 0.55% of there being 4 or more such deals out of the 36).

To give this number (3.43%) some perspective, it's rather larger than the probability (2.99%) of picking up a 4-4-4-1 hand in any one deal. I don't suppose most of the club members would believe that could be true: it just shows how our intuitions (preconceptions? prejudices?) can lead us astray.
0

#64 User is offline   stwafl 

  • Pip
  • Group: Members
  • Posts: 1
  • Joined: 2012-January-31

Posted 2012-January-31, 12:32

You know, everyone has complained for years about the distributions found in computer dealt hands. Most people ask the question 'are they right'. However, why not ask the question 'why does everyone think they are wrong'? A paper by the Canadian Journal of Statistics titled 'On the Distribution of Hand Patterns in Bridge: Man-Dealt versus Computer-Dealt' does just that - and explains WHY we all think the computer hands are wrong when they are not. The paper can be found in the JSTOR archives (www.jstor.org). Well worth reading.
0

#65 User is offline   bluecalm 

  • PipPipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 2,555
  • Joined: 2007-January-22

Posted 2012-January-31, 13:07

Quote

What a fine example of circular reasoning: You use a random deal generator to check whether a random deal generator delivers the correct amount of 8 card suits. It is like saying that snow is white (or red) because it has the same color as snow which we know is white (or red).


Lol, you are completely clueless.
Some random number generators are proven to be good.
We don't have that informatino about dmpro so we use proven random number generator to check if dmpro give results with acceptable margin of error.

Quote

And most likely, your random generator in Matlab is not better than the random generator Deal Master Pro uses.


Dealing random bridge hands is trivial task assuming we have good random number generator (which we just use to shuffle number from 1 to 52 and assign first 13 to 1st hand etc.).
Now, dealing random bridge hands fast might not be that trivial task. It's quite likely that dmpro author used some not perfect algorithm for dealing hands in order to deal them fast enough. What other poster tried to show you is that what dmpro generates corresponds to what simple correct algorithm generates.

Quote

WHY we all think the computer hands are wrong when they are not


Imo you have to be quite naive to think computer generated hands are "wrong". Staking your intuition shaped be few thousands hands you might have played during your life against trillions easily generated by proven random numbers generators is sign of either ignorance, arrogance or most likely mix of both.

Now I am not saying you shouldn't question corectness of algorithm or admit your intuition doesn't agree with what computers generate but if you make a jump from that dissonance to opinion about correctness of generated deals you need to reexamine your way of shaping opinions.
0

#66 User is offline   han 

  • Under bidder
  • PipPipPipPipPipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 11,797
  • Joined: 2004-July-25
  • Gender:Male
  • Location:Amsterdam, the Netherlands

Posted 2012-January-31, 15:14

This is an entertaining thread, but could you please all quote the name of the person you are trying to insult? That makes for far easier reading. I have no further complaints, please continue!
Please note: I am interested in boring, bog standard, 2/1.

- hrothgar
2

#67 User is offline   mycroft 

  • Secretary Bird
  • PipPipPipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 7,428
  • Joined: 2003-July-12
  • Gender:Male
  • Location:Calgary, D18; Chapala, D16

Posted 2012-January-31, 15:33

If you have a good random number generator, don't use any "shuffle" algorithm. Generate 96 bits of random information and look it up in the Big Book, say the Andrews version, or the Pavlicek version. (Needless to say, the Big Book doesn't actually exist, it's an enumeration of hands function, but it's still better to use the 1:1 mapping than any "shuffle" function that isn't the 1:1 mapping).
When I go to sea, don't fear for me, Fear For The Storm -- Birdie and the Swansong (tSCoSI)
0

  • 4 Pages +
  • « First
  • 2
  • 3
  • 4
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users