Label batches before consulting the random-number table, so their labels are independent of the test results. A uniformly random permutation of , restricted to a smaller label set, induces a uniformly random ordering of that set. This provides a simple rejection-and-restriction scheme:
  • For A, label each day's six batches . Use a fresh permutation, discard labels , and test the first remaining batch. Repeat independently on each working day. Each daily batch has inclusion probability , and five batches are tested per week.
  • For B, label the fifteen weekly morning batches . Discard label 16 from a fresh permutation and choose the first three remaining labels. Use an independent permutation for the afternoon stratum. Every three-element subset within a stratum is equally likely, and each batch has inclusion probability . Six batches are tested per week.
  • For C, label the weekdays . Keep the first label in this range from a fresh permutation and test all six batches on that day. Repeat independently each week. Every day, and hence every batch, has inclusion probability ; six batches are tested per week.
With independent random digits instead, rejection sampling gives the same uniform choices: for A keep only digits ; for C keep only . For B, use uniform two-digit numbers, retain labels , and reject repeats within a three-batch sample. Taking residues modulo six or fifteen from a table whose range is not divisible by that number would give unequal probabilities. These are respectively day-stratified simple random sampling, morning/afternoon stratified sampling, and a one-day design using cluster sampling. The printed word “rest” for A is interpreted as “test”, consistently with the surveillance task. If it instead meant leaving one batch untested, choose that omitted batch uniformly and test the other five; this alternative would test 25 batches per week, with inclusion probability , and has a different testing budget.
Under the one-test-per-day interpretation, A spreads surveillance across all five days and is operationally straightforward, but uses only five tests per week and does not guarantee morning/afternoon representation. Within each day its uniform choice avoids systematically selecting a particular batch. B uses six tests, guarantees representation of both production periods, and spreads the selected batches over the week's production, though some weekdays can receive no test. C also uses six tests and may minimize the cost of collecting samples, but concentrates them on one randomly selected day.
If batches produced on the same day share contamination risks, C's six observations are positively correlated and provide less information than six dispersed batches. A simple equal-cluster-size approximation has design effect , where is within-day intraclass correlation; its effective sample size is consequently smaller than six when . C can also miss intermittent problems occurring on other days.
I would prefer B for estimating and comparing batch contamination rates, assuming positive within-day correlation and no overriding collection-cost advantage for C. It combines slightly more testing than A with explicit production-period coverage and avoids C's concentration on a single day. A is a reasonable alternative when regular daily surveillance is the priority. All three are legitimate probability samples with the stated inclusion probabilities; the preference concerns precision and coverage, not a claim that C is intrinsically biased. Their relative efficiency is not universal without a model for production variability and costs.
A numerical power calculation needs a significance level, desired power, sidedness and allocation; these are not specified in this part. For a concrete planning illustration, assume independent batches, equal samples per supplier, a two-sided 5% test with 80% power, and true rates and . The observed 2% from B and C is being used as a planning value for B, not as proof that B's population rate is exactly known. There is also a numerical inconsistency in the stated frame: at six batches per working day, B and C together produce only 120 batches in two weeks, and their proposed schemes would test 24. The asserted 3,000 sampled batches cannot literally come from that frame. The calculation treats as a stipulated planning estimate; its collection would require a larger frame or longer period.
For two independent sample proportions, the approximate null variance of their difference is and its variance at the alternative is , with . Separating the null critical value from the alternative mean by the required power quantile gives the sample size for comparing two proportions:
With , and , this gives , so the normal-approximation calculation rounds to 1,141 batches per supplier, or approximately 1,150 for a practical planning target. This is per supplier, not the combined total. A different power or a one-sided test changes the answer. Positive clustering of sampled batches requires a cluster-aware calculation or inflation, so the independent-batch calculation should not simply be applied to C's one-day clusters.
For equal independent samples, take , and in the two-proportion formula, with two-sided and power . It gives
Thus the usual normal planning estimate is
The combined approximate design therefore checks about eight blocks, with about eight positive batches from B and twenty-four from C at the rounded design.
Those expected counts are low enough for test discreteness to matter. If a genuinely exact two-sided Fisher exact test is specified, the null allocation of the positive batches between two equal-size suppliers is hypergeometric, conditional on their total. Under the proposed alternative, its power is obtained by summing the independent binomial probabilities over the exact rejection region:
An independent calculation of the exact power of Fisher's exact test gives about at and at . Consequently five whole 10,000-batch blocks per supplier suffice for at least 80% power with this conservative exact test. Four blocks are the intended normal-approximation answer, not an exact 80% guarantee irrespective of the chosen test. The distinction is a property of rare-event discreteness, not a change in the proposed effect size.

Articles by others on the same topic (0)

There are currently no matching articles.