Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

RMSEA.summary.mxmodel

RMSEA function for MxModels


Description

Compute the confidence interval on RMSEA and print it out. note: If your goal is to extract the RMSEA from a model, use RMSEA(m1)$RMSEA

Usage

## S3 method for class 'summary.mxmodel'
RMSEA(x, ci.lower = 0.05, ci.upper = 0.95, digits = 3)

Arguments

x

an mxModel() summary 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

See Also

Examples

## Not run: 
require(umx)
data(demoOneFactor)
manifests = names(demoOneFactor)

m1 = umxRAM("One Factor", data = demoOneFactor[1:100,], type = "cov",
	umxPath("G", to = manifests),
	umxPath(var = manifests),
	umxPath(var = "G", fixedAt = 1.0)
)
tmp = summary(m1)
RMSEA(tmp)

## End(Not run)

umx

Structural Equation Modeling and Twin Modeling in R

v4.10.10
GPL-3
Authors
Timothy C. Bates [aut, cre] (<https://orcid.org/0000-0002-1153-9007>), Gillespie Nathan [wit], Michael Zakharin [wit], Brenton Wiernik [ctb], Joshua N. Pritikin [ctb], Michael C. Neale [ctb], Hermine Maes [ctb]
Initial release
2021-11-30

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.