extractAIC.MxModel | R Documentation |
Returns the AIC for an OpenMx model. Original Author: Brandmaier
## S3 method for class 'MxModel'
extractAIC(fit, scale, k, ...)
fit |
an fitted |
scale |
not used |
k |
not used |
... |
any other parameters (not used) |
AIC value
AIC()
, umxCompare()
, logLik()
Other Reporting functions:
RMSEA.MxModel()
,
RMSEA.summary.mxmodel()
,
RMSEA()
,
loadings.MxModel()
,
loadings()
,
residuals.MxModel()
,
tmx_show.MxMatrix()
,
tmx_show()
,
umxCI_boot()
,
umxCI()
,
umxConfint()
,
umxExpCov()
,
umxExpMeans()
,
umxFitIndices()
,
umxRotate()
## Not run:
require(umx)
data(demoOneFactor)
manifests = names(demoOneFactor)
m1 = umxRAM("One Factor", data = demoOneFactor, type = "cov",
umxPath("G", to = manifests),
umxPath(var = manifests),
umxPath(var = "G", fixedAt = 1)
)
extractAIC(m1)
# -2.615998
AIC(m1)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.