4 shoppers are asked to state their preference for 2 brands Coke or Pepsi Let A denote the event that exactly two of the four individuals will prefer Coke. List the elements in A and find P(A)=?

1 Answer
Jan 16, 2018

A={<C,C,P,P>,<C,P,C,P>,<C,P,P,C>,<P,C,C,P>,<P,C,P,C>,<P,P,C,C>}
P(A)=616=38

Explanation:

Explanation of notation:
The ordered sequence: <C,P,P,C>
Is intended to indicate that
XXXthe first person chose Coke;
XXXthe second person chose Pepsi;
XXXthe third person chose Pepsi; and
XXXthe fourth person chose Coke.

With 4 shopper each of whom can choose 1 of 2 drinks,
there are 24=16 possible outcome sequences.

Either from the listed set of elements of A (above) or by recognizing that there are 4C2=4!2!2!=6 outcomes with 2 out of the 4 selections being Pepsi,
we see that the probability of exactly 2 shopper selecting Pepsi is
XXXP(A)=616=38

Warning
An assumption was required that a randomly selected shopper would be equally likely to chose Coke or Pepsi. If the population was biased in favor of one or the other this analysis would be invalid. (As an extreme example, for demonstration purposes: suppose everyone loved Pepsi and hated Coke; the the only outcome that would ever occur would be <P,P,P,P> and P(A)=0.)