Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GSCAm fails for models containing single-indicators #441

Closed
M-E-Rademaker opened this issue Aug 3, 2021 · 1 comment
Closed

GSCAm fails for models containing single-indicators #441

M-E-Rademaker opened this issue Aug 3, 2021 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@M-E-Rademaker
Copy link
Collaborator

This fails:

model <- "
# Structural model
eta2 ~ eta1
eta3 ~ eta1 + eta2

# (Reflective) measurement model
eta1 =~ y11
eta2 =~ y21 + y22 + y23
eta3 =~ y31 + y32 + y33
"

csem(threecommonfactors, model, .approach_weights = "GSCA")

I think the bug is in line 689 in the estimator_weights.R file. (drop = FALSE missing)

@M-E-Rademaker M-E-Rademaker added the bug Something isn't working label Aug 3, 2021
@M-E-Rademaker M-E-Rademaker self-assigned this Aug 3, 2021
@M-E-Rademaker
Copy link
Collaborator Author

fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant