Bovada is the only Internet casino endorsed by the Wizard.
Here are my reasons why and my promise of support.

Streak Calculator and calculating streaks (runs)

Page 2 of 2<12

Thread Rating:

January 18th, 2012 at 1:16:52 PM permalink
edward
Member since: Jan 18, 2012
Threads: 0
Posts: 73
Quote: pacomartin
Sorry,
I don't know what he means by that calculation. I put in p=.50 and N=4 and the calculations are 1/6 1/6 1/4 and 1/4. It's not clear what he is calculating.


Yes, thats exactly what i mean. Well, maybe nope27 turns by and gives an answer.

Thanks anyway.
February 3rd, 2012 at 10:51:52 PM permalink
pacomartin
Member since: Jan 14, 2010
Threads: 545
Posts: 6198
Quote: edward

I know this post is a little old, but i've just discovered it and I have some questions if its possible :-)

Regarding the linked website to this post, there is an live excel worksheet which calculates the various probabilities of different sequences of patterns by setting a win and lose probability. However, if i set win probability to 50%, the probabilities for the sequences SS, FF, SF and FS dont add up to 1. Its the same for the other patterns aswell, no sequence of pattern adds up to 1.

How is this possible, could you explain me this? For instance the 2 length patterns have according to the spreadsheet probabilities of .25 (for SF and FS) and .16666 respectively for SS and FF.

Kind regards and i hope for an answer.
Edward


Here is an older post.

The way the spreadsheet is labelled is confusing. It is not calculating the probability out of N trials.The spreadsheet is giving you the expected number of trials for these sequences to occur. That's why the probabilities don't add up to 1. You expect one SS to show up in 6 trials, and you expect on SF to show up in 4 trials.
Wine loved I deeply, dice dearly -Edgar, betrayed son of Gloucester in King Lear
February 4th, 2012 at 10:01:20 AM permalink
edward
Member since: Jan 18, 2012
Threads: 0
Posts: 73
Thanx for the specification. After Mustangsally has posted the formulas, i've begun to suspect thats what it is.

Although, could You tell me how to calculate the probability for a streak of SF to happen in N trials?? (let's say probab. success 95%, loss=5%)

Later added: nevermind, i was a little distracted - sorry i figured it out so ignore the question. Thanx.
April 5th, 2012 at 1:17:36 PM permalink
mustangsally
Member since: Mar 29, 2011
Threads: 5
Posts: 169
To tie this thread to pacomartin's thread about calculating streaks and online calculators see
Ask the Wizard correction

Quote: edward
Although, could You tell me how to calculate the probability for a streak of SF to happen in N trials?? (let's say probab. success 95%, loss=5%)
For those that want to learn more to calculate sequences like runs and patterns, here is a link to a pdf and Excel worksheet.
sub-sequence-probs.pdf - page 699
pattern-prob.xls

Since a run (SSSSS) is a special type of sequence and has been studied many times, a pattern (SSFSS) has been studied less often and more particular to just a few fields of study. (DNA research leads the pack)

The probability of SF in N trials can be solved using a recursive approach as shown in the pdf I liked to.
Examples in the Excel worksheet for sequences of length 2 and 3.
It looks for the first occurrence in a sequence so therefore is looking at the relative probability.
From there the cumulative can be easily found.

Here is a small example of the SF pattern (10) with p = 0.5 and p = .95
pattern 10,01
trialp=0.5p=0.95
20.250.0475
30.50.095
40.68750.14024375
50.81250.18323125
60.8906250.224069672
70.93750.262866188
80.964843750.299722878
90.980468750.334736734
100.9892578130.367999897
110.9941406250.399599903
120.9968261720.429619907
130.9982910160.458138912
140.9990844730.485231966
150.9995117190.510970368
160.9997406010.53542185
170.9998626710.558650757
180.9999275210.580718219
190.9999618530.601682308
I Heart Vi Hart
Page 2 of 2<12

 

Bovada is the only Internet casino endorsed by the Wizard.
Here are my reasons why and my promise of support.