Maths4UBETA

Maths4U · Learning together

Conditional and multi-stage binomial models

← Parameters, moments and integer thresholdsFirst success and geometric models →

Notes

Objective

Combine groups and batches correctly, retain shared causes and condition on the actual count event.

Before you start

Use exact probabilities, combinations and conditional sample spaces from chapters 4–6. Short checks ask for exact fractions unless stated otherwise; follow each written question’s own rounding instruction. Geo⁡(p)\operatorname{Geo}(p) counts trials up to and including the first success, starting at 1.

Key ideas

Groups with different probabilities need separate counts

If two independent groups have different success probabilities, their combined count is not generally binomial with an averaged p. To get one success overall, split into one from the first group and none from the second, or the reverse. Add disjoint cases and retain their labels for a posterior question.

A batch event can become a new Bernoulli success

First calculate q, the probability a batch meets its stated criterion. If batches are independent and identically generated, the number of qualifying batches in a fixed set is binomial with success probability q. It is q, not the probability of a single item, that belongs in the second model.

A shared hidden choice can create dependence

A machine chosen once for a batch affects every item in that batch. Trials may be independent conditional on the machine, yet dependent after its identity is hidden. Mix the full conditional count tables using the machine-choice weights. The binomial variance formula using an averaged p need not apply to that mixture.

Restrict and renormalise a count table

Let H be a count event with positive probability. Intersect the requested event with H and divide by P(H)\mathrm P(H). For conditional moments, retain only the permitted count values and renormalise their probabilities.

P(X=r∣H)=P({X=r}∩H)P(H).\mathrm P(X=r\mid H)=\frac{\mathrm P(\{X=r\}\cap H)}{\mathrm P(H)}.

Given at least one success, the zero-count outcome is removed. The conditional mean is not simply np. Keep the condition explicit in both probability and expectation notation.

Method

  1. Define success and what the random variable counts.
  2. Check independence, constant probability and whether the trial count is fixed or stops at an event.
  3. Translate words into an exact integer event before choosing a formula or complement.
  4. For conditional or staged models, identify the reached branch and denominator.
  5. Keep exact values until the final step; test neighbouring integers for a minimum or maximum.
  6. Check every feasible parameter branch and explain any stopping rule.

Common mistakes

  • Averaging different group probabilities does not generally give the combined model.
  • Use the batch qualification probability in the outer binomial.
  • Conditional independence does not force unconditional independence.
  • Conditional expectations need a normalised conditional distribution.

Worked examples

One success overall has two disjoint routes

Group A has 2 trials with success probability 14\frac{1}{4}; group B has 3 trials with probability 12\frac{1}{2}. All trials are independent. Find the probabilities of no successes overall, exactly one overall, and that the unique success came from A given exactly one overall.

Follow the solution

For one overall, use the disjoint cases (one in A, none in B) and (none in A, one in B). Keep the first case as the posterior numerator.

P(A1∩B0)=364,P(A0∩B1)=27128,P(one overall)=33128,P(A1∣one overall)=36433128.\begin{aligned}\mathrm P(A_1\cap B_0)&=\frac{3}{64},\\{}\mathrm P(A_0\cap B_1)&=\frac{27}{128},\\{}\mathrm P(\text{one overall})&=\frac{33}{128},\\{}\mathrm P(A_1\mid\text{one overall})&=\frac{\frac{3}{64}}{\frac{33}{128}}.\end{aligned}

Complete answers

No successes overall: 9128\frac{9}{128}.

Exactly one success overall: 33128\frac{33}{128}.

Unique success from A given exactly one: 211\frac{2}{11}.

A common machine makes the trials dependent

Choose machine A once with probability 25\frac{2}{5}, otherwise B. Test two items using that same machine. Conditional on its identity, outcomes are independent with success probability 15\frac{1}{5} for A or 35\frac{3}{5} for B. X counts the two successes. Find the marginal success probability of one item, P(X=2)\mathrm P(X=2) and Var⁡(X)\operatorname{Var}(X), then choose the dependence statement.

Follow the solution

Weight the two conditional binomial tables by the initial machine-choice probabilities. Calculate the variance from this mixture. Compare the joint success probability with the square of the marginal probability.

xxP(X=x)\mathrm P(X=x)
0044125\frac{44}{125}
1152125\frac{52}{125}
2229125\frac{29}{125}
P(S1)=1125,P(S1∩S2)=29125,[P(S1)]2=121625,Var⁡(X)=356625.\begin{aligned}\mathrm P(S_1)&=\frac{11}{25},\\{}\mathrm P(S_1\cap S_2)&=\frac{29}{125},\\{}[\mathrm P(S_1)]^2&=\frac{121}{625},\\{}\operatorname{Var}(X)&=\frac{356}{625}.\end{aligned}

Complete answers

Marginal probability of one success: 1125\frac{11}{25}.

Probability both items succeed: 29125\frac{29}{125}.

Variance of the count: 356625\frac{356}{625}.

Correct conclusion: The shared hidden machine makes the outcomes dependent unconditionally.

Qualifying batches form the outer count

A batch contains 3 independent items, each successful with probability 13\frac{1}{3}. It qualifies if at least 2 succeed. There are 2 independent such batches; K counts qualifying batches. Find the qualification probability q, E(K)\mathrm E(K), and P(K=1)\mathrm P(K=1).

Follow the solution

First evaluate the inner binomial upper tail. Each batch then supplies one independent success/failure indicator with probability q; use that in the outer binomial.

K∼B(2,727).K\sim\mathrm B(2,\frac{7}{27}).q=727,E(K)=1427,P(K=1)=280729.\begin{aligned}q&=\frac{7}{27},\\{}\mathrm E(K)&=\frac{14}{27},\\{}\mathrm P(K=1)&=\frac{280}{729}.\end{aligned}

Complete answers

Batch qualification probability: 727\frac{7}{27}.

Expected qualifying batches: 1427\frac{14}{27}.

Exact qualifying-batch probability: 280729\frac{280}{729}.

Condition on at least one success

X∼B(3,13)X\sim\mathrm B(3,\frac{1}{3}). Let H={X≥1}H=\{X\ge1\}. Find P(X=2∣H)\mathrm P(X=2 \mid H), P(X≤2∣H)\mathrm P(X\le 2 \mid H), and E(X∣H)\mathrm E(X \mid H).

Follow the solution

Remove the zero-count outcome and divide every retained probability by P(H)\mathrm P(H). Both the lower tail and the mean use the renormalised table.

xxP(X=x∣H)\mathrm P(X=x\mid H)
111219\frac{12}{19}
22619\frac{6}{19}
33119\frac{1}{19}
P(H)=1927,E(X∣H)=11927.\begin{aligned}\mathrm P(H)&=\frac{19}{27},\\{}\mathrm E(X\mid H)&=\frac{1}{\frac{19}{27}}.\end{aligned}

Complete answers

Point probability given at least one: 619\frac{6}{19}.

Lower tail given at least one: 1819\frac{18}{19}.

Conditional mean: 2719\frac{27}{19}.

Practise this topic