probability of buying candy

This topic has expert replies
User avatar
Master | Next Rank: 500 Posts
Posts: 279
Joined: Fri Nov 05, 2010 5:43 pm
Thanked: 15 times
Followed by:1 members

probability of buying candy

by mehrasa » Tue Sep 13, 2011 3:29 am
the prob that a visitor at the mall buys a pack of candy is .3.
If 6 visitors came to the mall today, what is the probability that exactly 4 will buy candy?


please give me your answers and explanations

p(buy candy)= 0.3 ==> p(not buy candy)=0.7
p(b,b,b,b,n,n)= (o.3^4)*(0.7^2)
there is a thing here, is the order of people who buy or not buy should be considered or not... i mean the # of arrangement
(bbbnbn)
(bbbnnb) and the like
if it is so the probability will be (0.3^4)* (0.7^2) * 6!/4!2!
Last edited by mehrasa on Tue Sep 13, 2011 4:45 am, edited 1 time in total.

User avatar
Legendary Member
Posts: 1309
Joined: Mon Apr 04, 2011 5:34 am
Location: India
Thanked: 310 times
Followed by:123 members
GMAT Score:750

by cans » Tue Sep 13, 2011 3:48 am
p(b) = 0.3 and p(n)=0.7
exactly4 = exactly 4 buy and 2 not buy..
select 4 persons from 6. 6C4 = 15
prob = 15* (0.3)^4*(0.7)^2 ( 4 buy and 2 not buy)
If my post helped you- let me know by pushing the thanks button ;)

Contact me about long distance tutoring!
[email protected]

Cans!!

Senior | Next Rank: 100 Posts
Posts: 56
Joined: Thu Jul 07, 2011 2:16 am
Thanked: 2 times

by aplavakarthik » Tue Sep 13, 2011 3:53 am
Bernoulli Trials, success=.3, failure =.7

(.3)^4*(.7)^2=0.003969

6c4*(.3)^4 * (.7)^2

order is not required

User avatar
Legendary Member
Posts: 504
Joined: Tue Apr 19, 2011 1:40 pm
Thanked: 114 times
Followed by:11 members

by knight247 » Tue Sep 13, 2011 4:31 am
In this problem order IS important.
BBBBNN is not the same as BBNNBB. When you multiply with 6C4 which is 6!/4!2! you are actually multiplying with 6P6/4!2!=6!/4!2!. Which is a permutation with B repeated 4 times and N repeated twice.

@sandeep, don't read too much into the above statement as it can be a little confusing.
P(B)=0.3
P(N)=0.7

For four buys and two not buys we have (0.3)^4*(0.7)^2 and NNNNBB can be arranged in (6P6)/(4!2!) ways as N is repeated 4 times and B is repeated twice. (6P6)/(4!2!) =15 ways

So total number of ways is 15*(0.3)^4*(0.7)^2

User avatar
Master | Next Rank: 500 Posts
Posts: 496
Joined: Tue Jun 07, 2011 5:34 am
Thanked: 38 times
Followed by:1 members

by sl750 » Tue Sep 13, 2011 5:00 am
6C4*(.3)^4*(.7)^2. This selects exactly 4 out of 6 people who buy candy with a probability of .3. It uses the Bernoulli trial formula

(p+q)^n = nC0*p^0*q^n + nC1*p^1*q^n-1 +...nCn-1*p^n-1*q^1+nCn*p^n*q^0
p - probability of success
q= 1-p
n- number of trials