-
Notifications
You must be signed in to change notification settings - Fork 38
Open
Description
Bug Report
Package version: semTools 0.5.8
Version 2026.01.1+403 (2026.01.1+403)
Description
When calling compRelSEM() with ord.scale = TRUE on a fitted WLSMV CFA model
with ordinal indicators, the function throws the following error:
Error in ifelse(isShared, "(cluster means of) observed variables:\n\t", :
object 'isShared' not found
Reproducible example
The error occurs when:
- A unidimensional CFA model is fitted using WLSMV estimator with ordered indicators
- Items have an unequal number of observed response categories
(e.g., one item has observed levels 2-6 while others have 1-6 on the same scale) - compRelSEM() is called on the fitted model with ord.scale = TRUE
Expected behavior
compRelSEM() should return McDonald's omega for ordinal CFA models
without throwing an error, and ideally support percentile bootstrapping
with polychoric correlation matrices for ordinal data.
Additional context
The reliability() function works as a workaround but is deprecated.
Bootstrapped CIs via omega() in the psych package also fail with
polychoric correlations when items have unequal observed response categories.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels