closes #71: Function EFA_POOLED()#72
closes #71: Function EFA_POOLED()#72andreassoteriadesmoj wants to merge 4 commits intomdsteiner:masterfrom
EFA_POOLED()#72Conversation
`EFA_POOLED()` & new helper functions
|
Thanks very much! Just so you know what to expect: It will probably take a couple of weaks until I find the time to really go through it and check it, but I will get back to you. |
That's fine, thanks for letting me know! |
|
Quick question: In |
It's not clear to me why |
|
If we divide by sqrt(m), the SE becomes smaller, so the assumption would be that we gain precision by adding more and more imputations. I'm not sure that's correct. In Hayes and Enders (2022), eq. 11, they use a more complicated expression for deriving the SEs, but I have no expertise at all in this area. A quick chat with ChatGPT (which by no means has to be correct, but that's what I could do in the time given) tells me that probably only the implementations used in Hayes and Enders is correct. Briefly it states that
Hayes, T., & Enders, C. K. (2022). Maximum likelihood and multiple imputation missing data handling: How they work, and how to make them work in practice. In H. Cooper (Ed.), APA Handbook of research methods in psychology (2nd ed., pp. 27-51). Washington, DC: American Psychological Association. |
EFA_POOLED()is similar topsych::fa.pooled()and can be used to peform EFA on multiple data imputations using theEFA()function. This PR createsEFA_POOLED()(55fcab5) and a few helper functions (2e022b8) thatEFA_POOLED()uses behind the scenes.EFA_POOLED()returns some of the standard objects thatEFA()also returns, including communalities, unrotated and rotated pattern loadings, structure loadings and interfactor correlations (for oblique solutions), and fit indices. Note, however, that in the case ofEFA_POOLED(), these results are based on the pooled estimates (see function documentation for details). In addition,EFA_POOLED()also returns confidence intervals for the pooled estimates, as well as the individualEFA()fits for each imputation.