Probability after Loss in a row

jamesmoreno

New Member
Joined
Oct 8, 2021
Messages
7
Hey guys,

I have a spreadsheet with the past frequency of losses in a row before having a winner. What formula can I use to calculate the probability of having a winner after 1,2,3(etc) losses in a row according do this data?

Thanks, appreciate the help!
 

Attachments

  • freq lr.JPG
    freq lr.JPG
    20.2 KB · Views: 28
It will be easy enough to analyse your data to see what the experience has been, e.g. for every sequence that starts LL..., how many LLL... were there? And how many LLW....

If the individual results are independent and with the same probability p of a win (your data may not be!) then the probability of an individual W will be p, regardless of what's happened previously. In simple terms, for the 11th fair-coin flip after 10 successive heads, the expectation is 50% heads, 50% tails.
 
Upvote 0

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
It will be easy enough to analyse your data to see what the experience has been, e.g. for every sequence that starts LL..., how many LLL... were there? And how many LLW....

If the individual results are independent and with the same probability p of a win (your data may not be!) then the probability of an individual W will be p, regardless of what's happened previously. In simple terms, for the 11th fair-coin flip after 10 successive heads, the expectation is 50% heads, 50% tails.
Can you explain me better the first part of your reply? What do you mean with LL, LLL, LLW, and how can I do that?

As I showed on the second image, in that case, the probability of having a winner after a loss is 100%, I don't know what the formula to calculate that or what process to achieve that.

I understand that concept. That's like martingale in roulette for example. Even if RED comes up 40 times, the probability of coming up 41 times, is always 50/50, no matter the 40 previous results.

Thanks again for taking the time :)
 
Upvote 0
I've used RAND() to generate some dummy data. You could use real data.

There are 13 loss runs (highlighted), seven of length 1. Therefore 7/13 = 54% were Loss,Win... (i.e. rather than Loss,Loss....)

Similarly, there are three loss runs of length 4 or more, and one with length 4, so the probability of Loss,Loss,Loss,Loss,Win... (i.e rather than Loss,Loss,Loss,Loss,Loss...) is 1/3 = 33%.

ABCDEF
1Last win49
2p30%Prob. Win
3Lengthafter
4TryResultof run (N)N lossesN losses
51L1754%
62L2233%
73W3125%
84L4133%
95L500%
106L6150%
117L700%
128W81100%
139L90 
1410W100 
1511L110 
1612L120 
1713L130 
1814L140 
1915L150
2016L
2117W
2218L
2319W
2420L
2521L
2622W
2723L
2824W
2925L
3026L
3127L
3228W
3329W
3430L
3531W
3632L
3733W
3834L
3935L
4036L
4137L
4238L
4339L
4440L
4541L
4642W
4743W
4844W
4945L
5046W
5147L
5248W
5349W
5450L
Sheet1
Cell Formulas
RangeFormula
E1E1=LOOKUP(2,1/(Results="W"),A5:A25)
F5:F18F5=IFERROR(E5/SUM(E5:E$19),"")
E5:E19E5=IFERROR(SUMPRODUCT(--(FREQUENCY(IF(ResultsToUse="L", ROW(ResultsToUse)), IF(ResultsToUse="W", ROW(ResultsToUse)))=$D5)),0)
B5:B54B5=IF(RAND()<p,"W","L")
Named Ranges
NameRefers ToCells
LastWin=Sheet1!$E$1E5:E19
p=Sheet1!$B$2B5:B54
Results=Sheet1!$B$5:$B$54E1, E5:E19
ResultsToUse=INDEX(Results,1):INDEX(Results,LastWin)E1, E5:E19
Cells with Conditional Formatting
CellConditionCell FormatStop If True
B5:B54Expression=AND(B5="L",ROWS(B$5:B5)<LastWin)textNO
 
Upvote 0

Forum statistics

Threads
1,215,460
Messages
6,124,949
Members
449,198
Latest member
MhammadishaqKhan

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top