Hi guys
in what manner do you combine the combination
https://en.wikipedia.org/wiki/Combination#Example_of_counting_combinations (that has its mathematical weight) with the empiric simulation and probabilities on this limited set of hands?
as you can see at
Example of counting combinations paragraph of the above wikipage the question of probabilities of a score in 13 cards in single hand is the same for each score because each card is a single indipendent event with no duplication (you cannot have the same card twice in the same hand of the game of bridge)....
52!/ 13!*39! = 52*51*50*.....41*40* 39!/13! * 39! = 52*51*50*.....41*40 / 13!
and here the code starts to configure a probability calculator of statistical combination of indipendent events (13 cards of an hand) of a set of events (52 cards to 4 players)
_TITLE "calcolo di eventi indipendenti autoesclusivi" PRINT "We must know how much is the chance of an indipendent event in combining with other indipendent events of the same nature" INPUT "Please enter the total number of cases (52 cards?) ", NumTotalPossible%
INPUT "Please enter the total number of cases to be to get goal (how cards need to have event?)", NumCasesUseful%
chance = 1
chance2 = 1
chance = chance * (NumTotalPossible% - i%)
chance2 = chance2 * (i% + 1)
PRINT i%
, chance
, chance2
PRINT "press a key to continue" PRINT " For total events "; NumTotalPossible%;
" and Useful events "; NumCasesUseful%
PRINT " you have number of events:", chance
PRINT "chance to get this combination:", chance
/ chance2
chance = chance / chance2
IF chance
< 0 THEN chance
= chance
* 10 PRINT "this means that you must put ";
STR$(i%
);
"zero after 0. to write this number"
In the statistical world the events are infinite and each single event is equal in amount of presence as we talk about indipendent events.
In what manner can your probabilities, got on a large (at our eyes) but little champion of events, be useful in the choice of strategy of the game?
Thanks for feedback