Description Usage Arguments Value Details Author(s) Examples
This function calculates the required sample size for an audit, based on the Beta distribution. The Beta distribution is not bound to a population size, and can be used in any case. calc.n.beta improves on calc.n.binomial by presenting the possibility that the mistakes are not complete mistakes.
1 | calc.n.beta(expected.mistakes, materiality, mean.taint = 1, confidence = 0.95)
|
expected.mistakes |
An integer representing the number of expected mistakes in the sample. |
materiality |
A value representing the materiality of the audit in percentages. |
mean.taint |
A value representing the expected mean taint in the sample, defaults to 1. |
confidence |
The amount of confidence desired from the bound (on a scale from 0 to 1), defaults to 95% confidence. |
A value indicating the required sample size for the audit.
EMPTY FOR NOW
Koen Derks, k.derks@nyenrode.nl
1 2 3 4 5 6 | # Calculate the required sample size for a materiality of 5\% when one mistake
# is expected to be found in the sample, which is expected to have a taint of 0.5.
calc.n.binomial(expected.mistakes = 1,
materiality = 0.05,
mean.taint = 0.5,
confidence = 0.95)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.