First of all, I would like to say that my English is bad. Sorry for that, I'll do my best. On top of that, my math level is even worse. Thank you for you patience !
Here is my problem : I have an urn containing X balls and i have to make Y successive draws with replacement. Is it possible to know the expected value of the number of balls drawn Z times ?
Example : I make 10 successive draws in an urn of 10 balls (I chose values arbitrarily).
- 3 balls are draw 1 times
- 2 balls are draw 2 times
- 1 ball are draw 3 times
I could probably do it iteratively, but is there not a formula that gives me the set of values that are expected directly ? A big thanks in advance !
Instead of $X,Y,Z$ I will write $n,m,k$ for number of balls, draws and times respectively.
Give the balls numbers $1,2,\dots,n$.
For $i=1,2,\dots, n$ let $D_{k,i}$ take value $1$ if ball $i$ is drawn exactly $k$ times and let it take value $0$ otherwise.
Then the number of balls drawn exactly $k$ times equals: $$D_k:=D_{k,1}+\cdots+D_{k,n}$$ Applying linearity of expectation and symmetry we find:$$\mathbb ED_k=n\mathbb ED_{k,1}=nP(D_{k,1}=1)=n\binom{m}{k}\left(\frac1{n}\right)^k\left(1-\frac1{n}\right)^{m-k}$$