Pooling model results from multiply imputed dataframes
- Dominant language
- R
- Stars
- 16
- Forks
- 9
- PR merge metrics
- No merged PRs in 30d
Description
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
Contributor guide
No contributing guide indexed for this repository
Research direction
No source file or test is named. Start by examining the dpm S4 result structure and the mice::pool/summary workflow described; done would mean a documented or supported way to apply Rubin's rules to a list of dpm outputs without the reported S4 $ error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r
- Domain
- data
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100