IC | R Documentation |
Computation of information criteria such as AIC, BIC, and cAIC based on unconditional (joint), marginal, and conditional log-likelihood
## S3 method for class 'ppar'
IC(object)
object |
Object of class |
The joint log-likelihood is established by summation of the logarithms of the estimated solving probabilities. The marginal log-likelihood can be computed directly from the conditional log-likelihood (see vignette for details).
The function IC
returns an object of class ICr
containing:
ICtable |
Matrix containing log-likelihood values, number of parameters, AIC, BIC, and cAIC for the joint, marginal, and conditional log-likelihood. |
LRtest.Rm
#IC's for Rasch model
res <- RM(raschdat2) #Rasch model
pres <- person.parameter(res) #Person parameters
IC(pres)
#IC's for RSM
res <- RSM(rsmdat)
pres <- person.parameter(res)
IC(pres)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.