Skip to main content
added 98 characters in body
Source Link
R B
  • 9.5k
  • 5
  • 35
  • 78

(More of an extended comment - it's not readable as a comment).

Are you sure a closed form for it exist?

This is solvable by the following recurrence formula: $$P[m,k]=P[m-1,k-1]\cdot P_k + P[m-1,k]\cdot(1-P_{k+1})$$ Where $$P_k = \frac{(N+1)^{k-2} (N + k )}{N^k}$$

Where

$$P_k = \begin{cases} \frac{(N+1)^{k-2} (N + k )}{N^k} &\mbox{if } k \leq N \\ \ \ \ \ \ \ \ \ \ 0 & \mbox{else}\end{cases} $$

and   

$$ P[0,0]=1, \forall k\neq 0: P[0,k]=0$$

The answer you're looking for (the probability of $t$ marked elements) is $P[s,t]$.

(More of an extended comment - it's not readable as a comment).

Are you sure a closed form for it exist?

This is solvable by the following recurrence formula: $$P[m,k]=P[m-1,k-1]\cdot P_k + P[m-1,k]\cdot(1-P_{k+1})$$ Where $$P_k = \frac{(N+1)^{k-2} (N + k )}{N^k}$$ and  $$ P[0,0]=1, \forall k\neq 0: P[0,k]=0$$

The answer you're looking for (the probability of $t$ marked elements) is $P[s,t]$.

(More of an extended comment - it's not readable as a comment).

Are you sure a closed form for it exist?

This is solvable by the following recurrence formula: $$P[m,k]=P[m-1,k-1]\cdot P_k + P[m-1,k]\cdot(1-P_{k+1})$$

Where

$$P_k = \begin{cases} \frac{(N+1)^{k-2} (N + k )}{N^k} &\mbox{if } k \leq N \\ \ \ \ \ \ \ \ \ \ 0 & \mbox{else}\end{cases} $$

and 

$$ P[0,0]=1, \forall k\neq 0: P[0,k]=0$$

The answer you're looking for (the probability of $t$ marked elements) is $P[s,t]$.

added 8 characters in body
Source Link
R B
  • 9.5k
  • 5
  • 35
  • 78

(More of an extended comment - it's not readable as a comment).

Are you sure a closed form for it exist?

This is solvable by the following recurrence formula: $$P[m,k]=P[m-1,k-1]*P_k + P[m-1,k]*(1-P_{k+1})$$$$P[m,k]=P[m-1,k-1]\cdot P_k + P[m-1,k]\cdot(1-P_{k+1})$$ Where $$P_k = \frac{(N+1)^{k-2} (N + k )}{N^k}$$ and $$ P[0,0]=1, \forall k\neq 0: P[0,k]=0$$

The answer you're looking for (the probability of $t$ marked elements) is $P[s,t]$.

(More of an extended comment - it's not readable as a comment).

Are you sure a closed form for it exist?

This is solvable by the following recurrence formula: $$P[m,k]=P[m-1,k-1]*P_k + P[m-1,k]*(1-P_{k+1})$$ Where $$P_k = \frac{(N+1)^{k-2} (N + k )}{N^k}$$ and $$ P[0,0]=1, \forall k\neq 0: P[0,k]=0$$

The answer you're looking for (the probability of $t$ marked elements) is $P[s,t]$.

(More of an extended comment - it's not readable as a comment).

Are you sure a closed form for it exist?

This is solvable by the following recurrence formula: $$P[m,k]=P[m-1,k-1]\cdot P_k + P[m-1,k]\cdot(1-P_{k+1})$$ Where $$P_k = \frac{(N+1)^{k-2} (N + k )}{N^k}$$ and $$ P[0,0]=1, \forall k\neq 0: P[0,k]=0$$

The answer you're looking for (the probability of $t$ marked elements) is $P[s,t]$.

Source Link
R B
  • 9.5k
  • 5
  • 35
  • 78

(More of an extended comment - it's not readable as a comment).

Are you sure a closed form for it exist?

This is solvable by the following recurrence formula: $$P[m,k]=P[m-1,k-1]*P_k + P[m-1,k]*(1-P_{k+1})$$ Where $$P_k = \frac{(N+1)^{k-2} (N + k )}{N^k}$$ and $$ P[0,0]=1, \forall k\neq 0: P[0,k]=0$$

The answer you're looking for (the probability of $t$ marked elements) is $P[s,t]$.