calc.n.beta: Audit Sample Size for any Sample

Description Usage Arguments Value Details Author(s) Examples

Description

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.

Usage

1
calc.n.beta(expected.mistakes, materiality, mean.taint = 1, confidence = 0.95)

Arguments

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.

Value

A value indicating the required sample size for the audit.

Details

EMPTY FOR NOW

Author(s)

Koen Derks, k.derks@nyenrode.nl

Examples

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)

koenderks/auditR documentation built on May 16, 2019, 7:16 p.m.