- Reduced the size of the tarball by adding files to the .Rbuildignore
- Add a function
report()
that automatically generates an audit report. - Removed the
sampling()
function, which is now replaced entirely with theselection()
function. - Changed the output of the
evaluation()
function when an estimator is used.
- Implemented improved calculation of prior parameters in the
auditPrior()
function formethod = median
whenexpectedErrors > 0
. - Added
digits
argument in the internaljfa:::print.jfaPrior()
,jfa:::print.jfaPlanning()
,jfa:::print.jfaSelection()
, andjfa:::print.jfaEvaluation()
functions to control rounding in printing. - Added
description
,statistics
,specifics
andhypotheses
to the output of theauditPrior()
function. - Added class
jfaPosterior
withprint()
andplot()
methods. - Added
expectedPosterior
of classjfaPosterior
to the output of theplanning()
function, includesdescription
,statistics
andhypotheses
. - Added
posterior
of classjfaPosterior
to the output of theevaluation()
function, includesdescription
,statistics
andhypotheses
. - Add a warning message to the
sampling()
function that it will be deprecated from 0.5.0 onwards. You can useselection()
instead, sincesampling()
causes namespace issues with other packages. - Changed the class
jfaSampling
tojfaSelection
. This should not have any consequences.
- Added unit tests that regularly verify results of the
planning()
andevaluation()
functions against benchmarks. - Fixed two bugs in the
planning()
function. The first bug did not allow the user to plan for a monetary sample when their population size was too low. The second bug did not allow the user to select a non-integer number of expected errors when there was a prior involved.
- Implemented the argument
counts
in theevaluation()
function that quantifies how many times each observation should be evaluated due to being selected multiple times in the selection stage.
-
Implemented prior construction methods
none
,median
,hypotheses
,sample
, andfactor
in theauditPrior()
function. In addition to the already supportedarm
method, these methods allow the auditor to incorporate more sources of audit information into the prior distribution. -
Implemented
minPrecision
argument in theplanning()
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 theevaluation()
function as a requirement to approve the population. -
Return the value
mle
from theevaluation()
function, which quantifies the most likely error. Also return the value of theprecision
from this function. -
Implemented
increase
argument in theplanning()
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.
- First version of the
jfa
package. The package provides four functions:auditPrior()
,planning()
,sampling()
, andevaluation()
.