enter image description here

This is my attempt:

I have, so far, let

$$Y_{mi} = \begin{cases} 1\ & \text {if }i^\text{th } \text{trial in first }m\text{ trials}\\ 0&\text{otherwise} \end{cases}$$

Indeed, $$Y_m = \sum_{i=1}^mY_{mi}$$

I think this is what I need to calculate:

$$P(Y_{mi} =1 | X=x) = \frac{P(Y_{mi} =1, X=x)}{P(X=x)}$$

I am struggling to go from here and any help would be appreciated!

  • $\begingroup$ Can you try to write $X$ as a function of $Y_m$ and another random variable? And can you tell what the marginal distribution of $Y_m$ is? $\endgroup$
    – Xi'an
    Oct 24 '15 at 19:44
  • $\begingroup$ If this was too obscure a hint, can you try to write $X$ using the $Y_{mi}$'s you used to define $Y_m$, plus additional and independent Bernoulli variates? $\endgroup$
    – Xi'an
    Oct 25 '15 at 8:42

Let $Z_{n-m}$ be the number of successes in the remaining $n-m$ trials

$P(Y_m=y|X=x) = ...$ (you fill in this bit) $... = \frac{P(Y_m=y)P(Z_{n-m}=x-y)}{P(X=x)} =...$

From there it's just mechanical, and goes to the (otherwise obvious) hypergeometric solution.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.