Learn R Programming

eba (version 1.5-2)

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 class 'eba':
logLik(object, \dots)

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.

Value

  • The log-likelihood of the model represented by object evaluated at the estimated parameters.

See Also

eba, logLik.lm, AIC.

Examples

Run this code
data(heaviness)
btl1 <- eba(heaviness[,,"order1"])
logLik(btl1)
AIC(btl1)

Run the code above in your browser using DataLab