logLR {melt}R Documentation

Empirical log-likelihood ratio

Description

Extracts the empirical log-likelihood ratio from a model.

Usage

## S4 method for signature 'EL'
logLR(object, ...)

## S4 method for signature 'ELT'
logLR(object, ...)

## S4 method for signature 'SummaryEL'
logLR(object, ...)

## S4 method for signature 'SummaryELT'
logLR(object, ...)

## S4 method for signature 'SummaryLM'
logLR(object, ...)

Arguments

object

An object that contains the empirical log-likelihood ratio.

...

Further arguments passed to methods.

Value

A single numeric.

References

Baggerly KA (1998). “Empirical Likelihood as a Goodness-of-Fit Measure.” Biometrika, 85(3), 535–547. doi:10.1093/biomet/85.3.535.

See Also

EL, ELT

Examples

data("precip")
fit <- el_mean(precip, par = 40)
logLR(fit)

[Package melt version 1.11.4 Index]