December 02, 2008, 08:55:22 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Add your picture URL in your profile.
 
  Home   Forum   Chat links PLAY NOW! Help Search Calendar Members Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: Winning or losing streaks  (Read 5200 times)
0 Members and 1 Guest are viewing this topic.
sobolanul
Newbie
*
Offline Offline

Gender: Male
Posts: 3


« on: February 24, 2007, 01:42:37 PM »

A player  will play n matches and it is known that she win in match i with probability p_win
What is the probability that she will have a winning streak of k matches?

It is 1-P[k,n], where P[k,n] is the probability that she hasn't a streak of k wins in the first n matches.
P[k,n] = 1 for n < k and P[k,k] = 1 - p_win[1]*p_win[2]*...*p_win[k]; k,n >= 1

For n >= k, if she hasn't a streak of k wins in the first n matches she will not have one after first (n+1) matches with the following exception:
she hasn't a streak of k wins in the first (n-k) matches and the last k matches are a loss followed by (k-1) wins and she win in match (n+1).
It results that P[k,n+1] = P[k,n] - P[k,n-k]*(1-p_win[n-k+1])*p_win[n-k+2]*...p_win[n+1]

If p_win = p_win for any i >= 1 then:
P[k,n] = 1 for n < k and P[k,k] = 1 - pow(p_win,k); k,n >= 1
P[k,n+1] = P[k,n] - P[k,n-k]*(1-p_win)*pow(p_win,k)

I attached the file wins_in_a_row.html (with extension changed) which calculate these probabilities using javascript.
Logged
FIBS Board backgammon forum
« on: February 24, 2007, 01:42:37 PM »



 Logged
sarah
Beginner
**
Offline Offline

Posts: 27


WWW
« Reply #1 on: February 25, 2007, 08:33:50 PM »

keep cool it's only a game
Logged
lewscannon
Beginner
**
Offline Offline

Posts: 205



« Reply #2 on: February 26, 2007, 07:17:01 PM »

keep cool it's only a game

trying to predict a winning streak on fibs is like to predict how many times sarah will take her false teeth out during an evening
Logged
webrunner
Administrator
Advanced
*
Offline Offline

Gender: Male
Posts: 1,280



WWW
« Reply #3 on: February 27, 2007, 12:02:56 AM »

cut it out lews dry
Logged

"There is a difference between knowing the path and walking the path."
Bruce Lee
===================================
Sprintweb | Vrouwenpower forum
socksey
Global Moderator
Advanced
*
Offline Offline

Gender: Female
Posts: 1,317



« Reply #4 on: February 27, 2007, 12:57:03 AM »

 24  Very funny, lewssssss! 

Seriously, Sarah, I was thinking the same thing, sort of.  Like, WOW, is this person obsessing or WHAT!?   giggle

socksey



The average dog is a nicer person than the average person. - Andy Rooney


Logged
sixty_something
knight errant
Global Moderator
Casual player
*
Offline Offline

Gender: Male
Posts: 335


facts? mere enemies of truth


WWW
« Reply #5 on: April 03, 2007, 06:18:44 AM »

hey, i liked it and may even use it ... for math nerds, recovered or not, such ramblings are as much fun as the game ... more power to you sobolanul and keep your teeth in tonight sarah ...  thumbsup2
Logged

A little inaccuracy sometimes saves tons of explanation. -- Unknown
e-mail me
toonarmy
NUFC 1892 for ever
Beginner
**
Offline Offline

Gender: Male
Posts: 12



« Reply #6 on: July 08, 2007, 07:24:12 PM »

i have no idea what all that means however i feel that if i could understand it it would help me a lot so thank you for posting if i aquire some more intelect i will read the article again. if i learn how to read properly : Smiley Wink Cool! cool wub blush dry happy cool blink unsure wacko mad ohmy huh sleep thumbsup thumbdown thumbsup2 smile unhappy cry Yes devil excl dontknow drive1 feest005 gaehn giggle drool blushsmiley beerdrinkers alien Cry Roll Eyes Shocked Angry applaus004 bye2 closedeyes eten euro2 icon_pidu icon_pidu mcdonald kaffeepc jump kiss2 gaehn grouphug iknix grrr giveflower geige geige icon9 rules s10 s12
Logged

N.e.w.c.a.s.t.l.e .u.n.i.t.e.d  fc
Gusssss
Beginner
**
Offline Offline

Gender: Male
Posts: 14



« Reply #7 on: July 12, 2007, 11:49:19 PM »

 funnypost (But down with the av  mad)
Logged
toonarmy
NUFC 1892 for ever
Beginner
**
Offline Offline

Gender: Male
Posts: 12



« Reply #8 on: July 14, 2007, 07:35:03 PM »

i have made my own mathmatical formulae on winning and losing streaks my computations are as follows :-

if p<v minus the variation of the anomaly of x and x being a factor of three
therefore if x+y is a constant opposable figment of my imagination then x - y to the power of 4.

this will work out the paralax error of and differentials in x> (iejn-jkk) x ??

therefore i conclude that if you do the above then you win win all your games.

please reply if you feel you need greater clarity on any of the above.

yours sincerly

"toon"......
Logged

N.e.w.c.a.s.t.l.e .u.n.i.t.e.d  fc
webrunner
Administrator
Advanced
*
Offline Offline

Gender: Male
Posts: 1,280



WWW
« Reply #9 on: October 27, 2007, 10:34:00 PM »

I thought a winning streak was obtained by sending a hundred bucks to Patti  unsure
Logged

"There is a difference between knowing the path and walking the path."
Bruce Lee
===================================
Sprintweb | Vrouwenpower forum
don
Casual player
***
Offline Offline

Posts: 377



« Reply #10 on: October 29, 2007, 08:13:28 PM »

The odds of winning streaks actually conform to the Binomial Probability Distribution, which is not that hard to compute--particularly in the case of two evenly matched players--all you need to do is count in binary (0, 1, 10, 11, 100, 101, 110, 111 ...).

Substitute 'H' and 'T' for '0' and '1' and you can compute various length trials of flipping a coin and getting Heads or Tails.  Substitute 'W' and 'L' for Win/Lose in the case of two players with equal playing skills and you get:
   1 match in-a-row (trivial)
     possible outcomes:
             W <
             L
     odds:   1/2

   2 matches in-a-row
     possible outcomes:
             WW <
             WL
             LW
             LL
     odds:   1/4

   3 matches in-a-row
     possible outcomes:
             WWW <
             WWL
             WLW
             WLL
             LWW
             LWL
             LLW
             LLL
     odds:   1/8

Yes, there's a pattern developing here.  If the odds are even for each player to win a single match, the odds of a winning streak in n-matches are 1/2^n or 1/16 for n=4, 1/32 for n= 5 ....

For most practical purposes, you can stop here.  This gives a pretty good idea of the trends of winning streaks.  The actual formula for the number of wins (x)  in n matches, (probability of win in single match=p) is:

     P(X=x) = [n,x] * p^x * (1-p)^(n-x) .

[n,x] is the combinatorial or (n! / (x! * (n-x)! ).  Where n=x, this always works out to 1.  Since n-x=0, (1-p)^0 is also 1, and:

     P(X=n) = p^n ,

so here's a chart of streak odds for length=n:
       n =      1        2        3        4        5        6
     p(0.1)  0.10000  0.01000  0.00100  0.00010  0.00001  0.00000
     p(0.2)  0.20000  0.04000  0.00800  0.00160  0.00032  0.00006
     p(0.3)  0.30000  0.09000  0.02700  0.00810  0.00243  0.00073
     p(0.4)  0.40000  0.16000  0.06400  0.02560  0.01024  0.00410
     p(0.5)  0.50000  0.25000  0.12500  0.06250  0.03125  0.01563
     p(0.6)  0.60000  0.36000  0.21600  0.12960  0.07776  0.04666
     p(0.7)  0.70000  0.49000  0.34300  0.24010  0.16807  0.11765
     p(0. )  0.80000  0.64000  0.51200  0.40960  0.32768  0.26214
     p(0.9)  0.90000  0.81000  0.72900  0.65610  0.59049  0.53144
          (for some reason "p(0.Cool produces a smiley"

The only thing missing is a determination of p().  The FIBS ratings formula is as good a method as any, and I'd be happy to explain it here if anyone wants.  It's discussed extensively elsewhere.  (Start with "help formula" on FIBS.)

--
don
Logged

So many string dimensions, so little space time...
burper
Intermediate
****
Offline Offline

Posts: 836



« Reply #11 on: October 29, 2007, 11:59:57 PM »

Yes don, please explain
Logged
socksey
Global Moderator
Advanced
*
Offline Offline

Gender: Female
Posts: 1,317



« Reply #12 on: October 30, 2007, 06:10:31 AM »

What did he say?Huh?Huh?  What language is that?   laugh

socksey



Thought for the day: Men are like fine wine. They start out as grapes; and it's up to the women to stomp the crap out of them until they turn into something acceptable to have dinner with. - Dave Barry
Logged
blitzxz
Beginner
**
Offline Offline

Posts: 86


« Reply #13 on: January 17, 2008, 01:32:43 PM »

But here is a harder one for math freaks.  Wink

Let's asume that some one has fibs rating 1600 and that is his/her absolutely correct rating. Then he starts playing. On avarage how many games it takes that he/she hits a big lucky streak (but not necessary winning every game) and gets (let's say) rating 1700 just by luck?
Logged
socksey
Global Moderator
Advanced
*
Offline Offline

Gender: Female
Posts: 1,317



« Reply #14 on: January 18, 2008, 12:46:04 AM »

All my opponents say I win with luck, but on the other hand, I always say I win with skill and cunning.   ohmy

Formulate that!   24

socksey



'Writing. I love the swirl & swing of words as they tangle with human emotions.' - James Michener
Logged
playBunny
Beginner
**
Offline Offline

Posts: 111


www.DailyGammon.com


« Reply #15 on: May 02, 2008, 04:35:22 PM »

What did he say?Huh?Huh?  What language is that?   laugh

socksey

Don't worry about it, just enjoy the bit that makes most sense:

Quote
(for some reason "p(0.Cool produces a smiley"

laugh
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  



Cheap Electricity - Loans - Mobile Phone - Credit Card Consolidation
Terms & Conditions | Privacy policy
Powered by MySQL Powered by PHP Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC
TinyPortal v0.9.8 © Bloc
Valid XHTML 1.0! Valid CSS!