Learn R Programming

umx (version 1.4.0)

RMSEA.MxModel: RMSEA function for MxModels

Description

Compute the confidence interval on RMSEA

Usage

"RMSEA"(x, ci.lower = 0.05, ci.upper = 0.95, digits = 3)

Arguments

x
an mxModel from which to get RMSEA
ci.lower
the lower CI to compute
ci.upper
the upper CI to compute
digits
digits to show (defaults to 3)

Value

- object containing the RMSEA and lower and upper bounds

References

- https://github.com/simsem/semTools/wiki/Functions, https://github.com/tbates/umx

See Also

Other Reporting functions: RMSEA.summary.mxmodel, RMSEA, confint.MxModel, extractAIC.MxModel, loadings, logLik.MxModel, plot.MxModel, residuals.MxModel, umxCI_boot, umxCI, umxCompare, umxExpCov, umxExpMeans, umxFitIndices, umxPlotACEcov, umxPlotACE, umxPlotCP, umxPlotGxE, umxPlotIP, umxSummary.MxModel, umxSummaryACE, umx_drop_ok, umx_standardize_RAM

Examples

Run this code
require(umx)
data(demoOneFactor)
latents  = c("G")
manifests = names(demoOneFactor)
m1 <- umxRAM("One Factor", data = mxData(cov(demoOneFactor), type = "cov", numObs = 500),
	umxPath(latents, to = manifests),
	umxPath(var = manifests),
	umxPath(var = latents, fixedAt = 1.0)
)
RMSEA(m1)

Run the code above in your browser using DataLab