Learn R Programming

eba (version 1.10-1)

logLik.eba: Log-Likelihood of an eba Object

Description

Returns the log-likelihood value of the (multi-attribute) probabilistic choice model represented by object evaluated at the estimated parameters.

Usage

# S3 method for eba
logLik(object, ...)

Value

The log-likelihood of the model represented by

object evaluated at the estimated parameters.

Arguments

object

an object inheriting from class eba, representing a fitted elimination-by-aspects model

...

some methods for this generic require additional arguments; none are used in this method.

See Also

eba, logLik.lm, AIC.

Examples

Run this code
data(heaviness)
btl1 <- eba(heaviness[, , order=1])
logLik(btl1)
AIC(btl1)
BIC(btl1)

Run the code above in your browser using DataLab