compareFit | R Documentation |
Significane test of the difference between two randomly generated fit index distributions using the Wilcoxon rank sum test.
compareFit(x, y, ...)
x |
An object of the class |
y |
A second |
... |
Additional arguments to pass to wilcox.test. |
Non-overlapping fit measures will be disregarded by the funciton.
An object of the class wilc_result
, inspectable via summary
.
ezCutoffs
## model specification examples
# simple uni-factorial model
model <- "F1 =~ a1 + a2 + a3 + a4 + a5"
## two function calls
a <- ezCutoffs(model = model, n_obs = 1000, n_rep = 10, n_cores = 1, normality = "assumed")
b <- ezCutoffs(model = model, n_obs = 1000, n_rep = 10, n_cores = 1, normality = "empirical")
## comparison of the fit measure distributions yielded by the simulations
w <- compareFit(a, b)
summary(w)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.