Learn R Programming

melt (version 1.11.3)

logL: Empirical log-likelihood

Description

Extracts the empirical log-likelihood from a model.

Usage

# S4 method for EL
logL(object, ...)

# S4 method for ELT logL(object, ...)

# S4 method for SummaryEL logL(object, ...)

# S4 method for SummaryELT logL(object, ...)

# S4 method for SummaryLM logL(object, ...)

Value

A single numeric.

Arguments

object

An object that contains the empirical log-likelihood.

...

Further arguments passed to methods.

References

Baggerly KA (1998). ``Empirical Likelihood as a Goodness-of-Fit Measure.'' Biometrika, 85(3), 535--547. tools:::Rd_expr_doi("10.1093/biomet/85.3.535").

See Also

EL, ELT

Examples

Run this code
data("precip")
fit <- el_mean(precip, par = 40)
logL(fit)

Run the code above in your browser using DataLab