File: IC.Rd

package info (click to toggle)
r-cran-erm 1.0-6-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,952 kB
  • sloc: f90: 401; ansic: 103; makefile: 8
file content (42 lines) | stat: -rwxr-xr-x 1,162 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
\encoding{UTF-8}
\name{IC}
\alias{IC}
\alias{IC.ppar}
\title{Information criteria}
\description{Computation of information criteria such as AIC, BIC, and cAIC based on
unconditional (joint), marginal, and conditional log-likelihood}
\usage{
\method{IC}{ppar}(object)
}

\arguments{
  \item{object}{Object of class \code{ppar} (from \code{person.parameter()}.}
}

\details{
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).
}

\value{
The function \code{IC} returns an object of class \code{ICr} containing:
  \item{ICtable}{Matrix containing log-likelihood values, number of parameters, AIC, BIC, and
   cAIC for the joint, marginal, and conditional log-likelihood.}
}

\seealso{
    \code{\link{LRtest.Rm}}
}
\examples{
#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)
}
\keyword{models}