compareFit {ezCutoffs} | R Documentation |
Compare two Fit Measure Distributions Using the Wilcoxon-test
Description
Significane test of the difference between two randomly generated fit index distributions using the Wilcoxon rank sum test.
Usage
compareFit(x, y, ...)
Arguments
x |
An object of the class |
y |
A second |
... |
Additional arguments to pass to wilcox.test. |
Details
Non-overlapping fit measures will be disregarded by the funciton.
Value
An object of the class wilc_result
, inspectable via summary
.
See Also
Examples
## 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)
[Package ezCutoffs version 1.0.1 Index]