logLik.mpt.Rd
Returns the log-likelihood value of the (joint) multinomial processing
tree model represented by object
evaluated at the estimated
parameters.
# S3 method for class 'mpt'
logLik(object, ...)
The log-likelihood of the model represented by object
evaluated at
the estimated parameters.
m <- mpt(mptspec("SR2"), c(243, 64, 58, 55)) # from Riefer et al. (2002)
logLik(m)
#> 'log Lik.' -8.600947 (df=3)
deviance(m)
#> G2
#> 0
AIC(m)
#> [1] 23.20189
AIC(m, k = log(sum(m$y))) # BIC w/total number of data points
#> [1] 35.32266
BIC(m) # BIC using nobs()
#> [1] 20.49773
nobs(m) # number of non-redundant response categories
#> [1] 3