Learn R Programming

umx (version 1.9.1)

RMSEA.MxModel: RMSEA function for MxModels

Description

Compute the confidence interval on RMSEA

Usage

# S3 method for MxModel
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, extractAIC.MxModel, loadings, plot.MxModel, residuals.MxModel, umxCI_boot, umxCI, umxCompare, umxConfint, umxExpCov, umxExpMeans, umxFitIndices, umxPlotACEcov, umxPlotACEv, umxPlotACE, umxPlotCP, umxPlotGxE, umxPlotIP, umxSummary.MxModel, umxSummaryACEv, umxSummaryACE, umx_drop_ok, umx_standardize_RAM

Examples

Run this code
# NOT RUN {
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