logLik.mpt

0th

Percentile

Log-Likelihood of an mpt Object

Returns the log-likelihood value of the (joint) multinomial processing tree model represented by object evaluated at the estimated parameters.

Keywords
models
Usage
# S3 method for mpt
logLik(object, …)
Arguments
object

an object inheriting from class mpt, representing a fitted multinomial processing tree 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

mpt, logLik.lm, AIC, deviance, nobs.

Aliases
  • logLik.mpt
  • nobs.mpt
  • deviance.mpt
  • AIC.mpt
  • BIC.mpt
Examples
# NOT RUN {
m <- mpt(mptspec("SR2"), c(243, 64, 58, 55))  # from Riefer et al. (2002)
logLik(m)
deviance(m)
AIC(m)
AIC(m, k = log(sum(m$y)))  # BIC w/total number of data points
BIC(m)                     # BIC using nobs()
nobs(m)                    # number of non-redundant response categories
# }
Documentation reproduced from package mpt, version 0.6-2, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.