1
$\begingroup$

Consider independent trials, each of which is a success with probability p and derive the expected number of trials needed to obtain k consecutive successes by

(a)conditioning on the time of the first failure

(b)conditioning on the time that it takes to obtain k-1 consecutive successes

ANS.

I am thinking the answer to this question. but still I am unable.

$\endgroup$
4
  • $\begingroup$ If this is a homework or assignment question, please add the [self-study] tag. Also could you show us how you have approached the question and what you have tried so far? $\endgroup$
    – Andy
    Commented Apr 16, 2015 at 13:14
  • $\begingroup$ Sounds like the self-study tag is appropriate here. Anyhow take a look at the geometric distribution $\endgroup$ Commented Apr 16, 2015 at 13:14
  • $\begingroup$ Please edit your post to include the self-study tag and read its wiki. There are lots of people here waiting to help, but they would like to see your thought process and how far you got in your reasoning. Thanks! $\endgroup$
    – Chris C
    Commented Apr 16, 2015 at 13:15
  • $\begingroup$ @Andy You can see how I have approached the question and what I have tried so far. Please edit it, if I have made any mistake. $\endgroup$ Commented Apr 18, 2015 at 15:12

2 Answers 2

0
$\begingroup$

Hint:-Here trials follows Negative Binomial Distribution.(type-2 & type-1 respectively)

So then, (a) $\frac{P(success)}{P(failure)}$

(b) $\frac{1}{P(failure)}$

$\endgroup$
0
$\begingroup$

Let us solve part (b) of question first. Here X is geometric with parameter p if

P{X=k}=$p^{k-1}q,$, k=1,2,... where q=1-p Hence, its moment generating function is $\phi(t)=E[e^{tx}]$

$=\displaystyle\sum_{k=1}^{\infty}e^{tk}p^{k-1}q$

$=qe^t\displaystyle\sum_{k=1}^{\infty}(pe^t)^{k-1}$

$=\frac{qe^t}{1-pe^t}$

Differentiation gives

$\phi'(t)=\frac{(1-pe^t)qe^t+qe^tpe^t}{(1-pe^t)^2}$ $=\frac{qe^t}{1-pe^t}$ Evaluation at t=0 gives

E[X]=$\frac{q}{(1-p)^2}=\frac1q$

If we solve part(a) in this way, we get the answer $\frac{p}{q^2}$

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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