-
Notifications
You must be signed in to change notification settings - Fork 29
Description
JASP Version
0.19.3
Commit ID
No response
JASP Module
SEM
What analysis are you seeing the problem on?
Reliabitily measures
What OS are you seeing the problem on?
macOS Intel
Bug Description
I have attempted to estimate a CFA model with three latent variables, all of which are measured with three or more indicators. Since the hypothesis of multivariate normality is not met and the measurement scales are ordinal, I have selected the WLSMV estimation method. The model is estimated correctly without errors, and all the requested results are obtained except for the reliability coefficients (Cronbach's alpha and omega coefficient). In this case, the following error message is displayed:
This analysis terminated unexpectedly.
Error in diag(scales) %*% truevar: non-conformable arguments
Stack trace
tryCatchOne(expr, names, parentenv, handlers[[1]])
doTryCatch(return(expr), name, parentenv, handler)
withCallingHandlers(expr = analysis(jaspResults = jaspResults, dataset = dataset, options = options), error = .addStackTrace)
analysis(jaspResults = jaspResults, dataset = dataset, options = options)
.semReliability(modelContainer, dataset, options, ready)
semTools::compRelSEM(modelContainer[['results']][['object']][[1]], tau.eq = FALSE, higher = higherOrder, return.total = TRUE)
omegaCat(truevar = commonCov, denom = totalCov, threshold = threshold[[b]][myIndNames], scales = latScales[[b]][myIndNames])
To receive assistance with this problem, please report the message above at: https://jasp-stats.org/bug-reports
Expected Behaviour
The values for Cronbach's alpha and the omega coefficient should have been obtained, calculated specifically for ordered categorical variables.
Steps to Reproduce
...
Log (if any)
No response
More Debug Information
No response
Final Checklist
- I have included a screenshot showcasing the issue, if possible.
- I have included a JASP file (zipped) or data file that causes the crash/bug, if applicable.
- I have accurately described the bug, and steps to reproduce it.