logLik.mpt | R Documentation |
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, ...)
object |
an object inheriting from class |
... |
some methods for this generic require additional arguments. None are used in this method. |
The log-likelihood of the model represented by object
evaluated at
the estimated parameters.
mpt
, logLik.lm
, AIC
,
deviance
, nobs
.
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.