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

Pooling model results from multiply imputed dataframes #6

Open
sccollitt opened this issue May 28, 2021 · 0 comments
Open

Pooling model results from multiply imputed dataframes #6

sccollitt opened this issue May 28, 2021 · 0 comments

Comments

@sccollitt
Copy link

sccollitt commented May 28, 2021

Hi Prof. Long,
I'm looking to pool dpm results from many multiply imputed datasets. I have created a list of type "S4(dpm;;dpm)" objects using the lapply function in conjunction with the dpm call. The issue is that I cannot use summary(pool("list of S4 objects")) like I normally can with a list of lavaan outputs. When I use mice::pool on the list of dpm model outputs, I receive the error:

"Error: $ operator not defined for this S4 class"

Do you know how I might go about pooling my results using Rubins rules with a list of dpm model outputs?
By the way, thanks again for this excellent package. It's saved me from many opportunities to introduce human errors using lavaan syntax.

Sam

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