% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/core-generics.R
\docType{package}
\name{likelihood.model-package}
\alias{likelihood.model}
\alias{likelihood.model-package}
\title{likelihood.model: Likelihood-Based Inference in the Fisherian Tradition}
\description{
The \code{likelihood.model} package provides a framework for likelihood-based
inference. The package is organized in layers:

\strong{Core Concept} (\code{core-generics.R}):
The \code{likelihood_model} "concept" -- an abstract interface that any model
can implement. At minimum, implement \code{\link[=loglik]{loglik()}}. Optionally provide
\code{\link[=score]{score()}} and \code{\link[=hess_loglik]{hess_loglik()}} for analytical derivatives; defaults use
numerical differentiation via \code{numDeriv}.

\strong{Core Infrastructure}:
\itemize{
\item \link{fisher_mle} / \link{fisher_boot}: Result objects from MLE fitting, with
methods for \code{\link[=coef]{coef()}}, \code{\link[=vcov]{vcov()}}, \code{\link[=confint]{confint()}}, \code{\link[algebraic.mle:se]{algebraic.mle::se()}}, \code{\link[stats:AIC]{stats::AIC()}}, \code{\link[stats:AIC]{stats::BIC()}},
\code{\link[=summary]{summary()}}.
\item \code{\link[=fit]{fit()}}: Default MLE solver using \code{\link[=optim]{optim()}}. Models can override this
with closed-form solutions (see \link{exponential_lifetime} for an example).
\item Fisherian inference: \code{\link[=support]{support()}}, \code{\link[=relative_likelihood]{relative_likelihood()}},
\code{\link[=likelihood_interval]{likelihood_interval()}}, \code{\link[=profile_loglik]{profile_loglik()}}, \code{\link[=evidence]{evidence()}} -- pure
likelihood-based inference without probability statements.
\item \code{\link[=lrt]{lrt()}}: Likelihood ratio test for nested models.
}

\strong{Example Implementation}:
\link{exponential_lifetime}: Exponential with right-censoring support.
Demonstrates closed-form MLE (no optim needed), analytical FIM,
and \code{\link[=rdata]{rdata()}} for Monte Carlo validation.

For contribution-based models with heterogeneous observation types,
see the companion package \pkg{likelihood.contr}.
}
\seealso{
Useful links:
\itemize{
  \item \url{https://github.com/queelius/likelihood.model}
  \item \url{https://queelius.github.io/likelihood.model/}
  \item Report bugs at \url{https://github.com/queelius/likelihood.model/issues}
}

}
\author{
\strong{Maintainer}: Alexander Towell \email{lex@metafunctor.com} (\href{https://orcid.org/0000-0001-6443-9897}{ORCID})

}
