
Probability and Statistics Basic Probability and Statistics Math Forum 
 LinkBack  Thread Tools  Display Modes 
September 14th, 2017, 05:55 AM  #1 
Member Joined: Apr 2014 From: Greece Posts: 52 Thanks: 0  Problem with Bernoulli trials
I have the following problem: We conduct a series of indipendent Bernoulli trials with probability of success p for each trial and let N be the number of trials until the first success. Next we conduct N independent Bernoulli trials with probability of success q for each trial and let X be the number of successful trials. Calculate P(X=1) Any ideas on how to solve this? 
September 14th, 2017, 12:38 PM  #2 
Senior Member Joined: Sep 2015 From: USA Posts: 1,653 Thanks: 840 
Looking at the 2nd set of trials first. $P[X=1N] = \dbinom{N}{1}q^1 (1q)^{N1} = N q (1q)^{N1}$ so $P[X=1] = \displaystyle \sum_{N=1}^\infty~(N q (1q)^{N1})P[N]$ now looking at the first set of trials, $N$ has a geometric distribution $P[N] = p^{N1}p$ so $P[X=1] = \displaystyle \sum_{N=1}^\infty~(N q (1q)^{N1})p^{N1}p = \dfrac{p q (1q)}{(1q)(1 p + pq)^2}$ Naturally you'll have to show the last summation result. I wouldn't mind a second set of eyes on this one. 
September 15th, 2017, 03:11 AM  #3 
Member Joined: Apr 2014 From: Greece Posts: 52 Thanks: 0 
Sorry but I'm still confused... Why isn't $\displaystyle P[X=1N] = \dbinom{N}{1}q^1 (1q)^{N1} = N q (1q)^{N1}$ the correct and final answer? Also how did you come up with that: $\displaystyle P[X=1] = \displaystyle \sum_{N=1}^\infty~(N q (1q)^{N1})P[N]$ did you use the law of total probability? Sorry if my questions are stupid but I'm fairly new to probabilities. Could you be more detailed about the solution please? 
September 15th, 2017, 06:07 AM  #4  
Senior Member Joined: Sep 2015 From: USA Posts: 1,653 Thanks: 840  Quote:
Quote:
In general for discrete random variables $V$, and mutually exclusive random variables $U_k$ $P[V] = \displaystyle \sum_k P[VU_k]P[U_k]$ Quote:
 

Tags 
bernoulli, problem, trials 
Thread Tools  
Display Modes  

Similar Threads  
Thread  Thread Starter  Forum  Replies  Last Post 
probability  success given number of trials  Zeus579  Probability and Statistics  2  March 2nd, 2016 06:10 AM 
Bernoulli Trials  shizzle  Probability and Statistics  1  April 6th, 2014 07:40 PM 
Bernoulli Trials  travis3335  Advanced Statistics  1  May 14th, 2013 09:04 PM 
Simulation, how many trials???  mmmmxxx  Advanced Statistics  0  November 30th, 2012 04:27 AM 
Bernoulli trials  syndrom216  Advanced Statistics  2  February 17th, 2012 01:35 AM 