Control testing: sampling and assurance confidence

How many items to test, what a clean (or not-so-clean) sample really tells you, and how strong the evidence needs to be.

Advanced About 22 minutes Last reviewed: 7 October 2026 Checked against sources

Put it into practice: Playbook: Test a key control

This page builds on Control design and testing, which covers test methods and an illustrative frequency-based sampling guide. Here we look at the statistics underneath.

Sampling risk and the key choices

When you test a sample, there is a risk that the sample looks better (or worse) than the whole population. This is sampling risk. There is also non-sampling risk: testing the wrong thing, using poor evidence or misreading a result. Statistics can measure only the first; good test design manages the second.

ChoiceMeaningEffect on sample size
Population and periodAll occurrences of the control in the test period, e.g. every payment approval from July to June.For large populations, size barely matters. For very small populations (e.g. a quarterly control), test all or nearly all.
Deviation definitionWhat counts as a failure, set before testing, e.g. "approval missing, late, or by someone without authority".None directly, but vague definitions undermine every result.
Confidence levelHow sure you want to be in your conclusion. Often 90% or 95% for key controls.Higher confidence → larger sample.
Tolerable deviation rateThe highest failure rate at which you would still rely on the control.Lower tolerable rate → larger sample.
Expected deviationsHow many deviations you plan to allow in the sample and still conclude the control works.Allowing more → larger sample.

Where the numbers come from

If a control's true deviation rate were exactly at the tolerable rate p, the chance of finding no deviations in a sample of n would be (1 − p)n. We choose n so this chance is small, no more than 1 minus the confidence level. With 95% confidence and a 5% tolerable rate, (0.95)59 ≈ 0.048, just under 0.05, so the sample size is 59. Allowing deviations uses the same logic with the binomial distribution.

Sample sizes for large populations (binomial, attribute sampling)
ConfidenceTolerable rate0 deviations allowed1 deviation allowed
90%10%2238
90%5%4577
95%10%2946
95%5%5993

Many organisations use simpler frequency-based tables (for example, a set number of items for daily, weekly or monthly controls). These are practical, but it helps to know what level of confidence they imply.

Try it: plan a sample size

Evaluating the results

After testing, the question is: given what we found, how high could the true deviation rate be? The upper deviation limit answers that at a chosen confidence level. If it is at or below the tolerable rate, the results support relying on the control.

Try it: evaluate a sample

Uses exact binomial calculations and assumes a large population and random selection. A learning aid, not a substitute for a testing methodology. Nothing you enter leaves your browser.

Selecting the sample

MethodHowUse
RandomEvery item has an equal chance, using a random number generator.Needed for the statistics above to hold strictly.
SystematicEvery kth item from a random start.Practical and usually fine, unless the population has a pattern that lines up with the interval.
HaphazardPicked without a conscious pattern.Common in practice, but prone to unconscious bias (e.g. avoiding messy files).
Targeted (judgemental)Items chosen for risk, e.g. largest payments, month-end, new staff.Good for finding problems, but results can't be projected statistically.
Whole population (data analytics)Test every item using system data.Where data is reliable, removes sampling risk entirely.

When you find deviations

  1. Confirm it really is a deviation under the pre-set definition, not a testing error.
  2. Find the cause. Human slip, misunderstanding, workload, system change, deliberate override?
  3. Judge the nature. A deviation showing the control can be bypassed, or one involving fraud or override, may make the control ineffective on its own, whatever the statistics say.
  4. Decide the next step: extend the sample, test a compensating control, or conclude.
  5. Check for harm. A failed control may mean an incident or breach has already happened. Assess it under the incident and breach process.
  6. Conclude and report: effective, effective with exceptions (with reasons), or ineffective, with actions and owners.

Evidence standards

Assurance depends on evidence that is both sufficient (enough of it) and appropriate (relevant and reliable).

More reliableLess reliable
Re-performed by the testerDescribed by the control owner (inquiry)
System-generated with access controls (e.g. workflow approval logs)Manually prepared or editable after the fact (e.g. a spreadsheet tick)
From an independent source (e.g. bank statement)From the process being tested
Created at the time of the controlCreated later to "evidence" it
Shows what was checked and what was foundOnly a signature or initials

Levels of assurance

Australian assurance standards distinguish reasonable assurance (a high, but not absolute, level, as in an audit) from limited assurance (a lower level, as in a review, where the conclusion is that nothing has come to attention to suggest a problem). The same idea is useful for internal testing: first-line self-checks, second-line reviews and internal audit give different levels of confidence, and reports should say which kind of assurance a result provides. See the Three Lines model.

Common mistakes

Questions a board can ask

These are prompts for discussion, not requirements.

  1. How much assurance do our tests actually give, and is it enough for the risks they cover?
  2. Where could we test every transaction with data, instead of sampling?

Theory and research

The statistical logic

Attribute sampling treats each occurrence of a control as a trial that either works or deviates. If the true deviation rate were at the tolerable rate, the binomial distribution gives the probability of seeing as few deviations as you did; the sample size is chosen so that this probability is no more than one minus the confidence level. That is the whole of the maths behind the tables and calculators above. What statistics cannot do is tell you whether you tested the right thing, defined a deviation sensibly or read the evidence correctly. Those are non-sampling risks, and most testing failures in practice come from them rather than from sample size.

What research says about sampling in practice

A synthesis of audit sampling research by Elder et al. (2013) describes a gap between theory and practice: statistical methods are well established, but practitioners often plan, select and evaluate samples using judgement rather than formal statistics, and the consequences of that choice are not well understood. Field evidence is rare because firms seldom share sampling data. One exception, Durney et al. (2014), studied 160 real sampling applications at a large audit firm to examine how often errors occur in the populations auditors test and how they sample. Studies like these are the empirical base for judging whether conventional sample sizes and selection methods are adequate.

Where to test is as important as how much. Doyle et al. (2007) found that material weaknesses in internal control were more likely in firms that were smaller, younger, financially weaker, more complex, growing quickly or restructuring, and that serious entity-wide weaknesses clustered in the weaker firms. The same logic applies inside an organisation: new products, recent system changes, restructured teams and fast-growing processes deserve more testing, which is how the compliance monitoring planner ranks areas.

Assurance as a social practice

Power (1997) argued that auditing and checking had spread across organisations and government partly because they produce comfort and legitimacy, not only because they reduce risk. Testing can drift towards checking that a control exists and is documented, rather than whether it achieves its purpose. For control testing, this is a reminder to test design against the risk (would the control stop the harm?) before testing operation, and to be explicit about what level of assurance a result gives.

Critical perspectives

Seminar questions

  1. Show why a sample of 59 with no deviations supports 95% confidence that the deviation rate is below 5%. What changes if one deviation is found?
  2. A team selects "a representative sample" of 25 files by hand. What can and can't be concluded from it? How would you explain this to a board committee?
  3. Using Doyle, Ge and McVay's findings as an analogy, which parts of a super fund's operations would you prioritise for control testing, and why?
  4. Is full-population testing with data analytics always better than sampling? Discuss the new risks it introduces.
  5. Power describes audit as a "ritual of verification". Is control testing in financial services at risk of becoming one? What would distinguish meaningful testing from ritual?

Further reading

References

Research cited on this page, in APA 7th style. Articles marked peer-reviewed were published in peer-reviewed journals. More in the Research library.

Sources

  1. Auditing and Assurance Standards Board, ASA 530 Audit Sampling and ASAE 3000 Assurance Engagements Other than Audits or Reviews of Historical Financial Information, available from the AUASB website.
  2. Australian Prudential Regulation Authority, Prudential Standard CPS 230 Operational Risk Management (requirements to monitor, review and test controls).
  3. The sample sizes on this page are calculated directly from the binomial distribution; they match standard attribute sampling tables for large populations.

Last reviewed: 7 October 2026 · Next review due: October 2027

Spotted an error or an out-of-date requirement? Suggest a correction (free GitHub account needed). See how we check content.