Skip to content

Initial Release of greta.censored

Latest
Compare
Choose a tag to compare
@mtwesley mtwesley released this 29 Nov 13:12
· 2 commits to main since this release

🚀 Introducing greta.censored: Censored Distributions for greta

greta.censored is an R package that extends the greta probabilistic programming framework to support right, left, and interval censoring with the following distributions:

  • Normal
  • Log-Normal
  • Student's T
  • Gamma
  • Exponential
  • Weibull
  • Pareto
  • Beta

This initial release introduces core functionality for working with censored distributions in Bayesian modeling workflows. Built to use TensorFlow and TensorFlow Probability, greta.censored ensures efficient computation and integrates seamlessly with 'greta', making it easy to model complex probabilistic workflows.

Installation

You can install the stable version of the package directly from CRAN:

install.packages("greta.censored")

To use the latest development version, install from GitHub:

devtools::install_github("mtwesley/greta.censored")

Dependencies

greta.censored requires 'TensorFlow' and 'TensorFlow Probability'. These can be installed via the greta package:

library(greta)
install_greta_deps()

Citation

If you use greta.censored in your research, please cite it as:

Wesley M (2024). greta.censored: Censored Distributions for 'greta'.
R package version 0.1.0. https://CRAN.R-project.org/package=greta.censored

The package documentation, Including usage examples and vignettes for getting started, is available on GitHub pages.