compareFit: Compare two Fit Measure Distributions Using the Wilcoxon-test

Description Usage Arguments Details Value See Also Examples

View source: R/compareFit.R

Description

Significane test of the difference between two randomly generated fit index distributions using the Wilcoxon rank sum test.

Usage

1
compareFit(x, y, ...)

Arguments

x

An object of the class ezCutoffs to use in comparison.

y

A second ezCutoffs object to compare x to.

...

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

ezCutoffs

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
## 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)

bschmalbach/ezCutoffs documentation built on Sept. 18, 2020, 6:32 p.m.