likelihood.modelThe R package likelihood.model is designed for
specifying and using likelihood models for statistical inference.
The basic likelihood model is a concept that, in order for your
object to satisfy, must implement a number of generic functions/methods.
The package provides a class, likelihood_contr_model, which
implements these functions and serves as a flexible framework for
specifying likelihood models based on the idea of independent likelihood
contributions for different types of observations, e.g., right-censored
versus exact observations.
The package is designed to be used with the algebraic.mle
package, which provides a framework for performing maximum likelihood
estimation (MLE).
You can install the development version of
likelihood.model from GitHub with:
if (!require(devtools)) {
install.packages("devtools")
}
devtools::install_github("queelius/likelihood.model")See the package website for more information.