Hi there,
I was running the boostrapLavaan example and I found that the bootstrap chisq results were quite different from the original chisq results. My understanding from above is that the Bollen Stein bootstrap transform the data matrix so that simulation of the goodness-of-fit indices will be similar.
I tried again on a second dataset and that seemed fine. So I was wondering 1.) if I was the only one who got large differences in the chisq for the example or 2.) whether I am missing an important piece of information that led to the large differences??
I would appreciate some advice.
Thank you
> T.orig <- fitMeasures(fit, "chisq")
> T.boot <- bootstrapLavaan(fit, R=10, type="bollen.stine", FUN=fitMeasures)
> T.boot$chisq
[1] 23.67527 24.89352 14.00134 19.80881 23.65160 25.55365 31.60391 21.72346 32.15879 23.76146
> mean(T.boot$chisq)
[1] 24.08318
==========================
(Second dataset)
> fitMeasures(m.model.fit, "chisq")
chisq
66.431
run.1 <- bootstrapLavaan(m.model.fit, R = 10,FUN=fitMeasures, type="bollen.stine")
> run.1$chisq
[1] 62.74551 52.14190 46.75373 80.39481 61.30703 57.09985 58.42835 49.65539 50.42925 63.15232
> mean(run.1$chisq)
[1] 58.21081