CRAN-v0.5.3
jfa 0.5.3
New features
- Made
expectedErrors > 0
available formethod = 'hypotheses'
in theauditPrior()
. - Made
method = 'hypotheses'
andmethod = 'median'
in theauditPrior()
function available forlikelihood = 'hypergeometric'
. - Added
bram
as a method for theauditPrior()
function.method = 'bram'
computes a prior distribution with a given mode (expectedError
) and upper bound (ub
).
Bug fixes
- Fixed an error in the mode of the gamma posterior distribution from the
evaluation()
function in which+1
was added to the beta parameter, resulting in slighly lower modes than the correct ones. - Made a correction to the calculation of the beta-binomial prior and posterior so that the posterior parameter
N
has the correct value ofN = N - n
(current) instead ofN - n + k
(before).
Major changes
- Removed the default value
confidence = 0.95
in all applicable functions.confidence
currently has no default value so that the user is required to give an input. - Changed the default
likelihood = 'poisson'
in theplanning()
function tolikelihood = 'binomial'
to be consistent across all functions. - Changed the order of most function arguments so that
materiality
andminPrecision
are among the first ones to be shown.
Minor changes
- Updated the documentation for all functions with more simple examples.