Implemented prior construction methods none, median, hypotheses, sample, and factor in the auditPrior() function. In addition to the already supported arm method, these methods allow the auditor to incorporate more sources of audit information into the prior distribution.
Implemented minPrecision argument in the planning() function that allows auditors to calculate a sample size so that the difference between the posterior upper confidence bound and the most likely error is lower than the set minimum precision. Also implemented in the Evaluation() function as a requirement to approve the population.
Return the value mle from the Evaluation() function, which quantifies the most likely error. Also return the value of the precision from this function.
Implemented increase argument in the planning() function that allows the user to increase the sample size with a set amount each step of the iterations.
Implemented more efficient versions of the monetary unit sampling algorithms.
Changed the x-axis labels in the default plot to theta instead of misstatement.
jfa package. The package provides four functions: auditPrior(), planning(), sampling(), and evaluation().