extractAIC.MxModel {umx} | R Documentation |
Extract AIC from MxModel
Description
Returns the AIC for an OpenMx model. Original Author: Brandmaier
Usage
## S3 method for class 'MxModel'
extractAIC(fit, scale, k, ...)
Arguments
fit |
an fitted |
scale |
not used |
k |
not used |
... |
any other parameters (not used) |
Value
AIC value
References
See Also
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()
Examples
## 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)
[Package umx version 4.20.0 Index]