Bugfixes

Allowing

`fitNull()`

to work with many estimates (n > 1000).Fixed edge case where

`fitMcmcNull()`

would get stuck in an infinite loop.

Changes.

- Making sure we pass R check even if suggested packages are unavailable, as required by CRAN.

Changes

Adding the

`compareEase()`

function to compare EASE of correlated sets of estimates.Adding the

`computeCvPoissonRegression()`

function to compute critical values for Poisson regressions.The

`plotCalibrationEffect()`

function warns if there are values outside the plot limits.Changing the MaxSPRT calibration vignette to use CV calibration instead of LLR calibration.

Bugfixes

Fixing

`computeTraditionalP()`

when using vectors as input.Fix error when no critical value meets requirements (throwing warning instead).

Changes

Adding option to make p-values one-sided.

Adding empirical calibration of the log likelihood ratio.

Adding functions for computing critical values for the log likelihood ratio when performing sequential testing (MaxSPRT).

Adding ability to fit null distribution using non-normal approximations of the per-negative control likelihood functions.

Faster null distribution fitting using MCMC. Increasing default MCMC iterations for greater stability.

Using median instead of mean of posterior distributions when converting MCMC null to error model for greater consistency between calibrated CI and P.

Changes

- Adding computation of expected absolute systematic error. Can be shown in plots.

Changes

- Center title on all plots.

Bugfixes

- Fix build fail in R 4.0.0.

Changes

- computeTraditionalCi now outputs data frame instead of vector.

Bugfixes

- convertNullToErrorModel function now adheres to new systematic error model (SD no longer on log scale).

Changes

- Adding new method for fitting systematic error models that drops the assumption that SD is linear in the log scale, but rather just linear (in the logRr space). Setting that to default, but allowing users to use legacy model if they choose.

Changes

- Added convertNullToErrorModel function to allow confidence interval calibration using only negative controls (requiring the user to make some assumptions).

Changes

- Added plot showing effect of confidence interval calibration, similar to p-value plot.

Bugfixes

- Fixed ‘unknown aesthetics’ warning when calling plotTrueAndObserved.

Changes

Added plots showing expected type 1 error given an estimated empirical null distribution.

Closed form solution for RR vs SE plot for faster computation (especially when plotting credible intervals).

Bugfixes

- Several improvements of the robustness of fitting systematic error models.

Changes

Confidence interval calibration model StdDev transformed to log scale to prevent negative StdDev.

Confidence interval calibration cross-validation now allows specification of leave-out groups.

various new plots for evaluating confidence interval calibration.

Added confidence interval calibration vignette.

Added example data for confidence interval calibration

Bugfixes

- None

Changes

Ability to add credible intervals to calibration effect plot

Plot CI calibration (using leave-one-out cross-validation)

Bugfixes

Fixed vignette name in index

Removed coverage plot (moved to MethodEvaluation package)

Initial submission to CRAN