-
Notifications
You must be signed in to change notification settings - Fork 23
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
worrisome warnings #93
Comments
I think the first warning is related to lines like this: boredom ~ boredomM*1 you have two groups, but only one parameter label "boredomM". That implicitly fixes the parameter to be equal across groups. If you didn't want that, you need something like boredom ~ c("boredom1", "boredom2") * 1 I believe the other warnings are related to lavaan setting up a model with empty cells and etc. I suspect they are harmless but will need to look. |
Fixing these parameters equal across groups is desired and intentional. I guess that warning is fine. |
Sorry for the delay on this. I found that the "number of items to replace is not a multiple of replacement length" warning happens when there is an empty middle category of an ordinal variable surrounded by observed categories (perhaps also with empty categories at a boundary). For example, a 5-category variable with category frequencies of 0, 50, 0, 50, 0. In your data, an example is the "sleep" variable in the pm group. The fix for the the "number of items to replace is not a multiple of replacement length" warning requires a pull request to lavaan. I just made the change to my fork (ecmerkle/lavaan), and it would be helpful if you could try it out in case there are further issues. (But I understand you may be well beyond this project at this point!) I continue to think that the warning is harmless. The other warning, about a correlation near 1, comes from lavaan when setting up the model. I think it is related to choice of starting values for maximum likelihood estimation, so it is also harmless. |
Glad to hear it. Thanks for following up.
I wish. It's taking forever to collect data. |
lavaan 0.6-19 (cran), blavaan 0.5-6.1311 (via github)
Are these warnings harmless?
Code:
Data:
pm.csv
psi.csv
The text was updated successfully, but these errors were encountered: