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.2.0 |
| Depends: | R (≥ 3.5.0) |
| Imports: | likelihood.model, numDeriv, stats |
| Suggests: | testthat (≥ 3.0.0), knitr, rmarkdown |
| Published: | 2026-10-28 |
| DOI: | 10.32614/CRAN.package.likelihood.contr |
| 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 |
| Package source: | likelihood.contr_0.2.0.tar.gz |
| Windows binaries: | r-devel: likelihood.contr_0.1.1.zip, r-release: likelihood.contr_0.1.1.zip, r-oldrel: likelihood.contr_0.1.1.zip |
| macOS binaries: | r-release (arm64): likelihood.contr_0.2.0.tgz, r-oldrel (arm64): likelihood.contr_0.2.0.tgz, r-release (x86_64): likelihood.contr_0.2.0.tgz, r-oldrel (x86_64): likelihood.contr_0.2.0.tgz |
| Old sources: | likelihood.contr archive |
Please use the canonical form https://CRAN.R-project.org/package=likelihood.contr to link to this page.