Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Next Advisor Conference
Message
 
À
17/11/2003 08:13:50
Information générale
Forum:
Visual FoxPro
Catégorie:
Conférences & événements
Divers
Thread ID:
00846318
Message ID:
00850611
Vues:
19
Hi Tamar,

This is one of the difficulties in finding a way to take advantage of streaks in large number. Streaks seem to occur randomly, yet overall tend to balance out, so the runs of heads will equal the runs of tails to average out. When I'm in a streak, there is no way to know whether I'm in a streak of four, five, six, seven, ten, twenty, etc, except to flip the coin and see what happens, but before I flip the coin, I must first place my bet.

If there were some way to predict streak probability, and the house would agree to remove all limits, I could make a fortune by exponentiating my bet by letting all winning ride.

There is a formula to calculate how many occurrences are necessary to achieve a given run. In the example the author show how to calculate the number of coin tosses necessary to achieve a run of seven heads or tails. Look at the chapter titled "Winning and Losing Runs".

http://www.peterwebb.co.uk/probability.htm#consecutives

You would probably enjoy his article, because he uses an excel spreadsheet to hold all the formulas; although, I'm sure VFP could do an equally good job of organizing the fornulas within a program.
.

Regards,

LelandJ
Leland F. Jackson, CPA
Software - Master (TM)
smvfp@mail.smvfp.com
Software Master TM
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform