Skip to content

CRAN-v0.5.3

Compare
Choose a tag to compare
@koenderks koenderks released this 02 May 07:29

jfa 0.5.3

New features

  • Made expectedErrors > 0 available for method = 'hypotheses' in the auditPrior().
  • Made method = 'hypotheses' and method = 'median' in the auditPrior() function available for likelihood = 'hypergeometric'.
  • Added bram as a method for the auditPrior() 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 of N = N - n (current) instead of N - 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 the planning() function to likelihood = 'binomial' to be consistent across all functions.
  • Changed the order of most function arguments so that materiality and minPrecision are among the first ones to be shown.

Minor changes

  • Updated the documentation for all functions with more simple examples.