Hi everyone,
I am trying to run "Yuan" (YHY) bootstrapping on a path model that has missing data. However, I got the following error message:"Lavaan ERROR: bollen.stine/yuan bootstrap not available for missing data".
I was thus wondering if you could please advise if there are alternative ways where I could obtain yuan-bootstrapped CFI/RMSEA for path model with missing data.
My syntax:
fit=sem(Model1, data=FILE,missing = "FIML", estimator="ML", std.lv=TRUE, se= "boot")
CFI.boot <- bootstrapLavaan(fit, R=1000, type="yuan", FUN=fitMeasures, fit.measures="cfi", parallel="multicore", ncpus=8)
Any help is much appreciated. Thank you very much!
-- Tracy
please advise if there are alternative ways where I could obtain yuan-bootstrapped CFI/RMSEA for path model with missing data.
when we ask for se="boot", bootstrap=1000 with sem(), do we automatically get bootstrapped coefficients in the output or do we need to use the FUN="coef" in bootstrapLavaan () to get them?
The only part that I can't figure out is extracting 'fitMeasures()' from the lavaanList object.