| 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(),
RMSEA.MxModel(),
RMSEA.summary.mxmodel(),
loadings(),
loadings.MxModel(),
residuals.MxModel(),
tmx_show(),
tmx_show.MxMatrix(),
umxCI(),
umxCI_boot(),
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.