Skip to content

primarycensoreddist 0.5.0

Compare
Choose a tag to compare
@seabbs seabbs released this 21 Sep 22:52
· 75 commits to main since this release
7ada1c9

This release adds a new {touchstone} based benchmark suite to the package. It also adds a new "How it works" vignette which aims to give the reader more details into how the primary censored distributions work.

As part of the "How it works" we (@SamuelBrand1) found analytical solutions for the gamma, lognormal, and weibull distributions with uniform primary censoring. These are now implemented for the lognormal and gamma distributions in the R and stan code providing significant speedups to the fitting process (~10-20 times faster). The Weibull will be added in the next release.

Package

  • Add {touchstone} based benchmarks for benchmarking R utility functions, and fitting the stan and fitdistplus models.
  • Added a "How it works" vignette.
  • Added R infrastructure for analytical solutions via the primary_censored_dist S3 class.
  • Added Weibull analytical solution to "How it works" vignette.
  • Added analytical solutions for the gamma and lognormal distributions with uniform primary censoring to both the R and stan code.
  • Added numerical protection to ensure that CDFs for delays greater than the maximum truncation are exactly 1.

Pull requests

  • Update codemeta.json by @github-actions in #74
  • Update codemeta.json by @github-actions in #78
  • Issue 36: Add benchmarking of R, Stan, and fitdistdoublecens by @seabbs in #79
  • Issue 37 draft: Why it works vignette with analytic solutions by @SamuelBrand1 in #68
  • Update codemeta.json by @github-actions in #81
  • Issue 86: Fixes for "Why it works" vignette by @SamuelBrand1 in #88
  • Update README by @github-actions in #89
  • Issue 85: Add infrastructure for analytical solutions in R by @seabbs in #87
  • Update README by @github-actions in #92
  • Issue 85: Implement analytical solutions in R by @seabbs in #90
  • Issue 76: Add weibull distribution to analytic solutions in vignette by @SamuelBrand1 in #93
  • Issue 85: Analytical solutions in stan by @seabbs in #95
  • Update README by @github-actions in #99
  • Update codemeta.json by @github-actions in #98

New Contributors

Full Changelog: v0.4.0...v0.5.0