Constructs likelihood models from heterogeneous observation types by composing named contributions. Each observation type (exact, left-censored, right-censored, interval-censored, or custom) contributes independently to the total log-likelihood, which is summed under an i.i.d. assumption. Provides contr_name() for standard R distributions and contr_fn() for user-defined contributions, composed via likelihood_contr() into objects compatible with the likelihood.model inference framework.
| Version: | 0.1.1 |
| Depends: | R (≥ 3.5.0) |
| Imports: | likelihood.model, numDeriv |
| Suggests: | testthat (≥ 3.0.0), knitr, rmarkdown |
| Published: | 2026-04-01 |
| DOI: | 10.32614/CRAN.package.likelihood.contr (may not be active yet) |
| Author: | Alexander Towell |
| Maintainer: | Alexander Towell <lex at metafunctor.com> |
| BugReports: | https://github.com/queelius/likelihood.contr/issues |
| License: | MIT + file LICENSE |
| URL: | https://github.com/queelius/likelihood.contr |
| NeedsCompilation: | no |
| Citation: | likelihood.contr citation info |
| Materials: | NEWS |
| CRAN checks: | likelihood.contr results |
| Reference manual: | likelihood.contr.html , likelihood.contr.pdf |
| Vignettes: |
Custom Contributions and Model Comparison (source, R code) Introduction to likelihood.contr (source, R code) Masked Series Systems (source, R code) |
| Package source: | likelihood.contr_0.1.1.tar.gz |
| Windows binaries: | r-devel: not available, r-release: not available, r-oldrel: not available |
| macOS binaries: | r-release (arm64): likelihood.contr_0.1.1.tgz, r-oldrel (arm64): not available, r-release (x86_64): not available, r-oldrel (x86_64): not available |
Please use the canonical form https://CRAN.R-project.org/package=likelihood.contr to link to this page.