Statistics · real student question

Fifty percent of consumers prefer to buy electronics online. Eight consumers are chosen at random. Find the probability that the number who prefer to buy online is (a) exactly five, (b) more than five, and (c) at most five.

Question

Fifty percent of consumers prefer to purchase electronics online. You randomly select 88 consumers.

Find the probability that the number of consumers who prefer to purchase electronics online is (a) exactly five, (b) more than five, and (c) at most five. Round to three decimal places.

Step-by-step solution

  1. Set up the binomial model and exploit p = 0.5. Here XB(8,0.5)X\sim B(8,0.5) and

    P(X=k)=(8k)(0.5)k(0.5)8k=(8k)28=(8k)256.P(X=k)=\binom{8}{k}(0.5)^{k}(0.5)^{8-k}=\frac{\binom{8}{k}}{2^{8}}=\frac{\binom{8}{k}}{256}.

    Because p=0.5p=0.5, the powers of pp and 1p1-p merge into a single 282^{-8}, so every probability is just a binomial coefficient over 256256.

  2. Write down the relevant coefficients. Row 88 of Pascal's triangle is

    1, 8, 28, 56, 70, 56, 28, 8, 1,1,\ 8,\ 28,\ 56,\ 70,\ 56,\ 28,\ 8,\ 1,

    summing to 256256 as it must.

  3. (a) Exactly five.

    P(5)=(85)256=56256=0.218750.219.P(5)=\frac{\binom{8}{5}}{256}=\frac{56}{256}=0.21875\approx 0.219.

  4. (b) More than five. 'More than five' excludes five itself, so add k=6,7,8k=6,7,8:

    P(X>5)=28+8+1256=37256=0.144530.145.P(X>5)=\frac{28+8+1}{256}=\frac{37}{256}=0.14453\approx 0.145.

    The boundary word matters: including k=5k=5 here would give 0.3630.363 instead.

  5. (c) At most five, using the complement. 'At most five' is everything except 'more than five', so no new sum is needed:

    P(X5)=1P(X>5)=137256=219256=0.855470.855.P(X\le 5)=1-P(X>5)=1-\frac{37}{256}=\frac{219}{256}=0.85547\approx 0.855.

  6. Check the arithmetic and the symmetry. The two complementary answers add to 0.145+0.855=1.0000.145+0.855=1.000 ✓. Also, p=0.5p=0.5 makes the distribution symmetric about the mean np=4np=4, so P(X=5)=P(X=3)P(X=5)=P(X=3) and P(X>5)=P(X<3)P(X>5)=P(X<3) — a quick way to spot a slipped coefficient.

Answer

P(5)0.219,P(X>5)0.145,P(X5)0.855P(5)\approx 0.219,\qquad P(X>5)\approx 0.145,\qquad P(X\le 5)\approx 0.855

Need to solve a different problem like this? Open the solver →