amices / mice

Multivariate Imputation by Chained Equations
https://amices.org/mice/
GNU General Public License v2.0
441 stars 107 forks source link

Add cluster variable to `ampute()` for multilevel amputation #617

Open hanneoberman opened 8 months ago

hanneoberman commented 8 months ago

Is your feature request related to a problem? Please describe. No, but it would help simulators investigating multilevel missing data problems

Describe the solution you'd like An argument in the ampute function to specify a clustering variable

Describe alternatives you've considered Splitting up the data by the clustering variable and applying ampute() on each