calc.n.hypergeometric: Audit Sample Size for Small Samples

Description Usage Arguments Value Details Author(s) Examples

Description

This function calculates the required sample size for an audit, based on the Hypergeometric distribution. The Hypergeometric distribution can be used if the expected required sample is more than 10% of the population.

n / N > 10%

Usage

1
calc.n.hypergeometric(expected.mistakes, population.size, materiality, confidence = 0.95)

Arguments

expected.mistakes

An integer representing the number of expected mistakes in the sample.

population.size

An integer representing the number of transactions in in the audit population.

materiality

A value representing the materiality of the audit in percentages.

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 from a population of 1000 transactions.
calc.n.hypergeometric(expected.mistakes = 1,
                      population.size = 1000,
                      materiality = 0.05,
                      confidence = 0.95)

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