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

GLS gradient uses WLS.V, which doesn't scale #409

Open
yrosseel opened this issue Jan 8, 2025 · 0 comments
Open

GLS gradient uses WLS.V, which doesn't scale #409

yrosseel opened this issue Jan 8, 2025 · 0 comments

Comments

@yrosseel
Copy link
Owner

yrosseel commented Jan 8, 2025

When estimator is GLS (or WLS), the gradient uses (line 257 in lav_model_gradient):
group.dx <- -1 * crossprod( Delta[[g]], crossprod(WLS.V, diff) )
This becomes increasingly problematic if the number of variables goes up (say, for P=200 or higher). For WLS, there is not much we can do, but for GLS, we should use the 'Omega' approach as for ML.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant