Size an Attribute Sample for a Controls Test
Last updated: November 29, 2026
Quick Overview
An auditor tests whether an approval control operated across 12,000 invoices and will accept the control only if the deviation rate is likely below 5%. How many invoices must be sampled at 95% confidence if zero deviations are expected, how does that change if one deviation is allowed, and what do you conclude if one is found?
PwC
November 29, 20260
0
0 solved
An auditor tests whether an approval control operated across 12,000 invoices and will accept the control only if the deviation rate is likely below 5%. How many invoices must be sampled at 95% confidence if zero deviations are expected, how does that change if one deviation is allowed, and what do you conclude if one is found?
Statistical sampling sits underneath controls testing in every PwC audit, and data scientists supporting audit methodology need to derive sample sizes from first principles rather than read them off a table. The interviewer checks the binomial reasoning, the asymmetry of the risk being controlled, and the correct conclusion when a deviation appears.
What the Interviewer Expects
- Frame the test as controlling the risk of over-reliance on the control
- Derive $n$ from $(1 - p_t)^n \le \alpha$ for zero deviations
- Extend to one allowed deviation with the binomial CDF
- Explain why population size barely matters here
- State the right conclusion when the observed deviations exceed the plan
Key Topics to Cover
How to Approach This
- Define your hypotheses (H0 and H1) clearly before performing any test.
- Calculate required sample size BEFORE running an experiment, using power analysis.
- Remember the Central Limit Theorem: sample means become approximately normal with large n.
- Watch for Simpson's paradox. Always segment data by key dimensions.
- Distinguish between statistical significance and practical significance.
Possible Follow-up Questions
- How does the sample size change at 90% confidence?
- When would you prefer monetary unit sampling instead?
- How would you handle a population of only 40 items?
- What is the probability this plan catches a control that actually fails 2% of the time?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Browse Statistics QuestionsSample Answer
Clarify
Population: 12,000 invoices; tolerable deviation rate ; acceptable risk of over-reliance (95% confidence). Selection is random. The risk that matters is concluding the contro...
Approach
If the true rate were exactly 5%, the chance of seeing zero deviations in draws is . We want that chance to be at most 5%, so that seeing zero deviations gives 95% confidence the true ra...