A Combinatoric Probability Question

  • Thread starter Thread starter chingkui
  • Start date Start date
  • Tags Tags
    Probability
chingkui
Messages
178
Reaction score
2
Suppose we have infinitely many boxes and the probability of anyone box is non-empty is p.
Now if we randomly choose m boxes from them, line them up and name them as box 1, box 2,..., box m. Then for given n and k (k<n<m), what is the probability that there exist a set of n consecutive boxes that we can find k or more non-empty boxes in it?
Anyone know how to approach this question? Thanks.
 
Physics news on Phys.org
let E(r) be the probaility that there are k empty boxes in the range (r,r+n-1) where r can go from 1 to m-n+1. Then we want to know

P(E(1)or(E(2)or..E(m-n+1))

which is inclusion exclusion principle innit?
 
you can formulate the following recursion
f(m+1,n,k)=f(m,n,k)-f(m-n+1,n,k).C(n-1,k-1).p^k.(1-p)^(n-k)
where f(m,n,k) is the probability that...("what you have stated")
 
Namaste & G'day Postulate: A strongly-knit team wins on average over a less knit one Fundamentals: - Two teams face off with 4 players each - A polo team consists of players that each have assigned to them a measure of their ability (called a "Handicap" - 10 is highest, -2 lowest) I attempted to measure close-knitness of a team in terms of standard deviation (SD) of handicaps of the players. Failure: It turns out that, more often than, a team with a higher SD wins. In my language, that...
Hi all, I've been a roulette player for more than 10 years (although I took time off here and there) and it's only now that I'm trying to understand the physics of the game. Basically my strategy in roulette is to divide the wheel roughly into two halves (let's call them A and B). My theory is that in roulette there will invariably be variance. In other words, if A comes up 5 times in a row, B will be due to come up soon. However I have been proven wrong many times, and I have seen some...
Back
Top