Closed hynekcigler closed 6 months ago
@JMBKoch could you take a look at the SEM-related issue?
@hynekcigler Thanks for the very detailed request! Most of your requests look very reasonable.
Some questions/ remarks:
BUG: Using grouping variable sometimes lead to error: "lavaan ERROR: wrong number of arguments in modifier () of element Factor1~1". Probably an error in parameter names?
Can you share a JASP file that replicates this bug? The error message by itself is insufficient to replicate the problem.
Is it possible to "save" estimated factor scores? This would be useful if a researcher want to use them for following analyses.
There is an open issue for this, but this is, unfortunately, more complicated than it sounds.
Can you share a JASP file
@vandenman EDIT: I found the problem. It occurs if a mean-structure is requested (which is, obviously, necessary in measurement-invariance testing). See JASP file here: https://www.dropbox.com/s/pwpktzu2s514fsx/example.jasp?dl=0.
There is an open issue for this, but this is, unfortunately, more complicated than it sounds.
I am aware of it and it is not so necessary. However, an easy way to implement it (at least partially) is to provide item weight matrix, which could be used manually. With such a matrix, research would compute weighted mean or sum to get factor scores. Obviously, this would not work for ordinal EFA/CFA, but it would be sufficient for traditional continuous FA.
In addition, if such a table was provided, it would be useful to estimate factor score determination coefficient as a reliability estimate for these factor scores.
@vandenman will do!
I support the request, it would also include the use of polychoric or tetrachoric matrices, which would allow working ordinal items (it can even be a separate module), Both for AFC and EFA, I commented on the work that a Spanish already did in a visual Basic application, the Factor, ideal for AFE. https://psico.fcep.urv.cat/utilitats/factor/Download.html There you will find the base articles and the program https://psico.fcep.urv.cat/utilitats/factor/soft/factor.11.04.02.WIN64.zip As the friend says, it is sad to always say better R than Jasp, since by increasing only those processes the program would be complete to carry out a basic psychometric investigation, and what usually happens is that we report inadequate results for not having an accessible tool at hand . I will continue insisting on it. Thanks.
@juliuspf see 1. under "Minor Requests".
Hi @hynekcigler. This is weird, I received an email about this issue, but I cannot find your last comment? Regarding the things you addressed:
I think we have fixed the factor correlations bug (https://github.com/jasp-stats/jaspFactor/pull/59). Do you still have issues with this?
We are planning to add the residual table, but have not yet done so.
There are two open PRs that address ordinal variables in PCA and EFA, and allow the use of polychoric/tetrachoric correlation (https://github.com/jasp-stats/jaspFactor/pull/75, https://github.com/jasp-stats/jaspFactor/pull/93)
The estimated factor scores a somewhat more tricky to add to the data. It is on the radar though. (https://github.com/jasp-stats/INTERNAL-jasp/issues/694)
Hi @juliuspf. I really apologize. Long story short: I came to my class today morning, opened JASP on the university PC, and realized the bug had been fixed. I immediately deleted my previous comment, but I didn't be aware that you were already e-mailed. I take a lesson that I shouldn't prepare my classes after midnight and some glasses of wine :)
Anyway, thank you, the bug is fixed; I can confirm it.
No need to apologize. It is good that you followed up, since there are still features missing that are worthwhile to add to the module.
Thanks :) If you need any consultation or review (as I see there are some open questions in the other requests), don't hesitate to mention me, I would be glad to help.
I think most of the issue from the EFA list are fixed. @LSLindeloo @Kucharssim, what do you think about the CFA/SEM things. They seem reasonable, but maybe they should be moved to separate issues?
@juliuspf Yes, they sure seem reasonable. I can work on these issues tomorrow! @Kucharssim, do you prefer separate issues?
Dear all, if you appreciate some beta-testing or any other help, I would be pleased :)
@hynekcigler Can you confirm that all your issues are now fixed? If not, please list the missing ones.
Hi, I use JASP in my bachelor and master classes of psychometrics for EFA and CFA lectures. Students usually have previous experiences with SPSS, but as I prefer free software and as CFA is not implemented in SPSS, JASP is a clear choice (I tried out also JAMOVI and the problems are very similar to which I describe bellow).
First of all, CFA module in JASP is great, I like it. However, I am missing some features, which are more or less crucial. When I teach, I usually conclude "JASP is fine for learning CFA, but for a proper analysis, you need R". This is a pity.
I try to make an overview per analysis, dividing my requests to major and minor. Clear errors are bolded.
Finally, I see I have wrote probably too many requests :) If you liked to, I would be glad to provide more detailed solutions for the requested features bellow.
EFA
Major requests
Minor requests
psych::fa.parallel
function (optionfa=c("fa", "pca")
).CFA (and partially SEM modul)
Major requests
lavaan ERROR: wrong number of arguments in modifier () of element Factor1~1
". Probably an error in parameter names?Minor requests
ordered=TRUE
". It would be also possible to treat variables according their level (ordinal/interval) as specified in dataset.semTools:nullRMSEA
function).semTools::reliability
over an estimated model (probably with returnTotal=TRUE).SEM module only