Q7.28

Question

Suppose that a sequence of independent trials in which each trial is a success with probability p is performed until either a success occurs or a total of n trials has been reached. Find the mean number of trials that are performed. Hint: The computations are simplified if you use the identity that for a nonnegative integer-valued random variable X, 

E[X]=i=1P{Xi}

Step-by-Step Solution

Verified
Answer

The mean number of trials that are performed 1qnp.

1Step 1: Given information

A sequence of independent trials in which each trial is a success with probability p is performed.

2Step 2: Solution

The probability mass function of X is 

P(X=i)=qi1pi=1,2,

Now lets consider the P(Xi)=x=iP(X=x)

=x=iqx1p

=pqi1+qi+qi+1+

=pqi11+q+q2+

=pqi1(1q)1

Therefore, 1+q+q2+ is an infinite geometric series

=qi1

3Step 3: Solution

Now we need to calculate 

E[X]=i=1P(Xi)

=i=1nP(Xi)

number of trials is finite (n)

=i=1nqi1

=1+q+q2++qn1

=1qn1q

1+q+q2++qn-1 is an finite geometric series


=1qnp

4Step 4: Final answer

The mean number of trials that are performed 1qnp̣