
umxCI(model = NULL, which = c("ALL", NA, "list of your making"), remove = FALSE, run = c("no", "yes", "if necessary"), showErrorCodes = TRUE)
mxModel
If runCIs is FALSE, the function simply adds CIs to be computed and returns the model.
mxCI
, umxLabel
, umxRun
Other Reporting functions: RMSEA.MxModel
,
RMSEA.summary.mxmodel
, RMSEA
,
confint.MxModel
,
extractAIC.MxModel
, loadings
,
logLik.MxModel
, plot.MxModel
,
residuals.MxModel
,
umxCI_boot
, umxCompare
,
umxExpCov
, umxExpMeans
,
umxFitIndices
, umxPlotACEcov
,
umxPlotACE
, umxPlotCP
,
umxPlotGxE
, umxPlotIP
,
umxSummary.MxModel
,
umxSummaryACE
, umx_drop_ok
,
umx_standardize_RAM
require(umx)
data(demoOneFactor)
latents = c("G")
manifests = names(demoOneFactor)
m1 <- mxModel("One Factor", type = "RAM",
manifestVars = manifests, latentVars = latents,
mxPath(from = latents, to = manifests),
mxPath(from = manifests, arrows = 2),
mxPath(from = latents, arrows = 2, free = FALSE, values = 1.0),
mxData(cov(demoOneFactor), type = "cov", numObs = 500)
)
m1 = umxRun(m1, setLabels = TRUE, setValues = TRUE)
m1$intervals # none yet list()
m1 = umxCI(m1)
m1$intervals # $G_to_x1
m1 = umxCI(m1, remove = TRUE) # Add CIs for all free parameters, and return model
## Not run:
# umxCI(model, run = "yes") # force update of CIs
# # Don't force update of CIs, but if they were just added, then calculate them
# umxCI(model, run = "if necessary")
# ## End(Not run)
Run the code above in your browser using DataLab