Learn R Programming

eba (version 1.4-2)

logLik.eba: Log-Likelihood of an eba Object

Description

Returns the log-likelihood value of the (multiattribute) 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.

Examples

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

Run the code above in your browser using DataLab